DocumentationSign up as an agent
Sign up as an agent
An AI agent asks for a Free dino.markets account with a person's email, the person reads back an emailed code, and the agent receives an API key.
What it does
An AI agent that has no key can get one for a person without leaving the chat. The agent sends the person’s email address and its own name. dino.markets emails the person a six digit code. The person reads the code to the agent, the agent sends it back, and the response holds an API key on the Free plan: 3,000 successful requests a month, 50 a minute and 12 months of history.
Nothing is created until the code comes back. The key is on a normal account. The person can sign in at dino.markets/signin with an emailed code and will find the same account and the same key in the dashboard. Only the Free plan is reachable this way. Changing the plan or paying still happens in the dashboard, signed in by the person.
Both routes are free, are not counted against any plan and need no key, no cookie and no X-Dino-Client header. They are on https://api.dino.markets.
The flow
- The agent calls
POST /v1/agent-signupwith the person’s email. - The agent asks the person: “Read me the 6 digit code dino.markets just emailed you.”
- The agent calls
POST /v1/agent-signup/verifywith thesignup_idit received and the code. - The agent stores the
api_keyfrom the response. It is shown once.
Ask for an account
curl --request POST 'https://api.dino.markets/v1/agent-signup' \
--header 'Content-Type: application/json' \
--data '{
"email": "person@example.com",
"agent_name": "Research Agent",
"client": "claude-code"
}'
| Parameter | Type | Required | Meaning |
|---|---|---|---|
email |
string | yes | The person’s own email address, at most 320 characters. Disposable mail addresses are refused. |
agent_name |
string | yes | What the agent calls itself, 1 to 80 characters: letters, digits, spaces and _ - / ( ). A dot is allowed only between two digits, as in a version number. No colons, URLs or domain names. The person sees this name in the email. |
client |
string | no | The tool the agent runs in, such as claude-code or cursor. Lower case letters, digits, _ and - are kept and the rest is replaced. The person sees it in the email too. |
The response is 202 Accepted, and it has the same shape and text whatever the address is. It does not say whether an email was sent, so it cannot be used to check who has an account.
{
"status": "pending",
"signup_id": "42752ec6-430c-4178-b83b-ea0ea7e4988e",
"message": "If this email address can be used, dino.markets emailed it a 6-digit code. Ask the user to read the code to you, then send it with the signup_id to POST /v1/agent-signup/verify. The code lasts 15 minutes and allows 5 wrong tries. If the user says the email told them they already have an account, they can sign in at https://dino.markets/signin and create a key in the dashboard instead.",
"expires_at": "2026-11-12T06:04:45Z",
"verify_path": "/v1/agent-signup/verify"
}
What the person receives depends on the address:
- An address with no account gets an email with the code. The email names the agent and the tool, as the requester typed them, and says that giving the code to the agent creates the account and accepts the Terms of Service.
- An address that already has an account gets an email that says so and explains how to sign in and create a key in the dashboard. It has no code, so the agent cannot get a second account or a key for it.
- An address that has reached a limit below gets no email.
In every case the agent only sees the 202. If the code never works, the person most likely has an account already: tell them to create a key at dino.markets/dashboard#keys.
Verify the code
curl --request POST 'https://api.dino.markets/v1/agent-signup/verify' \
--header 'Content-Type: application/json' \
--data '{
"signup_id": "42752ec6-430c-4178-b83b-ea0ea7e4988e",
"code": "677609"
}'
| Parameter | Type | Required | Meaning |
|---|---|---|---|
signup_id |
string | yes | The signup_id from the first response. |
code |
string | yes | The six digits the person read from the email. |
The response is 201 Created:
{
"status": "verified",
"message": "Verified. This key is on the Free plan: 3,000 successful requests a month and 50 a minute. It is shown once, so store it now. The user can sign in at https://dino.markets/signin with an emailed code to see the account, its usage and this key, and to change the plan.",
"api_key": "dino_live_d6d053a8400a_S25pUEFzi9y7jkTTAt7pXpiQo9Vz_Z5DBnnGwhOW1Kw",
"key": {
"id": "ff2e1266-2e5b-4c81-9190-176b0610c828",
"name": "Agent: Research Agent",
"prefix": "dino_live_d6d053a8400a"
},
"plan": {
"code": "free",
"requests_per_month": 3000,
"requests_per_minute": 50,
"history_months": 12
}
}
| Field | Meaning |
|---|---|
api_key |
The secret. Send it as Authorization: Bearer on data requests. It is shown once and cannot be read again. |
key.id, key.name, key.prefix |
The key as it appears in the dashboard. The name is Agent: followed by agent_name. |
plan |
The plan and its limits. Always free on this path. |
A code works for 15 minutes and allows 5 wrong tries. Use the key like any other: see Manage API keys and your first call.
Errors
Errors are problem JSON, as described in errors and limits. Branch on code.
| Status | code |
Route | Meaning |
|---|---|---|---|
| 400 | invalid_request |
both | The body is not valid JSON or has a missing, extra or too long field. |
| 400 | invalid_email |
signup | email is not an email address. |
| 400 | email_not_allowed |
signup | email is at a disposable mail provider. Ask the person for their own address. |
| 400 | agent_name_not_allowed |
signup | agent_name breaks the character rules above. |
| 400 | invalid_code |
verify | The code is not six digits, or it is wrong. The detail says how many tries are left. Ask the person to read it again. |
| 403 | code_locked |
verify | Five wrong codes. Start again with POST /v1/agent-signup. |
| 404 | signup_not_found |
verify | No signup has this signup_id. |
| 404 | not_found |
both | Agent sign-up is switched off. Have the person sign up at dino.markets/signup. |
| 409 | already_verified |
verify | This signup already made its account and key. The key is shown once. The person can create another in the dashboard. |
| 409 | email_has_account |
verify | The address has an account by now, so no key was issued. The person signs in and creates a key in the dashboard. |
| 410 | code_expired |
verify | The 15 minutes are over. Start again. |
| 429 | too_many_signups |
signup | Too many requests from this network. Wait Retry-After seconds. |
| 429 | domain_daily_limit |
verify | Too many accounts were created today for this email domain. Have the person sign up at dino.markets/signup, or try again tomorrow. |
| 503 | agent_signup_unavailable |
both | The service is at its daily limit. Try again tomorrow, or have the person sign up at dino.markets/signup. |
A wrong code and a signup that never had a code (the account-already-exists case) look the same to the agent. After five wrong tries both answer code_locked.
Limits
These keep one network, one inbox or one company from using up the free allowance.
| Limit | Value |
|---|---|
| Signup requests per IP address | 5 an hour and 10 a day |
| Signup requests per network (the /24 around the IP address) | 20 an hour and 30 a day |
| Emails to one mailbox | 3 in 30 days. A +tag or Gmail dots count as the same mailbox. |
| Per email domain | 20 signup requests and 3 new accounts a day. Large public mailbox providers such as Gmail and Outlook are not limited this way. |
| The whole service | 300 signup requests and 100 new accounts a day |
| Wrong codes per signup | 5 |
One mailbox gets one account. If the address already has an account, verify answers email_has_account and no key is created.
Use it from an agent
Give the agent this prompt, or point it at llms.txt, which describes the same flow:
If you have no DINO_API_KEY, call POST https://api.dino.markets/v1/agent-signup with my email
and your name. Ask me to read you the 6 digit code from the email. Send it to
POST https://api.dino.markets/v1/agent-signup/verify with the signup_id and keep the api_key.
Start with a free key
3,000 requests a month, no card needed.