> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coingecko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tokens Data by Token Addresses

> To query multiple tokens data based on the provided token contract addresses on a network

export const CacheInfo = ({publicRate, paidRate, rate}) => {
  const fmt = v => v === 0 ? 'Real-time (Cacheless)' : `Every ${v}`;
  if (rate !== undefined) {
    return <Callout icon="clock-rotate-left" color="#2196F3" iconType="regular">
        <strong>Cache / Update Frequency:</strong><br />{fmt(rate)}
      </Callout>;
  }
  if (publicRate !== undefined && paidRate !== undefined) {
    return <Callout icon="clock-rotate-left" color="#2196F3" iconType="regular">
        <strong>Cache / Update Frequency:</strong><ul><li>{fmt(paidRate)} (Paid API)</li><li>{fmt(publicRate)} (Demo / Keyless API)</li></ul>
      </Callout>;
  }
  return null;
};

#### Notes

* Addresses not found in GeckoTerminal will be ignored.
* Supports up to **30 contract addresses** per request. [Analyst plan or above](https://www.coingecko.com/en/api/pricing) supports up to 50.
* Returns the top most liquid pool per token.
* `total_reserve_in_usd` represents the total reserve of the requested token only across all its pools, not both tokens in a pair.
* Unverified token market cap returns `null` — the displayed value on GeckoTerminal may match FDV and might not be accurate. Verified market cap is sourced from CoinGecko and may exceed FDV if it includes tokens on other networks.
* Use `include=top_pools` to include top pools data. Add `include_composition=true` to surface balance and liquidity of base and quote tokens (requires `include=top_pools`).
* Bonding curve tokens (non-graduated launchpad tokens) include a `launchpad_details` object with graduation status.

<Tip>
  For token metadata (socials, websites, description), use [Token Info](/demo/reference/token-info-contract-address) instead.
</Tip>

<CacheInfo paidRate="10 seconds" publicRate="60 seconds" />

#### SDK Examples

<CodeGroup>
  ```typescript TypeScript theme={null}
  const response = await client.onchain.networks.tokens.multi.getAddresses('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN,2g4LS3y2myPe6vj9wTvoBE1wKqxvhnZPoZA9QU9upump', {
    network: 'solana',
  });

  console.log(JSON.stringify(response, null, 2));
  ```

  ```python Python theme={null}
  response = client.onchain.networks.tokens.multi.get_addresses(
    "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN,2g4LS3y2myPe6vj9wTvoBE1wKqxvhnZPoZA9QU9upump",
    network="solana",
  )

  print(response.model_dump_json(indent=2))
  ```
</CodeGroup>


## OpenAPI

````yaml openapi-specs/demo-api.json get /onchain/networks/{network}/tokens/multi/{addresses}
openapi: 3.0.0
info:
  title: CoinGecko Demo API
  version: 3.0.0
servers:
  - url: https://api.coingecko.com/api/v3
security:
  - headerAuth: []
  - queryAuth: []
paths:
  /onchain/networks/{network}/tokens/multi/{addresses}:
    get:
      summary: Tokens Data by Token Addresses
      description: >-
        To query multiple tokens data based on the provided token contract
        addresses on a network
      operationId: tokens-data-contract-addresses
      parameters:
        - name: network
          in: path
          required: true
          description: |-
            Network ID. 
            *refers to [`/onchain/networks`](/reference/networks-list).
          schema:
            type: string
            default: solana
        - name: addresses
          in: path
          required: true
          description: >-
            Token contract address, comma-separated if more than one token
            contract address.
          schema:
            type: string
            default: >-
              6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN,2g4LS3y2myPe6vj9wTvoBE1wKqxvhnZPoZA9QU9upump
        - name: include
          in: query
          required: false
          description: Attributes to include.
          schema:
            type: string
            enum:
              - top_pools
        - name: include_composition
          in: query
          required: false
          description: |-
            Include pool composition. 
            Default: `false`
          schema:
            type: boolean
        - name: include_inactive_source
          in: query
          required: false
          description: |-
            Include tokens from inactive pools using the most recent swap. 
            Default: `false`
          schema:
            type: boolean
      responses:
        '200':
          description: Multiple tokens data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiTokenData'
              example:
                data:
                  - id: solana_6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                    type: token
                    attributes:
                      address: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                      name: OFFICIAL TRUMP
                      symbol: TRUMP
                      decimals: 6
                      image_url: >-
                        https://coin-images.coingecko.com/coins/images/53746/large/trump.png?1737171561
                      coingecko_coin_id: official-trump
                      total_supply: '999999108407137.0'
                      normalized_total_supply: '999999108.407137'
                      price_usd: '2.0174050182'
                      fdv_usd: '2017403219.4789'
                      total_reserve_in_usd: '38853273.6350283264033294'
                      volume_usd:
                        h24: '2099707.5067169'
                      market_cap_usd: '478960276.377951'
                    relationships:
                      top_pools:
                        data:
                          - id: >-
                              solana_9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
                            type: pool
                  - id: solana_2g4LS3y2myPe6vj9wTvoBE1wKqxvhnZPoZA9QU9upump
                    type: token
                    attributes:
                      address: 2g4LS3y2myPe6vj9wTvoBE1wKqxvhnZPoZA9QU9upump
                      name: SORACAT
                      symbol: SORACAT
                      decimals: 6
                      image_url: >-
                        https://assets.geckoterminal.com/o6djbxjg7ne8k1swjpybmdvtu11s
                      coingecko_coin_id: null
                      total_supply: '1000000000000000.0'
                      normalized_total_supply: '1000000000.0'
                      price_usd: null
                      fdv_usd: null
                      total_reserve_in_usd: '5234.61248798976042147487629165'
                      volume_usd:
                        h24: '0.0'
                      market_cap_usd: null
                      launchpad_details:
                        graduation_percentage: 2.16
                        completed: false
                        completed_at: null
                        migrated_destination_pool_address: null
                    relationships:
                      top_pools:
                        data: []
                included:
                  - id: solana_9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
                    type: pool
                    attributes:
                      base_token_price_usd: >-
                        2.01740501818281139006336492319318380811954562178395002842369476
                      base_token_price_native_currency: '0.0239250580677484'
                      quote_token_price_usd: >-
                        0.999569304917712897234320781454435071561674967628724909109738
                      quote_token_price_native_currency: '0.0118488106949705'
                      base_token_price_quote_token: '2.0191948951'
                      quote_token_price_base_token: '0.4952468939'
                      address: 9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2
                      name: TRUMP / USDC
                      pool_created_at: '2025-01-18T10:39:31Z'
                      fdv_usd: '2017403219.49608'
                      market_cap_usd: '478960276.377951'
                      price_change_percentage:
                        m5: '0'
                        m15: '-0.065'
                        m30: '-0.321'
                        h1: '0.023'
                        h6: '0.217'
                        h24: '-0.584'
                      transactions:
                        m5:
                          buys: 0
                          sells: 0
                          buyers: 0
                          sellers: 0
                        m15:
                          buys: 0
                          sells: 2
                          buyers: 0
                          sellers: 2
                        m30:
                          buys: 4
                          sells: 5
                          buyers: 3
                          sellers: 2
                        h1:
                          buys: 10
                          sells: 22
                          buyers: 6
                          sellers: 7
                        h6:
                          buys: 61
                          sells: 90
                          buyers: 26
                          sellers: 25
                        h24:
                          buys: 252
                          sells: 327
                          buyers: 64
                          sellers: 60
                      volume_usd:
                        m5: '0.0'
                        m15: '597.6697876563'
                        m30: '11191.1430985437'
                        h1: '22383.1305344185'
                        h6: '149655.009727483'
                        h24: '524824.856290105'
                      reserve_in_usd: '34848559.9613'
                    relationships:
                      base_token:
                        data:
                          id: solana_6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                          type: token
                      quote_token:
                        data:
                          id: solana_EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                          type: token
                      dex:
                        data:
                          id: meteora
                          type: dex
components:
  schemas:
    MultiTokenData:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/TokenItem'
        included:
          type: array
          description: Included top pool data, present when include=top_pools is specified
          items:
            type: object
            properties:
              id:
                type: string
              type:
                type: string
              attributes:
                type: object
                properties:
                  base_token_price_usd:
                    type: string
                  base_token_price_native_currency:
                    type: string
                  quote_token_price_usd:
                    type: string
                  quote_token_price_native_currency:
                    type: string
                  base_token_price_quote_token:
                    type: string
                  quote_token_price_base_token:
                    type: string
                  address:
                    type: string
                  name:
                    type: string
                  pool_created_at:
                    type: string
                  fdv_usd:
                    type: string
                    nullable: true
                  market_cap_usd:
                    type: string
                    nullable: true
                  price_change_percentage:
                    type: object
                    properties:
                      m5:
                        type: string
                      m15:
                        type: string
                      m30:
                        type: string
                      h1:
                        type: string
                      h6:
                        type: string
                      h24:
                        type: string
                  transactions:
                    type: object
                    properties:
                      m5:
                        type: object
                        properties:
                          buys:
                            type: integer
                          sells:
                            type: integer
                          buyers:
                            type: integer
                          sellers:
                            type: integer
                      m15:
                        type: object
                        properties:
                          buys:
                            type: integer
                          sells:
                            type: integer
                          buyers:
                            type: integer
                          sellers:
                            type: integer
                      m30:
                        type: object
                        properties:
                          buys:
                            type: integer
                          sells:
                            type: integer
                          buyers:
                            type: integer
                          sellers:
                            type: integer
                      h1:
                        type: object
                        properties:
                          buys:
                            type: integer
                          sells:
                            type: integer
                          buyers:
                            type: integer
                          sellers:
                            type: integer
                      h6:
                        type: object
                        properties:
                          buys:
                            type: integer
                          sells:
                            type: integer
                          buyers:
                            type: integer
                          sellers:
                            type: integer
                      h24:
                        type: object
                        properties:
                          buys:
                            type: integer
                          sells:
                            type: integer
                          buyers:
                            type: integer
                          sellers:
                            type: integer
                  volume_usd:
                    type: object
                    properties:
                      m5:
                        type: string
                      m15:
                        type: string
                      m30:
                        type: string
                      h1:
                        type: string
                      h6:
                        type: string
                      h24:
                        type: string
                  reserve_in_usd:
                    type: string
              relationships:
                type: object
                properties:
                  base_token:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          id:
                            type: string
                          type:
                            type: string
                  quote_token:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          id:
                            type: string
                          type:
                            type: string
                  dex:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          id:
                            type: string
                          type:
                            type: string
    TokenItem:
      type: object
      required:
        - id
        - type
        - attributes
        - relationships
      properties:
        id:
          type: string
          description: Token identifier
        type:
          type: string
          description: Resource type
        attributes:
          type: object
          required:
            - address
            - name
            - symbol
            - decimals
            - image_url
            - coingecko_coin_id
            - total_supply
            - normalized_total_supply
            - price_usd
            - fdv_usd
            - total_reserve_in_usd
            - volume_usd
            - market_cap_usd
          properties:
            address:
              type: string
              description: Token contract address
            name:
              type: string
              description: Token name
            symbol:
              type: string
              description: Token symbol
            decimals:
              type: integer
              description: Token decimals
            image_url:
              type: string
              nullable: true
              description: Token image URL
            coingecko_coin_id:
              type: string
              nullable: true
              description: CoinGecko coin ID
            total_supply:
              type: string
              description: Token total supply
            normalized_total_supply:
              type: string
              description: Normalized token total supply
            price_usd:
              type: string
              nullable: true
              description: Token price in USD
            fdv_usd:
              type: string
              nullable: true
              description: Fully diluted valuation in USD
            total_reserve_in_usd:
              type: string
              description: Total reserve in USD across all pools
            volume_usd:
              type: object
              description: Volume in USD
              properties:
                h24:
                  type: string
            market_cap_usd:
              type: string
              nullable: true
              description: Market cap in USD
            last_trade_timestamp:
              type: string
              description: Last trade timestamp in UNIX
            launchpad_details:
              type: object
              description: Launchpad details for pump-style tokens
              properties:
                graduation_percentage:
                  type: number
                completed:
                  type: boolean
                completed_at:
                  type: string
                  nullable: true
                migrated_destination_pool_address:
                  type: string
                  nullable: true
        relationships:
          type: object
          properties:
            top_pools:
              type: object
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
  securitySchemes:
    headerAuth:
      type: apiKey
      in: header
      name: x-cg-demo-api-key
      description: >-
        Learn how to [set up your API
        key](https://docs.coingecko.com/docs/setting-up-your-api-key)
    queryAuth:
      type: apiKey
      in: query
      name: x_cg_demo_api_key
      description: >-
        Learn how to [set up your API
        key](https://docs.coingecko.com/docs/setting-up-your-api-key)

````