Skip to content

Get Coingecko events

GET /api/coingecko/events
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": "{}"
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

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