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

# Search markets

> Bounded provider discovery, not an exhaustive index. Inspect errors and coverage. Optional ranking orders verified candidates; it cannot invent or select a contract.



## OpenAPI

````yaml /docs/api/openapi.json get /v1/market-search
openapi: 3.1.0
info:
  title: Quantura API
  version: 1.0.0
  description: >-
    Search markets and public datasets, download historical observations, create
    forecasts and inspect screener quantiles.
  contact:
    name: Quantura
    url: https://quantura.studio/contact
  license:
    name: Quantura API Terms
    url: https://quantura.studio/terms
servers:
  - url: https://quantura.studio/api
security:
  - bearerAuth: []
  - clerkOAuth:
      - openid
      - profile
      - email
tags:
  - name: Access
  - name: Forecast
  - name: Screener
  - name: Search
  - name: Download
  - name: Scout
paths:
  /v1/market-search:
    servers:
      - url: https://quantura.studio/api
    get:
      tags:
        - Search
      summary: Search markets
      description: >-
        Bounded provider discovery, not an exhaustive index. Inspect errors and
        coverage. Optional ranking orders verified candidates; it cannot invent
        or select a contract.
      operationId: searchQuanturaMarkets
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
        - name: source
          in: query
          required: false
          schema:
            type: string
            enum:
              - auto
              - alpaca
              - dukascopy
              - kalshi
              - polymarket_us
              - kalshi_perps
              - gemini
              - fiscaldata
              - worldbank_data360
              - bigquery
              - sagemaker
            default: auto
        - name: mode
          in: query
          required: false
          schema:
            type: string
            enum:
              - open
              - live
              - any
            default: open
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 20
            default: 8
        - name: rank
          in: query
          required: false
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
            default: 'false'
      responses:
        '200':
          description: Successful response (illustrative example)
          content:
            application/json:
              schema:
                type: object
              example:
                ok: true
                query: AAPL
                count: 1
                groups:
                  alpaca:
                    - resource_type: instrument
                      resource_id: alpaca:AAPL
                      symbol: AAPL
                      name: Apple Inc.
                      asset_class: equity
                      source: alpaca
                      exchange: NASDAQ
                      history_available: true
                      forecast_available: true
                errors: {}
                coverage: Bounded provider discovery.
        '400':
          description: Invalid request or provider unavailable
          content:
            application/json:
              schema:
                type: object
              example:
                ok: false
                error: event_query_invalid
                message: Choose a provider event and a valid continuation cursor.
        '422':
          description: Invalid request or provider unavailable
          content:
            application/json:
              schema:
                type: object
              example:
                ok: false
                error: event_query_invalid
                message: Choose a provider event and a valid continuation cursor.
        '429':
          description: Invalid request or provider unavailable
          content:
            application/json:
              schema:
                type: object
              example:
                ok: false
                error: event_query_invalid
                message: Choose a provider event and a valid continuation cursor.
      security:
        - bearerAuth: []
        - clerkOAuth:
            - openid
            - profile
            - email
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Clerk personal API key or legacy Quantura key
    clerkOAuth:
      type: oauth2
      description: >-
        Clerk authorization code with PKCE S256. Pass
        resource=https://quantura.studio on authorization and token requests.
        Paid Pro, enterprise or verified administrator API access is required.
      flows:
        authorizationCode:
          authorizationUrl: https://clerk.quantura.studio/oauth/authorize
          tokenUrl: https://clerk.quantura.studio/oauth/token
          refreshUrl: https://clerk.quantura.studio/oauth/token
          scopes:
            openid: Identify the Quantura account
            profile: Resolve the account profile
            email: Verify account email
            offline_access: Refresh access after expiry

````

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