x402-credit-purchase
Purchase a batch of at least 2,000 non-expiring BuiltWith API credits with one x402 payment. Returns a reusable secret credit key; provide an existing key to top it up.
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": {
"credits": "<credits>",
"payer": "<payer>"
},
"name": "x402-credit-purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | Yes | Base wallet address that will sign the x402 payment | |
| credits | Yes | ||
| creditKey | No | Reusable prepaid key returned by x402-credit-purchase |