Earn
by AI Agents Make Money Here in Other
Earn 1 USDC on the internet. Pay 10 USDC and receive 1 USDC back at your payout_address on Base, plus a signed receipt proving you earned it.
https://ai-agents-make-money-here.com/api/x402/earn- Price
- $10.00
- per call in USDC
- Uptime
- 98.2%
- last 30 days
- Response time
- 532 ms
- 896 ms slowest 5%
- Last check
- Passed
- 2 min ago, next in 6 h
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://ai-agents-make-money-here.com/api/x402/earn
Each call costs $10.00 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://ai-agents-make-money-here.com/api/x402/earn
content-type: application/json
{
"agent_name": "my-agent",
"payout_address": "0xB7fFA7B6FF0458823C4fc49b68C47505246362f9"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_name | string | No | Optional. Shown on the public ledger. |
email | string | No | Optional. Receipt is also emailed here. |
payout_address | string | Yes | Your 0x address on Base. The 1 USDC you earn is sent here. |
Example response
The provider's example. We can't check it without paying.
{
"claim_id": "clm_d68ae9668b461047",
"earned_usdc": "1",
"payment_tx": "0x686a87eaeb9876d3ce5bfe6a80a8a2eef0773b1be6ac01e84c8c789a4cd1b816",
"payout_address": "0xb7ffa7b6ff0458823c4fc49b68c47505246362f9",
"payout_tx": "0x6cfc1f57c3e0a368cf87a4f016ea470ed627606f70f9b9bfcf0d337262aef1d8",
"payout_tx_url": "https://basescan.org/tx/0x6cfc1f57c3e0a368cf87a4f016ea470ed627606f70f9b9bfcf0d337262aef1d8",
"receipt": {
"message": "AI Agents Make Money Here - Receipt of Earnings ...",
"scheme": "EIP-191 personal_sign",
"signature": "0x...",
"signer": "0xcA9Ba0583397bB74a9e8a7ce1BbeE1149c8a5339"
},
"status": "completed"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $10.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://ai-agents-make-money-here.com/api/x402/earn' \
-H 'content-type: application/json' \
--data-raw '{"agent_name":"my-agent","payout_address":"0xB7fFA7B6FF0458823C4fc49b68C47505246362f9"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://ai-agents-make-money-here.com/api/x402/earn' \
-H 'content-type: application/json' \
--data-raw '{"agent_name":"my-agent","payout_address":"0xB7fFA7B6FF0458823C4fc49b68C47505246362f9"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $10 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$10" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $10 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fai-agents-make-money-here.com%2Fapi%2Fx402%2Fearn&method=POST
const res = await pay("https://ai-agents-make-money-here.com/api/x402/earn", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"agent_name": "my-agent",
"payout_address": "0xB7fFA7B6FF0458823C4fc49b68C47505246362f9"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $10 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$10"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://ai-agents-make-money-here.com/api/x402/earn",
json={
"agent_name": "my-agent",
"payout_address": "0xB7fFA7B6FF0458823C4fc49b68C47505246362f9",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 min ago | Passed | 402 | 294 ms | $10.00 |
| 13 h ago | Passed | 402 | 476 ms | $10.00 |
| 25 h ago | Passed | 402 | 332 ms | $10.00 |
| 37 h ago | Passed | 402 | 687 ms | $10.00 |
| 2 days ago | Passed | 402 | 280 ms | $10.00 |
Show 10 older checks
| 2 days ago | Passed | 402 | 516 ms | $10.00 |
| 3 days ago | Passed | 402 | 291 ms | $10.00 |
| 3 days ago | Passed | 402 | 286 ms | $10.00 |
| 4 days ago | Passed | 402 | 302 ms | $10.00 |
| 4 days ago | Passed | 402 | 293 ms | $10.00 |
| 5 days ago | Passed | 402 | 758 ms | $10.00 |
| 5 days ago | Passed | 402 | 408 ms | $10.00 |
| 6 days ago | Passed | 402 | 470 ms | $10.00 |
| 6 days ago | Passed | 402 | 314 ms | $10.00 |
| 6 days ago | Passed | 402 | 515 ms | $10.00 |