Skip to content

Base URL & Authentication

https://openapi.coreclaw.com

Terminology note: In CoreClaw’s API, Worker and Scraper refer to the same concept — a data extraction script. The API paths and field names use scraper (e.g. scraper_slug, /api/v1/scraper/run), while documentation may refer to them as Workers.

Parameter NameExample ValueTypeRequiredDescription
api-key<YOUR_API_KEY>stringYesYour API key. Get it from Console Settings → API & Integrations
content-typeapplication/jsonstringYesRequest content type

Note: /api/scraper and /api/store are public endpoints that do not require an API key.

Each API request may return a success code or an error code. You can use these codes to debug requests and identify issues.

CODEDescription
0Success
5000Internal server error
4000Invalid request parameters
4010Unauthorized access
4040Resource not found
4290Rate limit exceeded
10001User does not exist
10002User is disabled
20001Invalid API key
20002API key expired
30001Insufficient balance
30002Insufficient traffic quota
50001Worker does not exist
50002Worker execution failed
50003Worker version unavailable
60001Task does not exist
70001Run record does not exist
70002Run abort failed
#MethodEndpointDescription
1POST/api/v1/scraper/runStart Worker
2POST/api/v1/scraper/abortAbort Worker
3GET/api/scraperWorker Detail
4GET/api/storeSearch Workers
5POST/api/v1/run/listRun History
6POST/api/v1/run/detailRun Detail
7POST/api/v1/run/result/listRun Result
8POST/api/v1/run/last/logRun Log
9POST/api/v1/run/result/exportExport Run Result
10POST/api/v1/rerunRe-run
11POST/api/v1/task/runStart Task
12POST/api/v1/account/infoAccount Info

Most API requests require authentication using your API key. The public endpoints /api/scraper and /api/store do not require authentication. Include the key in the request header of every authenticated call.

Terminal window
curl -X POST "https://openapi.coreclaw.com/api/v1/account/info" \
-H "api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
--data "{}"

CoreClaw API uses three types of identifiers (slugs). Understanding the difference is essential for correct API usage.

SlugWhat it identifiesDescriptionUsed by
scraper_slugWorker IDThe unique identifier for each Worker. Every Worker has one permanent scraper_slug./api/v1/scraper/run, /api/v1/run/list
task_slugTask IDGenerated when you create and save a Task template. A Task is a reusable configuration that bundles a Worker with preset parameters./api/v1/task/run
run_slugRun Record IDGenerated each time you execute a Worker or Task. Each run produces a unique run_slug to track that specific execution./api/v1/run/detail, /api/v1/run/last/log, /api/v1/run/result/list, /api/v1/run/result/export, /api/v1/rerun, /api/v1/scraper/abort

scraper_slug (Worker ID) - Found on the Worker detail page:

scraper_slug location

task_slug (Task ID) - Found in your saved Task templates:

task_slug location

run_slug (Run Record ID) - Found in the run history or returned after starting a run:

run_slug location

Important: Do not mix these identifiers. Each slug type serves a different purpose. Passing a run_slug to a task_slug or scraper_slug field will cause request validation errors.