Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/u-cash:u-cash-ucp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: agents.u.cash UCP API
version: 0.7.3
description: 'Agent + merchant product surface for the 402 Online Protocol - multi-coin, non-custodial HTTP-402 payments. Two-sided: sell (get paid to your own wallet) and buy (pay for resources). UCP (ucp.dev) discovery + multi-item mixed-currency checkout sessions + AP2 mandates + RFC 9421-signed responses. Live reference implementation; protocol spec at https://402.onl. INPUT CONTRACTS (all authenticated writes): unknown keys are rejected with 400 uxc_unknown_param listing the Allowed keys; wrong shapes are rejected with 400 uxc_invalid_request naming the field and expected shape; booleans must be true/false (or "true"/"false"); updates are true partials (unsent fields keep their values). Supported assets (grouped; the engine master list): Bitcoin (BTC, +Lightning), Ethereum (ETH), Solana (SOL), Tron (TRX), XRP, Dogecoin (DOGE), Litecoin (LTC), Bitcoin Cash (BCH), Algorand (ALGO), Monero (XMR), Polkadot (DOT), Stellar (XLM), Tezos (XTZ), Polygon (POL), Avalanche (AVAX), BNB Chain (BNB), Toncoin (TON); Base, Arbitrum, Optimism, Linea, Mantle, Berachain, Sonic, Unichain, World, Monad, Plasma, Abstract, Scroll, Ink, Hyperliquid (native gas + ETH-bridged), Robinhood Chain (native gas + ALL 194 issuer-listed tokenized-asset rails; featured set in pickers, u.cash/tokenized-assets for the full list), Arc (Circle L2, native USDC gas); USDT (Ethereum / BSC / Tron), USDC (Ethereum / native on Arc), and USDC-on-Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) - the x402 gasless rail; UCASH (Ethereum ERC-20, 0x92e52a1A235d9A103D970901066CE910AAceFD37) - also the non-withdrawable fee-credit unit; Any ERC-20 / BEP-20 / Base-20 / Polygon-20 / Arb-20 / Op-20 / Avax-20 / Linea / Mantle / Sonic / Bera / ... / TRC-20 / SPL / TON Jetton / Robinhood-20 / Arc-20 added via POST /v1/custom-tokens (auto-detected on-chain like any coin)'
contact:
url: https://github.com/UdotCash/agents
servers:
- url: https://agents.u.cash
description: agents.u.cash
tags:
- name: UCP
description: 'Universal Commerce Protocol: discovery + multi-item checkout sessions + AP2 mandates (public; merchant resolved from host or ?cloud=)'
paths:
/checkout-sessions:
post:
tags:
- UCP
summary: Create a UCP checkout session (multi-item, mixed-currency cart).
security: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CheckoutSession'
responses:
'200':
description: '{id, status, currency, line_items, totals, ap2:{merchant_authorization, nonce}}'
operationId: postCheckoutSessions
x-operation-id-source: derived
/checkout-sessions/{id}:
get:
tags:
- UCP
summary: 'Fetch a checkout session (status: incomplete -> ready_for_complete -> completed)'
security: []
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: cloud
in: query
required: false
schema:
type: string
responses:
'200':
description: the session
'404':
description: not found
operationId: getCheckoutSessionsById
x-operation-id-source: derived
/checkout-sessions/{id}/complete:
post:
tags:
- UCP
summary: Mint payment challenges -> ready_for_complete.
security: []
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Ap2'
responses:
'200':
description: ready_for_complete + payment_handlers[]
'401':
description: mandate_invalid_signature | mandate_expired | mandate_scope_mismatch
operationId: postCheckoutSessionsByIdComplete
x-operation-id-source: derived
/checkout-sessions/{id}/cancel:
post:
tags:
- UCP
summary: Cancel a checkout session
security: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: canceled
operationId: postCheckoutSessionsByIdCancel
x-operation-id-source: derived
/orders/{id}:
get:
tags:
- UCP
summary: A checkout session viewed as a UCP order (per-item fulfillment status)
security: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: '{id, checkout_id, currency, line_items, fulfillment, totals}'
'404':
description: not found
operationId: getOrdersById
x-operation-id-source: derived
/catalog/search:
post:
tags:
- UCP
summary: Search the merchant catalog (text + price filter + pagination)
security: []
requestBody:
content:
application/json:
schema:
type: object
properties:
query:
type: string
filters:
type: object
pagination:
type: object
responses:
'200':
description: '{products[], pagination}'
operationId: postCatalogSearch
x-operation-id-source: derived
/catalog/lookup:
post:
tags:
- UCP
summary: Batch catalog lookup by id
security: []
requestBody:
content:
application/json:
schema:
type: object
properties:
ids:
type: array
items:
type: string
responses:
'200':
description: '{products[]}'
operationId: postCatalogLookup
x-operation-id-source: derived
/catalog/product:
post:
tags:
- UCP
summary: Fetch a single product by id
security: []
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: string
responses:
'200':
description: one product
'404':
description: uxc_not_found
operationId: postCatalogProduct
x-operation-id-source: derived
components:
schemas:
CheckoutSession:
type: object
required:
- line_items
description: UCP buyer checkout (multi-item, mixed-currency). The merchant is resolved from the host or ?cloud=, NOT X-Api-Key.
properties:
line_items:
type: array
description: one entry per item
items:
type: object
properties:
item:
type: object
properties:
id:
type: string
description: resource res_id or checkout slug
quantity:
type: integer
minimum: 1
default: 1
currency:
type: string
description: 'cart currency for mixed-currency carts (default: the shared item currency, else the merchant default)'
buyer:
type: object
context:
type: object
Ap2:
type: object
description: AP2 mandate (dev.ucp.shopping.ap2_mandate) - optional holder-proof buyer authorization on complete.
properties:
checkout_mandate:
type: string
description: buyer-signed SD-JWT-VC binding the payment to this checkout
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-Api-Key
description: The api_key from POST /v1/signup.