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

# Get Navigation Tree

> Returns the hierarchical navigation structure for market pages

<Tip>
  This endpoint returns the hierarchical navigation structure for market pages. Use it to build sidebar navigation or category menus in your application.
</Tip>


## OpenAPI

````yaml GET /navigation
openapi: 3.0.0
info:
  title: Limitless Exchange API
  description: >-
    Production-ready REST API for prediction market trading, portfolio
    management, and market data on Limitless Exchange (Base L2).
  version: '1.0'
  contact:
    name: API Support
    url: https://limitless.exchange
    email: help@limitless.network
servers:
  - url: https://api.limitless.exchange
    description: Production API
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Markets
    description: Browse, search, and analyze prediction markets
  - name: Market Navigation
    description: Navigation tree, market pages, and property filters
  - name: Trading
    description: Create, manage, and cancel orders
  - name: Portfolio
    description: Position tracking, trade history, and performance
  - name: API Tokens
    description: Scoped API token management for partner integrations
  - name: Partner Accounts
    description: Sub-account creation and allowance recovery for partner integrations
  - name: System
    description: Public API state and availability information
paths:
  /navigation:
    get:
      tags:
        - Market Navigation
      summary: Get navigation tree
      description: Returns the hierarchical navigation structure for market pages
      operationId: MarketNavigationController_getNavigationTree
      parameters: []
      responses:
        '200':
          description: Navigation tree retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NavigationNodeDto'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
components:
  schemas:
    NavigationNodeDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the navigation node
        name:
          type: string
          description: Display name of the navigation item
        slug:
          type: string
          description: URL slug for the navigation item
        path:
          type: string
          description: Full path to this navigation item
          example: /sports/football
        icon:
          type: string
          description: Icon identifier for the navigation item
        children:
          description: Child navigation nodes
          type: array
          items:
            $ref: '#/components/schemas/NavigationNodeDto'
        count:
          type: number
          description: Number of active markets in this navigation node
      required:
        - id
        - name
        - slug
        - path
        - children
    ErrorResponseDto:
      type: object
      properties:
        message:
          type: string
          description: Error message
          example: Invalid order data
      required:
        - message

````