Pay-per-scrape REST API. Auth with a Bearer token. Every endpoint returns a hold ID — operations settle on success and void on failure.
https://api.faircompany.ai/v1/crawl
All requests use a Bearer token. Get one from faircrawl.ai/app.
Authorization: Bearer fair_live_...
Every scrape costs $0.0007 per scrape. The cost is held against your wallet at request time, settled on success, and voided on failure.
Create a new scrape.
{
"input": "...",
"metadata": { "ref": "your-internal-id" }
} Returns the resource and a hold_id:
{
"id": "scrape_01HX...",
"status": "queued",
"hold_id": "hold_01HX...",
"estimated_cost_usd": "$0.0007"
} Fetch a scrape by ID. Returns full state including settled cost.
List scrapes. Supports cursor pagination, created_after,
status, and metadata filters.
Cancel a queued scrape. Held funds are released. Already-settled scrapes cannot be cancelled.
Register a webhook for scrape.created, scrape.completed, scrape.failed events. Signed with HMAC-SHA256.
Retry-After header.
Typed clients available for TypeScript / Python via
@fair/sdk (npm) and fair-sdk (PyPI).
Full OpenAPI spec at
api.faircompany.ai/openapi.