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

# List filters

> Returns filter catalog metadata (dimensions, code trees) as host-defined JSON.



## OpenAPI

````yaml /global-api/fr.openapi.json get /v1/fr/filters
openapi: 3.1.0
info:
  title: The Data City — France company data
  description: >-
    Company data for France, served through The Data City public API gateway.


    Authenticate with an API key as a bearer token. Rate limit is 60 requests
    per minute per key. Call GET /v1/fr/filters before filtering: sector codes
    and location values cannot be guessed, and an unrecognised value returns an
    empty result rather than an error.
  termsOfService: https://thedatacity.com/terms-and-conditions/
  contact:
    name: The Data City
    email: hello@thedatacity.com
  version: v1
servers:
  - url: https://global-api.thedatacity.com
    description: Production
security:
  - ApiKey: []
tags:
  - name: Companies
  - name: Search
  - name: Filters
  - name: Lookups
  - name: Classification
  - name: Metadata
paths:
  /v1/fr/filters:
    get:
      tags:
        - Filters
      summary: List filters
      description: >-
        Returns filter catalog metadata (dimensions, code trees) as host-defined
        JSON.
      operationId: fr_get_filters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFiltersReturn'
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: No API key was supplied, or it is not valid for this environment.
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Rate limit exceeded — 60 requests per minute per key. The
            retry-after header gives the number of seconds to wait.
          headers:
            retry-after:
              description: Seconds to wait before retrying.
              schema:
                type: integer
        '500':
          description: Internal Server Error
components:
  schemas:
    GetFiltersReturn:
      required:
        - Communes
        - EmployeeRanges
        - LegalForms
        - NAFs
        - RTICs
        - TotalCompanies
      type: object
      properties:
        TotalCompanies:
          type: integer
          description: Total number of companies in the database
          format: int32
        NAFs:
          type: array
          items:
            $ref: '#/components/schemas/IDNameCount'
          description: Hierarchical list of NAF codes with counts
          nullable: true
        EmployeeRanges:
          type: array
          items:
            $ref: '#/components/schemas/IDNameCount'
          description: List of employee ranges with counts
          nullable: true
        LegalForms:
          type: array
          items:
            $ref: '#/components/schemas/IDNameCount'
          description: List of legal forms with counts
          nullable: true
        Communes:
          type: array
          items:
            $ref: '#/components/schemas/IDNameCount'
          description: List of communes (municipalities) with counts
          nullable: true
        RTICs:
          type: array
          items:
            $ref: '#/components/schemas/IDNameCount'
          description: >-
            Real-Time Industrial Classifications (RTIC) filter options with
            company counts.
          nullable: true
      additionalProperties: false
      description: Response model containing available filter options for French companies
    Problem:
      type: object
      description: Error response, following RFC 9457 (problem details for HTTP APIs).
      properties:
        type:
          type: string
          description: URI identifying the problem type.
        title:
          type: string
          description: Short, human-readable summary.
        status:
          type: integer
          description: HTTP status code.
        detail:
          type: string
          description: Explanation specific to this occurrence.
        instance:
          type: string
          description: The path that produced the error.
    IDNameCount:
      required:
        - ID
      type: object
      properties:
        ID:
          type: string
          description: Stable identifier (code or bucket key).
          nullable: true
        Name:
          type: string
          description: Human-readable label.
          nullable: true
        Count:
          type: integer
          description: Occurrence count when applicable.
          format: int32
          nullable: true
        Children:
          type: array
          items:
            $ref: '#/components/schemas/IDNameCount'
          description: Child nodes for hierarchical classifications.
          nullable: true
      additionalProperties: false
      description: >-
        Hierarchical filter or bucket item with optional child nodes (NAF/NAIC
        trees, score bands, etc.).
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        An API key issued by The Data City, sent as: Authorization: Bearer
        YOUR_KEY

````