> ## 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.

# Token Data by Token Address

> To query specific token data based on the provided token contract address 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.
* Returns the top most liquid pool per token, ranked by liquidity (`reserve_in_usd`) and 24-hour volume (`volume_usd`).
* `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](/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.getAddress('0xdac17f958d2ee523a2206206994597c13d831ec7', {
    network: 'eth',
  });

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

  ```python Python theme={null}
  response = client.onchain.networks.tokens.get_address(
    "0xdac17f958d2ee523a2206206994597c13d831ec7",
    network="eth",
  )

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


## OpenAPI

````yaml openapi-specs/pro-api.json get /onchain/networks/{network}/tokens/{address}
openapi: 3.0.0
info:
  title: CoinGecko Pro API
  version: 3.0.0
servers:
  - url: https://pro-api.coingecko.com/api/v3
security:
  - headerAuth: []
  - queryAuth: []
paths:
  /onchain/networks/{network}/tokens/{address}:
    get:
      summary: Token Data by Token Address
      description: >-
        To query specific token data based on the provided token contract
        address on a network
      operationId: token-data-contract-address
      parameters:
        - name: network
          in: path
          required: true
          description: |-
            Network ID. 
            *refers to [`/onchain/networks`](/reference/networks-list).
          schema:
            type: string
            default: solana
        - name: address
          in: path
          required: true
          description: Token contract address.
          schema:
            type: string
            default: 8J69rbLTzWWgUJziFY8jeu5tDwEPBwUz4pKBMr5rpump
        - 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 token data from inactive pools using the most recent swap. 
            Default: `false`
          schema:
            type: boolean
      responses:
        '200':
          description: Token data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenData'
              example:
                data:
                  id: solana_8J69rbLTzWWgUJziFY8jeu5tDwEPBwUz4pKBMr5rpump
                  type: token
                  attributes:
                    address: 8J69rbLTzWWgUJziFY8jeu5tDwEPBwUz4pKBMr5rpump
                    name: Wojak
                    symbol: WOJAK
                    decimals: 6
                    image_url: >-
                      https://coin-images.coingecko.com/coins/images/70552/large/o6zl61yh9k32fu3rimuoe4sxlfeq.?1762469550
                    coingecko_coin_id: wojak-4
                    total_supply: '999846202569505.0'
                    normalized_total_supply: '999846202.569505'
                    price_usd: '0.002108045566'
                    fdv_usd: '2107721.35423239'
                    total_reserve_in_usd: >-
                      324836.697324327524302253045722035111416063520235345591137965837590196823952
                    volume_usd:
                      h24: '235212.154504941'
                    market_cap_usd: '2107721.3542324'
                    launchpad_details:
                      graduation_percentage: 100
                      completed: true
                      completed_at: '2025-11-03T20:41:29.000Z'
                      migrated_destination_pool_address: FDrY5i5kuadZ1ik8gPS26qjj9Rw9mpufXMegGC2HNSP7
                    last_trade_timestamp: '1790730160'
                  relationships:
                    top_pools:
                      data:
                        - id: solana_FDrY5i5kuadZ1ik8gPS26qjj9Rw9mpufXMegGC2HNSP7
                          type: pool
                included:
                  - id: solana_FDrY5i5kuadZ1ik8gPS26qjj9Rw9mpufXMegGC2HNSP7
                    type: pool
                    attributes:
                      base_token_price_usd: >-
                        0.00210804556622384486732684033609689566750787551092744720636443282
                      base_token_price_native_currency: '0.0000176991479492709'
                      base_token_balance: '89850308.783025'
                      base_token_liquidity_usd: '189262.4977768931995821450829183274527396144422153271057'
                      quote_token_price_usd: '119.104353060718103222982579358448975276457545138'
                      quote_token_price_native_currency: '1.0'
                      quote_token_balance: '1587.903236302'
                      quote_token_liquidity_usd: '188980.3581231072840151000952817560870073139787'
                      base_token_price_quote_token: '0.00001769914795'
                      quote_token_price_base_token: '56499.8949591353'
                      address: FDrY5i5kuadZ1ik8gPS26qjj9Rw9mpufXMegGC2HNSP7
                      name: WOJAK / SOL
                      pool_created_at: '2025-11-03T20:41:29Z'
                      token_price_usd: >-
                        0.00210804556622384486732684033609689566750787551092744720636443282
                      fdv_usd: '2107721.35400858'
                      market_cap_usd: '2107721.35400859'
                      price_change_percentage:
                        m5: '0'
                        m15: '0.21'
                        m30: '0.36'
                        h1: '0.29'
                        h6: '-4.34'
                        h24: '-18.37'
                      transactions:
                        m5:
                          buys: 1
                          sells: 0
                          buyers: 1
                          sellers: 0
                        m15:
                          buys: 2
                          sells: 0
                          buyers: 2
                          sellers: 0
                        m30:
                          buys: 7
                          sells: 3
                          buyers: 4
                          sellers: 3
                        h1:
                          buys: 10
                          sells: 3
                          buyers: 7
                          sellers: 3
                        h6:
                          buys: 90
                          sells: 103
                          buyers: 60
                          sellers: 74
                        h24:
                          buys: 718
                          sells: 756
                          buyers: 449
                          sellers: 478
                      volume_usd:
                        m5: '95.7039366558'
                        m15: '101.6537126364'
                        m30: '412.9239965688'
                        h1: '418.5146583339'
                        h6: '21670.2337988852'
                        h24: '196594.914390978'
                      reserve_in_usd: '378242.8559'
                      last_trade_timestamp: '1790730702'
                    relationships:
                      base_token:
                        data:
                          id: solana_8J69rbLTzWWgUJziFY8jeu5tDwEPBwUz4pKBMr5rpump
                          type: token
                      quote_token:
                        data:
                          id: solana_So11111111111111111111111111111111111111112
                          type: token
                      dex:
                        data:
                          id: pumpswap
                          type: dex
components:
  schemas:
    TokenData:
      type: object
      required:
        - data
      properties:
        data:
          $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
                  base_token_balance:
                    type: string
                    description: Base token balance in pool
                  base_token_liquidity_usd:
                    type: string
                    description: Base token liquidity in USD
                  quote_token_price_usd:
                    type: string
                  quote_token_price_native_currency:
                    type: string
                  quote_token_balance:
                    type: string
                    description: Quote token balance in pool
                  quote_token_liquidity_usd:
                    type: string
                    description: Quote token liquidity in USD
                  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
                  token_price_usd:
                    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
                  last_trade_timestamp:
                    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-pro-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_pro_api_key
      description: >-
        Learn how to [set up your API
        key](https://docs.coingecko.com/docs/setting-up-your-api-key)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.