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

# List Companies

> Returns companies matching filter criteria. Results are sorted by `ticker` by default.

Search and filter companies by ticker, name, exchange, sector, industry, and market cap ordering.

```bash theme={null}
curl -sS "$MONETARY_API_BASE_URL/v1/companies?query=nvidia&limit=10" \
  -H "Authorization: Bearer $MONETARY_API_TOKEN" \
  -H "Accept: application/json"
```


## OpenAPI

````yaml GET /v1/companies
openapi: 3.1.0
info:
  title: Monetary Public API
  description: Read-only market intelligence API for companies and prediction market data.
  version: 1.0.0
servers:
  - url: http://127.0.0.1:3003
    description: Local development
  - url: https://api.monetary.dev
    description: Production
security: []
tags:
  - name: System
    description: Service and health endpoints
  - name: Companies
    description: Company directory search and filtering
  - name: Prediction Markets
    description: Prediction market events, markets, and similarity grouping
paths:
  /v1/companies:
    get:
      tags:
        - Companies
      summary: List companies
      description: >-
        Returns companies matching filter criteria. Results are sorted by
        `ticker` by default.
      operationId: listCompanies
      parameters:
        - name: query
          in: query
          description: >-
            Case-insensitive search across `ticker`, `displayName`, and
            `legalName`.
          schema:
            type: string
          example: nvidia
        - name: ticker
          in: query
          description: Case-insensitive exact ticker match.
          schema:
            type: string
          example: AAPL
        - name: isin
          in: query
          description: Case-insensitive exact ISIN match.
          schema:
            type: string
          example: US0378331005
        - name: exchange
          in: query
          description: Case-insensitive exchange filter.
          schema:
            type: string
          example: NASDAQ
        - name: country
          in: query
          description: Case-insensitive country code filter.
          schema:
            type: string
          example: US
        - name: sector
          in: query
          description: Case-insensitive sector filter.
          schema:
            type: string
          example: Technology
        - name: industry
          in: query
          description: Case-insensitive industry filter.
          schema:
            type: string
          example: Semiconductors
        - name: sortBy
          in: query
          description: Sort key.
          schema:
            type: string
            enum:
              - ticker
              - marketCapDollars
            default: ticker
        - name: sortDirection
          in: query
          description: Sort direction.
          schema:
            type: string
            enum:
              - asc
              - desc
            default: asc
        - name: limit
          in: query
          description: Maximum records returned.
          schema:
            type: integer
            minimum: 1
            maximum: 500
            default: 25
      responses:
        '200':
          description: Company list
          headers:
            Cache-Control:
              description: Caching policy for successful GET responses.
              schema:
                type: string
              example: private, max-age=60, stale-while-revalidate=30
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompaniesResponse'
              examples:
                searchExample:
                  value:
                    data:
                      - cik: '0001045810'
                        country: US
                        description: Designs and sells accelerated computing platforms.
                        displayName: NVIDIA
                        exchange: NASDAQ
                        id: co_2af02ee9d4cc4f5a8e8d502d
                        industry: Semiconductors
                        isin: US67066G1040
                        legalName: NVIDIA Corporation
                        logoSquareUrl: https://cdn.example.com/logos/nvda.png
                        marketCapDollars: '2431093284000'
                        sector: Technology
                        ticker: NVDA
                    filters:
                      country: US
                      industry: Semiconductors
                      limit: 25
                      query: nvidia
                      sortBy: ticker
                      sortDirection: asc
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    CompaniesResponse:
      type: object
      required:
        - data
        - filters
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Company'
        filters:
          $ref: '#/components/schemas/CompaniesFilters'
    Company:
      type: object
      required:
        - cik
        - country
        - description
        - displayName
        - exchange
        - id
        - industry
        - isin
        - legalName
        - logoSquareUrl
        - marketCapDollars
        - sector
        - ticker
      properties:
        cik:
          type: string
        country:
          type: string
        description:
          type:
            - string
            - 'null'
        displayName:
          type: string
        exchange:
          type: string
        id:
          type: string
        industry:
          type: string
        isin:
          type: string
        legalName:
          type: string
        logoSquareUrl:
          type:
            - string
            - 'null'
          format: uri
        marketCapDollars:
          type:
            - string
            - 'null'
          description: Large integer represented as a string.
        sector:
          type: string
        ticker:
          type: string
    CompaniesFilters:
      type: object
      required:
        - limit
        - sortBy
        - sortDirection
      properties:
        country:
          type: string
        exchange:
          type: string
        industry:
          type: string
        isin:
          type: string
        limit:
          type: integer
          minimum: 1
          maximum: 500
        query:
          type: string
        sector:
          type: string
        sortBy:
          type: string
          enum:
            - ticker
            - marketCapDollars
        sortDirection:
          type: string
          enum:
            - asc
            - desc
        ticker:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          examples:
            - BadRequest
            - Unauthorized
            - InternalServerError
        message:
          type: string
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidLimit:
              value:
                error: BadRequest
                message: limit must be an integer between 1 and 500
            invalidExpand:
              value:
                error: BadRequest
                message: expand must be 'markets'
    Unauthorized:
      description: Missing or invalid API token
      headers:
        Cache-Control:
          description: Unauthorized responses are never cached.
          schema:
            type: string
          example: no-store
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingBearerToken:
              value:
                error: Unauthorized
                message: 'Expected Authorization: Bearer <token>'
            invalidToken:
              value:
                error: Unauthorized
                message: Invalid API token
    InternalServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            default:
              value:
                error: InternalServerError
                message: Unexpected error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key token

````