Assets

Fetch Asset Prices

Fetch the prices of assets.

post/api/v1/assets/prices

Request body

Example request

{
  "asset_identifiers": [
    {
      "details": {
        "token": {
          "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
        }
      }
    }
  ]
}

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required

Changes

Changed in 2 of the 7 revisions of this API.287

  • 61a784d5855024See the full diff
    • added RippleAssetIdentifier to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier response property oneOf list for the response status 200

      response-property-one-of-added

    • added RippleAssetIdentifierRequest to the priced_assets/items/oneOf[subschema #2: InvalidAssetRequest]/asset_identifier_request response property oneOf list for the response status 200

      response-property-one-of-added

    • added ripple discriminator mapping keys to the asset_identifiers/items/ request property

      request-property-discriminator-mapping-added

    • added RippleAssetIdentifierRequest to the asset_identifiers/items/ request property oneOf list

      request-property-one-of-added

    • added ripple discriminator mapping keys to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier response property for the response status 200

      response-property-discriminator-mapping-added

    • added ripple discriminator mapping keys to the priced_assets/items/oneOf[subschema #2: InvalidAssetRequest]/asset_identifier_request response property for the response status 200

      response-property-discriminator-mapping-added

    • added the new exchange_paxos enum value to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier/oneOf[subschema #6: ExchangeAssetIdentifier]/chain/unique_id response property for the response status 200

      response-property-enum-value-added

    • added the new paxos enum value to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier/oneOf[subschema #6: ExchangeAssetIdentifier]/exchange_type response property for the response status 200

      response-property-enum-value-added

    • added the new paxos enum value to the priced_assets/items/oneOf[subschema #2: InvalidAssetRequest]/asset_identifier_request/oneOf[subschema #6: ExchangeAssetIdentifierRequest]/exchange_type response property for the response status 200

      response-property-enum-value-added

    • added the new ton_testnet enum value to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier/oneOf[subschema #12: TonAssetIdentifier]/chain/unique_id response property for the response status 200

      response-property-enum-value-added

    • added the new ton_testnet enum value to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier/oneOf[subschema #12: TonAssetIdentifier]/details/oneOf[subschema #1: TonNativeAssetIdentifierRequest]/chain response property for the response status 200

      response-property-enum-value-added

    • added the new ton_testnet enum value to the priced_assets/items/oneOf[subschema #1: PricedAsset]/asset_info/asset_identifier/oneOf[subschema #12: TonAssetIdentifier]/details/oneOf[subschema #2: TonJettonAssetIdentifierRequest]/jetton/chain response property for the response status 200

      response-property-enum-value-added

    • added the new ton_testnet enum value to the priced_assets/items/oneOf[subschema #2: InvalidAssetRequest]/asset_identifier_request/oneOf[subschema #12: TonAssetIdentifierRequest]/details/oneOf[subschema #1: TonNativeAssetIdentifierRequest]/chain response property for the response status 200

      response-property-enum-value-added

    • added the new ton_testnet enum value to the priced_assets/items/oneOf[subschema #2: InvalidAssetRequest]/asset_identifier_request/oneOf[subschema #12: TonAssetIdentifierRequest]/details/oneOf[subschema #2: TonJettonAssetIdentifierRequest]/jetton/chain response property for the response status 200

      response-property-enum-value-added

    • added the new paxos enum value to the request property asset_identifiers/items/oneOf[subschema #6: ExchangeAssetIdentifierRequest]/exchange_type

      request-property-enum-value-added

    • added the new ton_testnet enum value to the request property asset_identifiers/items/oneOf[subschema #12: TonAssetIdentifierRequest]/details/oneOf[subschema #1: TonNativeAssetIdentifierRequest]/chain

      request-property-enum-value-added

    • added the new ton_testnet enum value to the request property asset_identifiers/items/oneOf[subschema #12: TonAssetIdentifierRequest]/details/oneOf[subschema #2: TonJettonAssetIdentifierRequest]/jetton/chain

      request-property-enum-value-added