Scraping API
Help center

Scraping API

Fetch protected pages, scrape URL lists, crawl and map whole sites, and search Google. Send a target, get clean Markdown, HTML, JSON or a screenshot back.

Base URLhttps://scraping-api.datafuel.ai/api/v1
KeyYour scraping key, df_key_…, in the X-API-Key header. See Authentication.
BillingCredits per task, charged when it is queued and refunded if it fails. See Pricing and credits.

Your first request

Fetch one page as Markdown:

Shell
curl https://scraping-api.datafuel.ai/api/v1/task \
  --request POST \
  --header "Content-Type: application/json" \
  --header "X-API-Key: df_key_your_key_here" \
  --data '{
    "type": "unlocker",
    "proxy_type": "Basic",
    "attributes": {
      "url": "https://example.com/product/123",
      "result_format": "markdown"
    }
  }'

The call blocks until the page is fetched and returns it in result.data. Set your client timeout to at least 120 seconds.

What you can do

EndpointUse it forGuide
POST /taskOne page, one Google searchScrape a page, Search Google
POST /jobA list of URLs you already haveScrape a URL list
POST /mapEvery URL of a site, without the contentMap a site
POST /crawlA whole site or section, with the contentCrawl a site

Not sure which one fits? Choosing an endpoint compares them side by side.