Skip to Content
Batch Runs API

List Batch Runs

List your account's batch runs across tools, newest first, with each run's status and cost.

GET
/v1/runs

Your account's runs across tools, newest first, with each run's status and cost but not its results. Free.

Authorization

See Authentication for details.

headerX-API-Key<token>

Provide your API key in an HTTP request header.

Query Parameters

limit?integer

Runs per page, 20 by default

Range1 <= value <= 100
cursor?string

The previous page's nextCursor

Response Body

A page of runs

application/json
  1. response
runs*array<>
nextCursor*|

Pass as cursor for the next page; null on the last page

Errors

See Errors for the response format.

invalid_request
A parameter is missing or not valid, or is not one this endpoint takes.
400
authentication_failed
No API key was sent, or it could not be checked.
401
invalid_api_key
The API key is not valid.
401
api_key_expired
The API key has expired.
401
Example Request
curl -X GET 'https://api.dns.tools/v1/runs'
Example Response
{  "runs": [    {      "id": "run_domain_01jdq3v8k2m4n6p8r0t2v4x6z8",      "tool": "domain",      "endpoint": "batch",      "status": "completed",      "createdAt": "2026-11-27T10:30:00.000Z",      "completedAt": "2026-11-27T10:30:02.418Z",      "items": 3,      "answered": 2,      "credits": 2    }  ],  "nextCursor": "string"}