Work with this as data
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/rozo-ai:rozo-ai-quotes-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 Specification
openapi: 3.2.0
info:
title: ROZO Funding API (native gas, gas + stablecoin, Stellar…
version: 1.2.0
x-contract-id: rozo-funding-v1
description: 'One stablecoin payment from the user funds one of three delivery modes:
| mode | the user receives |
| --- | --- |
| `native_only` | the destination chain''s native coin only (ETH, SOL, XLM, ...). No stablecoin output exists. |
| `native_and_stable` | one native output and one stablecoin output, same chain or two supported chains. Each output is tracked and confirmed separately. |
| `stellar_onboarding` | a new or not-yet-ready Stellar G-account gets a USDC trustline and USDC (and optionally spendable XLM) through one funding signature by the user. |
**Status (1.2.0, 2026-10-13)**: live. The keyless public app
`rozoNativeGas` offers `stellar_onboarding` and `native_only` (XLM) to
everyone. Apps with an API key are granted modes, routes and limits per
app; `native_and_stable` is available on request. Discover what is
actually available with `GET /funding/capabilities`; never hard-code chains,
assets, minimums or maximums from this document. **Changes in 1.2.0** (additive, no field removed): keyless
`stellar_onboarding` with one user signature; ownership proof,
`signerProfileId` and `signerPreflight` are optional; `usdGas` fixed XLM
tiers with `gasOptions` in capabilities; USDC or USDT on any enabled EVM
source chain accepted 1:1; per-IP daily source limit for keyless callers. ## Authentication
Every endpoint, including `GET`, accepts `X-API-Key` (server-to-server). **Keyless public app `rozoNativeGas`**: callers that have not
registered may call `GET /funding/capabilities`, `POST /funding/quotes`,
`GET /funding/quotes/{quoteId}`, `POST /funding/orders` and
`GET /funding/orders/{fundingId}` WITHOUT a key. Such calls run as app
`rozoNativeGas` (`stellar_onboarding` and `native_only`; 1 to 1000 USD
per order, 2000 USD per client IP per day, 10000 USD per day for the app;
XLM budget up to 10 USD per order), are rate limited per client IP
(`429 rate_limited`), and `userRef` is replaced by a per-IP value. Keep the `fundingId` private: it is the only handle to a keyless
order (anyone holding it can read that order). The public app holds at
most a few unpaid orders at once; when busy, quotes or orders answer
`limit_exceeded` / `inventory_unavailable`: retry later or register an app. Lookup by `orderId` and ownership proofs always need a
key. **Keyless Stellar onboarding (1.2.0)**: the public app''s grant lists
`stellar_onboarding` (see capabilities), so a keyless
caller can also run Path B end to end: quote and order (no
`ownershipProofId`, `signerProfileId` or `signerPreflight` needed), pay,
then `POST /funding/orders/{fundingId}/signing-requests`,
`GET /funding/signing-requests/{signingRequestId}` and
`POST /funding/signing-requests/{signingRequestId}/submit`. The
`fundingId` is the credential; `walletAddress` must equal the order''s
Stellar receiver and only that address''s signature on the exact template
is accepted, so the user signs exactly once. Signing and submit are rate
limited per client IP. The key''s app is authoritative: a body `appId` is ignored and never widens
access. Browsers and agents must call through their own trusted backend;
never ship the API key to a client. The API key does not authorize spending
from the user''s wallet: the user pays the source deposit and signs Stellar
transactions themselves. ## Flow
1. `GET /funding/capabilities`: modes, source assets, outputs, limits. 2. Optional, Stellar onboarding with an API key only:
`POST /funding/ownership/challenges`, the user signs the returned
message, `POST /funding/ownership/verify`. Not needed: the claim
transaction itself must carry the receiver''s signature. 3. `POST /funding/quotes`: read-only plan with every fee and per-output
minimum. No deposit address, nothing reserved. 4. Show the plan; the user approves it. 5. `POST /funding/orders` with `quoteId`, the quote''s `planDigest` and an
`Idempotency-Key`. Inventory and limits are reserved atomically and a
one-time deposit instruction is returned. 6.'
contact:
name: ROZO
url: https://docs.rozo.ai
license:
name: Proprietary
url: https://rozo.ai
servers:
- url: https://intentapiv4.rozo.ai/functions/v1/payment-api
description: Production
security:
- apiKey: []
tags:
- name: Quotes
description: Read-only, frozen funding plans.
paths:
/funding/quotes:
post:
tags:
- Quotes
operationId: createFundingQuote
security:
- apiKey: []
- {}
summary: Price a funding plan (read-only)
description: 'Validates the mode, route, assets, receivers and limits for this app and
returns a frozen plan with every fee component and each output''s
minimum. Does not create a deposit and does not reserve inventory.
A quote is `quoted` until it expires or is consumed by an order.'
parameters:
- $ref: '#/components/parameters/CorrelationId'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/QuoteRequest'
examples:
nativeOnly:
summary: Buy Arbitrum ETH with Base USDC
value:
mode: native_only
userRef: user-123
source:
chainId: '8453'
assetId: BASE_USDC_ASSET_ID_FROM_CAPABILITIES
amount: '3.00'
outputs:
- id: native
kind: native
chainId: '42161'
receiverAddress: RECEIVER_ADDRESS
allocation: all_after_fees
nativeAndStable:
summary: Arbitrum ETH plus Stellar USDC to a ready account
value:
mode: native_and_stable
userRef: user-123
source:
chainId: '8453'
assetId: BASE_USDC_ASSET_ID_FROM_CAPABILITIES
amount: '10.00'
outputs:
- id: native
kind: native
chainId: '42161'
receiverAddress: GAS_RECEIVER_ADDRESS
allocationUsd: '2.00'
- id: stable
kind: stable
chainId: '1500'
assetId: STELLAR_USDC_ASSET_ID_FROM_CAPABILITIES
receiverAddress: READY_STELLAR_ADDRESS
allocation: remainder
minimumAmount: '7.00'
limits:
maxTotalFeesUsd: '1.00'
stellarOnboarding:
summary: New Stellar account, USDC plus 1.6 spendable XLM (usdGas 0.5)
value:
usdGas: '0.5'
mode: stellar_onboarding
userRef: user-123
reserveMode: sponsored
source:
chainId: '8453'
assetId: BASE_USDC_ASSET_ID_FROM_CAPABILITIES
amount: '10.00'
outputs:
- id: stable
kind: stable
chainId: '1500'
assetId: STELLAR_USDC_ASSET_ID_FROM_CAPABILITIES
receiverAddress: NEW_STELLAR_ADDRESS
allocation: remainder
responses:
'201':
description: Quote created
content:
application/json:
schema:
$ref: '#/components/schemas/Quote'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'409':
$ref: '#/components/responses/Error'
'422':
$ref: '#/components/responses/Error'
'503':
$ref: '#/components/responses/Error'
/funding/quotes/{quoteId}:
get:
tags:
- Quotes
operationId: getFundingQuote
security:
- apiKey: []
- {}
summary: Read a quote created by this app
parameters:
- $ref: '#/components/parameters/QuoteId'
responses:
'200':
description: The quote
content:
application/json:
schema:
$ref: '#/components/schemas/Quote'
'401':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'503':
$ref: '#/components/responses/Error'
components:
schemas:
NextAction:
type: string
enum:
- none
- retry
- requote
- verify_ownership
- change_request
- contact_support
- poll_order
- rebuild_signing_request
Mode:
type: string
enum:
- native_only
- native_and_stable
- stellar_onboarding
QuoteRequest:
type: object
required:
- mode
- source
- outputs
- userRef
additionalProperties: false
properties:
mode:
$ref: '#/components/schemas/Mode'
userRef:
type: string
minLength: 1
maxLength: 128
description: The caller's stable id for the end user (quota and ownership binding).
source:
$ref: '#/components/schemas/QuoteSource'
outputs:
type: array
minItems: 1
maxItems: 2
items:
$ref: '#/components/schemas/QuoteOutputRequest'
limits:
type: object
additionalProperties: false
properties:
maxTotalFeesUsd:
$ref: '#/components/schemas/UsdAmount'
ownershipProofId:
type: string
format: uuid
description: Optional (stellar_onboarding). When passed it must be valid for the receiver and is consumed by the order.
signerProfileId:
type: string
description: 'Optional (stellar_onboarding). Default: the supported profile from capabilities (js-stellar-sdk-local-key when several).'
signerPreflight:
type: object
description: Optional (stellar_onboarding); absent = passed. A client hint that the user's wallet can sign the template; the server verifies the exact signed transaction anyway.
required:
- passed
- checkedAt
properties:
passed:
type: boolean
checkedAt:
type: string
format: date-time
reserveMode:
type: string
enum:
- sponsored
description: stellar_onboarding only; v1 supports sponsored only.
usdGas:
type: string
description: 'stellar_onboarding only (2026-10-13): USD spent on destination gas, one of the values in capabilities `gasOptions[chainId].options` (Stellar: "0" = no XLM, "0.5" = 1.6 XLM, "1" = 3.2 XLM; fixed amounts, no spread). Omitted: "0.5" when the address needs onboarding (new account or no USDC trustline), "0" when it already has a USDC trustline. Replaces the former native output with allocationUsd, which is no longer accepted for stellar_onboarding. The quote echoes usdGas, gasAmount, gasAsset and gasDefaulted. The rest of the source pays the /payments bridge fee (bridge_fee) and, only for an address that needs onboarding, the same Stellar sponsor fee as the bridge (stellar_sponsor_fee).'
Decimal:
type: string
pattern: ^\d+(\.\d+)?$
description: Non-negative decimal string in the asset's own unit.
ErrorCode:
type: string
enum:
- unauthorized
- funding_disabled
- app_not_enabled
- invalid_request
- unsupported_mode
- unsupported_route
- unsupported_asset
- unsupported_target
- limit_exceeded
- fees_exceed_limit
- price_unavailable
- inventory_unavailable
- quote_expired
- quote_consumed
- plan_mismatch
- idempotency_conflict
- ownership_required
- ownership_invalid
- challenge_expired
- signer_unsupported
- stellar_account_not_ready
- state_changed
- channel_busy
- signature_invalid
- template_expired
- claim_expiring
- recovery_required
- not_found
- rate_limited
- internal_error
QuoteStatus:
type: string
enum:
- quoted
- expired
- consumed
description: Status of the quote resource. Orders never have a `quoted` status.
PlannedLeg:
type: object
required:
- legId
- outputId
- kind
- chainId
- assetId
- symbol
- receiverAddress
- minimumAmount
- sourceAllocationAmount
- status
properties:
legId:
type: string
description: Order leg UUID. On a quote (no order yet) it equals outputId.
outputId:
type: string
enum:
- native
- stable
kind:
type: string
enum:
- native
- stable
chainId:
$ref: '#/components/schemas/ChainId'
assetId:
$ref: '#/components/schemas/AssetId'
symbol:
type: string
receiverAddress:
type: string
minimumAmount:
$ref: '#/components/schemas/Decimal'
description: Guaranteed minimum delivered amount when the source is paid in full and on time.
budgetUsd:
$ref: '#/components/schemas/UsdAmount'
description: 'Native legs: N = principal + this leg''s fees.'
principalUsd:
$ref: '#/components/schemas/UsdAmount'
nativePriceUsd:
type:
- string
- 'null'
sourceAllocationAmount:
$ref: '#/components/schemas/Decimal'
description: Share of the source amount backing this leg (basis for refunds of an undelivered leg).
stellar:
type:
- object
- 'null'
description: Native XLM breakdown for Stellar legs.
properties:
totalXlm:
$ref: '#/components/schemas/Decimal'
reserveXlm:
$ref: '#/components/schemas/Decimal'
description: Locked as the account's minimum balance (not spendable). Zero when sponsored.
spendableXlm:
$ref: '#/components/schemas/Decimal'
actionKind:
type: string
enum:
- payment
- create_account
- onboarding_template
status:
$ref: '#/components/schemas/LegStatus'
deliveredAmount:
oneOf:
- $ref: '#/components/schemas/Decimal'
- type: 'null'
txHash:
type:
- string
- 'null'
AssetId:
type: string
description: 'Opaque asset identifier taken from capabilities. Format, for reference:
`native`, `erc20:<contract>`, `spl:<mint>`, `stellar:<CODE>:<ISSUER>`.
Ticker similarity never implies support (USDT0 and bridged variants
are separate assets).
'
Quote:
type: object
required:
- quoteId
- status
- mode
- appId
- userRef
- expiresAt
- source
- legs
- fees
- totals
- userActions
- planDigest
- settlement
- externalSourceFee
- configVersion
- confirmationGraceSeconds
properties:
quoteId:
type: string
format: uuid
status:
$ref: '#/components/schemas/QuoteStatus'
mode:
$ref: '#/components/schemas/Mode'
appId:
type: string
userRef:
type: string
createdAt:
type: string
format: date-time
expiresAt:
type: string
format: date-time
description: Also the latest source payment time (payBefore) of an order created from this quote.
source:
type: object
required:
- chainId
- assetId
- symbol
- amount
- valuationUsd
- priceUsd
- priceAt
properties:
chainId:
$ref: '#/components/schemas/ChainId'
assetId:
$ref: '#/components/schemas/AssetId'
symbol:
type: string
amount:
$ref: '#/components/schemas/Decimal'
valuationUsd:
$ref: '#/components/schemas/UsdAmount'
priceUsd:
type: string
description: USD value of one unit of the source asset used for this quote (1 USDT is not assumed to be 1 USD).
priceAt:
type: string
format: date-time
amountPolicy:
type: string
enum:
- exact
- any_amount
description: Missing means exact. any_amount prices an accepted payment on the amount received.
minAcceptedAmount:
oneOf:
- $ref: '#/components/schemas/Decimal'
- type: 'null'
description: Minimum single payment that can be delivered; null for exact.
maxPricedAmount:
oneOf:
- $ref: '#/components/schemas/Decimal'
- type: 'null'
description: Per-order pricing ceiling; daily allowance can further reduce it. Excess needs manual handling, not an automatic refund.
legs:
type: array
items:
$ref: '#/components/schemas/PlannedLeg'
fees:
type: array
items:
$ref: '#/components/schemas/FeeLine'
totals:
type: object
required:
- sourceValueUsd
- nativeBudgetsUsd
- stableDeliveryUsd
- sharedFeesUsd
- roundingRemainderUsd
- roundingRemainderOwner
- totalFeesUsd
description: 'sourceValueUsd = nativeBudgetsUsd + stableDeliveryUsd + sharedFeesUsd + roundingRemainderUsd,
exactly (computed in integer micro-dollars; the displayed 2-decimal strings are floors).
nativeBudgetsUsd = value of the native coin delivered + native-leg fees.
sharedFeesUsd = every fee not owned by a native leg (routing, stable service, Stellar sponsor fee).
roundingRemainderUsd = value left by flooring delivered amounts to their precision.
'
properties:
sourceValueUsd:
$ref: '#/components/schemas/UsdAmount'
nativeBudgetsUsd:
$ref: '#/components/schemas/UsdAmount'
stableDeliveryUsd:
$ref: '#/components/schemas/UsdAmount'
sharedFeesUsd:
$ref: '#/components/schemas/UsdAmount'
roundingRemainderUsd:
type: string
description: Up to 6 decimals; value left by flooring native/stable amounts.
roundingRemainderOwner:
type: string
enum:
- user_refundable
- rozo_disclosed
totalFeesUsd:
$ref: '#/components/schemas/UsdAmount'
userActions:
type: array
items:
$ref: '#/components/schemas/UserAction'
dependencies:
type: array
description: Execution dependencies the user should know about (for example `stellar_user_signature`).
items:
type: string
planDigest:
type: string
pattern: ^[0-9a-f]{64}$
description: SHA-256 of the frozen plan. Send it back on create to prove the user approved this exact plan.
settlement:
type: object
required:
- type
- note
properties:
type:
type: string
const: internal_settlement
note:
type: string
externalSourceFee:
type: string
const: unknown
configVersion:
type: integer
confirmationGraceSeconds:
type: integer
ownershipProofId:
type:
- string
- 'null'
signerProfileId:
type:
- string
- 'null'
usdGas:
type:
- string
- 'null'
description: 'stellar_onboarding: the chosen usdGas option; null on other modes.'
gasAmount:
type:
- string
- 'null'
description: Native gas delivered for usdGas, in gasAsset units (e.g. "1.6").
gasAsset:
type:
- string
- 'null'
description: Native gas asset symbol (XLM for Stellar).
gasDefaulted:
type:
- boolean
- 'null'
description: true when the caller omitted usdGas and the default applied.
LegStatus:
type: string
enum:
- planned
- reserved
- ready
- submitting
- unknown
- confirmed
- failed_confirmed
description: '`unknown` means the outcome is being reconciled against the executor by
the leg''s fixed execution key; it is never re-sent or refunded blindly.
'
QuoteSource:
type: object
required:
- chainId
- assetId
- amount
additionalProperties: false
properties:
chainId:
$ref: '#/components/schemas/ChainId'
assetId:
$ref: '#/components/schemas/AssetId'
amount:
$ref: '#/components/schemas/Decimal'
QuoteOutputRequest:
type: object
required:
- id
- kind
- chainId
- receiverAddress
additionalProperties: false
properties:
id:
type: string
enum:
- native
- stable
kind:
type: string
enum:
- native
- stable
chainId:
$ref: '#/components/schemas/ChainId'
assetId:
$ref: '#/components/schemas/AssetId'
description: Required for stable outputs; ignored for native (implied by chain).
receiverAddress:
type: string
minLength: 1
maxLength: 128
allocationUsd:
$ref: '#/components/schemas/UsdAmount'
description: 'Native outputs in native_and_stable / stellar_onboarding: total USD budget of this leg (coin principal plus this leg''s fees).'
allocation:
type: string
enum:
- all_after_fees
- remainder
description: '`all_after_fees` for the single native output of native_only; `remainder` for the stable output.'
minimumAmount:
$ref: '#/components/schemas/Decimal'
description: Reject the quote if this output would deliver less.
Error:
type: object
required:
- code
- message
- retryable
- nextAction
- correlationId
properties:
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
retryable:
type: boolean
nextAction:
$ref: '#/components/schemas/NextAction'
correlationId:
type: string
details:
type: object
additionalProperties: true
UserAction:
type: object
required:
- kind
properties:
kind:
type: string
enum:
- pay_source
- sign_stellar_onboarding
legIds:
type: array
items:
type: string
dueBy:
type:
- string
- 'null'
format: date-time
FeeLine:
type: object
required:
- kind
- usd
- refundable
- appliesTo
properties:
kind:
type: string
enum:
- native_spread
- native_fixed
- native_network
- shared_routing
- stable_service
- bridge_fee
- stellar_sponsor_fee
usd:
$ref: '#/components/schemas/UsdAmount'
refundable:
type: boolean
description: Refunded when the service it pays for never happened.
appliesTo:
type: string
description: Leg id, or `shared`.
ChainId:
type: string
pattern: ^\d+$
description: 'ROZO chain id as a string: 1, 8453, 42161, 137, 56, 999 (EVM), 900 (Solana), 1500 (Stellar).'
UsdAmount:
type: string
pattern: ^\d+(\.\d{1,2})?$
description: USD decimal string, at most 2 decimals.
parameters:
CorrelationId:
name: X-Correlation-Id
in: header
required: false
description: Echoed in errors; generated when absent.
schema:
type: string
maxLength: 128
QuoteId:
name: quoteId
in: path
required: true
schema:
type: string
format: uuid
responses:
Error:
description: 'Error. Status mapping: unauthorized 401; app_not_enabled 403; not_found 404;
idempotency_conflict, quote_consumed, plan_mismatch, inventory_unavailable,
state_changed, channel_busy, recovery_required 409; quote_expired,
challenge_expired, template_expired, claim_expiring 410; other validation codes 400/422;
rate_limited 429 (keyless callers); internal_error 500 (retry with the same Idempotency-Key);
funding_disabled, price_unavailable 503.
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key
description: Server-to-server key from https://partners.rozo.ai. Bound to one app (for example `wallet_<slug>`).