🔗 API & WebSocket Structure

When integrating with DexCheck, you’ll direct your REST and WebSocket clients to standardized base URLs. You can override these endpoints via environment variables or configuration files to support staging, testing, or regional deployments.

REST API Structure

Base URL:

https://api.dexcheck.ai/<service>/<resource>[?<query-params>]
  • service: usually blockchain, twitter, or insights-gpt
  • resource: the endpoint name (e.g., dex-price, token-stats, top-holders)
  • query-params: key=value pairs for filters, pagination, and options

Example

GET https://api.dexcheck.ai/blockchain/dex-price?chain=eth&pair_id=0xabc123…&dex=uniswap

Websocket Structure

Base URL:

wss://ws.dexcheck.ai