---
title: "RockAuto API: Search | Perceptlayer"
description: "Search from RockAuto as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/rockauto/search
---

[APIs](https://perceptlayer.com/apis) / [RockAuto](https://perceptlayer.com/apis/rockauto) / Search

# RockAuto: Search

Search from RockAuto as JSON. 1 credit per successful call.

GET `/v1/rockauto/search`

## Parameters

Send parameters in the query string.

Required Send `query` or `part_number`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Optional | Up to 120 characters |
| `part_number` | string | Optional | Up to 60 characters |
| `make` | string | Optional | Up to 60 characters |
| `year` | string | Optional | Any |
| `model` | string | Optional | Up to 60 characters |
| `carcode` | string | Optional | Any |
| `language` | string | Optional | en, de, fr |
| `page` | integer | Optional | 1 |

## Example request

RockAuto

GET /v1/rockauto/search?query=brake+pad&carcode=3440320 

```
{
  "success": true,
  "data": {
    "query": "brake pad",
    "language": "en",
    "page": 1,
    "count": 231,
    "has_next_page": false,
    "currency": "USD",
    "vehicle": {
      "make": "dodge",
      "year": "2018",
      "model": "charger",
      "engine": "3.6l v6",
      "car_code": "3440320",
      "part_type": "1684"
    },
    "items": [
      {
        "name": "FMG PSG1056",
        "brand": "FMG",
        "part_number": "PSG1056",
        "price": 10.46,
        "currency": "USD",
        "sale_price": 10.46,
        "core_charge": 0,
        "total": 10.46,
        "availability": true,
        "quality_group": "Economy",
        "image_url": "https://www.rockauto.com/info/1277/1277_PSG1056_1.jpg",
        "part_key": "18570437",
        "car_code": "3440320",
        "part_type": "1684",
        "detail_url": "https://www.rockauto.com/en/moreinfo.php?pk=18570437&cc=3440320&pt=1684",
        "partnumber": "PSG1056",
        "scraped_at": "2026-11-18T07:13:20+00:00",
        "position": 1
      },
      {
        "name": "PRO LINE PS1057C",
        "brand": "PRO LINE",
        "part_number": "PS1057C",
        "price": 10.54,
        "currency": "USD",
        "sale_price": 10.54,
        "core_charge": 0,
        "total": 10.54,
        "availability": true,
        "quality_group": "Economy",
        "image_url": "https://www.rockauto.com/info/873/873_PS1057C_1.jpg",
        "part_key": "14834021",
        "car_code": "3440320",
        "part_type": "1684",
        "detail_url": "https://www.rockauto.com/en/moreinfo.php?pk=14834021&cc=3440320&pt=1684",
        "partnumber": "PS1057C",
        "scraped_at": "2026-11-18T07:13:20+00:00",
        "position": 2
      },
      {
        "name": "DURAGO BP1057MS",
        "brand": "DURAGO",
        "part_number": "BP1057MS",
        "price": 12.83,
        "currency": "USD",
        "sale_price": 12.83,
        "core_charge": 0,
        "total": 12.83,
        "availability": true,
        "quality_group": "Economy",
        "image_url": "https://www.rockauto.com/info/635/BP1057MS_1.jpg",
        "part_key": "9839061",
        "car_code": "3440320",
        "part_type": "1684",
        "detail_url": "https://www.rockauto.com/en/moreinfo.php?pk=9839061&cc=3440320&pt=1684",
        "partnumber": "BP1057MS",
        "scraped_at": "2026-11-18T07:13:20+00:00",
        "position": 3
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_044f52ed2d204a8e870c71b9c55646fc",
    "credits_charged": 1,
    "credits_remaining": 997
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/rockauto?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `language` | string |
| `currency` | string |
| `vehicle` | object |
| `items` | object\[\] |
