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

# Add Network Pool

> Add a custom pool to Gateway's pool list for a specific network.

Args:
    network_id: Network ID in format 'chain-network' (e.g., 'solana-mainnet-beta', 'ethereum-mainnet')
    pool_request: Pool details (connector, type, base, quote, address, etc.)

Example: POST /gateway/networks/solana-mainnet-beta/pools
{
    "connector_name": "raydium",
    "type": "clmm",
    "base": "SOL",
    "quote": "USDC",
    "address": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
    "base_address": "So11111111111111111111111111111111111111112",
    "quote_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "fee_pct": 0.25
}

No Gateway restart is needed: the pool list is read off disk per request, so the
pool is listed and priced as soon as this returns.



## OpenAPI

````yaml /api-reference/openapi.json post /gateway/networks/{network_id}/pools
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /gateway/networks/{network_id}/pools:
    post:
      tags:
        - Gateway
      summary: Add Network Pool
      description: >-
        Add a custom pool to Gateway's pool list for a specific network.


        Args:
            network_id: Network ID in format 'chain-network' (e.g., 'solana-mainnet-beta', 'ethereum-mainnet')
            pool_request: Pool details (connector, type, base, quote, address, etc.)

        Example: POST /gateway/networks/solana-mainnet-beta/pools

        {
            "connector_name": "raydium",
            "type": "clmm",
            "base": "SOL",
            "quote": "USDC",
            "address": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
            "base_address": "So11111111111111111111111111111111111111112",
            "quote_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
            "fee_pct": 0.25
        }


        No Gateway restart is needed: the pool list is read off disk per
        request, so the

        pool is listed and priced as soon as this returns.
      operationId: add_network_pool_gateway_networks__network_id__pools_post
      parameters:
        - name: network_id
          in: path
          required: true
          schema:
            type: string
            title: Network Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddPoolRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Add Network Pool Gateway Networks  Network Id  Pools
                  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    AddPoolRequest:
      properties:
        connector_name:
          type: string
          title: Connector Name
          description: DEX connector name (e.g., 'raydium', 'meteora')
        type:
          type: string
          title: Type
          description: Pool type ('clmm' or 'amm')
        network:
          anyOf:
            - type: string
            - type: 'null'
          title: Network
          description: >-
            Network name (e.g., 'mainnet-beta') - optional for
            /networks/{network_id}/pools
        address:
          type: string
          title: Address
          description: Pool contract address
        base:
          type: string
          title: Base
          description: Base token symbol
        quote:
          type: string
          title: Quote
          description: Quote token symbol
        base_address:
          type: string
          title: Base Address
          description: Base token contract address
        quote_address:
          type: string
          title: Quote Address
          description: Quote token contract address
        fee_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Fee Pct
          description: Pool fee percentage (e.g., 0.25)
      type: object
      required:
        - connector_name
        - type
        - address
        - base
        - quote
        - base_address
        - quote_address
      title: AddPoolRequest
      description: Request to add a liquidity pool
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````