Figment Stablecoins API

The Stablecoins API from Figment, for stablecoins.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /opentrade/rewards Rewards #
POST /opentrade/vaults/{vault_address}/approve Approve #
GET /opentrade/vaults/{vault_address}/balances/{address} Balances #
POST /opentrade/vaults/{vault_address}/deposit Deposit #
POST /opentrade/vaults/{vault_address}/redeem Redeem #
GET /opentrade/{vault_address}/apr Annual Percentage Rate #

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/figmentnetworks:figmentnetworks-stablecoins-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

figmentnetworks-stablecoins-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Figment Stablecoins API
  version: 2.0.0+1556.1
  termsOfService: https://figment.io/staking-terms-of-use
servers:
- url: https://api.figment.io
tags:
- name: Stablecoins
paths:
  /opentrade/rewards:
    post:
      summary: Rewards
      tags:
      - Stablecoins
      operationId: get-opentrade-rewards
      parameters: []
      responses:
        '200':
          description: Got rewards
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        address:
                          type: string
                          description: Address that received rewards
                        vault:
                          type: string
                          description: Vault address that received rewards
                        currency:
                          type: string
                          example: USDC
                          enum:
                          - USDC
                          - USDT
                          description: Vault currency the reward is denominated in
                        reward:
                          type: number
                          example: 0.02
                          description: Reward amount in the vault currency
                        reward_usd:
                          type: number
                          example: 0.02
                          description: Reward amount in USD
                        total_staked:
                          type: number
                          example: 2
                          description: Total staked to the vault, in the vault currency
                        timestamp:
                          type: string
                          example: '2024-10-24T00:01:00Z'
                          description: Timestamp when reward happened
        '401':
          description: Invalid API key
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                network:
                  type: string
                  example: mainnet
                  enum:
                  - mainnet
                  description: Network Rewards are on.
                start:
                  type: string
                  example: '2024-10-10'
                  description: Rewards received on or after this date
                end:
                  type: string
                  example: '2024-10-16'
                  description: Rewards received on or before this date
              required:
              - network
              - start
              - end
        required: true
  /opentrade/vaults/{vault_address}/approve:
    parameters:
    - name: vault_address
      in: path
      description: Vault address
      example: '0xe1b1252652A2FF0CC3A4214eE73d9FeD1FEa5b4f'
      required: true
      schema:
        type: string
    post:
      summary: Approve
      tags:
      - Stablecoins
      operationId: opentrade-approve-tx
      parameters: []
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      signing_payload:
                        type: string
                        example: '0x4e9e36c3032c59ff3dc186713ca6faad075c2c328182b207cda3b064ebd05690'
                        description: Hex encoded payload to sign
                      unsigned_transaction_serialized:
                        type: string
                        example: '0x02f87183aa36a781c38459682f008459682f1a8301b77494fd4f11a2aae86165050688c85ec9ed6210c427a980b844095ea7b3000000000000000000000000d1f0774ccff0ce4f36dea57b6a28ab7feb0a01b00000000000000000000000000000000000000000000000000000000005f5e100c0'
                        description: Hex encoding of the built transaction
                      network:
                        type: string
                        example: mainnet
                        description: Network name
        '422':
          description: Existing USDT allowance is non-zero
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                        example: The record is invalid
                      details:
                        type: array
                        items:
                          type: object
                          required:
                          - param
                          - message
                          - context
                          - code
                          properties:
                            param:
                              type: string
                              example: example_field
                            message:
                              type: string
                              example: The example_field property has an incorrect value. Must be one of X, Y, or Z.
                            code:
                              type:
                              - integer
                              - string
                              example: 1000
                            context:
                              type: object
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                depositor_address:
                  type: string
                  example: '0xF54F2Ddb122F52456E9344d0Ac2F72C7DeB048D3'
                  description: Address of the depositor
                amount:
                  type: string
                  example: '1000'
                  description: Amount to approve, in the vault currency. Accepts whole numbers or decimals (e.g. 1000 or 1000.20). Pass 0 to reset an existing allowance to zero — required before re-approving a USDT vault if the previous request returned USDT_ALLOWANCE_RESET_REQUIRED
                network:
                  type: string
                  example: mainnet
                  description: Network to approve on
  /opentrade/vaults/{vault_address}/balances/{address}:
    parameters:
    - name: vault_address
      in: path
      description: Vault address
      example: '0xe1b1252652A2FF0CC3A4214eE73d9FeD1FEa5b4f'
      required: true
      schema:
        type: string
    - name: address
      in: path
      description: Address of the depositor
      example: '0xf54f2ddb122f52456e9344d0ac2f72c7deb048d3'
      required: true
      schema:
        type: string
    get:
      summary: Balances
      tags:
      - Stablecoins
      operationId: opentrade-get-address-balance
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      token_balance:
                        type: string
                        example: '114781689324'
                        description: Vault shares held by the account
                      asset_balance:
                        type: string
                        example: '119399097449'
                        description: Underlying asset value of vault shares
                      asset_symbol:
                        type: string
                        example: MUSDC
                        description: Symbol of the underlying asset
                      requested_shares_of:
                        type: string
                        example: '2014000600'
                        description: Shares requested for withdrawal
                      requested_assets_of:
                        type: string
                        example: '2091559517'
                        description: Assets requested for withdrawal
                      exchange_rate:
                        type: string
                        example: '1040227741482692591'
                        description: Exchange rate between shares and assets
        '404':
          description: Vault not found
        '422':
          description: Invalid address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
  /opentrade/vaults/{vault_address}/deposit:
    parameters:
    - name: vault_address
      in: path
      description: Vault address
      example: '0xe1b1252652A2FF0CC3A4214eE73d9FeD1FEa5b4f'
      required: true
      schema:
        type: string
    post:
      summary: Deposit
      tags:
      - Stablecoins
      operationId: opentrade-deposit-tx
      parameters: []
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      signing_payload:
                        type: string
                        example: '0xd7461f48930e9619e09ac0bb972638cd177dc665e4cda24b737e2aca802ca5fd'
                        description: Hex encoded payload to sign
                      unsigned_transaction_serialized:
                        type: string
                        example: '0x02f87183aa36a781c38459682f008459682f1a8304e43d94d1f0774ccff0ce4f36dea57b6a28ab7feb0a01b080b8446e553f65000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000f54f2ddb122f52456e9344d0ac2f72c7deb048d3c0'
                        description: Hex encoding of the built transaction
                      network:
                        type: string
                        example: mainnet
                        description: Network name
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                depositor_address:
                  type: string
                  example: '0xF54F2Ddb122F52456E9344d0Ac2F72C7DeB048D3'
                  description: Address of the depositor
                assets:
                  type: string
                  example: '1000'
                  description: Amount of USDC to deposit. Accepts whole numbers or decimals (e.g. 1000 or 1000.20)
                network:
                  type: string
                  example: mainnet
                  description: Network to deposit on
  /opentrade/vaults/{vault_address}/redeem:
    parameters:
    - name: vault_address
      in: path
      description: Vault address
      example: '0xe1b1252652A2FF0CC3A4214eE73d9FeD1FEa5b4f'
      required: true
      schema:
        type: string
    post:
      summary: Redeem
      tags:
      - Stablecoins
      operationId: opentrade-redeem-tx
      parameters: []
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      signing_payload:
                        type: string
                        example: '0xea7cfc66127908a67dd48553d330151f0e437601659d69532ec8f9b9170e6bd0'
                        description: Hex encoded payload to sign
                      unsigned_transaction_serialized:
                        type: string
                        example: '0x02f85083aa36a781c38459682f008459682f1a830802c894d1f0774ccff0ce4f36dea57b6a28ab7feb0a01b080a4aa2f892d00000000000000000000000000000000000000000000000000000000386dbda8c0'
                        description: Hex encoding of the built transaction
                      network:
                        type: string
                        example: mainnet
                        description: Network name
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                depositor_address:
                  type: string
                  example: '0xF54F2Ddb122F52456E9344d0Ac2F72C7DeB048D3'
                  description: Address of the depositor
                assets:
                  type: string
                  example: '100'
                  description: Amount of USDC to redeem. Accepts whole numbers or decimals (e.g. 100 or 100.20)
                network:
                  type: string
                  example: mainnet
                  description: Network to redeem on
  /opentrade/{vault_address}/apr:
    get:
      summary: Annual Percentage Rate
      tags:
      - Stablecoins
      operationId: opentrade-apr
      parameters:
      - name: vault_address
        in: path
        schema:
          type: string
        description: The vault address to get APR for
        example: '0xe1b1252652A2FF0CC3A4214eE73d9FeD1FEa5b4f'
        required: true
      - name: avg
        in: query
        schema:
          type: string
          enum:
          - 30d
          - 90d
          - ytd
          default: 30d
        description: 'The yield period: 30d (30-day trailing), 90d (90-day trailing), ytd (year-to-date). Defaults to 30d.'
        example: 30d
        required: false
      - name: decimal
        in: query
        schema:
          type: integer
          default: 2
        description: Number of decimal places in the value (2–5). Defaults to 2.
        example: 2
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          description: Date of the yield metrics
                        value:
                          type: string
                          nullable: true
                          description: Annualized simple yield for the chosen period
                example:
                  data:
                  - date: '2026-03-30'
                    value: '5.53'
        '401':
          description: Invalid API key
components:
  schemas:
    error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: The record is invalid
            details:
              type: array
              items:
                type: object
                required:
                - param
                - message
                - context
                - code
                properties:
                  param:
                    type: string
                    example: example_field
                  message:
                    type: string
                    example: The example_field property has an incorrect value. Must be one of X, Y, or Z.
                  code:
                    type:
                    - integer
                    - string
                    example: 1000
                  context:
                    type: object
x-provenance:
  method: searched
  source: https://docs.figment.io/reference
  harvested: '2026-12-01'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.figment.io/reference/ada-rewards.md
  - https://docs.figment.io/reference/add-blockfrost-project.md
  - https://docs.figment.io/reference/address-fee-history.md
  - https://docs.figment.io/reference/all-validators.md
  - https://docs.figment.io/reference/atom-rewards.md
  - https://docs.figment.io/reference/broadcast-avalanche-tx.md
  - https://docs.figment.io/reference/broadcast-cosmos-tx.md
  - https://docs.figment.io/reference/broadcast-exit-message.md
  - https://docs.figment.io/reference/broadcast-staking-tx.md
  - https://docs.figment.io/reference/broadcast-sui-tx.md
  - https://docs.figment.io/reference/build-avalanche-delegate-tx.md
  - https://docs.figment.io/reference/build-avalanche-export-tx.md
  - https://docs.figment.io/reference/build-avalanche-import-tx.md
  - https://docs.figment.io/reference/build-avalanche-self-bond-tx.md
  - https://docs.figment.io/reference/build-solana-merge-tx.md
  - https://docs.figment.io/reference/build-solana-split-tx.md
  - https://docs.figment.io/reference/build-sui-stake-tx.md
  - https://docs.figment.io/reference/cardano-broadcast-fireblocks-transaction.md
  - https://docs.figment.io/reference/cardano-broadcast-transaction.md
  - https://docs.figment.io/reference/cardano-delegate.md
  - https://docs.figment.io/reference/cardano-epoch.md
  - https://docs.figment.io/reference/cardano-pools.md
  - https://docs.figment.io/reference/cardano-rewards-withdrawals.md
  - https://docs.figment.io/reference/cardano-srr.md
  - https://docs.figment.io/reference/cardano-transfer.md
  - https://docs.figment.io/reference/cardano-transfers.md
  - https://docs.figment.io/reference/cardano-unstake.md
  - https://docs.figment.io/reference/cardano-withdraw-rewards.md
  - https://docs.figment.io/reference/create-pectra-validators.md
  - https://docs.figment.io/reference/createcosmosclaimrewardstransaction.md
  - https://docs.figment.io/reference/createcosmosdelegatetransaction.md
  - https://docs.figment.io/reference/createcosmostransfertransaction.md
  - https://docs.figment.io/reference/createcosmosundelegatetransaction.md
  - https://docs.figment.io/reference/eth-rewards-rates.md
  - https://docs.figment.io/reference/eth-rewards.md
  - https://docs.figment.io/reference/eth-withdrawals.md
  - https://docs.figment.io/reference/ethereum-activities-v2.md
  - https://docs.figment.io/reference/ethereum-activity-v2.md
  - https://docs.figment.io/reference/ethereum-compound-transaction.md
  - https://docs.figment.io/reference/ethereum-consolidation-transaction.md
  - https://docs.figment.io/reference/ethereum-network-estimates.md
  - https://docs.figment.io/reference/ethereum-validators-summary.md
  - https://docs.figment.io/reference/ethereum-withdrawal-transaction.md
  - https://docs.figment.io/reference/exit-validators.md
  - https://docs.figment.io/reference/get-addresses.md
  - https://docs.figment.io/reference/get-avalanche-rewards.md
  - https://docs.figment.io/reference/get-blockfrost-projects.md
  - https://docs.figment.io/reference/get-cardano-rewards.md
  - https://docs.figment.io/reference/get-ethereum-net-rewards.md
  - https://docs.figment.io/reference/get-opentrade-rewards.md
  - https://docs.figment.io/reference/get-solana-activity.md
  - https://docs.figment.io/reference/get-statements.md
  - https://docs.figment.io/reference/get-sui-rewards.md
  - https://docs.figment.io/reference/get-validator.md
  - https://docs.figment.io/reference/get-validators.md
  - https://docs.figment.io/reference/matic-rewards.md
  - https://docs.figment.io/reference/near-broadcast-tx.md
  - https://docs.figment.io/reference/near-delegate.md
  - https://docs.figment.io/reference/near-get-stakes.md
  - https://docs.figment.io/reference/near-rewards.md
  - https://docs.figment.io/reference/near-undelegate.md
  - https://docs.figment.io/reference/near-withdraw.md
  - https://docs.figment.io/reference/opentrade-approve-tx.md
  - https://docs.figment.io/reference/opentrade-apr.md
  - https://docs.figment.io/reference/opentrade-deposit-tx.md
  - https://docs.figment.io/reference/opentrade-get-address-balance.md
  - https://docs.figment.io/reference/opentrade-redeem-tx.md
  - https://docs.figment.io/reference/polkadot-add-nomination-proxy.md
  - https://docs.figment.io/reference/polkadot-revoke-nomination-proxy.md
  - https://docs.figment.io/reference/polkadot-rewards-rates.md
  - https://docs.figment.io/reference/polkadot-rewards.md
  - https://docs.figment.io/reference/remove-blockfrost-projects.md
  - https://docs.figment.io/reference/sol-rewards-rates.md
  - https://docs.figment.io/reference/sol-rewards.md
  - https://docs.figment.io/reference/solana-activities.md
  - https://docs.figment.io/reference/solana-broadcast.md
  - https://docs.figment.io/reference/solana-stake.md
  - https://docs.figment.io/reference/solana-stakes.md
  - https://docs.figment.io/reference/solana-undelegate.md
  - https://docs.figment.io/reference/solana-withdraw.md
  - https://docs.figment.io/reference/sui-get-stakes.md
  - https://docs.figment.io/reference/sui-srr.md
  - https://docs.figment.io/reference/sui-withdraw-tx.md
  - https://docs.figment.io/reference/track-address.md
  merge:
    pages: 84
    deduped: 37
    conflicts_kept_first: 0