> ## 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.

# /kijiji/listings/filters

> Get the filter catalog Kijiji offers for a category: every filter with its type and, for choice filters, the full list of accepted values with their labels and current listing counts (for example all car makes and models, or all real estate unit types).

**Price:** 5 credits

**⚠️ Common errors:** 412: No filters available for this category (nonexistent category ID)



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/kijiji/listings/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/kijiji/listings/filters:
    post:
      tags:
        - /kijiji
      summary: /kijiji/listings/filters
      description: >-
        Get the filter catalog Kijiji offers for a category: every filter with
        its type and, for choice filters, the full list of accepted values with
        their labels and current listing counts (for example all car makes and
        models, or all real estate unit types).


        **Price:** 5 credits


        **⚠️ Common errors:** 412: No filters available for this category
        (nonexistent category ID)
      operationId: __api_kijiji_listings_filters_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KijijiListingsFiltersPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KijijiListingFilter'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    KijijiListingsFiltersPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        location_id:
          type: integer
          minimum: 0
          default: 0
        category_id:
          type: integer
          minimum: 0
          default: 0
        locale:
          $ref: '#/components/schemas/KijijiLocale'
          default: en
      type: object
    KijijiListingFilter:
      properties:
        '@type':
          type: string
          default: KijijiListingFilter
        name:
          type: string
        label:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        group:
          anyOf:
            - type: string
            - type: 'null'
        parent_name:
          anyOf:
            - type: string
            - type: 'null'
        min_value:
          anyOf:
            - type: number
            - type: 'null'
        max_value:
          anyOf:
            - type: number
            - type: 'null'
        values:
          items:
            $ref: '#/components/schemas/KijijiFilterValue'
          type: array
          default: []
      type: object
      required:
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    KijijiLocale:
      type: string
      enum:
        - en
        - fr
    KijijiFilterValue:
      properties:
        '@type':
          type: string
          default: KijijiFilterValue
        value:
          type: string
        label:
          anyOf:
            - type: string
            - type: 'null'
        parent_value:
          anyOf:
            - type: string
            - type: 'null'
        listing_count:
          anyOf:
            - type: integer
            - 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

````