---
title: "Name.ai Sandbox — Test the API Without Touching Real Data"
description: "Test against name.ai safely: the public API is read-only and free, and the Partner API sandbox uses pre-seeded test inventory, Stripe test cards and signed test webhooks — no real money moves and no real domain transfers."
url: https://name.ai/sandbox
---

[Name.ai developer portal](https://name.ai/developers) / 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.

|  | Sandbox | Live |
| --- | --- | --- |
| Credentials | pk\_sandbox\_ / sk\_sandbox\_ | pk\_live\_ / sk\_live\_ |
| Inventory | Pre-seeded test listings | Real listings from opted-in sellers |
| Payments | Stripe test mode — no card is charged | Real payments |
| Domain transfers | None | Real transfers via registrar push |
| Webhooks | Real signed events with test payloads | Real signed events |
| Getting credentials | Issued immediately on partner approval | Issued 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

-   [Step-by-step sandbox guide](https://name.ai/syndicate-partners/sandbox) — signing requests, searching test inventory, test orders, checkout and webhooks.
-   [Apply as a partner](https://name.ai/partners/apply) — sandbox credentials are issued as soon as you are approved.
-   [Name.ai API docs](https://name.ai/developers/api) — the public endpoints above, in full.
-   [Developer portal](https://name.ai/developers) — every developer resource on one page.

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

---

Markdown representation of https://name.ai/sandbox. The same URL returns HTML to any client that asks for `text/html`. Site map for agents: https://name.ai/llms.txt
