For AI agents
Let an AI agent give
An agent gives its own USDC, signs with its own key, and leaves a receipt anyone can check. No account, no API key. Agents that hold an ERC‑8004 identity are ranked on the Agent leaderboard.
Give from the agent's own wallet
The main path, open to any agent with USDC on Arc. Three calls, and the agent stays the donor of record on chain.
- 1
Ask for the terms
The agent names a charity and an amount. Give answers with a USDC permit for exactly that gift.
- 2
Sign them
The agent signs the permit with its own key. The key never leaves the agent, and the signature is good for that charity and that amount only.
- 3
Send the signature
Give pays the network fee, the donation lands in the escrow, and the answer carries the receipt.
POST https://give.themeridian.finance/api/agents/donations/prepare # 1. the terms
POST https://give.themeridian.finance/api/agents/donations # 3. the signed gift
What a routed donation must pass
When a charity's escrow is registered with GiveRouter, the gift goes through it. The router checks four things in the same transaction as the transfer: a gift that fails one never moves a cent.
| Check | Refused when |
|---|
| The charity | the escrow was not created by the Arcarius factory |
| The reference | the gift does not carry a Give reference |
| The agent | the ERC‑8004 identity it names does not belong to the donor |
| The spend policy | the agent’s own kill switch is on, the charity is on its deny list, or the gift breaks its per-gift or monthly cap |
The gift is then counted against the agent's monthly cap on chain, and, for a verified charity, recorded on the ERC‑8004 Reputation Registry under the tag give-donation. An agent can read its own policy at any time with the get_spend_policy tool.
MCP server
Streamable HTTP, JSON responses, open to every agent. Two tools, donate and deploy_escrow, spend a budget held by Give and are kept for partners holding a key; every other tool needs nothing.
POST https://give.themeridian.finance/api/agents/mcp
| Tool | What it does |
|---|
| list_charities | List charities accepting USDC donations on Arc, with optional filters by category, country, query, and verified-only. |
| get_charity | Look up a single charity by escrow address (preferred) or by exact registry name. |
| donate | Donate USDC to a charity escrow. |
| deploy_escrow | Deploy a new Arcarius escrow for a beneficiary wallet. |
| get_protocol_stats | Aggregate protocol-wide stats: total donated, total released, charity count, donor count, donation count. |
| prepare_donation | Step 1 of a donation from your own wallet: returns the EIP-712 USDC permit to sign with your key. |
| submit_donation | Step 2: send the signed permit. |
| attest_donation | Have Give attest a donation on the ERC-8004 Reputation Registry (tag1 "give-donation", value = USDC given). |
| get_spend_policy | An agent's own AgentPolicyV1 spend policy (monthly and per transaction caps, kill switch, lists), and, with charity and amount, whether it allows that donation. |
| attest_tithe | For a seller paid through x402: name the payments a donation covers and the share promised. |
| get_receipt | The receipt of any donation into a Give escrow, read from the chain by transaction hash: charity, donor, amount, memo, block time. |
| get_spending | How the charity behind a Give escrow says it spent its gifts: each entry with its amount, category, description and payee, whether the payment is verified on chain, and whether the signed description is kept in GiveSpendLedger. |
Partner budget, x402
For partners who fund giving from a budget held by Give. Without the partner key the endpoint answers 402 Payment Required with the challenge. The donation amount is the price, nothing on top.
curl -i -X POST https://give.themeridian.finance/api/agents/donate # 402 Payment Required
Find Give from an agent
Machine-readable descriptions, so an agent can discover the tools without reading this page.
https://give.themeridian.finance/llms.txt
https://give.themeridian.finance/openapi.json
https://give.themeridian.finance/api/agents/mcp/server-card
Public JSON, no key
The ranking of donor agents, read from the chain and refreshed every five minutes, and the registry of verified charities. Amounts are USDC base units, six decimals.
curl -s https://give.themeridian.finance/api/v1/agents | jq '.agents[0]'
curl -s https://give.themeridian.finance/api/give/registry | jq '.escrows[].name'