Get the latest price for several tokens

Get price for several tokens

GET https://api.redstone.finance/prices

Query Parameters

{
  "AR": {
    "id": "f90a80ef-9257-4738-9c1a-8f811a2cbe43",
    "symbol": "AR",
    "provider": "I-5rWUehEv-MjdK9gFw09RxfSLQX9DIHxG614Wf8qo0",
    "value": 89.004,
    "signature": "mock+signaturQ==",
    "permawebTx": "mock-permaweb-tx",
    "version": "2",
    "source": {
      "test": 123
    },
    "timestamp": 1619370953504,
    "providerPublicKey": "xyz..."
  },
  "BTC": {
    "id": "6e249694-4a32-48bb-8bea-6b14e28406f9",
    "symbol": "BTC",
    "provider": "I-5rWUehEv-MjdK9gFw09RxfSLQX9DIHxG614Wf8qo0",
    "value": 92.912,
    "signature": "mock+signaturQ==",
    "permawebTx": "mock-permaweb-tx",
    "version": "2",
    "source": {
      "test": 123
    },
    "timestamp": 1619370953504,
    "providerPublicKey": "xyz..."
  },
  "ETH": {
    "id": "23acb6ed-ca71-418b-bfba-87cc8d6efa73",
    "symbol": "ETH",
    "provider": "I-5rWUehEv-MjdK9gFw09RxfSLQX9DIHxG614Wf8qo0",
    "value": 21.104,
    "signature": "mock+signaturQ==",
    "permawebTx": "mock-permaweb-tx",
    "version": "2",
    "source": {
      "test": 123
    },
    "timestamp": 1619370953504,
    "providerPublicKey": "xyz..."
  }
}

Examples

Get the latest prices for AR, BTC and ETH tokens

curl "https://api.redstone.finance/prices?symbols=AR,BTC,ETH&provider=redstone"

Last updated