Data Item Price
Overview
Each data-item in our system is updated with the latest price according to their price update interval. Use this API to fetch the latest price of a data-item.
Endpoint
GET /data-items/:item_id/price
Headers
| param | required | default | description |
|---|---|---|---|
X-SS-EXTERNAL-TOKEN | Y | - | Your Auth Token |
HTTP Example
GET /api/v2.1/data-items/170/price HTTP/1.1
Host: https://api.sourcesage.co
X-SS-EXTERNAL-TOKEN: <YOUR-TOKEN-GOES-HERE>
Response
{
"created_at": "2020-03-20 10:22:43",
"current_price": 960.55,
"id": 96631
}