Top Up Your Credits

Add credits to your API key with USDC on Base or Monero (XMR). No minimum amount. Credits added instantly after on-chain confirmation. $0.002 per API call (500 credits per $1 USDC).

Prefer a form over curl?
Use the Web Top-Up Form
$1
500 credits
~500 API calls
$5
2,500 credits
~2,500 API calls
$20
10,000 credits
~10,000 API calls
Extends expiration

Any topup extends your credit expiration to 90 days from the payment date (free credits expire in 30 days).

1 Get your API key

If you don't have one yet, create a free key:

curl
curl -s -X POST https://agent-gateway-kappa.vercel.app/api/keys/create

Save the key field from the response (starts with gw_).

2 Send USDC to this address on Base
USDC Payment Address (Base chain)
0x55955672edcA720F19bd5E28bbeDbF3025203724
Important

Send USDC on Base chain (chain ID 8453) only. Do not send ETH, other tokens, or USDC on other chains (Ethereum, Polygon, etc.) to this address. Those funds would be lost.

How to get USDC on Base: Buy USDC on Coinbase (it's on Base by default), or bridge from Ethereum via bridge.base.org. You can also swap ETH for USDC on Uniswap (select Base network).

3 Copy the transaction hash

After sending, find the transaction hash (tx hash) in your wallet app or on Basescan.

It looks like: 0x7a8b9c... (66 characters, starts with 0x).

4 Submit the transaction to get credits
curl
curl -X POST https://agent-gateway-kappa.vercel.app/api/credits/topup \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY_HERE",
    "tx_hash": "0xYOUR_TRANSACTION_HASH_HERE"
  }'

Replace YOUR_API_KEY_HERE with your gw_... key and 0xYOUR_TRANSACTION_HASH_HERE with your tx hash from step 3.

5 Verify your new balance
curl
curl -s https://agent-gateway-kappa.vercel.app/api/keys/balance \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"
That's it!

Credits are added instantly after Base confirms the transaction (~2 seconds). Your credit expiration is extended to 90 days.

1 Get your API key

If you don't have one yet, create a free key:

curl
curl -s -X POST https://agent-gateway-kappa.vercel.app/api/keys/create

Save the key field from the response (starts with gw_).

2 Send XMR to this address
Monero (XMR) Payment Address
4AoTbXjeAUqFr9mTYa5jPHDmBmgc72LgWQjHWbocHnzRacveeH1hmZPaUvz7Pu6pqDRYCctwmJTUocQEUq2csCB7Dk6dHWd

Send any amount. Credits are calculated at current XMR/USD rate (500 credits per $1 equivalent).

3 Wait for 1 confirmation (~2 minutes)

Monero requires 1 confirmation before credits can be added. This takes approximately 2 minutes.

Find your transaction hash (txid) in your wallet. It's a 64-character hex string (no 0x prefix).

4 Submit the transaction to get credits
curl
curl -X POST https://agent-gateway-kappa.vercel.app/api/credits/topup-xmr \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY_HERE",
    "tx_hash": "YOUR_MONERO_TXID_HERE"
  }'
XMR tx hash format

Monero transaction hashes are 64 hex characters with no 0x prefix. Example: a1b2c3d4e5f6...

5 Verify your new balance
curl
curl -s https://agent-gateway-kappa.vercel.app/api/keys/balance \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"
That's it!

Credits are added after 1 Monero confirmation (~2 minutes). Your credit expiration is extended to 90 days. Monero payments are private by default.

Generate Your Topup Command

Paste your API key and transaction hash below to get a ready-to-run curl command.

curl

Troubleshooting

Error: "api_key is required" or "tx_hash is required"
Make sure your JSON body includes both api_key and tx_hash fields, and that you're sending with Content-Type: application/json header.
Error: "Invalid API key"
Check that your key starts with gw_ and is the exact key you received when creating it. Keys are case-sensitive.
Error: "Transaction not found"
For USDC: make sure the tx hash starts with 0x and is from a confirmed transaction on Base chain. For XMR: the transaction needs at least 1 confirmation (~2 min). Wait and try again.
Error: "USDC transfer not sent to our wallet"
The transaction must be a USDC transfer to our specific address (0x559...3724) on Base. Transfers of ETH or other tokens won't work.
Error: "Transaction already used"
Each transaction hash can only be used once for a topup. If you've already submitted this tx hash, the credits were already added to your account.
I sent USDC on the wrong chain (Ethereum, Polygon, etc.)
Unfortunately, only USDC on Base (chain ID 8453) is supported. Payments on other chains cannot be credited. Always verify you're on Base network before sending.

FAQ

Is there a minimum amount?
No minimum. Even $0.01 USDC works (gives 5 credits).
How fast are credits added?
USDC on Base: ~2 seconds (instant after chain confirmation). XMR: ~2 minutes (1 block confirmation).
Do credits expire?
Free credits expire after 30 days. Any topup extends expiration to 90 days from the payment date. Make another payment to keep extending.
Can I get a refund?
On-chain payments are non-refundable. We recommend starting with a small amount ($1) to test the flow.
Do you support credit cards / Stripe?
Not yet. Currently we accept USDC on Base and Monero (XMR). Stripe integration is planned.
What can I do with AI agents?
Your API key works across all 39 services: crypto wallets, trading, code execution, web scraping, file storage, PDF generation, and more. See the getting started guide for examples.