Мы используем cookies для улучшения работы сайта. Продолжая использование, вы соглашаетесь с нашей политикой cookies.

plan.parts
О проекте Базы данных Задачи с данными Как работает Цены Документация Блог Поддержка Контакты
GET 2 tokens

Search Articles

/v1/aftermarket/search

Search parts by article number, OEM, EAN or IAM (up to 200 results). match_type tells how the number matched; for OEM hits brand is the car make and sup_brand the parts manufacturer. For the complete list of analogs use /v1/aftermarket/analogs.

Параметры

Name Type Required Description Example
q string query обязательный Article number, OEM number, EAN or IAM code. Spaces and dashes do not matter. 58101-1RA00
type string query необязательный Number type: ART (manufacturer article number), OEM, IAM, EAN, TRADE. Without type all types are searched. OEM
lang string query необязательный Language for part names: en, ru, de (default: en) en
limit integer query необязательный Max results 1–200 (default: 60). For the complete list of analogs of one number use /v1/aftermarket/analogs. 60

Пример запроса

GET https://cdn.plan.parts/api/v1/aftermarket/search?q=58101-1RA00&type=OEM&lang=en&limit=60
Authorization: Bearer your_api_key

Пример ответа

{
    "success": true,
    "data": {
        "query": "58101-1RA00",
        "normalized": "581011RA00",
        "count": 2,
        "limit": 60,
        "results": [
            {
                "art_id": 2001,
                "article_nr": "MPH46",
                "display_nr": "58101-1RA00",
                "match_type": "OENumber",
                "brand": "HYUNDAI",
                "sup_id": 101,
                "sup_brand": "MANDO",
                "part_name": "Brake Pad Set, disc brake",
                "img_url": null,
                "article_url": "/api/v1/aftermarket/search?q=MPH46&type=ArticleNumber"
            },
            {
                "art_id": 2002,
                "article_nr": "2534801",
                "display_nr": "58101-1RA00",
                "match_type": "OENumber",
                "brand": "HYUNDAI",
                "sup_id": 102,
                "sup_brand": "TEXTAR",
                "part_name": "Brake Pad Set, disc brake",
                "img_url": null,
                "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.