monetize_api
Put an existing HTTPS API behind x402 without changing its code: returns a paid URL that answers 402 with your price, forwards paid calls to your API, and settles each payment straight to your wallet. 1,000 paid calls a month free, then 1% from prepaid credits. Pass your key, or omit it and a new one is returned.
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": {
"name": "<name>",
"upstream": "<upstream>",
"price_usd": "<price_usd>",
"pay_to": "<pay_to>"
},
"name": "monetize_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Your Neuronto key (nc_ or nk_). Omit to get one. | |
| name | Yes | What buyers see, for example 'Weather API'. | |
| pay_to | Yes | Your EIP-55 checksummed wallet address. | |
| upstream | Yes | Your API's https base URL. | |
| price_usd | Yes | Price per call in US dollars, paid in USDC. | |
| description | No |