Itoka docs
Build on Itoka
Itoka hosts DNS for any domain, sells .com, .net and .org domains in Naira, and gives you a JSON API for all of it. Everything you can do in the dashboard, a program can do with an API key.
Point a domain's nameservers at ns1.itoka.ng and ns2.itoka.ng, and every record you change goes live on both servers in about a second. The API checks each record before it's saved and tells you what's wrong and how to fix it, the same way the dashboard does. DNS hosting is free.
sh
curl https://api.itoka.ng/api/v1/zones/ojaara.com/records \
-H "Authorization: Bearer $ITOKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"record": {"type": "A", "name": "www", "value": "192.0.2.7", "ttl": 300}}'Where to start
QuickstartAn API key and your first record in five minutes.Hackathon guideEverything a team needs on the day: free subdomains, setup, ideas.JavaScript SDKTyped client for Node, Bun, Deno and Workers.API referenceEvery endpoint, its permission and what it returns.
What you can build with
- Zones: add a domain you own, prove it's yours, and switch its nameservers to Itoka with live checks on the delegation.
- Records: A, AAAA, CNAME, MX, TXT, CAA, SRV and NS, validated before they're saved, plus propagation checks against Google, Cloudflare and Quad9.
- Free subdomains: no domain yet? Claim
yourteam.itoka.dev, live at once. - Presets and imports: Google Workspace, Zoho, Vercel, Coolify and SendByte records in one call, and records copied from your current DNS host.
- Domains: search, quote, buy (by card, bank transfer, Itoka credit or a promo code), renew and manage.
- Webhooks: signed events when records change, nameservers start pointing at Itoka, or an order completes.
The basics
- Base URL:
https://api.itoka.ng/api/v1. Requests and responses are JSON. - Authenticate with
Authorization: Bearer itk_live_…. Each key has permissions and can be limited to some zones; see API keys. - Errors always look the same: a
codeto branch on, amessageto show, and often afix. See Errors and limits. - Money is in kobo (₦1 = 100 kobo). Times are RFC 3339 in UTC. Lists are always arrays, never null.
curl https://api.itoka.ng/api/v1/zones -H "Authorization: Bearer $ITOKA_API_KEY"