curl --request GET \
--url https://api.amberdata.com/arc/updates \
--header 'x-api-key: <api-key>'
{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": null
},
"data": {
"updateType": "instruments",
"updates": [
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASSUSDT",
"exchange": "bitget",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASSUSDT",
"exchange": "bybit",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASS/USDT",
"exchange": "huobi",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASSUSDT",
"exchange": "mexc",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASS_USDT",
"exchange": "poloniex",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
}
]
}
}
}
Retrieve the latest updates of assets and instruments added to ARC.
curl --request GET \
--url https://api.amberdata.com/arc/updates \
--header 'x-api-key: <api-key>'
{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": null
},
"data": {
"updateType": "instruments",
"updates": [
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASSUSDT",
"exchange": "bitget",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASSUSDT",
"exchange": "bybit",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASS/USDT",
"exchange": "huobi",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASSUSDT",
"exchange": "mexc",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
},
{
"arcInstrumentId": "AMB:GRA000000002_AMB:USD000000335",
"arcInstrument": "grass_usdt",
"baseAssetSymbol": "grass",
"nativeInstrument": "GRASS_USDT",
"exchange": "poloniex",
"assetName": "Grass",
"assetArcId": "AMB:GRA000000002",
"quoteArcId": "AMB:USD000000335",
"instrumentType": "spot"
}
]
}
}
}
assets
, instruments
Represent timestamps in epoch milliseconds or human readable ISO format.
iso8601
Look back cutoff for updates made to the ARC dataset, represented in ISO format.<br><br>P1D
represents 24 hrs (1 day) and P7D
represents 7 days.
P1D
, P7D
200
The response is of type object
.
Was this page helpful?