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

# Extract

`POST /api/v2/extract`

## 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/extract`
- Auth: none declared

Extract structured fields from URLs.

The MVP uses warehouse/live structured data and shapes it to the requested
JSON schema. LLM extraction can be added as a final fallback.

## Headers

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

## Request body

- ExtractRequest
  - `urls` string[], required: URLs to extract; max 25.
  - `schema` object
  - `prompt` string, nullable

## 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)
