Article Analogs (by article + brand)
/v1/aftermarket/analogs
All analogs of one number in one call. Aftermarket article (number + manufacturer, e.g. F026407123 + BOSCH): articles that share its OEM numbers. OEM number (number + car make, e.g. 58101-1RA00 + HYUNDAI): every article that lists it. One row per article with matched_oems; paged with page / per_page (up to 1000), the response gives total and pages.
Параметры
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
article
|
string query | обязательный | Article number to look up — an aftermarket article (e.g. F026407123) or an OEM number (e.g. 58101-1RA00). Spaces and dashes do not matter. Response: match = "article" (crosses share the OEM numbers of the article, listed in matched_oems) or "oem" (every article that lists this OEM number); one row per article, sorted by brand. |
58101-1RA00
|
brand
|
string query | обязательный | For an aftermarket article: its manufacturer (BOSCH, MANN, NGK…). For an OEM number: the car make (HYUNDAI, VW / VOLKSWAGEN, MERCEDES-BENZ…). Case, spaces and punctuation do not matter. |
HYUNDAI
|
lang
|
string query | необязательный | Language for part names: en, ru, de (default: en) |
en
|
page
|
integer query | необязательный | Page number (default 1). The response gives total and pages; each page is one request. |
1
|
per_page
|
integer query | необязательный | Analogs per page, 1–1000 (default 500) |
500
|
Пример запроса
GET https://cdn.plan.parts/api/v1/aftermarket/analogs?article=58101-1RA00&brand=HYUNDAI&lang=en&page=1&per_page=500
Authorization: Bearer your_api_key
Пример ответа
{
"success": true,
"data": {
"found": true,
"match": "oem",
"article": {
"art_id": null,
"article_nr": "58101 1RA00",
"brand": "HYUNDAI",
"name": null
},
"total": 211,
"page": 1,
"per_page": 500,
"pages": 1,
"count": 211,
"crosses": [
{
"art_id": 2001,
"article_nr": "MPH46",
"brand": "MANDO",
"matched_oem": "58101-1RA00",
"matched_oems": [
"58101-1RA00"
],
"part_name": null,
"sup_id": 101,
"article_url": "/api/v1/aftermarket/search?q=MPH46&type=ArticleNumber"
},
{
"art_id": 2002,
"article_nr": "2534801",
"brand": "TEXTAR",
"matched_oem": "58101-1RA00",
"matched_oems": [
"58101-1RA00"
],
"part_name": null,
"sup_id": 102,
"article_url": "/api/v1/aftermarket/search?q=2534801&type=ArticleNumber"
}
]
}
}
Попробовать в песочнице
Test this endpoint with real data in the Developer Portal sandbox.
Попробовать в песочнице →Карта не нужна
Стоимость
Each successful call to this endpoint deducts 2 tokens from your balance. Tokens are only deducted on 2xx responses.