crypto

OHLCV candlesticks for a DEX pool (via GeckoTerminal...

OHLCV candlesticks for a DEX pool (via GeckoTerminal, free/keyless). Pass network + pool address + timeframe (day/hour/minute) with optional aggregate (e.g. 4 = 4-hour) and limit. Returns time/open/high/low/close/volumeUsd bars for on-chain technical analysis. Pair with crypto.dex-pools / dex-token-pools to find a pool address.

get/api/crypto/dex-ohlcv

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/crypto/dex-ohlcv
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

networkstring required

Network.

addressstring required

Pool address (not token address).

timeframe'day' | 'hour' | 'minute'

Timeframe.

aggregateinteger

Aggregate.

limitinteger

Maximum number of results to return.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.