Skip to main content
SuperAPI lets an agent discover a service, receive a price quote, authorize payment, and get the API response.

Browse SuperAPI

Open SuperAPI in the Agents view and copy a ready-made prompt or endpoint example.

Always discover before calling

List the available services:
Then fetch the selected service’s current endpoint details:
Use the directory entry’s id as upstream_id. Then use the HTTP method, parameters, and x402 URL in the info response’s endpoints and curl_x402 fields; do not derive them from the display name.

Make a paid call

With an Agent Wallet Key configured:
For a POST endpoint:
The command:
  1. sends the initial request;
  2. decodes the returned payment requirement;
  3. shows the quote;
  4. asks for confirmation;
  5. signs with the selected Agent Wallet;
  6. retries with the payment signature; and
  7. prints the API result.
Use --format json for machine-readable output. Use --yes only when the runtime is intentionally allowed to approve quotes automatically.

Payment guardrails

  • Organization Credits are used before wallet USDC when eligible.
  • The selected agent wallet’s spending policy is enforced server-side.
  • A payment above the policy limit is rejected.
  • Discovery and info responses should be refreshed instead of cached indefinitely.