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

# Search markets

> Free-text search across markets by ticker, venue, and asset.

<Warning>
  **Alpha** — The Market Data API is in alpha. Schema and response format may change. To request access, [contact us](https://www.allium.so/contact) or reach out to your account manager.
</Warning>

Ranked free-text search across markets. Useful for ticker lookups and disambiguating a symbol that trades across multiple venues and instrument types. `match_type` indicates which field matched the query.


## OpenAPI

````yaml _openapi/market-data-api.json GET /api/v1/markets/search
openapi: 3.1.0
info:
  title: Allium Market Data API
  version: 0.1.0
  description: >-
    Unified market data — reference, pricing, and perps primitives across
    trading venues. Alpha; schema may change.
servers:
  - url: https://api.allium.so
security:
  - APIKeyBearer: []
paths:
  /api/v1/markets/search:
    get:
      summary: Search markets
      description: Ranked free-text search across markets.
      parameters:
        - name: q
          in: query
          required: true
          description: Search query (max 1024 chars).
          schema:
            type: string
            maxLength: 1024
          example: HYPE
        - name: limit
          in: query
          description: Maximum results to return (1–100).
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: Ranked search results.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/MarketSearchResult'
                required:
                  - items
components:
  schemas:
    MarketSearchResult:
      type: object
      properties:
        market_id:
          type: string
          examples:
            - hl:perp:HYPE-USDC
        match_type:
          type: string
          enum:
            - market_id
            - symbol
            - venue
            - dasid
          description: Which field matched the query.
        venue:
          type: string
          examples:
            - hyperliquid
        instrument_type:
          type: string
          enum:
            - perp
            - spot
      required:
        - market_id
        - match_type
        - venue
        - instrument_type
  securitySchemes:
    APIKeyBearer:
      type: apiKey
      in: header
      name: X-API-KEY

````