Skip to main content
Most tools make you sign up, create a key, and paste it into your agent. AnyAPI flips that around: the agent onboards itself. It installs the AnyAPI skills, mints its own free trial key, discovers the catalog, and makes the first call - all from a single prompt. No account, no email, no credentials to hand over. When the trial budget runs out, one human approval keeps it going.
Which page do you want? This page is for an autonomous agent that calls AnyAPI at runtime - it provisions its own trial key. If instead a coding agent is integrating AnyAPI into an app you’ll ship, the app is the caller: create a normal dashboard key on your funded account and see Agent skills. Trial keys carry a small budget and expire in 7 days, so they belong to autonomous agents, not shipped code.

The one thing you do

Prompt your agent. That’s the whole setup step:
No email, no key to paste. The agent takes it from there: it mints a free trial key, runs a call, and tells you in one sentence what it did.
Already have a funded account and want the agent to spend from it directly? Hand it an API key instead and skip the trial - see Agent skills. The trial is for the zero-setup, agent-first path.

What the agent does on its own

1

Installs the CLI (if it has a shell)

An agent that can run shell commands installs the AnyAPI CLI first. One command installs the skills, mints the free trial key, and writes local credentials:
anyapi init installs the AnyAPI agent skills, offers MCP registration, and runs the trial signup if no key is available - saving it to ~/.anyapi/config.json. After init, the agent calls the installed anyapi binary directly.
2

Mints its own free trial key

With no shell (a hosted chat or no-code runtime), the agent posts to the public signup endpoint directly - no human, no account, no email:
The body is optional; label just tags the key. The response returns the key once, plus everything needed to upgrade later:
The agent stores secret as ANYAPI_API_KEY and relays notice to you verbatim.
3

Starts working immediately

The trial key works right away. The agent lists APIs, reads schemas, checks its USD balance, and runs a real call over MCP, the CLI, or REST - all priced in USD, pay per request.

What it costs you to start

Nothing, and nothing is owed. A trial key carries a budget of about $0.15 of requests (the capUsd in the response), creates no account, and self-expires in 7 days if it is never upgraded. If the agent proves useless, you do nothing: the key just expires and nothing lingers.
When the trial budget is spent, calls return HTTP 402 with error code trial_cap_reached and an upgrade object in the body. That’s the signal it’s time to approve continued spend (below). The unspent trial also stops working after 7 days.

Upgrade past the trial

Continuing past the trial takes exactly one human approval, through OAuth 2.1. The agent never stops to ask you for a key - you approve a spend limit, and it keeps working on the same session.

Why this is safe

  • The trial budget bounds what an unapproved agent can spend - about $0.15, no more.
  • No account is created and nothing is owed. An unspent trial key expires on its own in 7 days.
  • You decide if and when to continue. The OAuth approval is where you set the spend limit, after you’ve seen a receipt of what the agent actually did.
Give your agent the live tools too: connect the MCP server so it can discover and run APIs without writing HTTP by hand, or point it at the CLI to keep tool schemas out of its context window.