RUNCrawlDashboard
API reference

RUNCrawl API

Scrape, discover, and monitor web content with a single API key.

Authentication
Send your API key in every request as Authorization: Bearer YOUR_API_KEY. Create or manage keys from the dashboard.

Base URL:

Optional authentication

Named saved sessions

Save cookies or Playwright storage_state under a name, then reuse that authentication state without sending the values on every scrape request. RUNCrawl does not sign in to websites or read cookies from your browser; your application must provide an existing state.

1. Save a cookie state

Choose the session name yourself and provide a URL for the target website. For a real site, sign in with an account you are authorized to use, then copy the required cookies from a successful request in your browser's developer tools. Send one object per cookie. Use the cookie's actual domain and path; do not guess these values. The example below uses a harmless test cookie for httpbin.org.

Each cookie object needs name, value, and exactly one of domain or url. path, secure, and httpOnly may be included from the browser's cookie details. A Cookie header string is scoped to the target host from / to support same-host redirects; use objects when cookies have narrower paths. Invalid field types and auth states larger than 1 MiB are rejected. The API returns metadata, including origin and cookie count, never cookie or localStorage values. You can provide Playwright storage_state instead; its cookies and localStorage origin must match the supplied URL. The request body is sent directly to the API—no temporary file on the API server is needed.

2. Reuse it when scraping

For the test cookie above, crawl https://httpbin.org/cookies; the response should contain runcrawl_test=hello123. This confirms cookie delivery, not authenticated access to a private site.

3. List, inspect, or delete saved names

GET /v1/sessions lists names for the current API key. GET /v1/sessions/{name} returns safe metadata. DELETE /v1/sessions/{name} removes a saved state; subsequent use returns 404. Names are unique per API key; delete a name before saving a replacement.

Scope and safety
Saved state is encrypted with a key derived from CRAWLKIT_MASTER_KEY, scoped to the API key and exact website origin, and held in worker memory. A server restart clears it; run one API worker. Each API key can save up to 100 names, with a 1 MiB limit per state; the worker has a 256 MiB total encrypted-state budget. Session-management calls are rate-limited per API key per minute (free 10, starter 60, pro 300, enterprise 1000). Refreshed state is filtered to the saved origin before it is stored. session_name cannot be combined with session_id, cookies, or storage_state in the scrape request, and it does not pin an egress route. Use HTTPS and never expose real cookie values in logs, shared examples, or source control.

Loading API reference...