Properties
| Name | Type | Description |
|---|---|---|
| ok | boolean | |
| operation | string | |
| state | string | |
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/xmrtousdc-xyz/json-schema/xmrtousdc-xyz-quote-response-schema.json",
"title": "QuoteResponse",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/xmrtousdc-xyz-openapi.json#/components/schemas/QuoteResponse",
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"operation": {
"type": "string"
},
"state": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"direction": {
"type": "string",
"enum": [
"x2u",
"u2x"
]
},
"amount": {
"type": "string",
"description": "Send amount in human units. With receiveAmount, the amount Swapper found; the quoteId is bound to it, so create needs only the quoteId."
},
"quoteId": {
"type": "string",
"pattern": "^q_[a-f0-9]{32}$",
"description": "Single-use: it opens at most one order."
},
"quotedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time",
"description": "End of Swapper's acceptance window for this quote. Not a provider price lock."
},
"expiresInSec": {
"type": "integer",
"description": "Seconds left until expiresAt when the response was built."
},
"acceptWindowSec": {
"type": "integer",
"description": "Length of the acceptance window in seconds (QUOTE_MAX_AGE_SEC: 300 on this deployment, default 300)."
},
"intentCommitment": {
"type": "object",
"description": "SHA-256 commitment to the quoted terms (docs/QUOTE_INTENT_COMMITMENT.md): { version, algorithm, digest, claim }. claim values are strings (chainId too) because they are hashed in a canonical form. Pass digest as quoteIntentDigest on create to have Swapper re-check the stored quote."
},
"to": {
"type": [
"string",
"null"
],
"description": "The destination the quote was made for, if any."
},
"requoteOf": {
"type": "string",
"description": "Present on a re-quote: the earlier quoteId."
},
"delta": {
"$ref": "#/$defs/QuoteDelta"
},
"next": {
"type": "object",
"description": "{ action: create_order, createPath, createUrl, createBody: { quoteId }, missing: [] or [\"to\"], requiresIdempotencyKey: true }, or { action: requote_with_larger_amount, reason: below_provider_minimum, minimumSwapUsd } when the quote is below the provider minimum."
},
"confirmation": {
"type": "object",
"description": "{ required: false, quoteId, acceptUntil, instruction }: how the quote is accepted (create with this quoteId before acceptUntil). required: false means nothing on Swapper's side requires a confirmation; whether to confirm with the user first follows the user's and the client's policy. Without a published minimum the instruction says the receive amount is an estimate."
},
"terms": {
"type": "object",
"properties": {
"send": {
"type": "object",
"description": "{ amount, amountAtomic, symbol, decimals }"
},
"receive": {
"type": "object",
"description": "{ symbol, decimals, estimate, estimateAtomic, minimum, minimumAtomic, minimumPublished, estimateUsd }. minimum and minimumAtomic are null and minimumPublished is false while the provider publishes no minimum receive amount (always on Wagyu v2); Swapper never derives a minimum from the estimate. The estimate is not a floor: the final amount is set when the swap runs.",
"properties": {
"estimate": {
"type": [
"string",
"null"
]
},
"estimateAtomic": {
"type": [
"string",
"null"
]
},
"minimum": {
"type": [
"string",
"null"
]
},
"minimumAtomic": {
"type": [
"string",
"null"
]
},
"minimumPublished": {
"type": "boolean"
}
}
},
"guaranteed": {
"type": "boolean",
"enum": [
false
]
},
"estimatedTimeSec": {
"type": [
"number",
"null"
],
"description": "The provider's time estimate; null on Wagyu v2, which gives none."
},
"fees": {
"type": "object",
"description": "{ itemized, integratorFee: { percent, amountUsd } | null, breakdown? (the provider's display values), feeFraction?, swapperFee: null, note }. integratorFee is Swapper's revenue: the provider takes it out of the swap inside the quoted rate, so the estimate already includes it. swapperFee is null: nothing is charged on top of the quote beyond integratorFee. The provider's own fees are included in the rate too and itemized only when the provider reports them. USD values are display estimates."
},
"acceptUntil": {
"type": "string",
"format": "date-time"
},
"minimumSwapUsd": {
"type": [
"number",
"null"
],
"description": "Provider minimum swap value in USD for the send chain (cached, informational)."
},
"minimumSendEstimate": {
"type": [
"string",
"null"
],
"description": "minimumSwapUsd in the send asset (human units) at this quote's own USD rate, rounded up to 0.0001 XMR or 0.01 USDC. An estimate: the provider's USD values are display estimates and its rate moves. null when the minimum or the quote's USD value is unknown or zero."
},
"belowProviderMinimum": {
"type": [
"boolean",
"null"
],
"description": "true when the quote's USD value is below minimumSwapUsd (a dust amount whose USD value is 0 counts); null when unknown. Create refuses such a quote with 422 below_provider_minimum; the provider stays authoritative."
}
}
},
"target": {
"$ref": "#/$defs/QuoteTarget"
},
"prerequisites": {
"$ref": "#/$defs/FundingRequirements"
},
"quote": {
"type": "object",
"description": "Raw provider quote (atomic units)."
},
"swapDetails": {
"type": "object"
}
}
}
},
"$defs": {
"FundingRequirements": {
"type": "object",
"description": "What the sending wallet needs (from packages/shared/src/funding.js). Included in u2x quotes as data.prerequisites.",
"properties": {
"sendAsset": {
"type": "object",
"description": "{ symbol, kind, chain, chainId, tokenAddress?, decimals }"
},
"gas": {
"$ref": "#/$defs/PaymentGas"
},
"pitfalls": {
"type": "array",
"items": {
"type": "string"
}
},
"destination": {
"type": "string"
}
}
},
"PaymentGas": {
"type": "object",
"properties": {
"symbol": {
"type": "string"
},
"chain": {
"type": "string"
},
"note": {
"type": "string"
}
}
},
"QuoteDelta": {
"type": "object",
"description": "Present only on a requoteOf response: how the new quote compares with the previous one.",
"properties": {
"previousQuoteId": {
"type": "string",
"pattern": "^q_[a-f0-9]{32}$"
},
"receiveEstimateChange": {
"type": [
"object",
"null"
],
"description": "{ atomic (signed integer string), percent (signed decimal string, 2 places) }: new estimate minus the previous one; null when either is unknown."
},
"minimumChange": {
"type": [
"object",
"null"
],
"description": "Change of the provider minimum, in the same form as receiveEstimateChange; null while the provider publishes no minimum."
},
"sendChange": {
"type": [
"object",
"null"
],
"description": "Present when a receiveAmount re-quote found a different send amount; same form."
}
}
},
"QuoteTarget": {
"type": "object",
"description": "Present only for receiveAmount quotes.",
"properties": {
"mode": {
"type": "string",
"enum": [
"receive"
]
},
"basis": {
"type": "string",
"enum": [
"estimate",
"minimum"
],
"description": "What the search targeted: the estimated output (estimate, the default). minimum (the provider's published minimum) is refused with 400 minimum_not_published while the provider publishes none."
},
"receiveAmount": {
"type": "string"
},
"receiveAmountAtomic": {
"type": "string"
},
"estimateMeetsTarget": {
"type": "boolean",
"description": "Whether the estimate reaches the target (true for a found send amount)."
},
"minimumMeetsTarget": {
"type": [
"boolean",
"null"
],
"description": "null while the provider publishes no minimum (always on Wagyu v2): the result can fall short of the target. With a published minimum: whether it reaches the target."
},
"upstreamQuotes": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"note": {
"type": "string",
"description": "The estimate meets the target; without a published minimum the result can still fall short; nothing is guaranteed."
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xmrtousdc-xyz-quote-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.