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

# Get a DEX

> Returns the DEX seeded under the given slug on the given chain, including
the router, factory, quoter and settlement addresses used to price and
encode a swap. Both chainId and slug are required, as a slug identifies a
DEX only within one chain.



## OpenAPI

````yaml /api-reference/openapi.json get /blockchains/dex
openapi: 3.0.0
info:
  description: |-
    DEX aggregation and swap-quote API for EVM chains.
    Maintains a catalogue of blockchains, tokens, DEXes and liquidity
    pools, and serves executable swap quotes built from on-chain AMM data.
  title: uatu API
  contact: {}
  version: 0.1.0
servers:
  - url: https://api.uatu.dev
    description: Hosted API
  - url: http://localhost:8080
    description: Self-hosted instance (set PORT in your environment)
security: []
tags:
  - name: quotes
    description: Price a swap and get the calldata needed to execute it.
  - name: catalogue
    description: Discover the chains, tokens, DEXes and pools uatu knows about.
paths:
  /blockchains/dex:
    get:
      tags:
        - catalogue
      summary: Get a DEX
      description: >-
        Returns the DEX seeded under the given slug on the given chain,
        including

        the router, factory, quoter and settlement addresses used to price and

        encode a swap. Both chainId and slug are required, as a slug identifies
        a

        DEX only within one chain.
      parameters:
        - description: EVM chain ID
          name: chainId
          in: query
          required: true
          schema:
            type: integer
        - description: DEX slug, e.g. uniswap
          name: slug
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/server.APIResponse'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/uatu.Dex'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.APIResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.APIResponse'
components:
  schemas:
    server.APIResponse:
      type: object
      required:
        - message
      properties:
        code:
          type: integer
        data: {}
        message:
          type: string
    uatu.Dex:
      type: object
      properties:
        name:
          type: string
        permit2Address:
          type: string
        settlementAddress:
          type: string
        slug:
          type: string
        universalRouterAddress:
          type: string
        v2FactoryAddress:
          type: string
        v2RouterAddress:
          type: string
        v3FactoryAddress:
          type: string
        v3QuoterAddress:
          type: string
        v3RouterAddress:
          type: string
        version:
          type: string

````