# RockAuto Product API Documentation

<p><strong>RockAuto Product API</strong> returns one car part by its <code>id</code> from search. Send the part key, the part-key/car-code/part-type tuple (for example <code>123456/3462170/1684</code>) or a RockAuto <code>moreinfo.php</code> 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.</p><p>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.</p>

- **Documentation:** [https://scrappa.co/docs/rockauto-api/rockauto_product](https://scrappa.co/docs/rockauto-api/rockauto_product)
- **API group:** RockAuto API
- **Endpoint:** `GET https://scrappa.co/api/rockauto/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Part key or tuple from search, for example 123456/3462170/1684. Use this or url, not both. |
| `url` | string | Yes | A RockAuto moreinfo.php product URL. |
| `cc` | string | No | Optional numeric car code when id is a single part key. |
| `pt` | string | No | Optional numeric part type when id is a single part key. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 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. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
