1 credit per call2 endpoints18 datapointsChecked working 6 Dec 2026
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.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | namestring | brandstring | part_numberstring | pricenumber | currencystring | sale_pricenumber | core_chargeinteger | totalnumber | availabilityboolean | quality_groupstring | image_urlurl | part_keystring | car_codestring | part_typestring | detail_urlurl | partnumberstring | scraped_atstring | positioninteger |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
[
{
"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
}
]name,brand,part_number,price,currency,sale_price,core_charge,total,availability,quality_group,image_url,part_key,car_code,part_type,detail_url,partnumber,scraped_at,position 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 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 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 itemGET /v1/rockauto/search?query=brake+pad&carcode=3440320
18 datapoints
Identity
- namestring
- brandstring
- part_typestring
Contact
- image_urlurl
- detail_urlurl
Price
- pricenumber
- currencystring
- sale_pricenumber
Other
- part_numberstring
- core_chargeinteger
- totalnumber
- availabilityboolean
- quality_groupstring
- part_keystring
- car_codestring
- partnumberstring
- scraped_atstring
- positioninteger
Playground
Run this API
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 | none+4 optional | namebrandpart_numberoe_numberspricescurrency+6 more | 1 credit |
GET/v1/rockauto/search | none+8 optional | languagecurrencyvehicleitems | 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:
searchtakes aqueryor apart_number, withmake,year,model,carcode,language(en,deorfr) andpage(1). - One part:
producttakes anidor a part's pageurl, with optionalccandpt.
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.
More cars APIs
Use cases
Price a part across brands for one vehicle
Use the RockAuto API to price a part across brands for one vehicleLook 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 quoteAdd `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 jobFAQ
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.