Latest Dex Pools API
The DEX Pools API allows you to retrieve information about the latest liquidity pools created across various decentralized exchanges (DEX) on the Solana blockchain.
GraphQL API Endpoint
Make requests using the following endpoint:
POST https://graphql.astralane.io/api/v1/dataset/latest-pools
Request Headers
Header
Description
Required
x-api-key
Your API key provided for authentication.
Yes
Graphql Query
Response Example
A successful response will contain a JSON array with details of the latest pools and their token balances:
Response Fields
block_time
: Timestamp indicating when the block was processed.block_slot
: Slot number associated with the processed block.pool
: Unique address identifier for the liquidity pool.mint_a
: Mint address of the base token.mint_b
: Mint address of the quote token.token_a_amount
: Quantity of the base token in the pool.token_b_amount
: Quantity of the quote token in the pool.
API Data Refresh Interval
The API indexes and updates data every 30 minutes, capturing all new pools created within this interval. This periodic indexing ensures pool data accuracy and reliability, balancing timeliness and performance.
Ensure that your requests always include the correct API key in the headers for seamless access to the service.
Last updated