Skip to Content
Batch Runs API

Get Batch Run

Read a batch run's status and the result of each item finished so far.

GET
/v1/runs/{id}

A run by id: its status, and the outcome of each item finished so far, in the order sent, with the rest pending. Its results are the tool's own, so tool tells them apart. Reading a run is free. A run of another account is a 404.

Authorization

See Authentication for details.

headerX-API-Key<token>

Provide your API key in an HTTP request header.

Path Parameters

id*string

The run ID, as the batch call answered with it

Response Body

The run

application/json
  1. response
id*string

The run ID, which names its tool: read it back at /v1/runs/{id}

tool*"domain"

The tool the run belongs to

Value in"domain"
endpoint*string

The endpoint that created it

status*string

queued or running until every item has an outcome, then completed. failed means the run itself could not finish and nothing was billed

Value in"queued""running""completed""failed"
createdAt*string
completedAt*|

When every item had an outcome; null until then

items*integer

How many items were sent

answered*|

How many items were answered (HTTP 200), the ones billed; null until completed

credits*|

What the run cost: answered items times the per-item price; null until completed

results*array<>|

One entry per item, in the order sent: the outcome of each finished item, the rest pending. Null for a failed run

errors*array<>

Why the run itself failed; empty otherwise. Each failed item has its own errors

Errors

See Errors for the response format.

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
not_found
No run with that id in your account.
404
Example Request
curl -X GET 'https://api.dns.tools/v1/runs/run_domain_01jdq3v8k2m4n6p8r0t2v4x6z8'
Example Response
{  "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,  "results": [    {      "query": "example.com",      "pending": false,      "status": 200,      "cached": true,      "result": {        "domainName": "google.com",        "domainNameUnicode": "bücher.de",        "creationDate": "1997-09-15T04:00:00Z",        "expirationDate": "2028-09-14T07:00:00Z",        "registryExpirationDate": "2028-09-14T04:00:00Z",        "updatedDate": "2019-09-09T15:39:04Z",        "nameservers": [          "ns1.google.com",          "ns2.google.com",          "ns3.google.com",          "ns4.google.com"        ],        "dnssec": false,        "eppStatus": [          "ok",          "addPeriod",          "linked",          "autoRenewPeriod",          "clientHold",          "clientDeleteProhibited",          "clientRenewProhibited",          "clientTransferProhibited",          "clientUpdateProhibited",          "inactive",          "pendingCreate",          "pendingDelete",          "pendingRenew",          "pendingRestore",          "pendingTransfer",          "pendingUpdate",          "redemptionPeriod",          "renewPeriod",          "serverDeleteProhibited",          "serverHold",          "serverRenewProhibited",          "serverTransferProhibited",          "serverUpdateProhibited",          "transferPeriod"        ],        "unmappedStatus": [],        "available": false,        "reserved": false,        "registrar": {          "ianaId": 146,          "name": "GoDaddy.com, LLC",          "address": [            "2155 E GoDaddy Way",            "Tempe, AZ 85284"          ],          "city": "Tempe",          "state": "AZ",          "postalCode": "85284",          "countryCode": [            "AF",            "AL",            "DZ",            "AS",            "AD",            "AO",            "AI",            "AQ",            "AG",            "AR",            "AM",            "AW",            "AU",            "AT",            "AZ",            "BS",            "BH",            "BD",            "BB",            "BY",            "BE",            "BZ",            "BJ",            "BM",            "BT",            "BO",            "BA",            "BW",            "BV",            "BR",            "IO",            "BN",            "BG",            "BF",            "BI",            "KH",            "CM",            "CA",            "CV",            "KY",            "CF",            "TD",            "CL",            "CN",            "CX",            "CC",            "CO",            "KM",            "CG",            "CD",            "CK",            "CR",            "CI",            "HR",            "CU",            "CY",            "CZ",            "DK",            "DJ",            "DM",            "DO",            "EC",            "EG",            "SV",            "GQ",            "ER",            "EE",            "ET",            "FK",            "FO",            "FJ",            "FI",            "FR",            "GF",            "PF",            "TF",            "GA",            "GM",            "GE",            "DE",            "GH",            "GI",            "GR",            "GL",            "GD",            "GP",            "GU",            "GT",            "GN",            "GW",            "GY",            "HT",            "HM",            "VA",            "HN",            "HK",            "HU",            "IS",            "IN",            "ID",            "IR",            "IQ",            "IE",            "IL",            "IT",            "JM",            "JP",            "JO",            "KZ",            "KE",            "KI",            "KP",            "KR",            "KW",            "KG",            "LA",            "LV",            "LB",            "LS",            "LR",            "LY",            "LI",            "LT",            "LU",            "MO",            "MG",            "MW",            "MY",            "MV",            "ML",            "MT",            "MH",            "MQ",            "MR",            "MU",            "YT",            "MX",            "FM",            "MD",            "MC",            "MN",            "MS",            "MA",            "MZ",            "MM",            "NA",            "NR",            "NP",            "NL",            "NC",            "NZ",            "NI",            "NE",            "NG",            "NU",            "NF",            "MK",            "MP",            "NO",            "OM",            "PK",            "PW",            "PS",            "PA",            "PG",            "PY",            "PE",            "PH",            "PN",            "PL",            "PT",            "PR",            "QA",            "RE",            "RO",            "RU",            "RW",            "SH",            "KN",            "LC",            "PM",            "VC",            "WS",            "SM",            "ST",            "SA",            "SN",            "SC",            "SL",            "SG",            "SK",            "SI",            "SB",            "SO",            "ZA",            "GS",            "ES",            "LK",            "SD",            "SR",            "SJ",            "SZ",            "SE",            "CH",            "SY",            "TW",            "TJ",            "TZ",            "TH",            "TL",            "TG",            "TK",            "TO",            "TT",            "TN",            "TR",            "TM",            "TC",            "TV",            "UG",            "UA",            "AE",            "GB",            "US",            "UM",            "UY",            "UZ",            "VU",            "VE",            "VN",            "VG",            "VI",            "WF",            "EH",            "YE",            "ZM",            "ZW",            "AX",            "BQ",            "CW",            "GG",            "IM",            "JE",            "ME",            "BL",            "MF",            "RS",            "SX",            "SS",            "XK"          ],          "phone": "+1.4805058800",          "phoneExt": null,          "fax": "+1.4805058844",          "faxExt": null,          "email": "compliance@godaddy.com",          "url": "https://www.godaddy.com",          "abuseEmail": "abuse@godaddy.com",          "abusePhone": "+1.4805058800"        },        "reseller": "Example Hosting Ltd",        "registrant": {          "id": "CONTACT-123",          "name": "John Doe",          "org": "Example Corp",          "address": [            "123 Main St",            "Suite 100"          ],          "city": "San Francisco",          "state": "CA",          "postalCode": "94105",          "countryCode": [            "AF",            "AL",            "DZ",            "AS",            "AD",            "AO",            "AI",            "AQ",            "AG",            "AR",            "AM",            "AW",            "AU",            "AT",            "AZ",            "BS",            "BH",            "BD",            "BB",            "BY",            "BE",            "BZ",            "BJ",            "BM",            "BT",            "BO",            "BA",            "BW",            "BV",            "BR",            "IO",            "BN",            "BG",            "BF",            "BI",            "KH",            "CM",            "CA",            "CV",            "KY",            "CF",            "TD",            "CL",            "CN",            "CX",            "CC",            "CO",            "KM",            "CG",            "CD",            "CK",            "CR",            "CI",            "HR",            "CU",            "CY",            "CZ",            "DK",            "DJ",            "DM",            "DO",            "EC",            "EG",            "SV",            "GQ",            "ER",            "EE",            "ET",            "FK",            "FO",            "FJ",            "FI",            "FR",            "GF",            "PF",            "TF",            "GA",            "GM",            "GE",            "DE",            "GH",            "GI",            "GR",            "GL",            "GD",            "GP",            "GU",            "GT",            "GN",            "GW",            "GY",            "HT",            "HM",            "VA",            "HN",            "HK",            "HU",            "IS",            "IN",            "ID",            "IR",            "IQ",            "IE",            "IL",            "IT",            "JM",            "JP",            "JO",            "KZ",            "KE",            "KI",            "KP",            "KR",            "KW",            "KG",            "LA",            "LV",            "LB",            "LS",            "LR",            "LY",            "LI",            "LT",            "LU",            "MO",            "MG",            "MW",            "MY",            "MV",            "ML",            "MT",            "MH",            "MQ",            "MR",            "MU",            "YT",            "MX",            "FM",            "MD",            "MC",            "MN",            "MS",            "MA",            "MZ",            "MM",            "NA",            "NR",            "NP",            "NL",            "NC",            "NZ",            "NI",            "NE",            "NG",            "NU",            "NF",            "MK",            "MP",            "NO",            "OM",            "PK",            "PW",            "PS",            "PA",            "PG",            "PY",            "PE",            "PH",            "PN",            "PL",            "PT",            "PR",            "QA",            "RE",            "RO",            "RU",            "RW",            "SH",            "KN",            "LC",            "PM",            "VC",            "WS",            "SM",            "ST",            "SA",            "SN",            "SC",            "SL",            "SG",            "SK",            "SI",            "SB",            "SO",            "ZA",            "GS",            "ES",            "LK",            "SD",            "SR",            "SJ",            "SZ",            "SE",            "CH",            "SY",            "TW",            "TJ",            "TZ",            "TH",            "TL",            "TG",            "TK",            "TO",            "TT",            "TN",            "TR",            "TM",            "TC",            "TV",            "UG",            "UA",            "AE",            "GB",            "US",            "UM",            "UY",            "UZ",            "VU",            "VE",            "VN",            "VG",            "VI",            "WF",            "EH",            "YE",            "ZM",            "ZW",            "AX",            "BQ",            "CW",            "GG",            "IM",            "JE",            "ME",            "BL",            "MF",            "RS",            "SX",            "SS",            "XK"          ],          "phone": "+1.4155551234",          "phoneExt": "123",          "fax": "+1.4155551235",          "faxExt": null,          "email": "john@example.com",          "url": "https://example.com"        },        "admin": {          "id": "CONTACT-123",          "name": "John Doe",          "org": "Example Corp",          "address": [            "123 Main St",            "Suite 100"          ],          "city": "San Francisco",          "state": "CA",          "postalCode": "94105",          "countryCode": [            "AF",            "AL",            "DZ",            "AS",            "AD",            "AO",            "AI",            "AQ",            "AG",            "AR",            "AM",            "AW",            "AU",            "AT",            "AZ",            "BS",            "BH",            "BD",            "BB",            "BY",            "BE",            "BZ",            "BJ",            "BM",            "BT",            "BO",            "BA",            "BW",            "BV",            "BR",            "IO",            "BN",            "BG",            "BF",            "BI",            "KH",            "CM",            "CA",            "CV",            "KY",            "CF",            "TD",            "CL",            "CN",            "CX",            "CC",            "CO",            "KM",            "CG",            "CD",            "CK",            "CR",            "CI",            "HR",            "CU",            "CY",            "CZ",            "DK",            "DJ",            "DM",            "DO",            "EC",            "EG",            "SV",            "GQ",            "ER",            "EE",            "ET",            "FK",            "FO",            "FJ",            "FI",            "FR",            "GF",            "PF",            "TF",            "GA",            "GM",            "GE",            "DE",            "GH",            "GI",            "GR",            "GL",            "GD",            "GP",            "GU",            "GT",            "GN",            "GW",            "GY",            "HT",            "HM",            "VA",            "HN",            "HK",            "HU",            "IS",            "IN",            "ID",            "IR",            "IQ",            "IE",            "IL",            "IT",            "JM",            "JP",            "JO",            "KZ",            "KE",            "KI",            "KP",            "KR",            "KW",            "KG",            "LA",            "LV",            "LB",            "LS",            "LR",            "LY",            "LI",            "LT",            "LU",            "MO",            "MG",            "MW",            "MY",            "MV",            "ML",            "MT",            "MH",            "MQ",            "MR",            "MU",            "YT",            "MX",            "FM",            "MD",            "MC",            "MN",            "MS",            "MA",            "MZ",            "MM",            "NA",            "NR",            "NP",            "NL",            "NC",            "NZ",            "NI",            "NE",            "NG",            "NU",            "NF",            "MK",            "MP",            "NO",            "OM",            "PK",            "PW",            "PS",            "PA",            "PG",            "PY",            "PE",            "PH",            "PN",            "PL",            "PT",            "PR",            "QA",            "RE",            "RO",            "RU",            "RW",            "SH",            "KN",            "LC",            "PM",            "VC",            "WS",            "SM",            "ST",            "SA",            "SN",            "SC",            "SL",            "SG",            "SK",            "SI",            "SB",            "SO",            "ZA",            "GS",            "ES",            "LK",            "SD",            "SR",            "SJ",            "SZ",            "SE",            "CH",            "SY",            "TW",            "TJ",            "TZ",            "TH",            "TL",            "TG",            "TK",            "TO",            "TT",            "TN",            "TR",            "TM",            "TC",            "TV",            "UG",            "UA",            "AE",            "GB",            "US",            "UM",            "UY",            "UZ",            "VU",            "VE",            "VN",            "VG",            "VI",            "WF",            "EH",            "YE",            "ZM",            "ZW",            "AX",            "BQ",            "CW",            "GG",            "IM",            "JE",            "ME",            "BL",            "MF",            "RS",            "SX",            "SS",            "XK"          ],          "phone": "+1.4155551234",          "phoneExt": "123",          "fax": "+1.4155551235",          "faxExt": null,          "email": "john@example.com",          "url": "https://example.com"        },        "tech": {          "id": "CONTACT-123",          "name": "John Doe",          "org": "Example Corp",          "address": [            "123 Main St",            "Suite 100"          ],          "city": "San Francisco",          "state": "CA",          "postalCode": "94105",          "countryCode": [            "AF",            "AL",            "DZ",            "AS",            "AD",            "AO",            "AI",            "AQ",            "AG",            "AR",            "AM",            "AW",            "AU",            "AT",            "AZ",            "BS",            "BH",            "BD",            "BB",            "BY",            "BE",            "BZ",            "BJ",            "BM",            "BT",            "BO",            "BA",            "BW",            "BV",            "BR",            "IO",            "BN",            "BG",            "BF",            "BI",            "KH",            "CM",            "CA",            "CV",            "KY",            "CF",            "TD",            "CL",            "CN",            "CX",            "CC",            "CO",            "KM",            "CG",            "CD",            "CK",            "CR",            "CI",            "HR",            "CU",            "CY",            "CZ",            "DK",            "DJ",            "DM",            "DO",            "EC",            "EG",            "SV",            "GQ",            "ER",            "EE",            "ET",            "FK",            "FO",            "FJ",            "FI",            "FR",            "GF",            "PF",            "TF",            "GA",            "GM",            "GE",            "DE",            "GH",            "GI",            "GR",            "GL",            "GD",            "GP",            "GU",            "GT",            "GN",            "GW",            "GY",            "HT",            "HM",            "VA",            "HN",            "HK",            "HU",            "IS",            "IN",            "ID",            "IR",            "IQ",            "IE",            "IL",            "IT",            "JM",            "JP",            "JO",            "KZ",            "KE",            "KI",            "KP",            "KR",            "KW",            "KG",            "LA",            "LV",            "LB",            "LS",            "LR",            "LY",            "LI",            "LT",            "LU",            "MO",            "MG",            "MW",            "MY",            "MV",            "ML",            "MT",            "MH",            "MQ",            "MR",            "MU",            "YT",            "MX",            "FM",            "MD",            "MC",            "MN",            "MS",            "MA",            "MZ",            "MM",            "NA",            "NR",            "NP",            "NL",            "NC",            "NZ",            "NI",            "NE",            "NG",            "NU",            "NF",            "MK",            "MP",            "NO",            "OM",            "PK",            "PW",            "PS",            "PA",            "PG",            "PY",            "PE",            "PH",            "PN",            "PL",            "PT",            "PR",            "QA",            "RE",            "RO",            "RU",            "RW",            "SH",            "KN",            "LC",            "PM",            "VC",            "WS",            "SM",            "ST",            "SA",            "SN",            "SC",            "SL",            "SG",            "SK",            "SI",            "SB",            "SO",            "ZA",            "GS",            "ES",            "LK",            "SD",            "SR",            "SJ",            "SZ",            "SE",            "CH",            "SY",            "TW",            "TJ",            "TZ",            "TH",            "TL",            "TG",            "TK",            "TO",            "TT",            "TN",            "TR",            "TM",            "TC",            "TV",            "UG",            "UA",            "AE",            "GB",            "US",            "UM",            "UY",            "UZ",            "VU",            "VE",            "VN",            "VG",            "VI",            "WF",            "EH",            "YE",            "ZM",            "ZW",            "AX",            "BQ",            "CW",            "GG",            "IM",            "JE",            "ME",            "BL",            "MF",            "RS",            "SX",            "SS",            "XK"          ],          "phone": "+1.4155551234",          "phoneExt": "123",          "fax": "+1.4155551235",          "faxExt": null,          "email": "john@example.com",          "url": "https://example.com"        },        "billing": {          "id": "CONTACT-123",          "name": "John Doe",          "org": "Example Corp",          "address": [            "123 Main St",            "Suite 100"          ],          "city": "San Francisco",          "state": "CA",          "postalCode": "94105",          "countryCode": [            "AF",            "AL",            "DZ",            "AS",            "AD",            "AO",            "AI",            "AQ",            "AG",            "AR",            "AM",            "AW",            "AU",            "AT",            "AZ",            "BS",            "BH",            "BD",            "BB",            "BY",            "BE",            "BZ",            "BJ",            "BM",            "BT",            "BO",            "BA",            "BW",            "BV",            "BR",            "IO",            "BN",            "BG",            "BF",            "BI",            "KH",            "CM",            "CA",            "CV",            "KY",            "CF",            "TD",            "CL",            "CN",            "CX",            "CC",            "CO",            "KM",            "CG",            "CD",            "CK",            "CR",            "CI",            "HR",            "CU",            "CY",            "CZ",            "DK",            "DJ",            "DM",            "DO",            "EC",            "EG",            "SV",            "GQ",            "ER",            "EE",            "ET",            "FK",            "FO",            "FJ",            "FI",            "FR",            "GF",            "PF",            "TF",            "GA",            "GM",            "GE",            "DE",            "GH",            "GI",            "GR",            "GL",            "GD",            "GP",            "GU",            "GT",            "GN",            "GW",            "GY",            "HT",            "HM",            "VA",            "HN",            "HK",            "HU",            "IS",            "IN",            "ID",            "IR",            "IQ",            "IE",            "IL",            "IT",            "JM",            "JP",            "JO",            "KZ",            "KE",            "KI",            "KP",            "KR",            "KW",            "KG",            "LA",            "LV",            "LB",            "LS",            "LR",            "LY",            "LI",            "LT",            "LU",            "MO",            "MG",            "MW",            "MY",            "MV",            "ML",            "MT",            "MH",            "MQ",            "MR",            "MU",            "YT",            "MX",            "FM",            "MD",            "MC",            "MN",            "MS",            "MA",            "MZ",            "MM",            "NA",            "NR",            "NP",            "NL",            "NC",            "NZ",            "NI",            "NE",            "NG",            "NU",            "NF",            "MK",            "MP",            "NO",            "OM",            "PK",            "PW",            "PS",            "PA",            "PG",            "PY",            "PE",            "PH",            "PN",            "PL",            "PT",            "PR",            "QA",            "RE",            "RO",            "RU",            "RW",            "SH",            "KN",            "LC",            "PM",            "VC",            "WS",            "SM",            "ST",            "SA",            "SN",            "SC",            "SL",            "SG",            "SK",            "SI",            "SB",            "SO",            "ZA",            "GS",            "ES",            "LK",            "SD",            "SR",            "SJ",            "SZ",            "SE",            "CH",            "SY",            "TW",            "TJ",            "TZ",            "TH",            "TL",            "TG",            "TK",            "TO",            "TT",            "TN",            "TR",            "TM",            "TC",            "TV",            "UG",            "UA",            "AE",            "GB",            "US",            "UM",            "UY",            "UZ",            "VU",            "VE",            "VN",            "VG",            "VI",            "WF",            "EH",            "YE",            "ZM",            "ZW",            "AX",            "BQ",            "CW",            "GG",            "IM",            "JE",            "ME",            "BL",            "MF",            "RS",            "SX",            "SS",            "XK"          ],          "phone": "+1.4155551234",          "phoneExt": "123",          "fax": "+1.4155551235",          "faxExt": null,          "email": "john@example.com",          "url": "https://example.com"        },        "source": {          "type": "whois",          "server": "https://rdap.markmonitor.com/rdap/",          "timestamp": "2026-11-13T22:04:11.000Z"        },        "redacted": [          "registrant.name",          "registrant.email"        ],        "provenance": {          "registrar": "registrar",          "contacts": "registrar",          "status": "registry",          "nameservers": "registry",          "dnssec": "registry",          "creationDate": "registry",          "updatedDate": "registry",          "expirationDate": "registrar"        },        "discrepancies": [          {            "field": "expirationDate",            "registry": "2028-09-14T04:00:00Z",            "registrar": "2028-09-14T07:00:00Z"          }        ],        "attempts": [          {            "protocol": "rdap",            "hops": [              {                "server": "https://rdap.verisign.com/com/v1/",                "serverType": "registry",                "status": "found",                "tries": 1,                "elapsed": 182,                "error": null              },              {                "server": "https://rdap.markmonitor.com/rdap/",                "serverType": "registrar",                "status": "found",                "tries": 1,                "elapsed": 411,                "error": null              }            ],            "error": null          }        ]      },      "errors": []    }  ],  "errors": [    {      "code": "string",      "message": "string",      "property1": null,      "property2": null    }  ]}