Get supported assets

GET /assets

Retrieve the list of supported assets.

Query parameters

  • page_number number

    The page number retrieved in the paginated results. The default value is 1.

  • page_size number

    The number of items to include in each page of the paginated results. The default value is 100.

  • sort string

    The sort field used to filter data.

    Values are created_at, asset_name, asset_code, asset_type, or network_name. Default value is created_at.

Responses

  • 200

    List of all assets

    Hide response attributes Show response attributes object
    • meta object Required
      Hide meta attributes Show meta attributes object
      • request_id string Required

        Unique identifier generated by the server.

        Format should match the following pattern: [0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}.

      • query_parameters object

        Information about the parameters in the request. All query string parameters provided (or implicit/with default value) will be returned

    • data array[object]

      Asset data

      Hide data attributes Show data attributes array[object]
      • type string

        Value is asset.

      • asset_code string

        The symbol/ticker of the crypto asset.

        Format should match the following pattern: ([A-Z_]){3,}.

      • attributes object
        Hide attributes attributes Show attributes attributes object
        • asset_name string

          The name of the asset.

        • decimals integer

          The maximum number of decimal places for the given asset.

        • asset_type string

          Values are digital or fiat.

        • network_name string

          Name of network

        • native_asset string

          The primary and native cryptocurrency of a specific blockchain. Examples of native_asset include 'ETH' for Ethereum, 'Bitcoin' for Bitcoin blockchain, and 'MATIC' for Polygon.

GET /assets
curl \
 -X GET https://api.fipto.app/assets
Response examples (200)
{
  "meta": {
    "request_id": "string",
    "query_parameters": {}
  },
  "data": [
    {
      "type": "asset",
      "asset_code": "BTC",
      "attributes": {
        "asset_name": "Bitcoin",
        "decimals": 8,
        "asset_type": "digital",
        "network_name": "Bitcoin",
        "native_asset": "string"
      }
    }
  ]
}
Response examples (200)
{
  "meta": {
    "request_id": "string",
    "query_parameters": {}
  },
  "data": [
    {
      "type": "asset",
      "asset_code": "BTC",
      "attributes": {
        "asset_name": "Bitcoin",
        "decimals": 8,
        "asset_type": "digital",
        "network_name": "Bitcoin",
        "native_asset": "string"
      }
    }
  ]
}