v2

latestOpenAPI 3.0.3Creative Commons Attribution 4.0 International2026-08-01171171.3 KB

Generate a DNS verification token for a domain

Available on Pro subscriptions. Generates the domain-specific TXT record value used to verify control of a domain via DNS before it can be searched through the domain search APIs.

post/domainverification/generatednstoken

Headers

user-agentstring required

User agent string identifying the consuming application. Required on all documented requests, including unauthenticated endpoints; missing user agents may receive HTTP 403 responses.

Request body

DomainNamestring required

Domain name to generate or verify a domain-verification token for.

Response

The TXT record value to publish on the domain.

txtRecordValuestring required

TXT record value to publish on the domain before calling verifydnstoken.