---
title: "Scrape"
method: POST
path: "/api/v2/scrape"
tags: ["v2 · Agent-first crawler API"]
---

# Scrape

`POST /api/v2/scrape`

## Request

- Base URL: `https://smartcrawler.io` (the document declares no server; this is the origin it was published from)
- URL: `https://smartcrawler.io/api/v2/scrape`
- Auth: none declared

Single URL scrape with warehouse-first behavior.

## Headers

- `authorization` string
- `X-API-Key` string

## Request body

- ScrapeRequest
  - `url` string, required: URL to scrape.
  - `formats` string[]: markdown / structured / html / links
  - `only_main_content` boolean
  - `wait_for` integer: Extra wait in milliseconds.
  - `timeout` integer: Timeout in milliseconds.
  - `force_live` boolean: Bypass warehouse cache.
  - `mode` string: standard / advanced (browser_pool rendered scrape).

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent.md) · [All operations](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/revisions/a0eb313934e4?raw)
