REST & RealtimeMarket Data

Layer 1 — Market Data

Live swaps and candles plus current liquidity structure across all supported DEX protocols. Parsed directly from Solana’s transaction stream.

Includes all Free tier endpoints.

Rate limits: 100 REST req/min, 500,000 calls a month included, 5 WebSocket connections, 50 subscriptions per connection.


WebSocket Streams

events.token.{mint}.chart_tick

Channel: token:{mint}:ticks

Raw trade ticks published as the swap pipeline processes them, with no intentional batching delay.

  • Fields: signature, wallet, direction, token_amount, sol_amount, price, dex_type, timestamp
  • No batching — published immediately on swap detection
  • Covers all supported DEX protocols

events.token.{mint}.ohlcv.{view}.{tf}

Channel: token:{mint}:ohlcv:{view}:{tf}

OHLCV candle stream at multiple timeframes.

  • Timeframes: 1s, 1m, 5m, 15m, 1h
  • Views: full (all trades), filtered (bot/wash removed)
  • Outlier-filtered to reject anomalous price spikes
  • Deduplicated to prevent double-counting

events.token.{mint}.tape

Channel: token:{mint}:trades

Last 50 trades per token, maintained as a rolling window.

  • Includes: wallet, direction, amounts, dex_type, fees

REST Endpoints

GET /v1/token/{mint}/info

Focused validation state for a token.

{
  "token_mint": "EPjFWd...",
  "is_validated": true,
  "is_suspicious": false,
  "is_high_risk": false,
  "validation_reason": null
}

validation_reason is nullable. Cache TTL: 300 seconds.


GET /v1/token/{mint}/liquidity

Current exit-liquidity intelligence for an agent evaluating whether token inventory can leave the pool.

Parameters

ParameterInTypeRequiredDescription
mintpathstringyesToken mint, pool address, or resolvable identifier

Response

{
  "token_mint": "EPjFWd...",
  "depth": {
    "venue": "amm_actual",
    "token_reserve_ui": 8200000.0,
    "quote_reserve_sol": 412.5,
    "liquidity_usd": null,
    "reserve_slot": 245678901,
    "updated_at_ms": 1775574600000
  },
  "lock": {
    "status": "burned",
    "burn_pct": 1.0,
    "lock_pct": null,
    "verified_at": "2026-04-07 14:30:00+00"
  },
  "dump_impact_pct": 0.31,
  "exit_capacity": {
    "usd_at_10": null,
    "usd_at_25": null,
    "usd_at_50": null,
    "sol_at_10": 21.72,
    "sol_at_25": 55.26,
    "sol_at_50": 120.82
  }
}
  • depth is null when the reserve snapshot is missing, unusable, or stale beyond the API’s freshness gates.
  • dump_impact_pct is a fraction: 0.31 means 31% modeled price impact if all coordinated inventory sold.
  • exit_capacity.sol_at_* is only returned for vetted constant-product reserve shapes.
  • USD fields are intentionally null; the API does not invent a SOL/USD quote on this read path.
  • depth.updated_at_ms is Unix time in milliseconds, e.g. 1775574600000.
  • lock.verified_at is UTC text as Postgres prints it, YYYY-MM-DD HH:MM:SS.ffffff+00 (up to six fractional digits, none when zero), e.g. 2026-11-09 21:30:41.542896+00. It is not RFC 3339.

Cache TTL: 5 seconds. Use token:{mint}:ticks or 1-second OHLCV when the agent also needs a current observed trade price.


GET /v1/token/{mint}/ohlcv

Historical OHLCV candle data.

Parameters

ParameterInTypeRequiredDefaultConstraints
mintpathstringyes——
timeframequerystringno1m1s, 1m, 5m, 15m, 1h
viewquerystringnofullfull, filtered
fromqueryintegerno—Unix milliseconds
toqueryintegerno—Unix milliseconds
limitqueryintegerno500Max 2000

Example

curl -H "Authorization: Bearer $API_KEY" \
  "https://api.conyr.ai/v1/token/EPjFWd.../ohlcv?timeframe=5m&view=filtered&limit=100"

Response

{
  "candles": [
    {
      "bucket": "2026-03-07 14:30:00+00",
      "open": 0.00234,
      "high": 0.00256,
      "low": 0.00228,
      "close": 0.00245,
      "volume_token": 5000000.0,
      "volume_usd": 11725.0,
      "num_trades": 42,
      "buy_volume": 3200000.0,
      "sell_volume": 1800000.0,
      "vwap": 0.002345
    }
  ],
  "token_mint": "EPjFWd...",
  "timeframe": "5m",
  "view": "filtered"
}
  • bucket is the candle’s start, UTC text as Postgres prints it: YYYY-MM-DD HH:MM:SS+00 (a space, whole seconds, then +00), e.g. 2026-11-23 16:44:00+00. It is not RFC 3339; to get one, put T for the space and Z for +00.

Views

ViewIncludesBest For
fullAll swapsRaw market data, charting
filteredExcludes wash trades and bot activityClean analysis, fair pricing

Cache TTL: 5 seconds. Use explicit from and to bounds so the agent requests only the history it needs.


GET /v1/token/{mint}/trades

Recent trade history for a token across all wallets.

Parameters

ParameterInTypeRequiredDefaultConstraints
mintpathstringyes——
limitqueryintegerno50Max 200

Example

curl -H "Authorization: Bearer $API_KEY" \
  "https://api.conyr.ai/v1/token/EPjFWd.../trades?limit=20"

Response

{
  "trades": [
    {
      "signature": "AiT3iF...",
      "slot": 471101848,
      "timestamp": "2026-11-18 22:29:22.614",
      "wallet_address": "9KF4nv...",
      "token_amount": 1131302250,
      "direction": "buy",
      "dex_name": "PumpSwap",
      "base_amount": 109320662,
      "base_price_usd": 7.958532,
      "total_fees_usd": 0.021359,
      "base_mint": "So11111111111111111111111111111111111111112",
      "base_decimals": 9
    }
  ],
  "token_mint": "EPjFWd...",
  "limit": 20
}
  • timestamp is UTC text, YYYY-MM-DD HH:MM:SS.mmm (a space, milliseconds, no zone), e.g. 2026-11-18 22:29:22.614. It is not RFC 3339: read it as UTC.
  • token_amount is in the token’s smallest unit. Divide by 10 to the power of the token’s decimals for whole tokens.
  • base_amount is the other side of the swap in the smallest unit of base_mint, the trade’s quote mint: lamports (a billionth of a SOL) when the pool trades against SOL, millionths of a USDC against USDC. Divide by 10 to the power of base_decimals for whole units.
  • base_decimals is 9 for SOL, 6 for USDC, USDT, PYUSD, USDS, USD1, USDG and CASH, and 8 for DAI. It is null when the quote is another token, which is rare.
  • base_price_usd is the swap’s value in US dollars, not a price per token. The price per whole token is base_price_usd / (token_amount / 10^decimals).
  • total_fees_usd covers network fees and third-party platform fees.