Swapper Discovery API
The discovery API from Swapper — 3 operation(s) for discovery.
The discovery API from Swapper — 3 operation(s) for discovery.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/xmrtousdc-xyz:xmrtousdc-xyz-discovery-api"
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.
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: Swapper Agent Discovery API
version: 1.1.0
summary: Private swaps. Deterministic API.
termsOfService: https://xmrtousdc.xyz/terms
contact:
name: Swapper support
email: support@xmrtousdc.xyz
url: https://xmrtousdc.xyz/security
description: 'Public, key-less HTTPS API to swap Monero (XMR) native USDC on Arbitrum One (chain 42161). No account or API key required. Swapper collects no identity documents; the provider may apply its own compliance screening. MCP clients can use the same flow at the MCP endpoint in x-mcp. Contract: docs/AGENT_CONTRACT_V2.md and its v2.1 safety addendum (privacy policy https://xmrtousdc.xyz/privacy; terms https://xmrtousdc.xyz/terms). Flow: funding guide (u2x: native USDC plus ETH for gas) -> plan (optional) -> quote with amount (send asset) or receiveAmount (receive asset) -> create with just the quoteId and a required idempotency-key header (a new random UUID per order; HTTP 202 state queued while the provider''s order limits are reached: send the same create again) -> check the unsigned payment with POST /agent/swap/payment-check -> fund data.deposit.payment once, only while data.payable is true, only if data.destination is the user''s own address and only if data.paymentCheck.safeToSend is true -> long-poll status (waitSec, sinceState) until terminal=true. Creating an order moves no funds; whether to confirm with the user first follows the user''s and the client''s policy. Funds move only when the user''s wallet signs. Swapper never signs. Quotes are provider estimates, not guarantees: the provider publishes no minimum receive amount (terms.receive.minimum is null and minimumPublished false; basis "minimum" is refused with 400 minimum_not_published), so the final amount is set when the swap runs. Swapper earns an integrator fee that is already included in the quoted rate (currently 1%; every quote states it in terms.fees.integratorFee). Nothing is added on top of the quote apart from the network fee for sending the deposit. The provider''s own fees are included in the rate too, itemized only when it reports them (terms.fees.breakdown). A quoteId is accepted for data.acceptWindowSec seconds (300 on this deployment; default 300), until data.expiresAt (Swapper''s confirmation window, not a price lock), and opens at most one order. Creating an order moves no funds. Swapper never signs. Payable gating: data.deposit.payment is non-null only while data.payable is true (order created through create from a quote: data.origin agent_quote; provider order verified against the request; state waiting_for_funding; no deposit seen; no reconfirmation pending; expiry known and at least 600 s away); data.payableReason says why not (unverified_origin for an order created any other way, such as the removed raw POST /orders route). Replays and recovered orders report the live state. Before showing a deposit again (retry, replay, new conversation), read the status: if payable is false, never ask for another deposit. Order facts on create and status: data.origin, data.destination (the payout address recorded at create: always show it), data.evidence (transaction hashes the provider reports: its statements, not chain checks), data.received and data.receivedDetail (the payout in its own asset''s decimals), data.attention (what the state alone does not say, in Swapper''s words) and data.next.action (contact_support: the provider needs an action Swapper cannot take; requote_and_create_new_order: the order can never be funded through Swapper, quote again and create a new order). data.deposit.attestation is Swapper''s signed statement of the deposit instructions when signing is configured (docs/TRANSPARENCY.md). direction: x2u (XMR->USDC, `to` = 0x EVM address) | u2x (USDC->XMR, `to` = Monero address). amount / receiveAmount: decimal strings (exactly one of them on quote). Buying XMR by the amount wanted: {"direction":"u2x","receiveAmount":"1"}. `chain` may be omitted while Arbitrum One is the only live chain. Errors: every error response is the envelope { ok: false, error: { code, message, details, retryable, requestId, retryAfterSec? } } (ErrorEnvelope). Any POST whose body is not JSON (content-type other than application/json) answers 415 unsupported_media_type.'
servers:
- url: https://xmrtousdc.xyz/api/v1
tags:
- name: Discovery
paths:
/health:
get:
tags:
- Discovery
summary: API health
description: Returns status "ok" or "degraded" (upstream unavailable; new swaps paused).
operationId: health
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
/chains:
get:
tags:
- Discovery
summary: Supported chains and per-chain minimum swap size
description: 'Each item: chainId, name, nativeToken, minSwapUsd (the provider''s minimum swap value in USD for that send chain). Wagyu v2 reports the minimum on each quote (minDepositUsd), so minSwapUsd is the value recent quotes reported, or null when none is known; the provider enforces its minimum at quote and create time.'
operationId: chains
responses:
'200':
description: Chains
content:
application/json:
schema:
type: object
/agent/quickstart:
get:
tags:
- Discovery
summary: Agent quickstart payload
operationId: agentQuickstart
responses:
'200':
description: Quickstart
content:
application/json:
schema:
$ref: '#/components/schemas/AgentQuickstart'
components:
schemas:
AgentQuickstart:
type: object
required:
- ok
- operation
- brand
- trust
- links
- quickstart
properties:
ok:
type: boolean
operation:
type: string
brand:
type: object
trust:
type: object
links:
type: object
quickstart:
type: object
examples:
type: object
externalDocs:
description: Agent quickstart guide (REST + MCP)
url: https://xmrtousdc.xyz/for-agents
x-contract-version: '2026-10-08'
x-mcp:
url: https://xmrtousdc.xyz/mcp
transport: streamable-http
auth: none
guide: https://xmrtousdc.xyz/mcp
serverCard: https://xmrtousdc.xyz/.well-known/mcp/server-card.json
tools:
- get_quote
- create_swap
- get_swap_status
- get_funding_options
- list_swaps
- plan_swap
- get_capabilities
- create_support_ticket
- get_support_ticket
- request_agent_key
- submit_feedback
prompts:
- swap_usdc_to_xmr
- swap_xmr_to_usdc
- get_xmr_for_goal
x-discovery:
agentJson: https://xmrtousdc.xyz/.well-known/agent.json
agentJsonAlias: https://xmrtousdc.xyz/agent.json
jwks: https://xmrtousdc.xyz/.well-known/jwks.json
aiPlugin: https://xmrtousdc.xyz/.well-known/ai-plugin.json
securityTxt: https://xmrtousdc.xyz/.well-known/security.txt
securityPolicy: https://xmrtousdc.xyz/security
privacy: https://xmrtousdc.xyz/privacy
terms: https://xmrtousdc.xyz/terms
verifier: https://xmrtousdc.xyz/swapper-verify.js
openapiWellKnown: https://xmrtousdc.xyz/.well-known/openapi.json
llms: https://xmrtousdc.xyz/llms.txt
llmsFull: https://xmrtousdc.xyz/llms-full.txt
sitemap: https://xmrtousdc.xyz/sitemap.xml
mcpGuide: https://xmrtousdc.xyz/mcp
fundingGuide: https://xmrtousdc.xyz/guides/get-usdc-on-arbitrum
agentWalletsGuide: https://xmrtousdc.xyz/guides/agent-wallets