# API reference (/api-reference)

<div className="rh-section-hero">
  <h1>API reference</h1>
  <p className="rh-lede">Submit URLs with the Data API or check an IP address. Choose an operation below for its parameters, response schemas, examples, and playground.</p>
</div>

## Choose an API [#choose-an-api]

| API | Use it to | Authentication |
| --- | --- | --- |
| Data API | Fetch pages, extract fields, and submit batches of URLs. | Data API key with `scrape:write` and/or `requests:read`. |
| IP Lookup API | Check the location, network type, and browser signals of your connection or any IP address. | None. |

All paths use `https://api.runharvester.com`. See [Authentication](/getting-started/authentication) to create the right key. Workspace setup and account-management routes belong to the Console and are outside this reference.

The playground sends requests directly from your browser to the API. Submitting a request can create billable work. For copyable cURL examples, set `RUNHARVESTER_API_KEY`. For a write operation, also set `RUNHARVESTER_IDEMPOTENCY_KEY` to a fresh UUID before its first submission and keep it unchanged for retries of the same body. See [Retries and idempotency](/concepts/retries).

## Data API [#data-api]

For an example of asynchronous requests, see the [quickstart](/getting-started/quickstart).

| Task | Operation |
| --- | --- |
| Submit a URL | [Create a request](/api-reference/data-api/postDataRequests) |
| Check progress | [Get a request](/api-reference/data-api/getDataRequestsById) |
| Read the result | [Get a result](/api-reference/data-api/getDataRequestsByIdResult) |
| Inspect execution events | [List request events](/api-reference/data-api/getDataRequestsByIdEvents) |
| Browse previous requests | [List requests](/api-reference/data-api/getDataRequests) |
| Stop work | [Cancel a request](/api-reference/data-api/postDataRequestsByIdCancel) |
| Intentionally submit a new attempt | [Retry a request](/api-reference/data-api/postDataRequestsByIdRetry) |
| Submit many URLs | [Create a batch](/api-reference/data-api/postDataBatches) |
| Check a batch | [Get a batch](/api-reference/data-api/getDataBatchesById) |
| Browse batches | [List batches](/api-reference/data-api/getDataBatches) |
| Inspect measured traffic and post-paid charges | [Get usage](/api-reference/data-api/getDataUsage) |
| Browse extraction recipes | [List recipes](/api-reference/data-api/getDataRecipes) |
| Receive request events as a live stream | [Stream request events](/api-reference/data-api/getDataRequestsByIdEventsStream) |

## IP Lookup API [#ip-lookup-api]

These operations need no API key. See [Check an IP address](/guides/ip-lookup) for the fields and detection signals.

| Task | Operation |
| --- | --- |
| Inspect your own connection | [Describe the caller's IP](/api-reference/ip-lookup-api/getClientIpInfo) |
| Inspect another address | [Describe an IP address](/api-reference/ip-lookup-api/getIpInfo) |

For failures and production behavior, use [Errors](/resources/errors), [Limits](/resources/limits), and [Security and privacy](/concepts/security).