Codex — Direct API Endpoints
Codex provides 61 unique direct API endpoints across the following categories:- DeFi (20 endpoints)
- Market Data (6 endpoints)
- NFT (22 endpoints)
- Token (25 endpoints)
- Transaction (1 endpoint)
- Wallets (4 endpoints)
Learn more: Codex Documentation
Prefix and Example
Prefix: No prefix is required for Codex, an example URL will therefore look like:https://api.uniblock.dev/direct/v1/Codex + /[Codex_endpoint].
Example Request:
DeFi
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Codex/filterNftPoolCollections | 3500 | Returns a list of NFT collections based on a variety of filters. |
| direct/v1/Codex/filterNftPools | 3500 | Returns a list of NFT pools based on a variety of filters. |
| direct/v1/Codex/getDetailedPairsStats | 3500 | Returns bucketed stats for a given token within a list of pairs. |
| direct/v1/Codex/getDetailedPairStats | 3500 | Returns bucketed stats for a given token within a pair. |
| direct/v1/Codex/getDetailedStats | 3500 | Returns bucketed stats for a given token within a pair. |
| direct/v1/Codex/getExchanges | 3500 | Returns a list of decentralized exchange metadata. |
| direct/v1/Codex/getLatestPairs | 3500 | Returns new tokens listed over the last three days. |
| direct/v1/Codex/getNftPool | 3500 | Returns an NFT pool. |
| direct/v1/Codex/getNftPoolCollection | 3500 | Returns an NFT pool collection with pool stats for a given AMM NFT marketplace. |
| direct/v1/Codex/getNftPoolCollectionsByExchange | 3500 | Returns an NFT collection with pool stats for a given AMM NFT marketplace. |
| direct/v1/Codex/getNftPoolEvents | 3500 | Returns transactions for an NFT collection across all NFT pools or within a given pool. |
| direct/v1/Codex /getNftPoolsByCollectionAndExchange | 3500 | Returns NFT pools for a given collection and AMM NFT marketplace. |
| direct/v1/Codex/getNftPoolsByOwner | 3500 | Returns a list of NFT pools for a given owner. |
| direct/v1/Codex/getNftPoolStats | 3500 | Returns aggregated NFT pool/collection stats for a given time frame. |
| direct/v1/Codex/getPrimePoolAssets | 3500 | Returns a list of Prime pool cached assets. |
| direct/v1/Codex/getPrimePoolEvents | 3500 | Returns a list of Prime pool events. |
| direct/v1/Codex/getPrimePools | 3500 | Returns a list of Prime pools. |
| direct/v1/Codex/getUniV3Ticks | 3500 | Returns tick data for a given Uniswap V3-style pool. |
| direct/v1/Codex/pairMetadata | 3500 | Returns metadata for a pair of tokens. |
| direct/v1/Codex/primeHolders | 3500 | Returns a list of holders of the PRIME token on ethereum. |
Market Data
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Codex/filterExchanges | 3500 | Returns a list of exchanges based on a variety of filters. |
| direct/v1/Codex/filterPairs | 3500 | Returns a list of pairs based on a variety of filters. |
| direct/v1/Codex/getBars | 3500 | Returns bar chart data to track price changes over time. |
| direct/v1/Codex/getDetailedStats | 3500 | Returns bucketed stats for a given token within a pair. |
| direct/v1/Codex/getTokenPrices | 3500 | Returns real-time or historical prices for a list of tokens, fetched in batches. |
| direct/v1/Codex/tokenSparklines | 3500 | Returns a list of token simple chart data (sparklines) for the given tokens. |
NFT
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Codex/filterNftCollections | 3500 | Returns a list of NFT collection based on a variety of filters. |
| direct/v1/Codex/filterNftParallelAssets | 3500 | Returns a list of Parallel assets based on a variety of filters. |
| direct/v1/Codex/filterNftPoolCollections | 3500 | Returns a list of NFT collections based on a variety of filters. |
| direct/v1/Codex/filterNftPools | 3500 | Returns a list of NFT pools based on a variety of filters. |
| direct/v1/Codex/getDetailedNftStats | 3500 | Returns bucketed stats for a given NFT collection. |
| direct/v1/Codex/getNftAssets | 3500 | Returns a list of NFT assets in a given collection. |
| direct/v1/Codex/getNftCollectionMetadata | 3500 | Returns stats for an NFT collection across different time frames. |
| direct/v1/Codex/getNftContracts | 3500 | Returns a list of NFT collection metadata. |
| direct/v1/Codex/getNftEvents | 3500 | Returns transactions for an NFT collection across any marketplace(s). |
| direct/v1/Codex/getNftPool | 3500 | Returns an NFT pool. |
| direct/v1/Codex/getNftPoolCollection | 3500 | Returns an NFT pool collection with pool stats for a given AMM NFT marketplace. |
| direct/v1/Codex/getNftPoolCollectionsByExchange | 3500 | Returns an NFT collection with pool stats for a given AMM NFT marketplace. |
| direct/v1/Codex/getNftPoolEvents | 3500 | Returns transactions for an NFT collection across all NFT pools or within a given pool. |
| direct/v1/Codex /getNftPoolsByCollectionAndExchange | 3500 | Returns NFT pools for a given collection and AMM NFT marketplace. |
| direct/v1/Codex/getNftPoolsByOwner | 3500 | Returns a list of NFT pools for a given owner. |
| direct/v1/Codex/getNftPoolStats | 3500 | Returns aggregated NFT pool/collection stats for a given time frame. |
| direct/v1/Codex/getParallelAssets | 3500 | Returns transactions for an NFT collection across any marketplace(s). |
| direct/v1/Codex/getParallelCardChanges | 3500 | Returns changes made to Parallel card metadata over time. |
| direct/v1/Codex/nftHolders | 3500 | Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection |
| direct/v1/Codex/searchNfts | 3500 | Returns a list of NFT collections matching a given query string. |
| direct/v1/Codex/walletNftCollectionAssets | 3500 | Returns list of NFT assets held by a given wallet for a single collection. |
| direct/v1/Codex/walletNftCollections | 3500 | Returns list of collections and quantity of NFTs held by a given wallet. |
Token
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Codex/balances | 3500 | Returns list of token balances that a wallet has |
| direct/v1/Codex/chartUrls | 3500 | Returns a URL for a pair chart. |
| direct/v1/Codex/filterTokens | 3500 | Returns a list of tokens based on a variety of filters. |
| direct/v1/Codex/getBars | 3500 | Returns bar chart data to track price changes over time. |
| direct/v1/Codex/getCommunityNotes | 3500 | Returns community gathered notes. |
| direct/v1/Codex/getDetailedStats | 3500 | Returns bucketed stats for a given token within a pair. |
| direct/v1/Codex/getLatestTokens | 3500 | Returns new tokens listed over the last three days. |
| direct/v1/Codex/getNetworks | 3500 | Returns a list of all networks supported on Codex. |
| direct/v1/Codex/getNetworkStatus | 3500 | Returns the status of a list of networks supported on Codex. |
| direct/v1/Codex/getSimulateTokenContractResults | 3500 | Simulates a token contract call. |
| direct/v1/Codex/getSymbol | 3500 | Returns metadata for a given pair. |
| direct/v1/Codex/getTokenCount | 3500 | Returns the total count of tokens on Codex. This value is updated approximately every 6 hours. |
| direct/v1/Codex/getTokenEvents | 3500 | Returns transactions for a pair. |
| direct/v1/Codex/getTokenInfo | 3500 | Returns metadata for a given token. |
| direct/v1/Codex/getTokenPrices | 3500 | Returns real-time or historical prices for a list of tokens, fetched in batches. |
| direct/v1/Codex/getTokensInfo | 3500 | Returns metadata for a list of given tokens. |
| direct/v1/Codex/holders | 3500 | Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token |
| direct/v1/Codex/listFavoriteTokens | 3500 | Returns a list of token metadata. |
| direct/v1/Codex/listPairsForToken | 3500 | Returns a list of pairs containing a given token. |
| direct/v1/Codex/listPairsWithMetadataForToken | 3500 | Returns a list of pair metadata for a token. |
| direct/v1/Codex/listTopTokens | 3500 | Returns a list of trending tokens across any given network(s). |
| direct/v1/Codex/searchTokens | 3500 | Returns a list of tokens matching a given query string. |
| direct/v1/Codex/token | 3500 | Find a single token by its address & network id. |
| direct/v1/Codex/tokens | 3500 | Find a list of tokens by their addresses & network id, with pagination. |
| direct/v1/Codex/tokenSparklines | 3500 | Returns a list of token simple chart data (sparklines) for the given tokens. |
Transaction
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Codex/getEventLabels | 3500 | Returns a list of event labels for a pair. |
Wallets
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Codex/balances | 3500 | Returns list of token balances that a wallet has |
| direct/v1/Codex/primeBalance | 3500 | Fetch the balance of a wallet holding PRIME on ethereum |
| direct/v1/Codex/walletNftCollectionAssets | 3500 | Returns list of NFT assets held by a given wallet for a single collection. |
| direct/v1/Codex/walletNftCollections | 3500 | Returns list of collections and quantity of NFTs held by a given wallet. |