Market
#
Web3 Cloud API (1.0.0)
Download OpenAPI specification:Download
GetHistoricalCoinRateSnapshot
Get historical coin rate snapshot.
Authorizations:
(x-api-keyx-api-noncex-api-signature)
Request Body schema: application/json
timestamp | integer <int64> UnixTime. |
symbols | Array of strings Coin symbols. |
Responses
Request samples
- Payload
Content type
application/json
{- "timestamp": "1678794424",
- "symbols": [
- "ETH"
]
}
Response samples
- 200
- 500
Content type
application/json
{- "coin_rate_snapshot": {
- "coin_rate_snapshot_id": "3f80f049-b3be-4afd-ac46-1901d43232d7",
- "timestamp": "1678794424",
- "coin_rates": {
- "property1": {
- "values": [
- {
- "coin_market_cap_id": "1234",
- "name": "X Doge",
- "symbol": "X",
- "jpy": "0.1111",
- "usd": "0.1111",
- "platforms": [
- {
- "name": "Ethereum",
- "token_address": "0x5073781dc64ab7abc2e49a2c63b123a6498c7d3f"
}
]
}
]
}, - "property2": {
- "values": [
- {
- "coin_market_cap_id": "1234",
- "name": "X Doge",
- "symbol": "X",
- "jpy": "0.1111",
- "usd": "0.1111",
- "platforms": [
- {
- "name": "Ethereum",
- "token_address": "0x5073781dc64ab7abc2e49a2c63b123a6498c7d3f"
}
]
}
]
}
}
}
}
GetLatestCoinRateSnapshot
Get latest coin rate snapshot.
Authorizations:
(x-api-keyx-api-noncex-api-signature)
Request Body schema: application/json
symbols | Array of strings Coin symbols. |
Responses
Request samples
- Payload
Content type
application/json
{- "symbols": [
- "ETH"
]
}
Response samples
- 200
- 500
Content type
application/json
{- "coin_rate_snapshot": {
- "coin_rate_snapshot_id": "3f80f049-b3be-4afd-ac46-1901d43232d7",
- "timestamp": "1678794424",
- "coin_rates": {
- "property1": {
- "values": [
- {
- "coin_market_cap_id": "1234",
- "name": "X Doge",
- "symbol": "X",
- "jpy": "0.1111",
- "usd": "0.1111",
- "platforms": [
- {
- "name": "Ethereum",
- "token_address": "0x5073781dc64ab7abc2e49a2c63b123a6498c7d3f"
}
]
}
]
}, - "property2": {
- "values": [
- {
- "coin_market_cap_id": "1234",
- "name": "X Doge",
- "symbol": "X",
- "jpy": "0.1111",
- "usd": "0.1111",
- "platforms": [
- {
- "name": "Ethereum",
- "token_address": "0x5073781dc64ab7abc2e49a2c63b123a6498c7d3f"
}
]
}
]
}
}
}
}