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

# /olx/categories/filters

> Get every search filter available in one OLX category, with its type, unit and full catalog of allowed values — the lookup that turns a category into the facets you can search it by.

**Price:** 20 credits

**⚠️ Common errors:** 412: Category not found, or it exposes no search filters on this OLX domain



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/olx/categories/filters
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/olx/categories/filters:
    post:
      tags:
        - /olx
      summary: /olx/categories/filters
      description: >-
        Get every search filter available in one OLX category, with its type,
        unit and full catalog of allowed values — the lookup that turns a
        category into the facets you can search it by.


        **Price:** 20 credits


        **⚠️ Common errors:** 412: Category not found, or it exposes no search
        filters on this OLX domain
      operationId: __api_olx_categories_filters_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OlxCategoriesFiltersPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OlxCategoryFilter'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OlxCategoriesFiltersPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        domain:
          $ref: '#/components/schemas/OlxDomain'
          default: olx.pl
        count:
          type: integer
          minimum: 1
        category_id:
          type: integer
          exclusiveMinimum: 0
      type: object
      required:
        - count
        - category_id
    OlxCategoryFilter:
      properties:
        '@type':
          type: string
          default: OlxCategoryFilter
        key:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        unit:
          anyOf:
            - type: string
            - type: 'null'
        scope:
          anyOf:
            - type: string
            - type: 'null'
        value_type:
          anyOf:
            - type: string
            - type: 'null'
        position:
          anyOf:
            - type: integer
            - type: 'null'
        values:
          items:
            $ref: '#/components/schemas/OlxCategoryFilterValue'
          type: array
          default: []
        suggested_ranges:
          items:
            type: number
          type: array
          default: []
      type: object
      required:
        - key
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OlxDomain:
      type: string
      enum:
        - olx.pl
        - olx.ua
        - olx.ro
        - olx.bg
        - olx.pt
        - olx.kz
        - olx.uz
    OlxCategoryFilterValue:
      properties:
        '@type':
          type: string
          default: OlxCategoryFilterValue
        value:
          type: string
        label:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - value
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````