GETCRYPTODOMAINS / .BOTID ECOSYSTEM

Documentation

Technical documentation for the .botid naming system — blockchain-native identity for autonomous agents on Base mainnet (chain 8453). Names cost $9.99 per year in Base ETH, for a 365-day term. This page covers the REST API and the MCP server in full: what each is, how to call it, every tool with its parameters and real examples, auth and billing, error handling, the 5 contracts, registration, and renewal. Public reads are free and need no key. The full interactive reference lives in Swagger UI.

Overview

.botid is an ENS-style naming system for agents, not traditional DNS. A name like everest.botid is an on-chain record: it has a holder (a wallet address), an expiry, resolver records (wallet, website, metadata), optional child subdomains, and an optional marketplace listing. Registering a name does not create a website, an email address, or a trademark right.

There are two ways to use the system:

  • With a wallet, on the site — Register .botid walks through registration, management, and trading in the browser. Write operations are transactions you review and sign yourself; the service never holds your keys and never broadcasts for you.
  • As an agent, over the API — the public agent API at agents.getcryptodomains.com exposes 17 tools over REST and MCP. Read tools query Base directly. Write tools return unsigned transactions for the owner wallet to review and sign. Nothing here signs or broadcasts on your behalf.

Label rules apply everywhere: 3–63 characters, lowercase letters, digits, and hyphens only ([a-z0-9-]). Labels are checked on-chain and by the API before any call is built.

Quick start

Price a name with one call — no key, no account:

curl -X POST https://agents.getcryptodomains.com/api/v1/tools/botid_price \
  -H 'Content-Type: application/json' \
  -d '{"label":"everest"}'
{"usd":"9.99","token":"ETH","wei":"5973058457049585","termDays":365,
 "yearly":true,"chainId":8453,
 "contract":"0xd8aF3139D9eA4FF4E1791504766B1526c756F730",
 "source":"on-chain ETH/USD oracle quote"}

The wei field is the live 1-year quote from the on-chain ETH/USD oracle — it moves with the price of ETH. Check availability the same way with botid_check, or try them below in Try it live.

REST API

The public research API lives at https://agents.getcryptodomains.com. Every tool is a POST to /api/v1/tools/<tool-name> with a JSON body of top-level arguments — not a nested arguments object. A nested shape returns 400.

POST https://agents.getcryptodomains.com/api/v1/tools/botid_lookup
Content-Type: application/json

{"label":"everest"}
{"label":"everest","name":"everest.botid","holder":null,"expiresAt":"0",
 "active":false,"available":true,"chainId":8453,
 "contract":"0xd8aF3139D9eA4FF4E1791504766B1526c756F730",
 "source":"Base mainnet eth_call","not_dns":true}

holder is the owner address, or null when the name is unregistered. expiresAt is a Unix timestamp as a decimal string ("0" when unregistered). not_dns is a reminder that a .botid name is not a DNS domain.

Write tools return unsigned transactions

Tools that change state — botid_register_prepare, botid_register_commit, botid_register, botid_renew, botid_update_records, botid_delegate_subdomain, botid_marketplace_list_name, botid_marketplace_buy, botid_reverse_set — do not sign or broadcast. They return an unsigned transaction (to, data, value, chainId) for the owner wallet to review and sign. Example — preparing a registration:

POST https://agents.getcryptodomains.com/api/v1/tools/botid_register_prepare
Content-Type: application/json

{"label":"everest"}
{"to":"0xd8aF3139D9eA4FF4E1791504766B1526c756F730",
 "data":"0x...","value":"5973058457049585","chainId":8453,
 "label":"everest","name":"everest.botid"}

botid_register_prepare builds a direct-Registry registration in one step. It does not use commit-reveal, so it does not protect against front-running — for front-running protection, use botid_register_commit + botid_register instead (see Registration & commit-reveal).

The site inventory API

A second, separate API lives on the apex at https://getcryptodomains.com: public inventory, reports, and MCP reads — GET /api/public/v1/listings, /check, /compare, /suggestions, /services, and POST /api/v1/research. Public reads need no login. Paid report retrieval needs an owner-scoped account bearer token and a confirmed payment. The full catalog (46 operations) is on the REST guide and in Swagger under Inventory, reports & MCP API.

Do not call REST tools from the apex. POST https://getcryptodomains.com/mcp 308-redirects to the agents host, and the apex does not serve the /api/v1/tools/* routes — use agents.getcryptodomains.com for those.

MCP server

The same 17 tools are available as a Model Context Protocol server over Streamable HTTP at https://agents.getcryptodomains.com/mcp. Configure that endpoint in any MCP-compatible client — the client handles protocol initialization and tool discovery. No API key is needed for the public server.

The MCP endpoint is JSON-RPC 2.0. A client session starts with initialize, then discovers tools with tools/list and calls them with tools/call:

{"jsonrpc":"2.0","id":1,"method":"initialize","params":{
  "protocolVersion":"2025-03-26","capabilities":{},
  "clientInfo":{"name":"my-agent","version":"1.0.0"}}}
{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}
// → 17 tools, each with name, description, and inputSchema
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{
  "name":"botid_price","arguments":{"label":"everest"}}}
// → the same price result as the REST call, wrapped in MCP content

Note the shape difference: over MCP, arguments are nested under params.arguments; over REST they are top-level in the request body. The public MCP server also prepares unsigned transactions for resolver updates, subdomain delegation, and marketplace actions — the same write tools, the same unsigned-transaction rule.

The metered mirror lives at https://billing.getcryptodomains.com/mcp and needs a gcd_ bearer key (see Auth & billing). The full connection walkthrough is on the MCP guide.

The 17 tools

All 17 are live on REST (POST /api/v1/tools/<tool>) and MCP (tools/call), grouped here by what they do. Reads query Base and are free with no key. Write-preps return unsigned transactions.

ToolKindParametersWhat it does
Lookup & pricing
botid_lookupReadlabelAuthoritative ownership, expiry, and availability for a name.
botid_priceReadlabelLive 1-year quote: USD, ETH in wei, 365-day term, oracle source.
botid_checkReadlabelWhether a label is available for registration.
botid_resolveReadlabelResolver records for a name: wallet, API, MCP, website, metadata, verification.
Registration
botid_register_prepareWrite-preplabelUnsigned direct-Registry register transaction (one step, no commit-reveal).
botid_register_commitWrite-preplabel, owner, years, secret (optional)Step 1 of commit-reveal registration: unsigned commit(bytes32) transaction plus the commitment hash and secret. Valid 60 seconds to 24 hours after committing.
botid_registerWrite-preplabel, owner, secret, years, set_reverse (optional)Step 2: unsigned register(...) transaction through the controller, paying the live quote × years, optionally setting the reverse record in the same transaction. The committer must sign, 60 seconds to 24 hours after committing.
Renewal
botid_renewWrite-preplabel, years (optional, default 1)Unsigned direct-Registry renew transactions — one per year, each extending expiry by exactly 365 days at the live quote. Only the holder can sign, and only before expiry: there is no grace period.
Records & subdomains
botid_update_recordsWrite-preplabel, record, valueUnsigned setText transaction — set a resolver record (e.g. wallet, website, metadata).
botid_subdomainsReadparent, childState of a child subdomain under a parent name.
botid_delegate_subdomainWrite-prepparent, child, holder, expires_atUnsigned setSubdomain transaction — delegate a child name to a holder until an expiry.
Marketplace
botid_marketplace_listReadlabelThe active marketplace listing for a name, if any.
botid_marketplace_list_nameWrite-preplabel, price_wei, duration_secondsUnsigned prepareListing transaction — list a name for sale.
botid_marketplace_buyWrite-preplabelUnsigned purchase transaction for a listed name.
Reverse records
botid_reverse_setWrite-preplabel, address (optional)Unsigned setName transaction — point an address at a .botid name. Give address to set another address record (setNameForAddr); the address must hold the name.
botid_reverse_lookupReadaddressGiven a wallet address, return the .botid name it points at (or an empty name when none is set).
Meta
botid_agent_toolMetatool, argumentsCall any of the other tools by name — the single entrypoint for agents that route through one tool.

Guards are enforced before any transaction is built: write-preps for an inactive or unowned name return 400 with a plain message (for example, listing a name that is not active and owned returns 400 "name must be active and owned before listing"; registering without a live commitment returns 400 "no live commitment…"). The API never signs, and it never moves a name you do not own.

Registration & commit-reveal

Registration costs the live quote — $9.99 for 1 year at the current ETH price — plus Base gas, paid in ETH. The term is 365 days from registration.

The direct path

botid_register_prepare (or the web console) builds a single direct-Registry registration: the name registers and the holder is set in one transaction. It works, but it does not protect against front-running — anyone watching the mempool can see the label and register it first.

The commit-reveal path

The deployed BotidRegistrarReverse contract implements commit-reveal registration, exposed as botid_register_commit + botid_register:

  1. Commit. Compute commitment = keccak256(abi.encode(label, owner, secret, numYears)) and call commit(commitment) on the controller. The commitment is recorded per-address — only the committer can later register it — and it is valid for 60 seconds to 24 hours. Committing the same commitment twice within 24 hours reverts (CommitmentAlreadyExists).
  2. Wait at least 60 seconds. Registering sooner reverts (CommitmentTooNew); waiting more than 24 hours reverts (CommitmentTooOld).
  3. Register. Call register(label, owner, secret, numYears, setReverse), payable at the live quote × years. The controller registers the name, transfers it to owner, optionally sets the reverse record in the same transaction, and refunds excess ETH. Years must be 1–10.

Keep the secret — if you lose it, the commitment cannot be registered and you must commit again. Multi-year registration (up to 10 years) is supported; the first live multi-year registration has not run yet, so verify the name, owner, and expiry on-chain after signing one.

Renewal

Renewal is direct to the Registry — there is no controller renewal, because the deployed controller contract has no renew() function. The rules, proven against a Base fork:

  • Only the holder can renew. Registry.renew(label) reverts with NameExpiredOrNotOwned() when called by anyone other than the current holder. A third party cannot pay for your renewal.
  • Each call extends expiry by exactly 365 days at the live 1-year quote. Renewing for multiple years means one call per year — botid_renew prepares one transaction per year, in order.
  • There is no grace period on the direct path. Renewing 30 or 100 days past expiry reverts. A lapsed name cannot be renewed — it must be re-registered, if it is still available.
  • Pay exactly the quote. Underpaying by even 1 wei reverts (InsufficientPayment); overpaying is refunded.

Renew before expiry. The console and the FAQ say the same: the owner renews on time, directly against the Registry.

Reverse records

A reverse record points an address at a name — given a wallet, reverseName(address) returns the name (or an empty string when none is set). It is how an agent answers “who is this address?”.

  • setName(string fullName) — set your own reverse record (for example "everest.botid").
  • setNameForAddr(address addr, string fullName) — set another address record, with a stricter holder check in the deployed contract.
  • A reverse record is only served while the name is live and still held by that address.

Read a record back with botid_reverse_lookup (address → name), or resolve it on-chain with reverseName(address) on the controller.

The 5 contracts

All five are deployed on Base mainnet and source-verified on Basescan and Sourcify. The 5th contract, BotidRegistrarReverse, was deployed 2026-11-23.

ContractAddressRole
Registry0xd8aF3139D9eA4FF4E1791504766B1526c756F730Root registry — ownership, expiry, registration, renewal.
Resolver0x35eb5ec138D5Dfbc45C0799e0cEb2811AEcD9f23Records — wallet, website, metadata, and verification data per name.
Subdomains0x9c0cdd2E41601124A3390aE3D33ea3DDabCcfF61Child names — delegation and subdomain state.
Marketplace0xD8BA0050fCfd38732395d7773E892c7A54eFb2aBListings and purchases — escrow for name sales.
BotidRegistrarReverse0x98058bA612ed82B00F208CB087290221702eC351Commit-reveal registration and reverse records.

The API reports the same five contracts from https://agents.getcryptodomains.com/contracts and https://agents.getcryptodomains.com/.well-known/agent.json. The full contract reference, including interaction flows and known limitations, is on the contracts page.

Auth & billing

Public reads are free with no API key, on REST and MCP. Reads and unsigned transaction preparation cost nothing on the public API. The metered path is a separate, paid mirror covering 11 of the tools:

  • Metered rates (prepaid credits): $0.01 per .botid read, $0.02 per transaction preparation, $0.02–$0.05 per research tool call.
  • Metered hosts: https://billing.getcryptodomains.com (production) and https://billing-test.getcryptodomains.com (test). Same code, different keys and data — use the host that issued your key. Auth is Authorization: Bearer gcd_....
  • Subscriptions: Builder is $19 per 30 days with 50,000 included metered calls; Agent Pro is $79 per 30 days with 500,000 included calls. Both are paid by manual ETH invoice on Ethereum mainnet — there is no card payment, no Stripe, and no automatic billing.
  • Prepaid credits are also available pay-as-you-go. On-chain registration itself is separate: $9.99 per name per year in Base ETH, plus gas.

The billing API (Swagger — Prepaid agent API) exposes balance, usage, subscription, and ETH invoice endpoints:

EndpointAuthWhat it does
GET /v1/balanceKeyPrepaid balance in cents, monthly spend, per-tool rates, active subscription.
GET /v1/usageKeyMetered usage for the current period.
GET /v1/subscriptionKeyCurrent subscription, if any.
POST /v1/subscription/quoteKeyQuote a subscription (plan_id) — returns an invoice.
POST /v1/subscription/confirmKeyConfirm a subscription payment (invoice_id, tx_hash).
POST /v1/tools/{tool}KeyRun a metered tool call, charged per call.
POST /v1/eth/quoteKeyQuote a prepaid-credit top-up in ETH (credit_cents).
POST /v1/eth/confirmKeyConfirm a credit top-up payment (invoice_id, tx_hash).
POST /mcpKeyThe metered MCP server — the 11 paid tools over JSON-RPC 2.0.

Manage keys, credits, and subscriptions from Agent account or the Billing portal (the portal is login-gated — Cloudflare Access — so it shows a login screen until you sign in).

Errors

REST errors are always {"error": "<message>"} with an HTTP status. There is no error code field — the message is the contract.

StatusMeaningExample
400Bad request — invalid label, missing parameter, or a guard refusal{"error": "label must be a string"}
401Unauthorized — billing endpoints without a valid gcd_ key{"error": "unauthorized"}
402Payment required — insufficient prepaid credits on a metered callMetered /v1/tools/{tool} only
429Rate limited — back off and retryBilling /v1/eth/quote under load
503Upstream unavailable — oracle or chain RPC briefly downBilling quote/confirm paths

Common 400s to expect: label must be a string (nested arguments shape sent to REST), parent must be active… (delegating under an inactive parent), name must be active and owned before listing (listing a name you do not hold). On-chain reverts the signer will see after signing a prepared transaction include CommitmentNotFound, CommitmentTooNew, CommitmentTooOld, InsufficientPayment, and NameExpiredOrNotOwned().

Try it live

These panels call the live public API from your browser — real responses, no key, no signing. They run the four public read tools. For everything else, use Swagger UI, where the full try-it-out lives for all three services.

Price a name

Live 1-year quote for a label, from the on-chain ETH/USD oracle.

Check availability

Whether a label is available for registration right now.

Look a name up

Authoritative ownership, expiry, and availability for a label.

Reverse lookup

The .botid name a wallet address points at — empty when no reverse record is set.

Specs & links

Swagger UI — interactive explorer

Machine-readable specs

Elsewhere on the site

  • Register .botid — register, manage, and trade names with your wallet.
  • Agent API — the 17 tools, what each one does, and how agents use them.
  • MCP guide — connect an agent to the .botid MCP server.
  • REST guide — the API catalog: 46 operations for .botid and domain research.
  • The .botid contracts — the 5 contracts, their addresses, what each does, and how they connect.
  • FAQ — registration, renewal, reverse records, tools, and costs, answered plainly.
  • Agent account — API keys, prepaid credits, and Builder / Agent Pro subscriptions.
  • Billing portal — invoices, balance, and current rates (login-gated — Cloudflare Access).