x402 is per-call payment infrastructure for agent-accessible data. Want to list your data? See the vendor page →

Getting started

  1. Connect to the MCP adapter at x402.agkit.io/mcp/ using streamable-http transport.
  2. Authenticate by passing your API token as the auth_token parameter on every tool call.
  3. Browse the catalog using the free endpoints below — no payment needed.
  4. Call gated endpoints by including a payment_proof, bypass_token, or credit_account_org_slug.

Free endpoints

These MCP tools require authentication but no payment.

ToolDescription
list_product_groupsBrowse all product groups for a tenant
get_product_groupGet a product group with nested catalog items
get_config_versionCheck current config version number
get_config_blobGet full config JSON for a tenant

Gated endpoints

These tools require payment. Calling without payment returns a 402 response with the price.

ToolPriceDescription
get_catalog_item0.0001 USDCRead catalog item details
list_catalog_items0.0001 USDCBrowse catalog items
create_product_group0.0001 USDCCreate a new product group

The 402 response

When a gated endpoint is called without payment, the gate returns a 402 with payment requirements:

{
  "status": 402,
  "tool": "get_catalog_item",
  "price": "0.0001",
  "currency": "USDC",
  "network": "base",
  "pay_to": "0xabc...def",
  "accepts": ["exact-evm"],
  "description": "Read catalog item details"
}

The agent signs a payment payload off-chain (no transaction submitted yet) and retries the request with a PAYMENT-SIGNATURE header. The gate verifies the signature via the facilitator, fulfills the request, then the facilitator settles the payment on-chain. x402 does not transfer funds — it coordinates verification and settlement through the facilitator.

Access methods

Three ways to access gated endpoints:

MethodParameterUse case
Payment proofpayment_proofx402 protocol payment (agent pays per call)
Bypass tokenbypass_token + endpoint_slugPrepaid access for known customers
Credit accountcredit_account_org_slug + endpoint_slugPay-as-you-go USD balance

Resources