---
title: "RockAuto API: part search as JSON | Perceptlayer"
description: "RockAuto API for part search by keyword, part number or vehicle, and part details with prices, core charges and stock as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/rockauto
---

[APIs](https://perceptlayer.com/apis) / [Cars](https://perceptlayer.com/verticals/cars) / RockAuto

1 credit per call 2 endpoints 18 datapoints 

# RockAuto API

RockAuto API for part search by keyword, part number or vehicle, and part details with prices, core charges and stock as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | name string | brand string | part\_number string | price number | currency string | sale\_price number | core\_charge integer | total number | availability boolean | quality\_group string | image\_url url | part\_key string | car\_code string | part\_type string | detail\_url url | partnumber string | scraped\_at string | position integer |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | FMG PSG1056 | FMG | PSG1056 | 10.46 | USD | 10.46 | 0 | 10.46 | true | Economy | https://www.rockauto.com/info/1277/1277\_PSG1056\_1.jpg | 18570437 | 3440320 | 1684 | https://www.rockauto.com/en/moreinfo.php?pk=18570437&cc=3440320&pt=1684 | PSG1056 | 2026-11-18T07:13:20+00:00 | 1 |
| 2 | PRO LINE PS1057C | PRO LINE | PS1057C | 10.54 | USD | 10.54 | 0 | 10.54 | true | Economy | https://www.rockauto.com/info/873/873\_PS1057C\_1.jpg | 14834021 | 3440320 | 1684 | https://www.rockauto.com/en/moreinfo.php?pk=14834021&cc=3440320&pt=1684 | PS1057C | 2026-11-18T07:13:20+00:00 | 2 |
| 3 | DURAGO BP1057MS | DURAGO | BP1057MS | 12.83 | USD | 12.83 | 0 | 12.83 | true | Economy | https://www.rockauto.com/info/635/BP1057MS\_1.jpg | 9839061 | 3440320 | 1684 | https://www.rockauto.com/en/moreinfo.php?pk=9839061&cc=3440320&pt=1684 | BP1057MS | 2026-11-18T07:13:20+00:00 | 3 |

Recorded from our API · 3 items shown · 18 datapoints per item GET /v1/rockauto/search?query=brake+pad&carcode=3440320

18 datapoints

### Identity

-   name string
-   brand string
-   part\_type string

### Contact

-   image\_url url
-   detail\_url url

### Price

-   price number
-   currency string
-   sale\_price number

### Other

-   part\_number string
-   core\_charge integer
-   total number
-   availability boolean
-   quality\_group string
-   part\_key string
-   car\_code string
-   partnumber string
-   scraped\_at string
-   position integer

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/rockauto/search?query=brake+pad&carcode=3440320" \
  -H "X-API-Key: $API_KEY"
```

RockAuto · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/rockauto/product`](https://perceptlayer.com/apis/rockauto/product) | none +4 optional | `name` `brand` `part_number` `oe_numbers` `prices` `currency` +6 more | 1 credit |
| [GET `/v1/rockauto/search`](https://perceptlayer.com/apis/rockauto/search) | none +8 optional | `language` `currency` `vehicle` `items` | 1 credit |

Overview

## About the RockAuto API

## What you can get

The RockAuto API returns RockAuto auto parts, prices and availability as JSON through 2 endpoints.

-   **Search:** `search` takes a `query` or a `part_number`, with `make`, `year`, `model`, `carcode`, `language` ( `en`, `de` or `fr`) and `page` ( `1`).
-   **One part:** `product` takes an `id` or a part's page `url`, with optional `cc` and `pt`.

The recorded `search` for "brake pad" on `carcode` 3440320 returns the matched `vehicle` (a 2018 Dodge Charger with the 3.6L V6), a `count` of 231 parts and `has_next_page` `false`. Each item has `name`, `brand`, `part_number`, `price`, `sale_price`, `core_charge`, `total`, `currency`, `availability`, `quality_group`, `part_key` and `position`. The first result is the FMG PSG1056 at `10.46` USD in the `Economy` group.

## How a call works

Search, then read the part: `GET /v1/rockauto/search?query=brake pad&carcode=3440320`, with your key in the `X-API-Key` header, returns each part's `part_key`. Pass that to `product` as `id`, for example `GET /v1/rockauto/product?id=18570437`, which returned the part's `brand`, `part_number`, `oe_numbers`, `prices` ( `price`, `core_charge` and `total`), `availability` and `warehouse_rows`. Every successful call costs 1 credit; failed calls cost nothing.

Cars JSON REST MCP

### More cars APIs

[Agriaffaires](https://perceptlayer.com/apis/agriaffaires) [Aramisauto](https://perceptlayer.com/apis/aramisauto) [Autohero](https://perceptlayer.com/apis/autohero) [Autoline](https://perceptlayer.com/apis/autoline) [AutoScout24](https://perceptlayer.com/apis/autoscout24) [AutoTempest](https://perceptlayer.com/apis/autotempest) [AutoTrack.nl](https://perceptlayer.com/apis/autotrack-nl) [Autotrader](https://perceptlayer.com/apis/autotrader) [AutoTrader UK](https://perceptlayer.com/apis/autotrader-uk) [AutoTrader.ca](https://perceptlayer.com/apis/autotrader-ca) [AutoUncle](https://perceptlayer.com/apis/autouncle) [Autovit](https://perceptlayer.com/apis/autovit)

Use cases

### Price a part across brands for one vehicle

`Use the RockAuto API to price a part across brands for one vehicle` 

### Look up a part by \`part\_number\` and check \`availability\`

`` Use the RockAuto API to look up a part by `part_number` and check `availability` `` 

### Compare \`Economy\` and higher \`quality\_group\` options for a repair quote

`` Use the RockAuto API to compare `Economy` and higher `quality_group` options for a repair quote `` 

### Add \`core\_charge\` to a part's cost before you price a job

`` Use the RockAuto API to add `core_charge` to a part's cost before you price a job `` 

FAQ

## Questions

**How much does the RockAuto API cost?**

Each successful call costs one credit, whichever endpoint you call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Can I search for parts that fit one vehicle?**

Yes. Pass \`make\`, \`year\` and \`model\`, or a \`carcode\`, with your \`query\`. The response names the matched \`vehicle\`, with its \`make\`, \`year\`, \`model\`, \`engine\` and \`car\_code\`.

**Can I search by part number?**

Yes. \`search\` takes a \`part\_number\` in place of a \`query\`.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official RockAuto API?**

No. Perceptlayer is an independent service and is not affiliated with RockAuto. It returns RockAuto data as JSON with a Perceptlayer key, so there is no RockAuto developer account, app review or partner approval to get first. It only reads data: if RockAuto has an official API and you need to act on your own RockAuto account, such as posting, managing orders or reading private data, use that one.

**Should I build a RockAuto scraper instead?**

You can, but a RockAuto scraper is code you maintain: page changes break it, requests get blocked, and RockAuto's terms govern how you collect data. The RockAuto API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the RockAuto API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
