ROZO Discovery API

What the calling app may fund.

GitHub OpenAPI

Operations 1

GET /funding/capabilities What this app may fund right now #

Specifications

Other Resources

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rozo-ai:rozo-ai-discovery-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

rozo-ai-discovery-api-openapi.yml Raw ↑
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: Discovery
  description: What the calling app may fund.
paths:
  /funding/capabilities:
    get:
      tags:
      - Discovery
      operationId: getFundingCapabilities
      security:
      - apiKey: []
      - {}
      summary: What this app may fund right now
      description: 'Returns the modes, source assets, outputs, route combinations, limits,

        fee rules and Stellar signing support granted to the calling app, with

        a reason for everything that is disabled. Contains no inventory

        balances or other internal data. Cache no longer than `validUntil`.'
      responses:
        '200':
          description: Capabilities for the authenticated app
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Capabilities'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
components:
  schemas:
    CapabilityStatus:
      type: string
      enum:
      - supported
      - disabled
      - temporarily_unavailable
    NextAction:
      type: string
      enum:
      - none
      - retry
      - requote
      - verify_ownership
      - change_request
      - contact_support
      - poll_order
      - rebuild_signing_request
    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).

        '
    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
    Mode:
      type: string
      enum:
      - native_only
      - native_and_stable
      - stellar_onboarding
    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.
    Capabilities:
      type: object
      required:
      - contractVersion
      - appId
      - enabled
      - configVersion
      - generatedAt
      - validUntil
      - modes
      - sourceAssets
      - nativeOutputs
      - stableOutputs
      - routes
      - limits
      - fees
      - stellar
      properties:
        contractVersion:
          type: string
          description: Wire contract version reported by the server ("1.1.0" today). Document version 1.2.0 is additive over it.
        appId:
          type: string
        gasOptions:
          type: object
          description: usdGas options per destination chainId (stellar_onboarding today).
          additionalProperties:
            type: object
            properties:
              gasAsset:
                type: string
              options:
                type: array
                items:
                  type: object
                  properties:
                    usdGas:
                      type: string
                    gasAmount:
                      type: string
              defaults:
                type: object
                properties:
                  needsOnboarding:
                    type: string
                  ready:
                    type: string
        enabled:
          type: boolean
          description: false when the product or this app's grant is off; then every mode is disabled with a reason.
        configVersion:
          type: integer
        generatedAt:
          type: string
          format: date-time
        validUntil:
          type: string
          format: date-time
        modes:
          type: array
          items:
            type: object
            required:
            - mode
            - status
            properties:
              mode:
                $ref: '#/components/schemas/Mode'
              status:
                $ref: '#/components/schemas/CapabilityStatus'
              reason:
                type:
                - string
                - 'null'
        sourceAssets:
          type: array
          items:
            type: object
            required:
            - chainId
            - assetId
            - symbol
            - decimals
            - minAmount
            - maxAmount
            - status
            properties:
              chainId:
                $ref: '#/components/schemas/ChainId'
              assetId:
                $ref: '#/components/schemas/AssetId'
              symbol:
                type: string
              decimals:
                type: integer
              minAmount:
                $ref: '#/components/schemas/Decimal'
              maxAmount:
                $ref: '#/components/schemas/Decimal'
              status:
                $ref: '#/components/schemas/CapabilityStatus'
              reason:
                type:
                - string
                - 'null'
        nativeOutputs:
          type: array
          items:
            type: object
            required:
            - chainId
            - assetId
            - symbol
            - decimals
            - status
            - minUsd
            - maxUsd
            - stepUsd
            - targets
            properties:
              chainId:
                $ref: '#/components/schemas/ChainId'
              assetId:
                $ref: '#/components/schemas/AssetId'
              symbol:
                type: string
              decimals:
                type: integer
              status:
                $ref: '#/components/schemas/CapabilityStatus'
              reason:
                type:
                - string
                - 'null'
              minUsd:
                $ref: '#/components/schemas/UsdAmount'
              maxUsd:
                $ref: '#/components/schemas/UsdAmount'
              stepUsd:
                $ref: '#/components/schemas/UsdAmount'
              targets:
                type: array
                description: Receiver kinds this output can deliver to.
                items:
                  type: object
                  required:
                  - kind
                  - status
                  properties:
                    kind:
                      type: string
                      enum:
                      - evm_address
                      - solana_address
                      - stellar_account_ready
                      - stellar_account_unfunded
                      - stellar_contract
                      - stellar_memo_required
                    status:
                      $ref: '#/components/schemas/CapabilityStatus'
                    reason:
                      type:
                      - string
                      - 'null'
        stableOutputs:
          type: array
          items:
            type: object
            required:
            - chainId
            - assetId
            - symbol
            - decimals
            - status
            - minAmount
            properties:
              chainId:
                $ref: '#/components/schemas/ChainId'
              assetId:
                $ref: '#/components/schemas/AssetId'
              symbol:
                type: string
              decimals:
                type: integer
              status:
                $ref: '#/components/schemas/CapabilityStatus'
              reason:
                type:
                - string
                - 'null'
              minAmount:
                $ref: '#/components/schemas/Decimal'
        routes:
          type: array
          description: Every allowed combination. A combination not listed is unsupported.
          items:
            type: object
            required:
            - mode
            - sourceChainId
            - sourceAssetId
            - status
            properties:
              mode:
                $ref: '#/components/schemas/Mode'
              sourceChainId:
                $ref: '#/components/schemas/ChainId'
              sourceAssetId:
                $ref: '#/components/schemas/AssetId'
              nativeChainId:
                oneOf:
                - $ref: '#/components/schemas/ChainId'
                - type: 'null'
              stableChainId:
                oneOf:
                - $ref: '#/components/schemas/ChainId'
                - type: 'null'
              stableAssetId:
                oneOf:
                - $ref: '#/components/schemas/AssetId'
                - type: 'null'
              status:
                $ref: '#/components/schemas/CapabilityStatus'
              reason:
                type:
                - string
                - 'null'
        limits:
          type: object
          required:
          - nativeMaxUsdPerOrder
          - sourceMaxUsdPerOrder
          - quoteTtlSeconds
          - confirmationGraceSeconds
          properties:
            nativeMaxUsdPerOrder:
              $ref: '#/components/schemas/UsdAmount'
            sourceMaxUsdPerOrder:
              $ref: '#/components/schemas/UsdAmount'
            quoteTtlSeconds:
              type: integer
            confirmationGraceSeconds:
              type: integer
        fees:
          type: object
          required:
          - nativeSpreadBps
          - nativeFixedFeeUsd
          - sharedFeeUsd
          - stableFeeBps
          properties:
            nativeSpreadBps:
              type: integer
            nativeFixedFeeUsd:
              $ref: '#/components/schemas/UsdAmount'
            sharedFeeUsd:
              $ref: '#/components/schemas/UsdAmount'
            stableFeeBps:
              type: integer
            externalSourceFee:
              type: string
              const: unknown
              description: Fees charged by the user's source wallet or exchange are outside this API.
        stellar:
          type: object
          required:
          - reserveModes
          - signerProfiles
          - onboardingTemplateVersion
          properties:
            reserveModes:
              type: array
              items:
                type: string
                enum:
                - sponsored
            onboardingTemplateVersion:
              type:
              - string
              - 'null'
            signerProfiles:
              type: array
              items:
                type: object
                required:
                - signerProfileId
                - wallet
                - templateVersion
                - status
                properties:
                  signerProfileId:
                    type: string
                  wallet:
                    type: string
                  walletVersion:
                    type:
                    - string
                    - 'null'
                  platform:
                    type:
                    - string
                    - 'null'
                  templateVersion:
                    type: string
                  status:
                    $ref: '#/components/schemas/CapabilityStatus'
    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
  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>`).