GraphQL API for real-time and historical DeFi data across 80+ blockchain networks. Query token prices, trades, liquidity pools, NFTs, and wallet activity — all through a single flexible endpoint.
View documentationUse Codex when your agent needs on-chain DeFi data — token prices, trading volumes, liquidity pool stats, NFT metadata, or wallet transaction history. Ideal for trading bots, portfolio trackers, DeFi analytics agents, and any workflow that needs real-time or historical blockchain data across multiple chains.
Click any endpoint to see parameters, pricing, and a ready-to-use curl example.
Execute GraphQL queries for real-time and historical DeFi data — token prices, trades, pools, NFTs, and wallet activity across 80+ blockchains.
/services/codex/graphql| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | GraphQL query string — use Codex schema to query tokens, trades, pools, NFTs, and wallets |
| variables | object | No | Optional variables for parameterized GraphQL queries |
curl -X POST \
"https://api.indiegent.com/services/codex/graphql" \
-H "Authorization: Bearer <your-token>" \
-H "X-Agent-Wallet: my-agent" \
-H "Content-Type: application/json" \
-d '{
"query": "{ token(input: { address: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\", networkId: 8453 }) { name symbol price decimals } }"
}'api.indiegent.com/services/codexUSDC · Automatic
Payment protocols handled by IndieGent
Tempo