Skip to content

Get CoinGecko Events

GET /api/coingecko/events
Get a free API key →
curl
NameInTypeRequiredDescription
fromBlockqueryintegerstart block
toBlockqueryintegerend block

Media: application/json

Schema
{
"type": "object",
"required": [
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"block",
"eventType",
"txnId",
"txnIndex",
"eventIndex",
"maker",
"pairId",
"priceNative",
"reserves"
],
"properties": {
"asset0In": {
"type": "string",
"nullable": true
},
"asset0Out": {
"type": "string",
"nullable": true
},
"asset1In": {
"type": "string",
"nullable": true
},
"asset1Out": {
"type": "string",
"nullable": true
},
"block": {
"type": "object",
"required": [
"blockNumber",
"blockTimestamp"
],
"properties": {
"blockNumber": {
"type": "integer",
"format": "int32"
},
"blockTimestamp": {
"type": "integer",
"format": "int64"
}
}
},
"eventIndex": {
"type": "integer",
"format": "int32"
},
"eventType": {
"type": "string"
},
"maker": {
"type": "string"
},
"pairId": {
"type": "string"
},
"priceNative": {
"type": "string"
},
"reserves": {
"type": "object",
"required": [
"asset0",
"asset1"
],
"properties": {
"asset0": {
"type": "string"
},
"asset1": {
"type": "string"
}
}
},
"txnId": {
"type": "string"
},
"txnIndex": {
"type": "integer",
"format": "int32"
}
}
}
}
}
}
Examples
{
"Result": {
"value": "{}"
}
}

All Taostats API requests require an Authorization header containing your API key. See Getting Started.