API endpoints
Base URL: https://sentiment-api.kytona.com
Versions
Prefer v2 (
/v2/...): modern x402 headers and Base + Solana payments.Use v1 (
/v1/...) only for legacy clients: legacy headers and Base/EVM-only payments.
Public endpoints
Health check
GET /health
Returns API health status, including Redis, MongoDB, and snapshot freshness. No authentication required.
Discovery
GET /discovery/resources
Returns machine-readable metadata about paid resources (paths, pricing, and schemas). This endpoint is public and does not require payment.
Query parameters:
limit(optional): Maximum number of resources to returnoffset(optional): Number of resources to skip
Paid snapshot endpoints
All snapshot endpoints cost $0.02 per request and require x402 payment.
Snapshot endpoints (v1 + v2)
Global snapshot
GET /v2/snapshot/global
GET /v1/snapshot/global
Crypto pulse
GET /v2/snapshot/crypto
GET /v1/snapshot/crypto
TradFi pulse
GET /v2/snapshot/tradfi
GET /v1/snapshot/tradfi
Asset view
GET /v2/snapshot/asset/:symbol
GET /v1/snapshot/asset/:symbol
Query parameters:
format(optional):Omit to receive the full JSON payload
Use
format=compact_tradingto receive the compact trading payload
fields(compact only): Comma-separated allowlist of compact fields to returnSupported values:
ts,mood,sentiment,corr_status,corr_conf,signals,rec,cost_usdcExample:
GET /v2/snapshot/crypto?format=compact_trading&fields=ts,mood,rec
Errors
402: payment required (see Payment Flow (x402))400: invalid query parameters (INVALID_FORMAT,INVALID_COMPACT_FIELDS)404: unknown/unsupported symbol (UNSUPPORTED_TOKEN)429: rate limited (RATE_LIMITED,RATE_LIMITED_WALLET)503: snapshot not ready (SNAPSHOT_NOT_READY)
Last updated
