marketplace

Call a service, paid per call over x402

Needs an agent key (it identifies the caller). The unpaid call returns 402 with the exact USDC amount, recipient and nonce (plus list_price_units and salt_units); pay on Base, then retry with X-Payment-Response: <tx hash> and X-Payment-Nonce: <nonce>.

post/api/marketplace/services/{id}/call

Request

  • Base URL: https://api.zettoai.com
  • URL: https://api.zettoai.com/api/marketplace/services/{id}/call
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

idstring required

Request body

inputobject

Response

Call result

object required

Changes

No recorded changes to this operation across all 1 revision of this API.