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

# Discover filter values

> Get supported manufacturer names, fuel types, transmissions, body styles, and sorting values.

## Behavior

This endpoint is public and does not consume data quota. Use its values when constructing filter controls. `lang` affects supported manufacturer labels; filter enum values remain the values accepted by search.

**Authentication:** Public; no API key required. **Quota:** Does not consume data quota.

## Request example

```bash theme={"system"}
curl --fail-with-body "https://api.xapichina.com/v1/filters?lang=en"
```

## Illustrative response

The following example is abbreviated. It demonstrates the response shape rather than live inventory or guaranteed field coverage. The generated schema describes the complete contract.

```json theme={"system"}
{
  "manufacturers": [
    "BMW",
    "BYD"
  ],
  "fuel_types": [
    "gasoline",
    "diesel",
    "hybrid",
    "new_energy"
  ],
  "transmissions": [
    "manual",
    "automatic"
  ],
  "body_styles": [
    "compact",
    "suv"
  ],
  "sort_options": [
    "default",
    "price_asc",
    "price_desc",
    "newest",
    "youngest",
    "mileage_asc"
  ]
}
```

Read the [integration guide](/pagination-and-filters) for parameter rules, source interpretation, and error handling. Use the generated request playground with your own server-side API key.


## OpenAPI

````yaml openapi.json GET /v1/filters
openapi: 3.1.0
info:
  title: XAPI China
  description: >-
    Search Chinese used-car listings and retrieve vehicle details, photos,
    CNY/EUR prices, and supported provider-native inspection data.


    XAPI China is an independent service and is not affiliated with or endorsed
    by Che168.


    Authenticate data requests with X-API-Key. GET /v1/makes and GET /v1/filters
    are public. English responses are the default; use lang=zh for Chinese
    output.


    Inspection coverage is explicit. Insurance-event query evidence is not
    structured insurance claim history.


    Create keys and check your account-wide allowance in the XAPI China
    dashboard: https://xapichina.com/dashboard.
  version: 1.0.0
servers:
  - url: https://api.xapichina.com
    description: Production
security: []
paths:
  /v1/filters:
    get:
      tags:
        - Search
      summary: Get available search filter values
      operationId: get_filters_v1_filters_get
      parameters:
        - name: lang
          in: query
          required: false
          schema:
            enum:
              - en
              - zh
            type: string
            description: 'Response language: en (English) or zh (Chinese)'
            default: en
            title: Lang
          description: 'Response language: en (English) or zh (Chinese)'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FiltersResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FiltersResponse:
      properties:
        manufacturers:
          items:
            type: string
          type: array
          title: Manufacturers
        fuel_types:
          items:
            type: string
          type: array
          title: Fuel Types
        transmissions:
          items:
            type: string
          type: array
          title: Transmissions
        body_styles:
          items:
            type: string
          type: array
          title: Body Styles
        sort_options:
          items:
            type: string
          type: array
          title: Sort Options
      type: object
      required:
        - manufacturers
      title: FiltersResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.