Back to APIs

Unified Agent API

Scrape

Scrape

Extract content from any URL: a fast direct fetch, full JS rendering, or anti-bot proxies for sites that block scrapers.

POST/v1/scrapeFull JavaScript

Overview

Extract content from any URL as Markdown or HTML

Credits

Fast: 1, Standard: 2, Thorough: 5

Providers

Firecrawl

SDK Method

client.scrape(...)

Modes

The mode parameter is a preset that configures optimal provider routing for common use cases. You can also set individual parameters directly for fine-grained control.

Fast

1 credit

Raw HTTP, no JS. <1s.

Static HTML only.

Standard

2 credits

Full JS rendering. 2-5s.

SPAs, dynamic content.

Thorough

5 credits

Anti-bot proxies + JS rendering. 10-30s.

Sites that block ordinary scrapers.

Parameters

urlRequired

string

URL to scrape.

output

select (default: markdown)

Content format.

Markdown
HTML
Raw HTML
wait_for

string

CSS selector to wait for (standard and thorough modes).

timeout

number (default: 30)

Seconds the page may take to load (up to 55).

Example Response

{
  "success": true,
  "data": {
    "content": "# Example Domain\n\nThis domain is for use in documentation examples.\n\n[Learn more](https://iana.org/domains/example)",
    "title": "Example Domain",
    "description": null,
    "links": [
      "https://iana.org/domains/example"
    ],
    "screenshot_url": null
  },
  "metadata": {
    "provider_used": "raw_http",
    "providers_tried": [
      "raw_http"
    ],
    "mode_used": "fast",
    "response_time_ms": 86,
    "request_id": "req_10632882"
  },
  "credits_used": 1
}

Get Started

Create a Suprsonic API key in your dashboard, then call the endpoint with your key in the Authorization header.

Try Scrape

Test Scrape in the interactive playground. No setup required.

Open Playground