Web Scraping Scrape page API
Scrape any web page and get its main content back as clean Markdown plus title and metadata.
$0.70/1k req, pay per request, no subscription.
{"url": "https://www.example.com/blog/launch","title": "Introducing Example 2.0","description": "Everything new in the biggest Example release yet.","markdown": "# Introducing Example 2.0\n\nToday we are shipping the biggest release in our history…","html": string,"language": string,"rawHtml": string,"statusCode": integer}
Scrape router
We send every page to the cheapest scraper that can actually scrape it.
- Cheapest scraperEvery page starts here
- Next scraperOnly if the page blocks it
- Full browserOnly for the hardest pages
Price per 1,000 pages
- AnyAPI98/100$1.05
Firecrawl90/100$3.97Hobby plan
Bright Data81/100$1.50
Jina Reader55/100$0.73Cloudflare Browser Rendering48/100at most $0.10+ $5/mo plan
100 pages, one try each, measured Oct 1, 2026See every page →
Pricing and providers
Web Scraping Scrape page API pricing: one API, 5 interchangeable providers
The cheapest provider serves first. If it fails, the next one takes over in the same call.
Blocked is the share of calls where the website itself refused the page. It is not counted against uptime. Each provider after the first only sees the pages the ones before it failed on, which are the harder sites, so these figures are not a head-to-head comparison.
Try it
Get Web Scraping scrape page in one request
This sample shows 6 of 11 fields. See every field
{
"found": true,
"data": {
"url": "https://www.example.com/blog/launch",
"title": "Introducing Example 2.0",
"description": "Everything new in the biggest Example release yet.",
"markdown": "# Introducing Example 2.0\n\nToday we are shipping the biggest release in our history…"
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- urlstring
https://www.example.com/blog/launch
The full web address of the page to scrape, including its domain, for example https://example.com. The https:// prefix is optional.
- blockAdsboolean
When true (upstream default), strip ad and cookie-consent elements before capture. Set false to keep them.
- excludeTagsarray
CSS selectors to drop before capture (for example ["nav", "footer", ".ads"]). Applied after includeTags.
- formatsarray
Which representations of the page to return. Any combination of: markdown (page content as Markdown), html (the page HTML exactly as the browser received it, including head and script tags). Each requested format is returned under the matching output field. Defaults to both. rawHtml is a deprecated alias of html, returned under a rawHtml field for callers that predate the rename; send html instead.
- includeTagsarray
CSS selectors to keep. When set, only content matching these selectors is captured (for example ["article", "main"] or ["#content"]).
- mobileboolean
When true, render the page with a mobile viewport and user agent instead of desktop. Some sites serve materially different content to mobile.
- onlyMainContentboolean
When true, return only the main article content, stripping navigation, headers, footers, and other boilerplate. Defaults to false to capture the full page.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `statusCode`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that reports a field only in some cases, such as only when the website answered with an error, does not count as returning it.
- waitForinteger
Milliseconds to wait for the page to finish rendering before capture. Use this for JavaScript-heavy pages or single-page apps whose content loads after the initial paint. Capped at 15000 to stay within the request timeout. This wait is time you asked us to spend, so your response takes this much longer, and it is excluded from the latency published for this endpoint. If every provider that can wait fails, the page may still be returned, captured without the wait.
Response
JSON, one example value per field.
- descriptionstring
Everything new in the biggest Example release yet.
The page meta description.
- htmlstring
The page HTML exactly as the browser received it, head and script tags included. Present when 'html' is among the requested formats (the default).
- languagestring
Two-letter language code the page declares (its html lang attribute or the equivalent metadata).
- markdownstring
# Introducing Example 2.0 Today we are shipping the biggest release in our history…
The page content as clean Markdown. Present when 'markdown' is among the requested formats (the default). Populated whenever the provider has data for the entity.
- rawHtmlstring
The same bytes as 'html'. Deprecated alias returned only when 'rawHtml' is among the requested formats; use 'html'.
- statusCodeintegercan require
HTTP status code the website answered with, such as 200, 404 or 500. Absent when it could not be determined. Some sources report it only when the website answered with an error; name `statusCode` in requireFields to be served only by a source that always reports it.
- titlestring
Introducing Example 2.0
The page title from its metadata.
- urlstring
https://www.example.com/blog/launch
The canonical source URL of the scraped page. Populated whenever the provider has data for the entity.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
About the Web Scraping Scrape page API
The AnyAPI Web Scraping Scrape page API returns Web Scraping scrape page data as normalized JSON from one POST call to /v1/run/web.scrape. Scrape any web page and get its main content back as clean Markdown plus title and metadata. AnyAPI routes each request across 5 sources and falls back automatically when one fails. It costs from $0.70 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.0% of Web Scraping scrape page calls through AnyAPI succeeded, with a median response time of 2.8 seconds across 344,950 measured calls.