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

# List Country Codes

> Returns the ISO 3166-1 **alpha-3** country codes accepted by the Agent Primitive search endpoints. Ordered by company volume so the highest-coverage codes (USA, GBR, CHN, FRA, IND, DEU, ...) come first.

**Where these codes are used:**
- `GET /api/v2/tech/companies` - `hq_country_code` parameter.

One-shot discovery call - static, safe to cache.



## OpenAPI

````yaml agent-primitives/openapi.json GET /api/v2/tech/country-options
openapi: 3.1.0
info:
  title: OpenFunnel Agent Primitives
  version: 1.0.0
servers:
  - url: https://api.openfunnel.dev
security: []
paths:
  /api/v2/tech/country-options:
    get:
      tags:
        - Country Codes
      summary: List Country Codes
      description: >-
        Returns the ISO 3166-1 **alpha-3** country codes accepted by the Agent
        Primitive search endpoints. Ordered by company volume so the
        highest-coverage codes (USA, GBR, CHN, FRA, IND, DEU, ...) come first.


        **Where these codes are used:**

        - `GET /api/v2/tech/companies` - `hq_country_code` parameter.


        One-shot discovery call - static, safe to cache.
      operationId: tech_country_options
      parameters: []
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CountryOptionsResponse'
components:
  schemas:
    CountryOptionsResponse:
      type: object
      title: CountryOptionsResponse
      description: >-
        Static catalog of country codes accepted by the `country_code` filter on
        `/api/v2/tech/companies`.
      required:
        - total
        - countries
      properties:
        total:
          type: integer
          title: Total
          description: Total number of supported country codes.
        countries:
          type: array
          items:
            $ref: '#/components/schemas/CountryOption'
          title: Countries
          description: >-
            Country options ordered by company-data volume (most-populated
            first).
    CountryOption:
      type: object
      title: CountryOption
      required:
        - code
        - name
      properties:
        code:
          type: string
          title: Code
          description: ISO 3166-1 alpha-3 country code (e.g. 'USA', 'GBR', 'DEU').
        name:
          type: string
          title: Name
          description: Canonical English country name.

````