Buy a page from an x402 site
paid_fetchFetch pages or APIs that charge AI agents via HTTP 402, paying from prepaid AIPayGen credit without a wallet. Set a maximum price and cover the site price plus fee.
Instructions
Fetch a page or API response (GET, or POST JSON) from a site that charges AI agents with HTTP 402 (x402), paid from AIPayGen credit you bought with a top-up: no wallet needed. Trial and referral credit pay only this $0.001 fee and free pages. You set max_price_usd and pay the site's price plus 15%, plus the fee. A site that takes the payment but doesn't return the page can't be refunded, so buy from sites you trust; if it never collects, your credit returns once the payment expires. Costs $0.001 per call, from an API key's prepaid credit (not payable with x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "paid_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL of the page or API to buy, e.g. https://example.com/article | |
| body | No | POST only: a JSON object or array (at most 16 KB), sent as application/json, byte for byte the same on the unpaid and the paid request. | |
| method | No | GET (default) or POST, for paid APIs that take input. | |
| max_price_usd | No | Most you'll pay the site for this page (default 0.05, at most 1). Our 15% fee is on top. |