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

> Detects the platform of a pool account and returns its two tokens.



## OpenAPI

````yaml /api/swagger.json get /solana/pool/{pool_id}
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /solana/pool/{pool_id}:
    get:
      tags:
        - Solana
      summary: Look up Solana Pool
      description: Detects the platform of a pool account and returns its two tokens.
      parameters:
        - name: pool_id
          in: path
          description: Pool address
          required: true
          schema:
            type: string
        - name: token
          in: query
          description: Token mint; required for pumpfun pools
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.lookupPoolResponse'
        '400':
          description: Invalid address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '404':
          description: Pool not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '422':
          description: Not a supported pool
          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.lookupPoolResponse:
      type: object
      properties:
        address:
          type: string
        platform:
          type: string
        token_a:
          type: string
        token_b:
          type: string
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string

````

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