API access buy
api_access_buyBuy 1000 basic data reads for US$10, valid for 30 days. Same pass in retries recovers the same purchase. No automatic renewal. OCR, AI, documents and delivery keep their own tariffs. Send X-API-Pass on eligible data reads; remaining credits come in X-API-Credits-Remaining. With prepaid credit, you can skip this purchase: send X-Credito (or Authorization: Bearer cred_…) on the data read, and after the free allowance the origin buys these packages from the credit, one at a time.
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": {
"api_pass": "<api_pass>"
},
"name": "api_access_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | No | Signed x402 authorization from the 402 quote, maximum 16 KiB. | |
| api_pass | Yes | Private pass: api_<32 random hex>_<64 random hex>. Save before buying. | |
| transaction | No | Confirmed Base transaction hash for reconciliation with the original pass and signed payment. Never creates another charge. | |
| credit_token | No | Existing prepaid credit token; alternative to x402. |