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

# Look up Solana Token

> Reads the mint (decimals) and metadata (symbol, name) of a token and suggests its best pool.



## OpenAPI

````yaml /api/swagger.json get /solana/token/{token_id}
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /solana/token/{token_id}:
    get:
      tags:
        - Solana
      summary: Look up Solana Token
      description: >-
        Reads the mint (decimals) and metadata (symbol, name) of a token and
        suggests its best pool.
      parameters:
        - name: token_id
          in: path
          description: Token mint address
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.lookupTokenResponse'
        '400':
          description: Invalid address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '404':
          description: Token not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '503':
          description: Solana is not initialized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
components:
  schemas:
    handlers.lookupTokenResponse:
      type: object
      properties:
        address:
          type: string
        symbol:
          type: string
        name:
          type: string
        decimals:
          type: integer
        program:
          type: string
          description: Token program owning the mint (token or token-2022)
        pool:
          $ref: '#/components/schemas/handlers.lookupPoolResponse'
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string
    handlers.lookupPoolResponse:
      type: object
      properties:
        address:
          type: string
        platform:
          type: string
        token_a:
          type: string
        token_b:
          type: string

````

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