- Build requests in any language
- Automate with schedulers and webhooks
- JSON, NDJSON, or CSV delivery
Fetch API
Turn any public URL into Markdown, plain text, raw HTML and JSON-LD with one API call. Bright Data handles proxies, CAPTCHAs and blocking, so you get page content ready for your LLM or parser.
Confiado por 50,000+ clientes en todo el mundo
From URL to clean data in 3 steps
-
Pass your URLs
Provide the public URLs you want to fetch.
-
Call the API
One API call with up to 5,000 target URLs. Python and Node.js SDKs, CLI, MCP server, or any HTTP client.
-
Get the page back
Receive the page as clean Markdown, raw HTML, or JSON, with blocks, CAPTCHAs, and retries handled for you.
Start collecting web data in minutes
Fetch API Pricing
Only pay for what’s successfully delivered. No hidden fees, no charges for failed deliveries.
- Paga solo por el éxito, sin tarifas ocultas
- Comienza gratis con 5,000 créditos mensuales
- Sin compromiso inicial, cancela cuando quieras
- Soporte experto 24/7 y funciones empresariales
curl -H "Authorization: Bearer API_TOKEN" -H "Content-Type: application/json" -d '[{"url":"https://example.com"},{"url":"https://example.com/1"}]' "https://api.brightdata.com/datasets/v3/trigger?dataset_id=gd_m6gjtfmeh43we6cqc&format=json&uncompressed_webhook=true"
[
{
"timestamp": "2025-02-24",
"markdown": null,
"url": "https:\/\/www.mindat.org\/loc-419686.html",
"final_url": null,
"html2text": null,
"page_html": "\u003C!DOCTYPE html\u003E\n\u003Chtml\u003E\u003Chead\u003E\n \u003CMETA HTTP-EQUIV=\u0022Content-Type\u0022 CONTENT=\u0022text\/html; charset=UTF-8\u0022\u003E\n \u003Clink rel=\u0022appl...",
"ld_json": null,
"page_title": null
},
{
"timestamp": "2025-04-20",
"markdown": null,
"url": "https:\/\/www.thesoullux.com\/",
"final_url": null,
"html2text": null,
"page_html": "\u003C!doctype html\u003E\r\n\u003Chtml lang=\u0022en-US\u0022\u003E\r\n\u003Chead\u003E\r\n \u003Cmeta charset=\u0022UTF-8\u0022\u003E\r\n \u003Cmeta name=\u0022viewport\u0022 content=\u0022width=devic...",
"ld_json": null,
"page_title": null
},
{
"timestamp": "2025-02-24",
"markdown": null,
"url": "https:\/\/www.mindat.org\/loc-416126.html",
"final_url": null,
"html2text": null,
"page_html": "\u003C!DOCTYPE html\u003E\n\u003Chtml\u003E\u003Chead\u003E\n \u003CMETA HTTP-EQUIV=\u0022Content-Type\u0022 CONTENT=\u0022text\/html; charset=UTF-8\u0022\u003E\n \u003Clink rel=\u0022appl...",
"ld_json": null,
"page_title": null
},
{
"timestamp": "2025-03-31",
"markdown": "[Skip to content](#theme-main) \n\n[  turns any public URL into Markdown, plain text, raw HTML and JSON-LD in a single record. Bright Data handles proxies, CAPTCHAs and blocking, and returns page content ready for an LLM or a parser.
How is Fetch API different from Web Unlocker API?
Both unblock public web pages. They differ in how you call them and what you get back:
- Web Unlocker API is called at
/requestwith a Web Unlocker zone and returns the target page's raw response. - Fetch API is called at
/datasets/v3/scrapeor/datasets/v3/triggerwith a dataset ID and needs no zone. Each URL comes back as one record with Markdown, plain text, raw HTML and JSON-LD together, and it works with Scraper API batch jobs and delivery options.
What formats does Fetch API return?
Each record includes markdown (headings, lists and links kept), html2text (visible text only), page_html (the full HTML source) and ld_json (schema.org metadata, when the page has any), plus url, final_url, page_title and country. Results can be downloaded as JSON, NDJSON, JSON lines, CSV or Parquet.
How many URLs can I fetch per request?
We recommend single URL request use synchronous request. For larger volumes, use the async /trigger endpoint, which accepts unlimited URLs (up to 1 GB of input per job).
Is the page fetched in real time?
Yes. Every request fetches the live page, with no cached copy. A synchronous request waits up to 1 minute. If the fetch takes longer, it returns a snapshot_id and finishes in the background.
Can I fetch a page from a specific country?
Yes. Add a two-letter country code in uppercase, for example US or DE, to any input URL, and the page is fetched from that country.
Which websites does Fetch API work on?
Any public URL on any domain. Fetch API returns page content, not site-specific fields such as prices or follower counts. For those fields, use one of our pre-built scrapers.
Can I use Fetch API to interact with or navigate a browser?
No. Fetch API returns page content from a URL. If you need to control a browser with Puppeteer, Playwright or similar tools, check out our Browser API.
How much does Fetch API cost?
You pay only for successful records. New accounts get 5,000 free credits every month, with no credit card required.
Does Fetch API handle CAPTCHAs and anti-bot systems?
Yes. Proxies, CAPTCHAs and blocking are handled automatically on every request, with no configuration needed on your side.