Returns compatible vehicle model lines for one maker on an Autodoc product, by calling Autodoc's internal related-auto endpoint (one browser job per request). Use after the Product endpoint: compatibility.cars / compatibility.trucks list makers; copy all fields from each row's fetch.params.
- Call Product with the product page URL →
product_url, product_id, compatibility.cars / compatibility.trucks.
- For each maker, call Related with every parameter from
fetch.params: query, maker_id, vehicle_type, maker_name, and product_id.
POST https://api.piloterr.com/v2/autodoc/product/related
Content-Type: application/json
{
"query": "https://www.auto-doc.fr/ridex/7999541",
"maker_id": 93,
"vehicle_type": "pkw",
"maker_name": "RENAULT",
"product_id": 7999541
}
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Autodoc product page URL (same as Product) |
maker_id |
integer |
yes |
Maker id from compatibility.*[].maker_id |
vehicle_type |
string |
yes |
pkw (passenger cars) or lkw (commercial trucks) |
maker_name |
string |
yes |
Maker label from compatibility (e.g. RENAULT) |
product_id |
integer |
yes |
Article id from Product response or URL path |
All five parameters are required. Omitting any field may return 400 or incomplete vehicle lines.
| Field |
Type |
Description |
product_url |
string |
Canonical product URL echoed back |
product_id |
integer |
Article id |
maker_id |
integer |
Maker id requested |
vehicle_type |
string |
pkw or lkw |
models |
array |
Raw display strings per compatible model line |
vehicles |
array |
Parsed entries (see below) |
vehicles[].raw |
string |
Full line text |
vehicles[].brand |
string |
Maker prefix |
vehicles[].model |
string |
Model / rest of line |
vehicles[].start_date |
string | null |
MM.YYYY when parsed |
vehicles[].end_date |
string | null |
MM.YYYY when parsed |
vehicles[].model_id |
integer |
Autodoc model id when present |
- One credit / browser job per call; repeat per maker if needed.
- Always pass the exact
fetch.params block from Product compatibility rows.
start_date / end_date may be null when the source uses open ranges.
- Expand Product compatibility from maker-level to full vehicle model lines
- Feed PIM or garage tools with TecDoc-style fitment data