Skip to main content

Open Query API

The Open Query API is Eurybia's read-only data query layer. It serves raw and cleaned on-chain, social and market data to external partners.

PropertyValue
FrameworkFastAPI
Base URLhttps://eurybia.xyz/api/open/query
AuthX-API-Key header
Data storesPostgreSQL (multi-database) + ClickHouse (historical)
Interactive referenceOpen Query API reference

Authentication

Every public endpoint requires an API key passed in the X-API-Key header:

curl -H "X-API-Key: <your_api_key>" \
"https://eurybia.xyz/api/open/query/twitter/users?limit=10"

Self-service key application

Apply for an API key at POST /api/open/query/auth/apply. The payload is encrypted with a shared secret and the response contains an encrypted payload that must be decrypted locally to retrieve the usable API key.

Rate limiting & caching

  • Requests are rate-limited per API key (configurable profile per key).
  • Responses are cached with a short TTL (default 15s; 60s for history endpoints).
  • Time-range queries must pass from_time / to_time validation.

Endpoint groups

Twitter

EndpointDescription
GET /twitter/usersCurated Twitter/X user profiles
GET /twitter/address-mentionsTweets mentioning crypto addresses
GET /twitter/alpha-mentionsTweets mentioning alpha tokens/symbols
GET /twitter/sentiment-15m/accounts15-minute sentiment per account
GET /twitter/raw-tweetsRaw tweets (MongoDB-backed)
GET /twitter/hourly-summariesHourly sentiment summaries

Telegram

EndpointDescription
GET /telegram/group-messagesGroup messages
GET /telegram/channel-updatesChannel updates

News

EndpointDescription
GET /news/hourly-summariesHourly news summaries

Market

EndpointDescription
GET /market/ohlcvOHLCV candles
GET /market/assets/snapshotsAsset snapshots

Solana

EndpointDescription
GET /solana/tokensSolana tokens
GET /solana/memecoin-ratingsMemecoin ratings
GET /solana/token-pricesToken prices

History (ClickHouse)

EndpointDescription
GET /history/blockchain/ethereum/receiptsEthereum transaction receipts
GET /history/blockchain/ethereum/logsEthereum logs
GET /history/blockchain/bitcoin/blocksBitcoin blocks
GET /history/market/dex/uniswap-v2-tradesUniswap V2 trades
GET /history/stablecoins/ethereum/usdt-supplyUSDT supply history
GET /history/social/base/friendtech-tradesFriend.tech trades

Ask KOL

EndpointDescription
GET /ask/kolsList available KOL personas
GET /ask/{handle}Chat with a KOL persona (LLM-powered)

Auth

EndpointDescription
POST /auth/applySelf-service API key application

Frontend BFF (/api/frontend/*)

The same service also hosts an internal BFF for the eurybia.xyz dashboard under /api/frontend (keyless, CORS-restricted). It is not part of the public partner API surface but is listed here for completeness.

Full interactive reference: Frontend BFF API reference.

DomainEndpoints
CMC/api/frontend/cmc/latest/rows, /cmc/timeseries, /cmc/big_number, /cmc/treemap, /cmc/weekly_growth/{kind}/rows, /cmc/rank_change/{kind}/rows
GameFi / SocialFi/api/frontend/ch/gamefi/big, /ch/socialfi/big, /ch/socialfi/timeseries, /ch/socialfi/table/{kind}/rows
Web3/api/frontend/web3/{game}/top/{col}/rows, /web3/{game}/dist/{col}/snapshot, /web3/{game}/json-timeseries
DAO/api/frontend/dao/market/big
ClickHouse generic/api/frontend/ch/{table}, /ch/{table}/rows
Stablecoin/api/frontend/stablecoin/news/rows, /stablecoin/supply, /stablecoin/share
Solana/api/frontend/solana/meme_wordcloud, /solana/meme_5days_t0_trend
Twitter/api/frontend/twitter/keywords_wordcloud, /twitter/top10_volume, /twitter/price_sentiment
Quant/api/frontend/quant/strategy_big
Media/api/frontend/media/news_wordcloud, /media/news_rating
Ask / Plaza/api/frontend/ask/kols, /ask/match, /ask/auto, /ask/stream/{handle}, /ask/comment/{handle}, /ask/conclude, /ask/{handle}, /plaza/posts
Generic table/api/frontend/{domain}/{table}, /{domain}/{table}/rows, /{domain}/{table}/snapshot