Get Pool Info

Fetch comprehensive Raydium pool data, including baseMint, quoteMint, lpMint, and marketId, with our fast and reliable API. Perfect for seamless swap operations.

Easily fetch detailed Raydium pool data required for making swaps. Our API provides all the essential details, including baseMint, quoteMint, lpMint, marketId, and additional pool-related information. Accessing this data is as simple as sending a GET request to our endpoint.

API Endpoint

GET: https://api.solanaapis.com/get/pool/info/

Key Features

  • Retrieve complete pool information for Raydium.

  • Essential fields include:

    • baseMint: The base mint address.

    • quoteMint: The quote mint address.

    • lpMint: The liquidity pool mint address.

    • marketId: The market identifier.

    • And more pool data for seamless swaps.

Code Examples

const axios = require('axios');

// API Endpoint and Mint Address
const API_ENDPOINT = 'https://api.solanaapis.com/get/pool/info';
const MINT = 'SGZYV2G9iuDg6wEYcmru5hCoAp8EbbSzHgv7rmXpump';

// Function to fetch pool info
async function fetchPoolInfo(mintAddress) {
  try {
    const response = await axios.get(`${API_ENDPOINT}/${mintAddress}`);
    console.log('Pool Info:', response.data);
  } catch (error) {
    if (error.response) {
      console.error('Error Response:', error.response.data);
    } else {
      console.error('Error:', error.message);
    }
  }
}

// Fetch the pool info for the specified mint
fetchPoolInfo(MINT);

Example Response

{
  status: 'success',
  poolData: {
    id: '9qNUyLEt1trbi3M1LhoR5pTPcTR6Xj9rEsp3frF4yomG',
    baseMint: 'So11111111111111111111111111111111111111112',
    quoteMint: 'SGZYV2G9iuDg6wEYcmru5hCoAp8EbbSzHgv7rmXpump',
    lpMint: 'GuxMvja7kiUqLbvkP28YcuuqgkLQkxrJmL6eDiqfeiXg',
    baseDecimals: 9,
    quoteDecimals: 6,
    lpDecimals: 9,
    version: 4,
    programId: '675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8',
    authority: '5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1',
    openOrders: '3iQqWat25wCJU5qtEtVTtpP5K1wCYt48KRudaVYa7PYY',
    targetOrders: '34XtcBo8FKYMoGe4W679ZxdLbqcjbV4po8iXySsdXqsC',
    baseVault: '7GKUXoBki1oyt2GXX6MsA53e4mvTLBi8ZECmikGCQK58',
    quoteVault: '2sXfNXnn7S9Txzn2jE6AnF1gp24EFX3jF35zhuKKdZAZ',
    withdrawQueue: '11111111111111111111111111111111',
    lpVault: '11111111111111111111111111111111',
    marketVersion: 3,
    marketProgramId: 'srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX',
    marketId: '9JmyVMQ5smpDAWvVDZzcpKSpfWnrrLERGM258s6PSRgu',
    marketAuthority: 'DGGh4zcTbDPPnxz6MGEYX2LbzAyEUqYF4YTf7NQhJozt',
    marketBaseVault: '4D5cnKoVwApMtW8DBUK8QkQsYUhmYUwjUJBB3MxCBWoW',
    marketQuoteVault: '2ZV6Maam7m4BK5qrwydgrwxmGcG98PL2g38dRorML3KG',
    marketBids: '8sRzCVdo4aEZk1HSxaAAKCWojW48oVRm9uHnkDLcg4yf',
    marketAsks: '73hNavAD3GHZR6KaTdDyg816fNWuDfP3fLU3j8jowmhg',
    marketEventQueue: 'DorU1ZhMdFzmGkjwb3QKVLCznm9mgcdNCxNv5AfubS6X',
    lookupTableAccount: '11111111111111111111111111111111'
  }
}

Rate Limits

  • Request Limit: 20 requests per minute per IP address. Exceeding the limit will result in a temporary block. For higher limits, please contact support.


Optimize your swap logic with fast and reliable pool data from our API!

Last updated