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

# Get similar listings

> Retrieve related listing records for a vehicle.

## Behavior

Unlike search, this endpoint accepts `limit`, from 1 to 24, defaulting to 10. It returns a list rather than a paginated search object. Empty results are possible when no suitable related listings are available. A successful call consumes one data request.

**Authentication:** Secret API key in `X-API-Key`. **Quota:** One successful call consumes one data request.

## Request example

```bash theme={"system"}
curl --fail-with-body "https://api.xapichina.com/v1/cars/59967821/similar?limit=5&lang=en" \
  -H "X-API-Key: $XAPICHINA_API_KEY"
```

## 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"}
[]
```

Read the [integration guide](/vehicle-details) 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/cars/{car_id}/similar
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/cars/{car_id}/similar:
    get:
      tags:
        - Cars
      summary: Get similar listings
      operationId: get_similar_v1_cars__car_id__similar_get
      parameters:
        - name: car_id
          in: path
          required: true
          schema:
            type: integer
            title: Car Id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 24
            minimum: 1
            default: 10
            title: Limit
        - 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:
                type: array
                items:
                  $ref: '#/components/schemas/CarListing'
                title: Response Get Similar V1 Cars  Car Id  Similar Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    CarListing:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        year:
          anyOf:
            - type: integer
            - type: 'null'
          title: Year
        mileage_km:
          anyOf:
            - type: integer
            - type: 'null'
          title: Mileage Km
        price_cny:
          anyOf:
            - type: integer
            - type: 'null'
          title: Price Cny
        price_eur:
          anyOf:
            - type: number
            - type: 'null'
          title: Price Eur
          description: >-
            CNY price converted to EUR, rounded to cents; null if price or
            exchange rate is unavailable
        location:
          anyOf:
            - type: string
            - type: 'null'
          title: Location
        thumbnail:
          anyOf:
            - type: string
            - type: 'null'
          title: Thumbnail
        source_url:
          type: string
          title: Source Url
      type: object
      required:
        - id
        - title
        - source_url
      title: CarListing
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````

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