Skip to main content
Base URL: https://api.styne.ai. Every request carries Authorization: Bearer $STYNE_API_KEY.

Quick start

1. Start a job

The answer is 202 with the job: its id, status (queued), the limits you set and counts.

2. Poll and read the pages

status goes queued, running, then succeeded, failed or canceled. The finished pages are in pages, in order, 20 by default and up to 100 with limit. While next_cursor is not null, pass it back as ?cursor= for the next page of results.

3. Stop a job

The job ends as canceled, and the pages it had read stay readable until the job expires.

Request fields

Only url is required.

Response fields

The job, from POST /v1/crawl and GET /v1/crawl/{id}: Each entry of pages:

Limits

Pricing

$1 per 1,000 pages ($0.001 a page), charged for each page fetched. Starting a job is free. A blocked, failed, skipped or duplicate page is free. It is billed from your prepaid credit, which never expires; an account with no credit gets 402. See Plans and billing.