PerformanceBlog
Tempo MCP serverGive agents search and read tools for Tempo docs
Skip to content
LogoLogo

CoinGecko

Exchange data in CoinGecko's GeckoTerminal format.

List trading pairs

GET/gecko/{chainId}/pairs

Lists Tempo stablecoin DEX trading pairs in GeckoTerminal format.

Path Parameters

chainIdRequired

Which Tempo network to query. Use the alias mainnet or testnet, or a numeric chain id (mainnet is 4217).

Query Parameters

limit
integer·min 1·max 500·default 50

Maximum number of pairs to return. Defaults to 50 and is capped at 500.

Example50

Responses

List swap events

GET/gecko/{chainId}/events

Returns Tempo DEX swap events over a block range in GeckoTerminal format.

Path Parameters

chainIdRequired

Which Tempo network to query. Use the alias mainnet or testnet, or a numeric chain id (mainnet is 4217).

Query Parameters

fromBlock
integer·min 0·max 9007199254740991

First block to include. Defaults to toBlock minus 1000.

Example23456789
toBlock
integer·min 0·max 9007199254740991

Last block to include. Defaults to the latest indexed block.

Example23456999

Responses

Get latest indexed block

GET/gecko/{chainId}/latest-block

Returns the latest indexed Tempo block in GeckoTerminal format so DEX data tools know where to start polling.

Path Parameters

chainIdRequired

Which Tempo network to query. Use the alias mainnet or testnet, or a numeric chain id (mainnet is 4217).

Responses

Get asset

GET/gecko/{chainId}/assets/{address}

Returns one TIP-20 asset by contract address in GeckoTerminal format.

Path Parameters

chainIdRequired

Which Tempo network to query. Use the alias mainnet or testnet, or a numeric chain id (mainnet is 4217).

addressRequired
string

TIP-20 token contract address for the asset.

Example0x20c0000000000000000000000000000000000000

Responses

Get trading pair

GET/gecko/{chainId}/pairs/{pairId}

Returns one Tempo stablecoin DEX trading pair in GeckoTerminal format.

Path Parameters

chainIdRequired

Which Tempo network to query. Use the alias mainnet or testnet, or a numeric chain id (mainnet is 4217).

pairIdRequired
string

32-byte onchain order-book key for this trading pair.

Example0x44f7b8011db3e3647a530b4ff635726de5fafc8fa8ad10f0f31c0eb9dd52fc65

Responses