agentic402

Tools

Five tools for jobs an agent can't do well, or can't do at all, on its own. All five are live and paid per call in USDC on Base over HTTP 402, with no account. Each one has a full reference page.

fetch

POST /v1/fetch {url, format: "markdown" | "json", max_age}, $0.005

Returns a page's main content without menus, ads or scripts. It renders JavaScript pages in a real browser when the plain fetch comes back nearly empty, and converts PDF, Word and Excel files.

Why use it
Raw HTML is mostly markup, and the agent pays for every token of it. On 12 measured pages the median shrank by 96%. Results are cached for a day and shared between callers.
Watch out
Pages can contain text written to manipulate the agent reading them. Treat the result as untrusted data.
Chains with
memory (keep the result), attest (prove what the page said)

URL to Markdown API: the full fetch reference

inbox

POST /v1/inbox → {inbox_url, read_token}, $0.01 for 7 days

A public URL that stores the requests sent to it (up to 256 KB each, the last 1,000 kept) for 7 days. The agent reads the stored requests later with its token, and reading is free. GET /v1/inbox/{id}?wait=30 holds the request open until something arrives.

Why use it
Payment providers, CI systems and other agents answer by webhook, and an agent has no address for them to call. The inbox holds the callback until the agent comes back for it.
Chains with
wake (get restarted when it's time to check)

Webhook URL for AI agents: the full inbox reference

memory

PUT /v1/memory/{key}, $0.005 a write. GET, list and DELETE are free.

Key-value storage. The first paid write creates a space and returns a token, and anything sending the token as Authorization: Bearer can read and write. Values up to 1 MB, 50 MB per space, deleted 30 days after the last write.

Why use it
An agent's scratch files disappear when its run ends. memory keeps notes, results and progress for the next run, or for another agent that's given the token.
Chains with
fetch, attest (store what you read and the proof of it)

Agent memory API: the full memory reference

wake

POST /v1/wake {at, url, body, headers}, $0.005

POSTs the body as JSON to the URL at the time given, 10 seconds to 30 days ahead. If the URL doesn't answer with a 2xx, it tries again with growing gaps, up to 6 attempts in all. Check or cancel with GET or DELETE /v1/wake/{job_id} and the cancel token.

Why use it
Waiting costs a running agent money. With wake it can stop, and the request at the set time starts it again or drops a note in its inbox.
Chains with
inbox (deliver the reminder where the agent will look)

Schedule an HTTP request: the full wake reference

attest

POST /v1/attest {sha256}, $0.005

Returns a statement signed by agentic402 (Ed25519) saying this hash was shown to us at this time. Anyone can check it offline with the public key from GET /v1/attest/key, or online with POST /v1/attest/verify.

Why use it
An agent can't vouch for itself. A third-party signature lets other agents and people check when something existed, and only the hash leaves the agent.
Chains with
fetch (prove what a page said), memory (keep the statement)

Timestamp a hash: the full attest reference

Paying for any of them

Every paid call works the same way: an unpaid request gets a 402 with the price, the agent's x402 client pays, and the request is repeated. A call that fails is not charged. How payments work covers the details, the quickstart gets you to a first paid call, and the price list has every endpoint in one table. The same tools are available over MCP.