---
canonical_url: "https://docs.composio.dev/toolkits/scrapingdog"
markdown_url: "https://docs.composio.dev/toolkits/scrapingdog.md"
product: "platform"
version: null
last_updated: null
---

# Scrapingdog

Scrapingdog provides powerful web scraping APIs including general scraping, Google Search, Google Maps, Amazon, Walmart, LinkedIn, and social media scraping. Get structured data with automatic proxy rotation and JavaScript rendering.

- **Category:** web scraping & browser
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 8
- **Triggers:** 0
- **Slug:** `SCRAPINGDOG`
- **Version:** 00000000_00

## Tools

### Get Account Usage

**Slug:** `SCRAPINGDOG_GET_ACCOUNT_USAGE`

Get free account usage and concurrency metrics without exposing the API key.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Google Maps Search

**Slug:** `SCRAPINGDOG_GOOGLE_MAPS_SEARCH`

Search Google Maps and return structured business listings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Result offset: 0 for the first page, then increments of 20 through the recommended maximum of 100. |
| `type` | string ("search" | "place") | No | Search or place result type. |
| `query` | string | Yes | Google Maps search query, such as pizza. |
| `domain` | string | No | Google domain, such as google.co.uk. |
| `country` | string | No | Two-letter search country code. |
| `language` | string | No | Result language code, such as en. |
| `place_id` | string | No | Google Maps place identifier. |
| `search_origin` | string | No | Search origin as @latitude,longitude,zoom/map_height; required for pagination. |
| `maps_url_filter` | string | No | Google Maps URL filter used for place-specific searches. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Google News Search

**Slug:** `SCRAPINGDOG_GOOGLE_NEWS_SEARCH`

Browse Google News by topic or publication token, or run a simple keyword query with absolute dates. For keyword searches needing pagination, time filters, location controls, or HTML, use Google News SERP Search.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | No | Google News search query. |
| `country` | string | No | Two-letter search country code. |
| `language` | string | No | Result language code, such as en. |
| `story_sort` | string ("0" | "1") | No | Story sorting: 0 for relevance or 1 for date. |
| `story_token` | string | No | Google News story token. |
| `topic_token` | string | No | Google News topic token. |
| `section_token` | string | No | Section token used with a topic_token or publication_token. |
| `publication_token` | string | No | Google News publication token. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Google News SERP Search

**Slug:** `SCRAPINGDOG_GOOGLE_NEWS_SERP_SEARCH`

Search the Google News SERP for headlines, snippets, sources, and relative timestamps.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `html` | boolean | No | Return the full Google News HTML page instead of parsed JSON. |
| `page` | string | No | Zero-based results page number; defaults to 0. |
| `safe` | string ("active" | "off") | No | Adult-content filtering mode; defaults to off. |
| `query` | string | Yes | Google News search query. |
| `domain` | string | No | Google domain, such as google.co.uk. |
| `country` | string | No | Two-letter search country code. |
| `results` | string | No | Number of results from 1 through 100; defaults to 10. |
| `language` | string | No | Result language code, such as en. |
| `time_filter` | string | No | Time filter such as qdr:h, qdr:d, qdr:w, qdr:m, or qdr:y. |
| `encoded_location` | string | No | Encoded Google geographic location. |
| `language_restriction` | string | No | Language restriction such as lang_en or lang_en&#124;lang_fr. |
| `exclude_autocorrected_results` | boolean | No | Exclude results from auto-corrected misspelled queries. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Google Search

**Slug:** `SCRAPINGDOG_GOOGLE_SEARCH`

Search Google and return Scrapingdog's structured result data.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ibp` | string | No | Google result layout control value. |
| `uds` | string | No | Google-provided result filter string. |
| `html` | boolean | No | Include the full Google result HTML. |
| `lsig` | string | No | Knowledge Graph map-view signature. |
| `page` | string | No | Zero-based results page number, such as 0. |
| `safe` | string ("active" | "off") | No | Adult-content filtering mode; defaults to off. |
| `kgmid` | string | No | Google Knowledge Graph entity ID. |
| `query` | string | Yes | Google search query, including search operators. |
| `domain` | string | No | Google domain, such as google.co.uk. |
| `filter` | boolean | No | Enable similar and omitted result filtering; defaults to true. |
| `country` | string | No | Two-letter search country code. |
| `ludocid` | string | No | Google Business listing CID. |
| `language` | string | No | Result language code, such as en. |
| `location` | string | No | City-level origin location; cannot be combined with uule. |
| `mob_search` | boolean | No | Return mobile search results; costs 10 credits when true. |
| `deep_scrape` | string ("true" | "false") | No | Fetch linked organic-result pages for 5 additional credits; requires advance_search=false. |
| `time_filter` | string | No | Advanced Google search time/filter value. |
| `advance_search` | boolean | No | Return advanced feature snippets. A standard search costs 5 credits; advance_search=true costs 10 credits. |
| `encoded_location` | string | No | Encoded Google location; cannot be combined with location. |
| `country_restriction` | string | No | Country restriction such as countryFR or countryFR&#124;countryDE. |
| `language_restriction` | string | No | Language restriction such as lang_en or lang_en&#124;lang_fr. |
| `cached_search_parameters` | string | No | Cached Google search parameter string. |
| `exclude_autocorrected_results` | string ("0" | "1") | No | Set to 1 to exclude auto-corrected results or 0 to include them. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Scrape URL

**Slug:** `SCRAPINGDOG_SCRAPE_URL`

Scrape a URL as HTML, Markdown, a summary, links, or images.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL of the page to scrape. |
| `type` | string ("image" | "pdf" | "pbf") | No | Non-HTML target content type: image, pdf, or pbf. |
| `wait` | integer | No | Milliseconds to wait for the page to load, from 0 through 35000. Requires dynamic=true. |
| `image` | boolean | No | Return image URLs found on the target page. |
| `country` | string | No | Two-letter country code for geo-targeted scraping. |
| `dynamic` | boolean | No | Enable JavaScript rendering. This is opt-in and costs 5 credits with standard proxies, or 25 credits when premium is also true. |
| `formats` | string ("html" | "links" | "markdown" | "summary" | "images") | No | Response format. Defaults to html; links, summary, and images may return structured JSON, while markdown and html may return text. |
| `premium` | boolean | No | Use premium residential proxies. This costs 10 credits alone, or 25 credits when dynamic is also true. |
| `ai_query` | string | No | Prompt describing the information the AI parser should return. |
| `custom_headers` | object | No | Headers to forward to the target URL; enables Scrapingdog custom_headers mode. |
| `session_number` | string | No | Session identifier used to reuse the same proxy across requests. |
| `ai_extract_rules` | object | No | AI extraction rules as a JSON object. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Scrape URL with POST

**Slug:** `SCRAPINGDOG_SCRAPE_URL_POST`

Send URL-encoded form data to a target URL through Scrapingdog and return its response. The target may perform irreversible actions such as submitting, creating, updating, or deleting data.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Target URL that will receive the POST request. |
| `form_data` | object | Yes | Form fields to send to the target URL as application/x-www-form-urlencoded data. |
| `target_headers` | object | No | Headers for Scrapingdog to forward to the target URL. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Take Screenshot

**Slug:** `SCRAPINGDOG_TAKE_SCREENSHOT`

Capture a webpage screenshot as a downloadable PNG, JPG, or WebP image for 5 credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL of the page to capture. |
| `width` | string | No | Browser viewport width in pixels. |
| `format` | string ("png" | "jpg" | "webp") | No | Screenshot image format; defaults to png. |
| `height` | string | No | Browser viewport height in pixels. |
| `quality` | string | No | Image quality from 0 through 100; defaults to 80. |
| `fullPage` | boolean | No | Capture the full page instead of only the viewport. |
| `wait_until` | string ("load" | "domcontentloaded" | "networkidle") | No | Navigation completion condition; defaults to domcontentloaded. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
