name.ai

Name.ai developer portal / Sandbox

Name.ai sandbox

Two ways to test against name.ai, and neither touches real money, real domains or production data.

1. The public API — safe to call as it is

Every public endpoint is a read. Domain search and availability, WHOIS, TLD pricing and registry requirements, marketplace listings, /api/batch and /ask need no account and no key, and nothing they do can register, charge for or transfer a domain. You can call them from a test suite as often as the rate limit allows.

curl -s "https://name.ai/api/pricing/tld?tld=ai&op=register"

curl -s -X POST https://name.ai/api/batch \
  -H 'Content-Type: application/json' \
  -d '{"operations":[{"op":"tld_requirements","params":{"tld":"ai"}}]}'

2. The Partner API sandbox — for anything that transacts

Integrations that search partner inventory, create orders or send buyers to checkout test in a fully isolated sandbox. It runs the real API logic and real HMAC request signing against a fixed set of pre-seeded test listings.

SandboxLive
Credentialspk_sandbox_ / sk_sandbox_pk_live_ / sk_live_
InventoryPre-seeded test listingsReal listings from opted-in sellers
PaymentsStripe test mode — no card is chargedReal payments
Domain transfersNoneReal transfers via registrar push
WebhooksReal signed events with test payloadsReal signed events
Getting credentialsIssued immediately on partner approvalIssued by name.ai on request

Same base URL for both

There is no separate sandbox hostname. Sandbox and live are served from the same origin on the same https://name.ai/api/partner/v1 paths, and the credential you sign a request with selects which inventory answers it. Going live is a credential swap — the paths and signing logic do not change.

For hosted checkout in the sandbox, use Stripe's test card numbers (for example 4242 4242 4242 4242) with any future expiry date and any CVC.

Next steps

Name.ai Sandbox — Test the API Without Touching Real Data