Assets

Fetch Asset Prices

Changed on

Fetch the prices of assets.

post/api/v1/assets/prices

Request

  • Base URL: https://api.fordefi.com
  • URL: https://api.fordefi.com/api/v1/assets/prices
  • Auth: HTTP bearer

Request body

Example request

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

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required

Changes

    • breaking

      the ////// request property's minLength was increased from 0 to 1

    • breaking

      the ////// request property's minLength was increased from 0 to 1

    • breaking

      the /////// request property's minLength was increased from 70 to 71

    • breaking

      the ////// request property's minLength was increased from 0 to 1

    • breaking

      the ///// request property's minLength was increased from 0 to 1

    • breaking

      the ///// request property's minLength was increased from 0 to 1

    • breaking

      the /// request property's minLength was increased from 0 to 1

    • breaking

      added the pattern ^0[xX][a-fA-F0-9]+$ to the request property //////

    • breaking

      added the pattern ^[a-zA-Z0-9_-]+::12[a-fA-F0-9]{66}$ to the request property ///////

    • breaking

      the ////////// response property's maxLength was increased from 251 to 255 for the response status

    • breaking

      the ///////// response property's maxLength was increased from 251 to 255 for the response status

    • warning

      the ////// request property's maxLength was set to 66

    • warning

      the ///// request property's max was set to 18446744073709551616.00

    • warning

      the ///// request property's min was set to 0.00

    • info

      the /////// request property's maxLength was increased from 251 to 255

    • info

      the ///////// response's property pattern ^0[xX][a-fA-F0-9]+$ was added for the status

    • info

      the ////////// response's property pattern ^[a-zA-Z0-9_-]+::12[a-fA-F0-9]{66}$ was added for the status

    • info

      the //////// response's property pattern ^0[xX][a-fA-F0-9]+$ was added for the status

    • info

      the ///////// response's property pattern ^[a-zA-Z0-9_-]+::12[a-fA-F0-9]{66}$ was added for the status

    • info

      added the optional property /////// to the response with the status