> ## Documentation Index
> Fetch the complete documentation index at: https://orangeslice.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Website

> Scrape websites and convert content to markdown

<Info>
  <Icon icon="coins" /> **1 credit** per call
</Info>

## Method

```typescript theme={null}
services.scrape.website(params);
```

## Input

<ParamField path="url" type="string" required>
  URL to scrape (must start with `http://` or `https://`)
</ParamField>

<ParamField path="params.limit" type="number" default={1}>
  Number of pages to scrape (follows links)
</ParamField>

## Output

<ResponseField name="markdown" type="string">
  Combined markdown content from all pages
</ResponseField>

<ResponseField name="data" type="array">
  Per-page data: - `markdown` - Page content as markdown - `links` - Links found
  on page
</ResponseField>

<ResponseField name="socialUrls" type="object">
  Extracted social/contact URLs: - `emailGeneral` - Emails found -
  `phoneGeneral` - Phone numbers - `linkedinProfile` / `linkedinCompany` -
  LinkedIn URLs - `facebookProfile` / `instagramProfile` / `twitterUser` -
  Social profiles - `youtubeChannel` / `tiktokProfile` - Video platforms
</ResponseField>

## Example

```typescript theme={null}
const result = await services.scrape.website({
  url: "https://example.com/about",
});

return result.markdown;
```

```typescript theme={null}
// Extract contact info
const result = await services.scrape.website({
  url: ctx.thisRow.get("Website"),
});

return result.socialUrls.emailGeneral[0];
```
