Skip to content
Scrappa Get API key
RockAuto API 1 credit / request

RockAuto Product API Documentation

GET https://scrappa.co/api/rockauto/product

RockAuto Product API returns one car part by its id from search. Send the part key, the part-key/car-code/part-type tuple (for example 123456/3462170/1684) or a RockAuto moreinfo.php URL. The response has brand, part number, specs, OE and alternate numbers, prices as numbers with currency, availability, warehouse rows and full-size image URLs. RockAuto detail does not publish a spec table or a fitment list, so specs and compatible_vehicles are empty.

RockAuto does not publish a rating or review count, so those fields are null. Prices are numbers. An unknown id answers 404 and is never billed. Costs 1 credit per successful request.

RockAuto Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/rockauto/product
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890 url = https://example.com/product
Response preview
200 OK
{
    "data": {
        "name": "FMG PSG1056",
        "brand": "FMG",
        "specs": [],
        "prices": {
            "price": 10.46,
            "total": 10.46,
            "core_charge": 0
        },
        "rating": null,
        "currency": "USD",
        "image_urls": [
            "https://www.rockauto.com/info/1277/1277_PSG1056_1.jpg"
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

2 optional filters available.

id string Required

Part key or tuple from search, for example 123456/3462170/1684. Use this or url, not both.

Example value 1234567890
url string Required
Open example

A RockAuto moreinfo.php product URL.

Example value https://example.com/product
cc string Optional

Optional numeric car code when id is a single part key.

Example value example
pt string Optional

Optional numeric part type when id is a single part key.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "name": "FMG PSG1056",
        "brand": "FMG",
        "specs": [],
        "prices": {
            "price": 10.46,
            "total": 10.46,
            "core_charge": 0
        },
        "rating": null,
        "currency": "USD",
        "image_urls": [
            "https://www.rockauto.com/info/1277/1277_PSG1056_1.jpg"
        ],
        "oe_numbers": [
            "PSG1056"
        ],
        "scraped_at": "2026-11-17T12:00:00+00:00",
        "part_number": "PSG1056",
        "availability": true,
        "review_count": null,
        "warehouse_rows": [
            {
                "warehouse": "77479",
                "part_number": "FMG PSG1056"
            }
        ],
        "compatible_vehicles": [],
        "interchange_numbers": []
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

No part with this id was found. Not billed.

422

Invalid Parameter

The id is missing or invalid. Not billed.

503

Upstream Unavailable

RockAuto could not be reached. Not billed. Retry shortly.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.