API ReferenceGuidesChangelog
Prices

Adds a new asset by its CoinGecko id.

POST
/api/v2/prices/assets/add_by_gecko

Authorization

api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v2/prices/assets/add_by_gecko" \  -H "Content-Type: application/json" \  -d '{}'
{  "addresses": [    {      "address": "string",      "chain": "string"    }  ],  "assetId": "string",  "currentPrice": 0.1,  "message": "string",  "status": "OK",  "symbol": "string",  "timestamp": "2019-08-24T14:15:22Z"}