ScrapingAnt MCP by usefulapi
v1.1.0Fetch web pages as HTML, Markdown or AI-extracted fields, and read credit usage in ScrapingAnt.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scrapingant_get_usage Get credit usage
Show the active ScrapingAnt plan name, the billing period and the credits remaining. Use it before a large batch of scrapes. ScrapingAnt API: GET /v2/usage.
scrapingant_get_page_html Get page HTML
Fetch a web page and return its raw HTML, the target page's HTTP status and the credits the request cost. Long pages are cut to keep the reply readable. Costs credits: 10 with the default browser=true on datacenter proxy. ScrapingAnt API: GET /v2/general.
| Parameter | Type | Description |
|---|---|---|
url * | string | The full URL of the page to fetch, for example https://example.com/page. |
block_resource | array | Resource types the browser must not load, for example image and font. Needs browser=true. |
browser | boolean | Render the page in a headless browser (ScrapingAnt default: true). Credits: 10 with browser, 1 without, on datacenter proxy. |
cookies | string | Cookies to send to the target site, as 'name=value; name2=value2'. Use them to reach a signed-in page. |
js_snippet | string | Base64-encoded JavaScript to run once the page loads in the browser. Needs browser=true. |
proxy_country | string | Two-letter ISO country code of the proxy, for example us or de. |
proxy_type | string | datacenter (default) or residential, for sites that block datacenter IPs. Residential costs 25 credits without browser. |
return_page_source | boolean | Return the server's HTML before the browser runs JavaScript. Needs browser=true. |
timeout | integer | Seconds ScrapingAnt may spend on the request (5-60, default 60). |
wait_for_selector | string | CSS selector to wait for before the page is returned. Needs browser=true. |
scrapingant_get_page_markdown Get page as Markdown
Fetch a web page and return its main content converted to Markdown, ready for an LLM or retrieval step. Costs credits like the HTML tool. ScrapingAnt API: GET /v2/markdown.
| Parameter | Type | Description |
|---|---|---|
url * | string | The full URL of the page to fetch, for example https://example.com/page. |
block_resource | array | Resource types the browser must not load, for example image and font. Needs browser=true. |
browser | boolean | Render the page in a headless browser (ScrapingAnt default: true). Credits: 10 with browser, 1 without, on datacenter proxy. |
cookies | string | Cookies to send to the target site, as 'name=value; name2=value2'. Use them to reach a signed-in page. |
js_snippet | string | Base64-encoded JavaScript to run once the page loads in the browser. Needs browser=true. |
proxy_country | string | Two-letter ISO country code of the proxy, for example us or de. |
proxy_type | string | datacenter (default) or residential, for sites that block datacenter IPs. Residential costs 25 credits without browser. |
return_page_source | boolean | Return the server's HTML before the browser runs JavaScript. Needs browser=true. |
timeout | integer | Seconds ScrapingAnt may spend on the request (5-60, default 60). |
wait_for_selector | string | CSS selector to wait for before the page is returned. Needs browser=true. |
scrapingant_get_page_extended Get page with status, headers and cookies
Fetch a web page and return JSON with the page text, HTML, the target status_code, response headers, cookies, and (with browser=true) the XHR calls and iframes. Use it when the status or cookies matter. Long fields are cut so the reply stays readable. ScrapingAnt API: GET /v2/extended.
| Parameter | Type | Description |
|---|---|---|
url * | string | The full URL of the page to fetch, for example https://example.com/page. |
block_resource | array | Resource types the browser must not load, for example image and font. Needs browser=true. |
browser | boolean | Render the page in a headless browser (ScrapingAnt default: true). Credits: 10 with browser, 1 without, on datacenter proxy. |
cookies | string | Cookies to send to the target site, as 'name=value; name2=value2'. Use them to reach a signed-in page. |
js_snippet | string | Base64-encoded JavaScript to run once the page loads in the browser. Needs browser=true. |
proxy_country | string | Two-letter ISO country code of the proxy, for example us or de. |
proxy_type | string | datacenter (default) or residential, for sites that block datacenter IPs. Residential costs 25 credits without browser. |
return_page_source | boolean | Return the server's HTML before the browser runs JavaScript. Needs browser=true. |
timeout | integer | Seconds ScrapingAnt may spend on the request (5-60, default 60). |
wait_for_selector | string | CSS selector to wait for before the page is returned. Needs browser=true. |
scrapingant_extract_data Extract structured data with AI
Fetch a web page and let ScrapingAnt's AI return the named fields as JSON, under 'extracted'. Pass the fields as comma-separated text, for example 'product title, price(number), reviews(list: title, text)'. Costs the scrape credits plus about 1 credit per 30 characters of page and output text. ScrapingAnt API: GET /v2/extract.
| Parameter | Type | Description |
|---|---|---|
extract_properties * | string | The fields to extract, as free text, for example 'title, price(number), full description'. |
url * | string | The full URL of the page to fetch, for example https://example.com/page. |
block_resource | array | Resource types the browser must not load, for example image and font. Needs browser=true. |
browser | boolean | Render the page in a headless browser (ScrapingAnt default: true). Credits: 10 with browser, 1 without, on datacenter proxy. |
cookies | string | Cookies to send to the target site, as 'name=value; name2=value2'. Use them to reach a signed-in page. |
js_snippet | string | Base64-encoded JavaScript to run once the page loads in the browser. Needs browser=true. |
proxy_country | string | Two-letter ISO country code of the proxy, for example us or de. |
proxy_type | string | datacenter (default) or residential, for sites that block datacenter IPs. Residential costs 25 credits without browser. |
return_page_source | boolean | Return the server's HTML before the browser runs JavaScript. Needs browser=true. |
timeout | integer | Seconds ScrapingAnt may spend on the request (5-60, default 60). |
wait_for_selector | string | CSS selector to wait for before the page is returned. Needs browser=true. |