Endpoint

GET https://pro.circular.fi/market/cache

Filtering and optimizing your Jupiter market-cache

Headers

{
    "Content-Type": "application/json",
    "x-api-key": "your-api-key"
}

Parameters

{
    "onlyjup": false, // Filter only the Jupiter market-cache or also pools retrieved in real time by Circular
    "accounts": true, // Returns the structure of accounts and addresses needed to interact with AMM, we've pre-populated the addresses but you must be careful to associate information such as "user" or "payer" with your own wallet
    "tokens": [ // The tokens you're interested in, the API will filter the pools where tokenA and tokenB correspond to tokens in your list  
        "So11111111111111111111111111111111111111112",
        "9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump",
        ...
    ]
}

Response

[
    {
      "pubkey": "Bzc9NZfMqkXR6fz1DBph7BDf9BroyEf6pnzESP7v5iiw",
      "owner": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
      "params": {
        "addressLookupTableAddress": "76eSLW3G1n57y8EAK3Ljpt3k2M69Ps3LrtxqDZP5Kcrv",
        "routingGroup": 3,
        "serumAsks": "cJUBknodnbKcrWbo7kQagmVZJDageyVSSe5sUCMEb4s",
        "serumBids": "8ZuFWQ1SecKgLCrdRpsXy8kjC22NrwicJdkB9GfdSLUj",
        "serumCoinVaultAccount": "2sZv8mNC2yi8Rjsss3AbvbZ9MZApSKk1hUaCfhRmTgP6",
        "serumEventQueue": "Cq6vgsNjBsSbgeRC6avdDSUVyiA4fHmpVSoN9pb7wkPA",
        "serumPcVaultAccount": "HxYhUi1f49A5avLKoUx71PPUstX4j1zRSa2fMXAfYbN7",
        "serumVaultSigner": "6L6Beb8qJtp9umBawW8DEXq1etKZkFYvYLGEEMFaSBe5"
      },
      "accounts": [
        {
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "role": 0,
          "name": "tokenProgram"
        },
        {
          "address": "Bzc9NZfMqkXR6fz1DBph7BDf9BroyEf6pnzESP7v5iiw",
          "role": 1,
          "name": "pool"
        },
        // ...
      ]
    }
    // ...
  ]

Informations:

  • Market Cache currently supports PumpAMM, Raydium, Meteora and Orca

  • Requests per minute: 10/25

  • Available plans: PREMIUM, PRO

  • More technical information here

Last updated