Kite
API ReferencePrice feeds

Add a Chainlink price feed

POST
/api/price-feeds

Authorization

rootKey
headerx-kite-root-key<token>

The server's root key. Grants access to every endpoint; add x-kite-app-id to act as one app

Request Body

application/json
  1. body
chainId*string
Formatuuid
address*string
Match^0x[0-9a-fA-F]{40}$

Response Body

Response for status 201

application/json
  1. response
id*string
Formatuuid
chainId*string
Formatuuid
baseCurrency*string
quoteCurrency*string
address*string
Match^0x[0-9a-fA-F]{40}$
decimals*integer
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X POST 'https://testnet.usekite.site/api/price-feeds' \  -H 'Content-Type: application/json' \  -d '{  "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd",  "address": "string"}'
Example Response201
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd",  "baseCurrency": "string",  "quoteCurrency": "string",  "address": "string",  "decimals": 0,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}