API reference
The Industrial Injection Dealer API gives your software the catalog a dealer sees on this site: our parts, the dealer's prices and what is ready to ship. It is read-only — nothing can be ordered or changed through it.
It is a plain HTTPS API. Every answer is JSON, and errors use ordinary HTTP status codes. There are eleven addresses, and this page covers all of them: a list of parts, one part, many parts by number, a stock-only list, and stock for many parts by number — and the vehicles a part fits, the parts for a vehicle, and our parts for another maker's number, plus the lists of our brands and categories.
A key belongs to one person at a dealer and reads what that person may see on this site. The dealer makes it after signing in, under API keys in their account, and hands it to you.
The prices and stock figures in the examples on this page are made up. The part numbers are real.
https://api.iidp.dev/dealer/v1GET /items
GET /items/{no}
POST /items/lookup
GET /stock
POST /stock/lookup
GET /items/{no}/fitment
GET /fitment
GET /vehicles
GET /cross-references
GET /brands
GET /categoriesQuick start
From nothing to your first answer in three steps.
1get a key- The dealer signs in, opens API keys in their account, chooses Make a new key and gives it to you — it is shown once.
2send one request- Put the key in the
Authorizationheader and ask for one part of the list. The samples on this page come in cURL, PHP, Python and JavaScript; pick your language once and every sample follows. 3read the answer- You get JSON: how many parts, where the next page starts, and the parts. If the status is not
200, the body says why — see Errors.
From here: Which call to use for what you want to build, and Pagination to read the whole catalog. Or skip the code for now: try the calls in your browser.
curl https://api.iidp.dev/dealer/v1/items?limit=1 \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$key = getenv('IIDP_API_KEY'); // keep the key out of your code
$ch = curl_init('https://api.iidp.dev/dealer/v1/items?limit=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $key],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);import os
import requests
key = os.environ["IIDP_API_KEY"] # keep the key out of your code
r = requests.get(
"https://api.iidp.dev/dealer/v1/items",
params={"limit": 1},
headers={"Authorization": f"Bearer {key}"},
timeout=30,
)// Node.js 18 or later — run this on your server, never in a web page
const key = process.env.IIDP_API_KEY;
const res = await fetch("https://api.iidp.dev/dealer/v1/items?limit=1", {
headers: { Authorization: `Bearer ${key}` },
});{
"count": 1,
"next_after": "…",
"items": [ { "no": "…", "brand": "…", "description": "…", … } ]
}Which call to use
Pick the call by what you need. A lookup is one request, however many part numbers it carries; a list is one request per page.
The whole catalogprices, stock, everything- List items, page by page — about 30 requests at 1000 parts each.
One brandparts or stock- List items or List stock with
brandset to the exact brand code, for exampleGARRETT. The parts you carrywith prices- Look up many items — up to 1000 part numbers at once.
The parts you carrystock only- Look up stock — up to 1000 part numbers at once, a small answer.
Stock for everythingstock only- List stock; add
in_stock=1for only what is ready to ship. About 6 requests at 5000 parts each. One partright now- Retrieve an item.
Parts for a vehiclewith prices or stock- List items or List stock with
year,make,model,engine. Take the values from Vehicles. The vehicles a part fitsone part or many- Fitment of one part, or List fitment for every part that has any.
An OEM or competitor numberto our part- Find by another number.
One categoryparts or stock- List items or List stock with
categoryset to a code from List categories; everything below that category comes with it. Everything about a partlong text, pictures, size- Full detail —
detail=fullon one part or on a lookup. Join to ACES / PIES datayou already load- Every answer carries the standard ids beside the names:
aaia_item_noandpart_type_idon a part,base_vehicle_idandengine_base_idon fitment — see The item object. What changed about our partssince a date- List items with
modified_since— usually a handful of parts a day. It covers the part's record, not its price or stock. Our brands and categoriesfor your own menus- List brands and List categories.
There is no filter by description. Filter on your side after reading the list.
GET /dealer/v1/items
GET /dealer/v1/items/{no}
POST /dealer/v1/items/lookup
GET /dealer/v1/stock
POST /dealer/v1/stock/lookup
GET /dealer/v1/items/{no}/fitment
GET /dealer/v1/fitment
GET /dealer/v1/vehicles
GET /dealer/v1/cross-references
GET /dealer/v1/brands
GET /dealer/v1/categoriesKeeping your data current
A store or a system that carries our parts needs one import and then four things on a schedule. Each kind of change has its own way of being found — no single call finds them all.
1. First importonce- List items page by page — about 30 requests. For long descriptions and pictures, Look up many items with
detail=full, 200 numbers at a time — for the parts you list, since the whole catalog is about 144 requests and only some 4,000 parts have a long description. List fitment (about 3 large requests atlimit=500), List brands and List categories once each. 2. Part changesonce a day- List items with
modified_sinceset to the latestmodified_atyou have received so far — keep it from one run to the next. Do not use the clock time of your last run: a change reaches the API only the night after it was made, carrying the time it was made, so "since my last run" can skip it for good. The last part comes back again each time, which is harmless. Move your saved value forward only after every page of the run has been read and applied — if the run stops half way, keep the old value and start again. (A shortcut: always ask for the last two days. It holds only while you run every day without a gap; after a missed run, or when our nightly update is late, look back further. The saved value has no such weakness.) It returns the parts whose record changed — a new description, number, category or weight — usually a handful. Run it after 03:40 UTC, when the night's updates are in. 3. Pricesonce a day, in full- Read List items in full, or look up the parts you carry. A price can change with nothing else about the part changing — a new price list, or a sale starting or ending — so
modified_sincedoes not find it.prices_as_oftells you how fresh the prices are;discount_endstells you the last day of a sale. 4. Stockas often as you need- List stock in full — about 6 requests — or Look up stock for the parts you carry. Stock is brought up to date several times an hour;
stock_as_oftells you when. Prices are brought up to date once a night. 5. Reconcileonce a week- Read the whole item list — every page, with no brand, category or vehicle setting — and only then compare it with what you hold. A part you carry that is no longer in the list is not offered at the moment: stop selling it until it is listed again. (With a filter on, a part also drops out when its brand or category changes, so compare against the unfiltered list.) Read List fitment again as well — fitment has no "changed since", and it changes rarely.
Three traps
A scan that did not finishdecide only from a complete read- Whether a part is gone, or sold out, can only be told from a complete scan: every page read without an error, down to the one where
next_afterisnull. A part missing from one page is on another page; a part missing because a page failed is not gone. So collect the whole answer first and apply removals and zeros afterwards — never page by page, and never from a scan that stopped early. A part that sells outand in_stock=1- An answer filtered with
in_stock=1leaves out a part that has just sold out — it does not come back with a zero. If you refresh stock from such an answer, set to zero every part that is not in the complete answer — all of its pages together, not a single page. Or read without the filter: then the part is listed withavailable0. A failed requestis not "no such part"- Only a
404on Retrieve an item, a number innot_found, or an empty list forno=means a part is not there. A429,500or503means try again later; a401or403is about the key or the account, never about the part; a400means the request is wrong and will fail again unchanged. Never remove or zero a part because a request failed.
All of it fits well inside the rate limit: the full item list is about 29 requests and the full stock list about 6.
# once a day, after 03:40 UTC
GET /items?modified_since=<latest modified_at you hold> part changes
GET /items?limit=1000 (+ after=…) prices, in full
# as often as you need
GET /stock?limit=5000 (+ after=…) stock, in full
# once a week
GET /items?limit=1000 (+ after=…) compare: what is gone?
GET /fitment (+ after=…) fitment, againAuthentication
Send the key with every request in the Authorization header, as a bearer token. The key is accepted nowhere else — not in the address, not in a cookie.
A key starts with iidp_ and is shown once, when it is made. Treat it like a password: keep it in your server's configuration, never in a web page or an app your customers load, and never in an e-mail. Anyone who has it reads the dealer's prices.
All requests must use HTTPS. Call the API from your server; a key in a browser is a key given away.
If a key may have been seen by someone else, the dealer revokes it under API keys and makes a new one. A revoked key stops working at once. A dealer can hold up to 3 active keys, so one per system can be replaced without stopping the others.
curl https://api.iidp.dev/dealer/v1/items?limit=1 \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$key = getenv('IIDP_API_KEY'); // keep the key out of your code
$ch = curl_init('https://api.iidp.dev/dealer/v1/items?limit=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $key],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);import os
import requests
key = os.environ["IIDP_API_KEY"] # keep the key out of your code
r = requests.get(
"https://api.iidp.dev/dealer/v1/items",
params={"limit": 1},
headers={"Authorization": f"Bearer {key}"},
timeout=30,
)// Node.js 18 or later — run this on your server, never in a web page
const key = process.env.IIDP_API_KEY;
const res = await fetch("https://api.iidp.dev/dealer/v1/items?limit=1", {
headers: { Authorization: `Bearer ${key}` },
});Authorization: Bearer iidp_YOUR_KEYErrors
A 200 means the request worked. Anything else carries a JSON body with one field, error, a sentence for a person to read. Decide what to do from the status code, not from the sentence.
400syour request- Something to fix on your side: the key, the address or the pace.
400Bad Request- The body of a lookup or a stock lookup is missing or not what it expects, or a setting has a value it cannot take (a
yearthat is not four digits, an emptyref). The sentence says what to send. 401Unauthorized- No
Authorizationheader, or the key is wrong or revoked. A wrong and a revoked key get the same answer. 403Forbidden- The key is good, but the dealer's portal access is switched off, or the key was made for a different customer account — then the dealer makes a new key. Also: stock was asked for with a sign-in that does not show stock.
404Not Found- No such part, or no such address.
405Method Not Allowed- Each address takes one method:
POSTfor the two lookups,GETfor the others.HEADis not supported. 429Too Many Requests- More than 60 requests in one minute with this key. See Rate limits.
500Internal Server Error- Something went wrong on our side.
503Service Unavailable- Prices or account settings are being brought up to date. Try again in a few minutes.
After a 500 or 503, wait and try again — a few minutes, not a tight loop.
{
"error": "Missing or malformed Authorization header"
}{
"error": "Invalid or inactive API key"
}{
"error": "Portal access is switched off for this contact"
}{
"error": "Item not found"
}{
"error": "Price data is temporarily unavailable"
}Rate limits
Each key may make 60 requests a minute. The count starts again at the top of every clock minute, and each key has its own 60. A request that is refused with 403 or 503 still counts.
Every answer to a request with a valid key tells you where you stand:
X-RateLimit-Limitheader- Requests allowed per minute: 60.
X-RateLimit-Remainingheader- Requests left in this minute.
X-RateLimit-Resetheader- Seconds until the minute ends and the count starts again.
Retry-Afterheader, on a 429- Seconds to wait before the next request.
When you get a 429, wait the number of seconds in Retry-After and send the same request again. That wait ends at the top of the minute, so one wait is enough. Every program that uses the same key shares its 60 — give a second system its own key.
You should rarely meet the limit: the list returns up to 1000 parts per request, so the whole catalog is about 30 requests. Read the list instead of asking for parts one at a time. A lookup of up to 1000 part numbers counts as one request.
# -i prints the answer's headers, so you can see where you stand
curl -i "https://api.iidp.dev/dealer/v1/items?limit=1" \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
function iidpGet(string $url): array
{
for ($try = 1; $try <= 3; $try++) {
$wait = 0;
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
CURLOPT_HEADERFUNCTION => function ($ch, $line) use (&$wait) {
if (stripos($line, 'Retry-After:') === 0) {
$wait = (int)trim(substr($line, 12));
}
return strlen($line);
},
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status === 429) { // too fast: wait as told, then the same request again
sleep(max(1, $wait) + 1); // one second more, to be past the top of the minute
continue;
}
if ($status !== 200) {
throw new RuntimeException("API answered $status: $body");
}
return json_decode($body, true);
}
throw new RuntimeException('Still rate limited after 3 tries');
}import os
import time
import requests
def iidp_get(url, **params):
headers = {"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"}
for _ in range(3):
r = requests.get(url, params=params, headers=headers, timeout=30)
if r.status_code == 429: # too fast: wait as told, then the same request again
time.sleep(max(1, int(r.headers.get("Retry-After", "1"))) + 1) # +1: past the top of the minute
continue
r.raise_for_status()
return r.json()
raise RuntimeError("Still rate limited after 3 tries")async function iidpGet(url) {
for (let attempt = 0; attempt < 3; attempt++) {
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
if (res.status === 429) { // too fast: wait as told, then the same request again
const wait = Math.max(1, Number(res.headers.get("Retry-After") ?? 1));
await new Promise((resolve) => setTimeout(resolve, (wait + 1) * 1000)); // +1: past the top of the minute
continue;
}
if (!res.ok) throw new Error(`API answered ${res.status}: ${await res.text()}`);
return res.json();
}
throw new Error("Still rate limited after 3 tries");
}X-RateLimit-Limit: 60
X-RateLimit-Remaining: 18
X-RateLimit-Reset: 18HTTP/1.1 429 Too Many Requests
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 30
Retry-After: 30
{
"error": "Rate limit reached: 60 requests per minute per key. Try again in 30 seconds."
}Pagination
The list is returned in pages, in part-number order. Each answer holds the parts of one page and a cursor, next_after: the part number the next page starts after.
To read the whole list, ask again with after set to the next_after you just received, and stop when next_after is null. Pass the value back exactly as you got it — your HTTP library should URL-encode it, since a part number can hold characters like / or +.
limitoptional, integer- How many parts per page, from 1 to 1000. 500 when left out. A value outside the range is moved to the nearest end.
afteroptional, string- A part number. The page starts with the first part after it.
The list answer
countinteger- How many parts are in this answer.
next_afterstring or null- The cursor for the next page;
nullon the last page. itemsarray- The parts — see The item object.
# First request
curl "https://api.iidp.dev/dealer/v1/items?limit=1000" \
-H "Authorization: Bearer iidp_YOUR_KEY"
# Next request: after = the next_after you just received
curl "https://api.iidp.dev/dealer/v1/items?limit=1000&after=214311" \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$key = getenv('IIDP_API_KEY');
$parts = [];
$after = null;
do {
$url = 'https://api.iidp.dev/dealer/v1/items?limit=1000'
. ($after !== null ? '&after=' . rawurlencode($after) : '');
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $key],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status !== 200) {
throw new RuntimeException("API answered $status: $body");
}
$page = json_decode($body, true);
$parts = array_merge($parts, $page['items']);
$after = $page['next_after']; // null on the last page
} while ($after !== null);import os
import requests
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['IIDP_API_KEY']}"
parts, after = [], None
while True:
params = {"limit": 1000}
if after is not None:
params["after"] = after
r = session.get("https://api.iidp.dev/dealer/v1/items", params=params, timeout=30)
r.raise_for_status()
page = r.json()
parts.extend(page["items"])
after = page["next_after"] # None on the last page
if after is None:
breakconst key = process.env.IIDP_API_KEY;
const parts = [];
let after = null;
do {
const url = new URL("https://api.iidp.dev/dealer/v1/items");
url.searchParams.set("limit", "1000");
if (after !== null) url.searchParams.set("after", after);
const res = await fetch(url, { headers: { Authorization: `Bearer ${key}` } });
if (!res.ok) throw new Error(`API answered ${res.status}: ${await res.text()}`);
const page = await res.json();
parts.push(...page.items);
after = page.next_after; // null on the last page
} while (after !== null);{
"count": 1000,
"next_after": "214311",
"items": [ … ]
}{
"count": 212,
"next_after": null,
"items": [ … ]
}The item object
One published part. Which fields you get follows the dealer's portal settings at the time of the request: the price fields come only with a sign-in that shows prices, the stock fields only with one that shows stock. Fields you may not see are left out of the object, not set to null.
Where a field holds an id of the Auto Care Association's standard tables — the brand's AAIA code, the category, subcategory and part type ids, the base vehicle and engine base ids on fitment — it is the same id as in the ACES and PIES data we publish. Use them to join these answers to catalog data you already load. The names beside them are for people.
Amounts and quantities are JSON numbers in their shortest form (249.5, 50), in US dollars.
Always
nostring- Our part number. The key to match on.
brandstring or null- The brand code, for example
GARRETT. A few parts have no brand. brand_namestring or null- The brand as people write it.
descriptionstring or null- The part's name.
upcstring or null- The UPC.
image_urlstring or null- A link to the picture.
core_item_nostring or null- The part's core item, when it has a single core.
carb_eo_numberstring or null- The CARB Executive Order number.
manufacturer_nostring or null- The maker's own part number, as the maker writes it — spaces included, for example
0 445 120 255. For our own parts it is the same asno. aaia_item_nostring or null- The brand's AAIA code followed by the manufacturer number without spaces, for example
BBHK0445120255— the key many catalog systems match on, and the same one as "AAIA Brand Item No" in our price file. When we hold no manufacturer number, our own number is used instead, without its brand prefix —BDZW408492-0003for our408492-0003.nullwhen the brand has no AAIA code. category_codestring or null- The part's category, as a code from List categories, for example
12-225-5764. part_type_idinteger or null- The Auto Care part type (PartTerminology) id, for example
5764for a turbocharger. Filled when the category is a part type — the third level of the tree. modified_atstring or null- When the part's record last changed:
YYYY-MM-DD HH:MM:SS, in UTC — unlikeprices_as_ofandstock_as_of, which are Mountain time. A change of price, sale, stock or fitment does not move it.
With prices
msrpnumber or null- List price.
mapnumber or null- Minimum advertised price.
pricenumber or null- What the dealer pays today — after a sale or discount that applies to them.
regular_pricenumber or null- The dealer's price before any sale or discount.
discount_percentnumber or null- The percent off;
nullwhen no sale applies. discount_endsstring or null- The last day of the sale,
YYYY-MM-DD. price_levelstring or null- The dealer's price level, for example
WD. currencystring- Always
USD. core_pricenumber or null- The core charge; for a kit, the total of all its cores.
nullwhen the part has none. core_bomarray or null- For a kit only: one entry per core, with
no,quantity,price_eachandline_total. prices_as_ofstring- When the prices were last brought up to date:
YYYY-MM-DD HH:MM:SS, Mountain time.
With stock
availableinteger- How many are ready to ship. Never below 0.
in_stockboolean- Whether at least one is ready to ship.
stock_as_ofstring or null- When the stock was last brought up to date:
YYYY-MM-DD HH:MM:SS, Mountain time.
{
"no": "739619-5004S",
"brand": "GARRETT",
"brand_name": "Garrett",
"description": "POWERMAX GTP38R Turbocharger, Kit FORD 7.3L 99.5-03",
"upc": null,
"image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/329901_001.jpg",
"core_item_no": null,
"carb_eo_number": null,
"manufacturer_no": "739619-5004S",
"aaia_item_no": "BDZW739619-5004S",
"category_code": "12-225-5764",
"part_type_id": 5764,
"modified_at": "2026-11-11 18:38:56",
"msrp": 3000,
"map": 2100,
"price": 1445,
"regular_price": 1700,
"discount_percent": 15,
"discount_ends": "2026-12-21",
"price_level": "WD",
"currency": "USD",
"core_price": null,
"core_bom": null,
"prices_as_of": "2026-11-30 20:27:02",
"available": 24,
"in_stock": true,
"stock_as_of": "2026-12-01 09:11:02"
}List items
GET /dealer/v1/items
Returns our published parts — the same ones the catalog on this site shows — in part-number order, a page at a time.
Settings
brandoptional, string- One exact brand code, as returned in
brand— not the brand name. in_stockoptional1returns only parts with at least one ready to ship. Ignored when the key's owner cannot see stock.nooptional, string- One exact part number, answered as a list. An unknown number gives an empty list, not a 404. The safe way to ask for a part whose number holds a
/or a space. limitoptional, integer- Parts per page, 1 to 1000; 500 when left out.
afteroptional, string- The cursor — see Pagination.
categoryoptional, string- A category code from List categories, for example
12-225. Returns the parts in that category and in everything below it. An unknown code gives an empty list. modified_sinceoptional, date or date and time- Only parts whose record changed at or after it:
2026-12-01or2026-12-01 14:30:00. It finds a change to the part itself — description, numbers, category, weight. It does not find a part whose price, sale or stock changed, and a part that was removed does not appear. For prices and stock, read this list and List stock in full. The time is UTC; a date alone means the start of that day in UTC. Changes reach the API once a night, so ask once a day — after 03:40 UTC you get the night's record and price updates together. After maintenance on our side many parts can carry a new date at once: page through the answer like any list. Which date to send from one run to the next: see Keeping your data current — not the time of your last run. year, make, model, engineoptional- Only parts with fitment for that vehicle.
yearis four digits; the others are matched exactly, upper and lower case aside (Ramdoes not matchRam 2500) — take the values from Vehicles. Only about one part in twenty-five has fitment on file, so this is a short list. base_vehicle, engine_baseoptional, whole numbers- The same filter by Auto Care id: a BaseVehicle id (one year, make and model) and an EngineBase id. They can be combined with each other and with the four text settings; everything given must match. An id we have no fitment for gives an empty list.
Settings the API does not know are ignored — not refused. So a misspelled setting gives you the unfiltered list: when you add a filter, check once that the answer really is narrower.
Returns
An object with count, next_after and items, an array of item objects. A list nothing matches is a 200 with an empty array.
curl -G https://api.iidp.dev/dealer/v1/items \
-H "Authorization: Bearer iidp_YOUR_KEY" \
-d brand=IIDP \
-d limit=1<?php
$query = http_build_query(['brand' => 'IIDP', 'limit' => 1]);
$ch = curl_init('https://api.iidp.dev/dealer/v1/items?' . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$page = json_decode(curl_exec($ch), true);
curl_close($ch);
foreach ($page['items'] as $item) {
echo $item['no'], ' ', $item['description'], PHP_EOL;
}import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/items",
params={"brand": "IIDP", "limit": 1},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
for item in r.json()["items"]:
print(item["no"], item["description"])const url = new URL("https://api.iidp.dev/dealer/v1/items");
url.search = new URLSearchParams({ brand: "IIDP", limit: "1" });
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const page = await res.json();
for (const item of page.items) {
console.log(item.no, item.description);
}{
"count": 1,
"next_after": "214311",
"items": [
{
"no": "214311",
"brand": "IIDP",
"brand_name": "Industrial Injection",
"description": "Industrial Injection Reman Stock 5.9L 2003-04 Injector Pack w/Connecting Tubes",
"upc": "840256904734",
"image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/files/215312_new.jpg",
"core_item_no": null,
"carb_eo_number": null,
"manufacturer_no": "214311",
"aaia_item_no": "GHJV214311",
"category_code": "12-315-48155",
"part_type_id": 48155,
"modified_at": "2026-11-11 18:12:11",
"msrp": 1750,
"map": 1700,
"price": 1200,
"regular_price": 1200,
"discount_percent": null,
"discount_ends": null,
"price_level": "WD",
"currency": "USD",
"core_price": 480,
"core_bom": [
{
"no": "CRIC503",
"quantity": 6,
"price_each": 80,
"line_total": 480
}
],
"prices_as_of": "2026-11-30 20:27:02",
"available": 0,
"in_stock": false,
"stock_as_of": "2026-12-01 09:11:02"
}
]
}{
"error": "year must be four digits, like 2004"
}{
"count": 4,
"next_after": null,
"items": [ … ]
}{
"error": "base_vehicle must be a whole number, like 17862"
}{
"error": "modified_since must be a date like 2026-12-01, or a date and time like 2026-12-01 14:30:00"
}Retrieve an item
GET /dealer/v1/items/{no}
Returns one published part by our part number.
Settings
noin the address- The part number, URL-encoded. For a number that holds a
/or a space, use List items withno=instead.
Returns
The item object, or a 404 when there is no published part with that number.
To bring a whole catalog up to date, read the list — one request per part runs into the rate limit quickly.
curl https://api.iidp.dev/dealer/v1/items/739619-5004S \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$no = '739619-5004S';
$ch = curl_init('https://api.iidp.dev/dealer/v1/items/' . rawurlencode($no));
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status === 200) {
$item = json_decode($body, true);
} elseif ($status === 404) {
$item = null; // no such part — the only answer that means that
} else {
// 429, 500, 503 …: the part may well exist. Do not treat this as "no such part".
throw new RuntimeException("API answered $status: $body");
}import os
import requests
from urllib.parse import quote
no = "739619-5004S"
r = requests.get(
f"https://api.iidp.dev/dealer/v1/items/{quote(no, safe='')}",
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
if r.status_code == 404:
item = None # no such part — the only answer that means that
else:
r.raise_for_status() # 429, 500, 503 …: an error, not "no such part"
item = r.json()const no = "739619-5004S";
const res = await fetch(
`https://api.iidp.dev/dealer/v1/items/${encodeURIComponent(no)}`,
{ headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` } },
);
let item = null; // stays null only for a 404: no such part
if (res.ok) {
item = await res.json();
} else if (res.status !== 404) {
// 429, 500, 503 …: the part may well exist. Do not treat this as "no such part".
throw new Error(`API answered ${res.status}: ${await res.text()}`);
}{
"no": "739619-5004S",
"brand": "GARRETT",
"brand_name": "Garrett",
"description": "POWERMAX GTP38R Turbocharger, Kit FORD 7.3L 99.5-03",
"upc": null,
"image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/329901_001.jpg",
"core_item_no": null,
"carb_eo_number": null,
"manufacturer_no": "739619-5004S",
"aaia_item_no": "BDZW739619-5004S",
"category_code": "12-225-5764",
"part_type_id": 5764,
"modified_at": "2026-11-11 18:38:56",
"msrp": 3000,
"map": 2100,
"price": 1445,
"regular_price": 1700,
"discount_percent": 15,
"discount_ends": "2026-12-21",
"price_level": "WD",
"currency": "USD",
"core_price": null,
"core_bom": null,
"prices_as_of": "2026-11-30 20:27:02",
"available": 24,
"in_stock": true,
"stock_as_of": "2026-12-01 09:11:02"
}Look up many items
POST /dealer/v1/items/lookup
Returns the parts for a list of part numbers you send — the quick way to refresh the parts you carry without reading the whole catalog. It only reads; it is a POST because a thousand part numbers do not fit in an address.
Body
JSON, with the header Content-Type: application/json.
nosrequired, array of strings- 1 to 1000 part numbers. Upper and lower case do not matter; a number sent twice comes back once; blank entries are dropped.
Returns
countinteger- How many parts were found.
itemsarray- The item objects, in part-number order — with the same fields the list gives this key.
not_foundarray of strings- The numbers that are not published parts, as you sent them.
One lookup counts as one request against the rate limit, however many numbers it carries. A body that is missing, not JSON, without nos (or with only blank entries), with more than 1000 numbers or with an entry that is not a part number gets a 400. A lookup that finds nothing is a 200 with an empty items and every number in not_found.
curl https://api.iidp.dev/dealer/v1/items/lookup \
-H "Authorization: Bearer iidp_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"nos": ["214311", "739619-5004s", "NOSUCHPART"]}'<?php
$nos = ['214311', '739619-5004s', 'NOSUCHPART']; // up to 1000 per request
$ch = curl_init('https://api.iidp.dev/dealer/v1/items/lookup');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(['nos' => $nos]),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('IIDP_API_KEY'),
'Content-Type: application/json',
],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);
$found = $answer['items'];
$unknown = $answer['not_found'];import os
import requests
nos = ["214311", "739619-5004s", "NOSUCHPART"] # up to 1000 per request
r = requests.post(
"https://api.iidp.dev/dealer/v1/items/lookup",
json={"nos": nos},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()
found, unknown = answer["items"], answer["not_found"]const nos = ["214311", "739619-5004s", "NOSUCHPART"]; // up to 1000 per request
const res = await fetch("https://api.iidp.dev/dealer/v1/items/lookup", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.IIDP_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ nos }),
});
const { items, not_found } = await res.json();{
"count": 2,
"items": [
{
"no": "214311",
"brand": "IIDP",
"brand_name": "Industrial Injection",
"description": "Industrial Injection Reman Stock 5.9L 2003-04 Injector Pack w/Connecting Tubes",
"upc": "840256904734",
"image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/files/215312_new.jpg",
"core_item_no": null,
"carb_eo_number": null,
"manufacturer_no": "214311",
"aaia_item_no": "GHJV214311",
"category_code": "12-315-48155",
"part_type_id": 48155,
"modified_at": "2026-11-11 18:12:11",
"msrp": 1750,
"map": 1700,
"price": 1200,
"regular_price": 1200,
"discount_percent": null,
"discount_ends": null,
"price_level": "WD",
"currency": "USD",
"core_price": 480,
"core_bom": [
{
"no": "CRIC503",
"quantity": 6,
"price_each": 80,
"line_total": 480
}
],
"prices_as_of": "2026-11-30 20:27:02",
"available": 0,
"in_stock": false,
"stock_as_of": "2026-12-01 09:11:02"
},
{
"no": "739619-5004S",
"brand": "GARRETT",
"brand_name": "Garrett",
"description": "POWERMAX GTP38R Turbocharger, Kit FORD 7.3L 99.5-03",
"upc": null,
"image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/329901_001.jpg",
"core_item_no": null,
"carb_eo_number": null,
"manufacturer_no": "739619-5004S",
"aaia_item_no": "BDZW739619-5004S",
"category_code": "12-225-5764",
"part_type_id": 5764,
"modified_at": "2026-11-11 18:38:56",
"msrp": 3000,
"map": 2100,
"price": 1445,
"regular_price": 1700,
"discount_percent": 15,
"discount_ends": "2026-12-21",
"price_level": "WD",
"currency": "USD",
"core_price": null,
"core_bom": null,
"prices_as_of": "2026-11-30 20:27:02",
"available": 24,
"in_stock": true,
"stock_as_of": "2026-12-01 09:11:02"
}
],
"not_found": [
"NOSUCHPART"
]
}{
"error": "Send a JSON body like {\"nos\": [\"PART-1\", \"PART-2\"]}"
}Full detail
GET /dealer/v1/items/{no}?detail=full
POST /dealer/v1/items/lookup?detail=full
Add detail=full to Retrieve an item or to Look up many items and every item object gains the fields below, after the usual ones. The lists ignore the setting, so they stay light. A lookup with detail=full takes at most 200 part numbers instead of 1000 — one long description can run to tens of thousands of characters.
Most of these fields are filled for only part of our catalog: a long description for about one part in seven, weight for about as many, pictures for fewer. A field we have nothing for is null (or an empty list) — plan for that.
The added fields
description_longstring or null- The long description as plain text; lines are separated by a line break. Never HTML — escape it like any other text when you print it.
imagesarray of strings- Links to every picture, in order. The first is normally the same as
image_url. Empty when there is none. categoryobject or nullcode,nameandpath— the category and each level above it, top first, each withcodeandname. Each also hasaaia_id, the Auto Care id of that level (category, subcategory, part type), and the category itself adefinition: Auto Care's description of the part type, ornull.weight_lbnumber or null- Weight of one, in pounds.
length_in, width_in, height_innumbers or null- Size of one, in inches. All three are given or none.
country_of_originstring or null- A country code, for example
MX. no_californiaboolean- A flag from the part's record. It is not documented yet — do not build on it until this page says what it means.
year_from, year_tointegers or null- The model years the part is made for.
part_makestring or null- The make in the part's application line on this site, for example
Cummins. part_departmentstring or null- The department, as on a part page of this site — for example
Injectors. part_groupstring or null- The group within the department, as on a part page of this site.
performance_productboolean- True for a performance part.
Any other value of detail is a 400.
curl -G https://api.iidp.dev/dealer/v1/items/214311 \
-H "Authorization: Bearer iidp_YOUR_KEY" \
--data-urlencode "detail=full"<?php
$url = 'https://api.iidp.dev/dealer/v1/items/214311?'
. http_build_query(['detail' => 'full']);
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/items/214311",
params={"detail": "full"},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/items/214311");
url.search = new URLSearchParams({ detail: "full" });
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"description_long": "This is an all in one injector kit for your 2003-2004 5.9L Cummins!\nThis kit includes SIX of our Stock Reman injectors and SIX Bosch connecting tubes.\n…\nFEATURES:\n- Built With Brand New Factory OEM Parts\n- Factory Replacement\n- 2 year Unlimited Mileage Warranty",
"images": [
"https://cdn.shopify.com/s/files/1/0553/1956/0326/files/215312_new.jpg",
"https://cdn.shopify.com/s/files/1/0553/1956/0326/files/1572x6.jpg",
"https://cdn.shopify.com/s/files/1/0553/1956/0326/products/214311_001.jpg"
],
"category": {
"code": "12-315-48155",
"name": "Fuel Injector Kit",
"path": [
{
"code": "12",
"name": "Air and Fuel Delivery",
"aaia_id": 12
},
{
"code": "12-315",
"name": "Service Kits",
"aaia_id": 315
},
{
"code": "12-315-48155",
"name": "Fuel Injector Kit",
"aaia_id": 48155
}
],
"aaia_id": 48155,
"definition": null
},
"weight_lb": 11,
"length_in": 14,
"width_in": 14,
"height_in": 4,
"country_of_origin": null,
"no_california": false,
"year_from": 2003,
"year_to": 2004,
"part_make": "Cummins",
"part_department": "Injectors",
"part_group": "II Reman Injectors",
"performance_product": false
}{
"category": {
"code": "12-225-5764",
"name": "Turbocharger",
"path": [
{
"code": "12",
"name": "Air and Fuel Delivery",
"aaia_id": 12
},
{
"code": "12-225",
"name": "Turbocharger, Supercharger and Ram Air",
"aaia_id": 225
},
{
"code": "12-225-5764",
"name": "Turbocharger",
"aaia_id": 5764
}
],
"aaia_id": 5764,
"definition": "A complete turbocharger assembly."
}
}{
"error": "detail must be \"full\" or left out"
}Prices and discounts
price is what the dealer pays for the part today. When a sale or discount applies to them, price is the price after it, regular_price the price before it, and discount_percent and discount_ends say how much and until which day. With no sale, price equals regular_price and the two discount fields are null.
These are the same figures the dealer sees on a part page of this site. Sales start and end, so read prices again before you rely on them — at least daily, and on the day after discount_ends.
msrp and map are the same for every dealer. A dealer account without a dealer price level gets those two and null for price, regular_price and price_level.
The core charge is never part of price. The dealer's cart on this site always shows the final price of an order.
{
"no": "739619-5004S",
"price": 1445,
"regular_price": 1700,
"discount_percent": 15,
"discount_ends": "2026-12-21"
}{
"no": "214311",
"price": 1200,
"regular_price": 1200,
"discount_percent": null,
"discount_ends": null
}Core charges and kits
Many remanufactured parts carry a core charge: a deposit that is credited when the old part comes back. core_price is that charge for one of the part, separate from price.
A kit can carry several cores. Then core_bom lists them and core_price is their total:
core_bom[].nostring- The core's item number.
core_bom[].quantitynumber- How many of that core the kit carries.
core_bom[].price_eachnumber- The charge for one of that core.
core_bom[].line_totalnumberquantity×price_each, rounded to the cent.
For a part that is not a kit, core_bom is null; for a part with no core at all, core_price is null too. What the dealer pays up front is price + core_price.
{
"no": "214311",
"price": 1200,
"core_price": 480,
"core_bom": [
{
"no": "CRIC503",
"quantity": 6,
"price_each": 80,
"line_total": 480
}
]
}List stock
GET /dealer/v1/stock
Returns only what is ready to ship, for every published part — a small, fast answer for keeping stock up to date between full catalog reads. The figures are the same as available and in_stock in the item object.
Only for a key whose owner's sign-in shows stock; otherwise the answer is a 403.
Settings
brandoptional, string- One exact brand code.
in_stockoptional1returns only parts with at least one ready to ship.limitoptional, integer- Parts per page, 1 to 5000; 1000 when left out.
afteroptional, string- The cursor — see Pagination. Paging works exactly as in the item list.
year, make, model, engineoptional- Only parts with fitment for that vehicle, as in List items.
base_vehicleandengine_basework here too. categoryoptional, string- A category code; the parts in it and below it, as in List items.
Returns
countinteger- How many parts are in this answer.
next_afterstring or null- The cursor for the next page;
nullon the last page. items[].nostring- Our part number.
items[].availableinteger- How many are ready to ship. Never below 0.
items[].in_stockboolean- Whether at least one is ready to ship.
items[].stock_as_ofstring or null- When the stock was last brought up to date, Mountain time.
curl -G https://api.iidp.dev/dealer/v1/stock \
-H "Authorization: Bearer iidp_YOUR_KEY" \
-d limit=3<?php
$key = getenv('IIDP_API_KEY');
$stock = [];
$after = null;
do {
$url = 'https://api.iidp.dev/dealer/v1/stock?limit=5000'
. ($after !== null ? '&after=' . rawurlencode($after) : '');
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $key],
]);
$page = json_decode(curl_exec($ch), true);
curl_close($ch);
foreach ($page['items'] as $row) {
$stock[$row['no']] = $row['available'];
}
$after = $page['next_after']; // null on the last page
} while ($after !== null);import os
import requests
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['IIDP_API_KEY']}"
stock, after = {}, None
while True:
params = {"limit": 5000}
if after is not None:
params["after"] = after
r = session.get("https://api.iidp.dev/dealer/v1/stock", params=params, timeout=30)
r.raise_for_status()
page = r.json()
for row in page["items"]:
stock[row["no"]] = row["available"]
after = page["next_after"] # None on the last page
if after is None:
breakconst key = process.env.IIDP_API_KEY;
const stock = new Map();
let after = null;
do {
const url = new URL("https://api.iidp.dev/dealer/v1/stock");
url.searchParams.set("limit", "5000");
if (after !== null) url.searchParams.set("after", after);
const res = await fetch(url, { headers: { Authorization: `Bearer ${key}` } });
if (!res.ok) throw new Error(`API answered ${res.status}: ${await res.text()}`);
const page = await res.json();
for (const row of page.items) stock.set(row.no, row.available);
after = page.next_after; // null on the last page
} while (after !== null);{
"count": 3,
"next_after": "-12TOMBSTONEANLOCKR",
"items": [
{
"no": "-10TOMBSTONEANLOCKR",
"available": 12,
"in_stock": true,
"stock_as_of": "2026-12-01 10:11:02"
},
{
"no": "-12TOMBSTONEANLOCKB",
"available": 0,
"in_stock": false,
"stock_as_of": "2026-12-01 10:11:02"
},
{
"no": "-12TOMBSTONEANLOCKR",
"available": 3,
"in_stock": true,
"stock_as_of": "2026-12-01 10:11:02"
}
]
}{
"count": 0,
"next_after": null,
"items": []
}{
"error": "Stock is not shown for this contact"
}Look up stock
POST /dealer/v1/stock/lookup
Returns what is ready to ship for a list of part numbers you send — the smallest answer for keeping the stock of the parts you carry up to date. It is Look up many items with the stock row in place of the item object.
Only for a key whose owner's sign-in shows stock; otherwise the answer is a 403.
Body
JSON, with the header Content-Type: application/json.
nosrequired, array of strings- 1 to 1000 part numbers. Upper and lower case do not matter; a number sent twice comes back once; blank entries are dropped.
Returns
countinteger- How many parts were found.
itemsarray- One row per part found, in part-number order:
no,available,in_stock,stock_as_of— the same row as List stock. not_foundarray of strings- The numbers that are not published parts, as you sent them.
There is no paging: one answer holds at most 1000 rows. One lookup counts as one request against the rate limit. A body that is not a proper list of part numbers gets a 400, as in the item lookup. A lookup that finds nothing is a 200 with an empty items and every number in not_found.
curl https://api.iidp.dev/dealer/v1/stock/lookup \
-H "Authorization: Bearer iidp_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"nos": ["214311", "739619-5004s", "NOSUCHPART"]}'<?php
$nos = ['214311', '739619-5004s', 'NOSUCHPART']; // up to 1000 per request
$ch = curl_init('https://api.iidp.dev/dealer/v1/stock/lookup');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(['nos' => $nos]),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('IIDP_API_KEY'),
'Content-Type: application/json',
],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);
foreach ($answer['items'] as $row) {
echo $row['no'], ': ', $row['available'], PHP_EOL;
}import os
import requests
nos = ["214311", "739619-5004s", "NOSUCHPART"] # up to 1000 per request
r = requests.post(
"https://api.iidp.dev/dealer/v1/stock/lookup",
json={"nos": nos},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
for row in r.json()["items"]:
print(row["no"], row["available"])const nos = ["214311", "739619-5004s", "NOSUCHPART"]; // up to 1000 per request
const res = await fetch("https://api.iidp.dev/dealer/v1/stock/lookup", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.IIDP_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ nos }),
});
const { items, not_found } = await res.json();
for (const row of items) console.log(row.no, row.available);{
"count": 2,
"items": [
{
"no": "214311",
"available": 0,
"in_stock": false,
"stock_as_of": "2026-12-01 10:11:02"
},
{
"no": "739619-5004S",
"available": 24,
"in_stock": true,
"stock_as_of": "2026-12-01 10:11:02"
}
],
"not_found": [
"NOSUCHPART"
]
}Fitment of one part
GET /dealer/v1/items/{no}/fitment
Returns the vehicles one published part fits, one row per vehicle and engine, ordered by make, model, year and engine. Any working key may ask; no price or stock right is needed.
Fitment is on file for about 1,100 of our parts. A part without fitment rows is not a part that fits nothing — it means we have not recorded it. Do not hide such parts from your customers. Fitment is also updated less often than prices and stock.
Returns
nostring- The part number.
countinteger- How many rows follow. 0 for a part with no fitment on file.
vehicles[].yearinteger or null- Model year.
vehicles[].makestring or null- For example
Dodge. vehicles[].modelstring or null- For example
Ram 2500. vehicles[].enginestring or null- The engine as stored — the value to send back as the
enginesetting. vehicles[].engine_labelstring or null- The engine as this site shows it to people.
vehicles[].notestring or null- A remark on the fit.
vehicles[].base_vehicle_idinteger- The Auto Care BaseVehicle id. One id is exactly one year, make and model.
vehicles[].engine_base_idinteger or null- The Auto Care EngineBase id;
nullon the few rows without one.
The rows are not grouped or folded into year ranges; do that on your side if you want "2003–2004". An unknown part is a 404.
curl https://api.iidp.dev/dealer/v1/items/214311/fitment \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$url = 'https://api.iidp.dev/dealer/v1/items/214311/fitment';
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/items/214311/fitment",
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/items/214311/fitment");
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"no": "214311",
"count": 4,
"vehicles": [
{
"year": 2003,
"make": "Dodge",
"model": "Ram 2500",
"engine": "5.9L 6Cyl L (-)(359)",
"engine_label": "5.9L 6-cyl L",
"note": "HO Condition: Reman",
"base_vehicle_id": 1988,
"engine_base_id": 1126
},
{
"year": 2004,
"make": "Dodge",
"model": "Ram 2500",
"engine": "5.9L 6Cyl L (-)(359)",
"engine_label": "5.9L 6-cyl L",
"note": "HO Condition: Reman",
"base_vehicle_id": 17862,
"engine_base_id": 1126
},
{
"year": 2003,
"make": "Dodge",
"model": "Ram 3500",
"engine": "5.9L 6Cyl L (-)(359)",
"engine_label": "5.9L 6-cyl L",
"note": "HO Condition: Reman",
"base_vehicle_id": 2003,
"engine_base_id": 1126
},
{
"year": 2004,
"make": "Dodge",
"model": "Ram 3500",
"engine": "5.9L 6Cyl L (-)(359)",
"engine_label": "5.9L 6-cyl L",
"note": "HO Condition: Reman",
"base_vehicle_id": 17863,
"engine_base_id": 1126
}
]
}{
"no": "739619-5004S",
"count": 0,
"vehicles": []
}List fitment
GET /dealer/v1/fitment
Returns fitment for many parts, a page of parts at a time, in part-number order. Only parts that have fitment appear.
Settings
year, make, model, engineoptional- Only parts that fit that vehicle — each still listed with all its vehicles. Values as in Vehicles. Or by Auto Care id:
base_vehicle,engine_base. nooptional, string- One exact part number — the way to ask for a number that holds a
/or a space. limitoptional, integer- Parts per page, 1 to 500; 100 when left out.
afteroptional, string- The cursor — see Pagination.
Returns
countinteger- How many parts are in this answer.
next_afterstring or null- The cursor for the next page;
nullon the last page. itemsarray- One entry per part:
no,countandvehicles, as in Fitment of one part.
On each entry count is that part's vehicles; on the answer it is the parts in the page. A part can fit hundreds of vehicles, so a page can be large — about 190 KB at the default of 100 parts; lower limit if answers get heavy.
curl -G https://api.iidp.dev/dealer/v1/fitment \
-H "Authorization: Bearer iidp_YOUR_KEY" \
--data-urlencode "year=2004" \
--data-urlencode "make=Dodge" \
--data-urlencode "limit=1"<?php
$url = 'https://api.iidp.dev/dealer/v1/fitment?'
. http_build_query(['year' => '2004', 'make' => 'Dodge', 'limit' => '1']);
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/fitment",
params={"year": "2004", "make": "Dodge", "limit": "1"},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/fitment");
url.search = new URLSearchParams({ year: "2004", make: "Dodge", limit: "1" });
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"count": 1,
"next_after": "0433175516-R1",
"items": [
{
"no": "0433175516-R1",
"count": 8,
"vehicles": [ … eight rows, Ram 2500 and Ram 3500 of 2004 to 2007, each as in Fitment of one part … ]
}
]
}Vehicles
GET /dealer/v1/vehicles
Returns the values for a year / make / model / engine picker, each with the number of published parts that fit. Send what your user has chosen so far and each list is narrowed by the other three choices — the same way the vehicle lookup on this site works. With 2004 and Dodge chosen, years are the years Dodge has parts for, makes the makes with parts for 2004, and models and engines those of a 2004 Dodge. With nothing chosen you get all four full lists.
Settings
year, make, model, engineoptional- The choices made so far.
base_vehicleandengine_baseare taken as well.
Returns
yearsarrayvalue(an integer) andparts, newest year first.makesarrayvalueandparts, A to Z.modelsarrayvalueandparts, A to Z.enginesarrayvalue,labelandparts, A to Z. Showlabelto people; sendvalueback as the setting. Each also hasengine_base_ids, the Auto Care EngineBase ids that name stands for — usually one.
curl -G https://api.iidp.dev/dealer/v1/vehicles \
-H "Authorization: Bearer iidp_YOUR_KEY" \
--data-urlencode "year=2004" \
--data-urlencode "make=Dodge"<?php
$url = 'https://api.iidp.dev/dealer/v1/vehicles?'
. http_build_query(['year' => '2004', 'make' => 'Dodge']);
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/vehicles",
params={"year": "2004", "make": "Dodge"},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/vehicles");
url.search = new URLSearchParams({ year: "2004", make: "Dodge" });
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"years": [
{ "value": 2010, "parts": 173 },
{ "value": 2009, "parts": 167 },
…
{ "value": 1989, "parts": 47 }
],
"makes": [
{ "value": "Audi", "parts": 8 },
{ "value": "Chevrolet", "parts": 144 },
{ "value": "Dodge", "parts": 222 },
…
],
"models": [
{ "value": "Ram 2500", "parts": 222 },
{ "value": "Ram 3500", "parts": 221 }
],
"engines": [
{ "value": "5.9L 6Cyl L (-)(359)", "label": "5.9L 6-cyl L", "engine_base_ids": [1126], "parts": 222 }
]
}Find by another number
GET /dealer/v1/cross-references
Returns our published parts for an OEM or competitor part number. Everything but letters and digits is ignored — spaces, dashes, dots, slashes — and so is upper or lower case; what is left must match a number we have on file exactly. There is no search by the start of a number. Our own part number written without its punctuation is found the same way.
Settings
refrequired, string- The other maker's number, up to 100 characters, with at least one letter or digit.
Returns
refstring- The number as you sent it.
ref_normalizedstring- The number as it was matched: letters and digits only, upper case.
countinteger- How many of our parts match. One number often points at several parts — new, remanufactured, sets.
itemsarray- The item objects, in part-number order, at most 100 — with the fields this key may see.
No match is a 200 with count 0. A missing or empty ref is a 400. About 5,200 of our parts have cross references on file, and the list is not complete: a number we do not find may still have a part of ours. The API does not list a part's reference numbers.
curl -G https://api.iidp.dev/dealer/v1/cross-references \
-H "Authorization: Bearer iidp_YOUR_KEY" \
--data-urlencode "ref=0445-120 018"<?php
$url = 'https://api.iidp.dev/dealer/v1/cross-references?'
. http_build_query(['ref' => '0445-120 018']);
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/cross-references",
params={"ref": "0445-120 018"},
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/cross-references");
url.search = new URLSearchParams({ ref: "0445-120 018" });
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"ref": "0445-120 018",
"ref_normalized": "0445120018",
"count": 20,
"items": [ … ]
}{
"ref": "NOSUCHREF000",
"ref_normalized": "NOSUCHREF000",
"count": 0,
"items": []
}List brands
GET /dealer/v1/brands
Returns every brand that has at least one published part, in code order. No settings, no paging.
Returns
countinteger- How many brands follow.
items[].codestring- The brand code — what the
brandsetting of the lists takes. items[].namestring- The brand as people write it.
items[].aaia_codestring or null- The brand's AAIA code.
items[].partsinteger- Published parts of that brand.
curl https://api.iidp.dev/dealer/v1/brands \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$url = 'https://api.iidp.dev/dealer/v1/brands';
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/brands",
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/brands");
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"count": 75,
"items": [
{ "code": "ABP", "name": "Absolute Parts", "aaia_code": null, "parts": 2 },
{ "code": "ACCY", "name": "Misc accy, gauges, etc.", "aaia_code": null, "parts": 6 },
{ "code": "ACD", "name": "ACDelco", "aaia_code": null, "parts": 2 },
…
]
}List categories
GET /dealer/v1/categories
Returns our category tree as a flat list, each parent before its children. Only categories with a published part in them or below them are listed. No settings, no paging.
Returns
countinteger- How many categories follow.
items[].codestring- The category code — what the
categorysetting of the lists takes. A child's code starts with its parent's:12Air and Fuel Delivery,12-225Turbocharger, Supercharger and Ram Air,12-225-5764Turbocharger. items[].namestring- The category's name.
items[].parent_codestring or null- The code one level up;
nullat the top. items[].levelinteger- 1 at the top. There are three levels today.
items[].partsinteger- Published parts in the category and in everything below it.
items[].aaia_idinteger- The Auto Care id of the entry: the category id at level 1, the subcategory id at level 2, the part type (PartTerminology) id at level 3. It is the last piece of
code.
curl https://api.iidp.dev/dealer/v1/categories \
-H "Authorization: Bearer iidp_YOUR_KEY"<?php
$url = 'https://api.iidp.dev/dealer/v1/categories';
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IIDP_API_KEY')],
]);
$answer = json_decode(curl_exec($ch), true);
curl_close($ch);import os
import requests
r = requests.get(
"https://api.iidp.dev/dealer/v1/categories",
headers={"Authorization": f"Bearer {os.environ['IIDP_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
answer = r.json()const url = new URL("https://api.iidp.dev/dealer/v1/categories");
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.IIDP_API_KEY}` },
});
const answer = await res.json();{
"count": 610,
"items": [
{ "code": "1", "name": "Accessories and Fluids", "parent_code": null, "level": 1, "parts": 37, "aaia_id": 1 },
{ "code": "1-112", "name": "Appearance Products", "parent_code": "1", "level": 2, "parts": 2, "aaia_id": 112 },
{ "code": "1-112-5315", "name": "Engine Dress Up Kit", "parent_code": "1-112", "level": 3, "parts": 2, "aaia_id": 5315 },
…
]
}{
"error": "category must be a category code, like 12-225"
}For programs and AI tools
This page is written for people. The same information is also there in forms that programs and AI assistants read better.
Try it in your browser/Developers/Try- Build a call, see the code for it, and run it with your own key — without writing anything first. The forms are made from the description below, so they always match the API.
This page as plain text/Developers.txt- The whole reference as plain text, with the samples in cURL. Paste it into an AI assistant or a coding tool, or let the tool fetch it, when you want help writing against the API.
Machine-readable descriptionOpenAPI 3.1- Every call, setting, field and refusal in one file that programs read: https://api.iidp.dev/dealer/v1/openapi.json. No key is needed to fetch it. Load it into an API client, a code generator or a tool that builds its calls from such a file.
Before you give a key to an AI tool
An assistant that holds a key reads what the key reads — the dealer's prices and our stock included — for whoever is using that assistant. So:
One key per toolmake a separate key- Label it with the tool's name. If the tool is dropped or the key may have leaked, revoke that one key and nothing else stops.
Never in a prompt or a shared chatconfiguration only- Put the key in the tool's settings or your server's configuration, not into a conversation, a document or a web page.
It only readsnothing can be ordered or changed- The API has no call that writes. An assistant can look things up; it cannot place an order or change your account.
It counts like any client60 requests a minute per key- An assistant that loops will meet the rate limit. Point it at Which call to use.
Answers are data, not advice. Fitment is on file for only part of our catalog, and a price is right at the moment it is read — have a person confirm fit and price before an order depends on them.
Read https://my.iidiesel.com/Developers.txt
and write a script that …curl https://api.iidp.dev/dealer/v1/openapi.jsonChanges and versions
This is version 1 of the API — the v1 in every address. Within version 1 we add calls, settings and fields as we go, without notice. We do not remove or rename a call or a field within version 1. A change of that kind would come as a new version, at a new address.
So build your code to ignore what it does not know: a field it has not seen before, a new entry in a list. The one exception is a field this page marks as not documented yet — do not build on it.
What the promise does not cover
Orderof fields- The order of the fields in an object can change. Read fields by name.
Limitsrate, page sizes, lookup sizes- The rate limit, the page sizes and their defaults, and the most part numbers a lookup takes can change. The answer's headers and the
400sentences always state the current ones. Error sentencesthe text in error- They are written for people and can be reworded. Act on the status code — see Errors.
Valueswhat a field holds- A field that is
nulltoday can be filled tomorrow, and a field such asprice_levelcan take a value it does not take today.
What changed
December 1, 2026try it- A page to build and run calls in the browser: Try it.
December 1, 2026machine-readable description- An OpenAPI 3.1 description of every call, served by the API without a key — see For programs and AI tools.
December 1, 2026Auto Care idscategory_codeandpart_type_idon every item,aaia_idon categories,base_vehicle_idandengine_base_idon fitment,engine_base_idson vehicles, and thebase_vehicleandengine_basesettings.December 1, 2026manufacturer number, changed sincemanufacturer_no,aaia_item_noandmodified_aton every item; themodified_sincesetting on List items (changes to the part's record only).December 1, 2026full detail, brands, categories- Full detail with
detail=full; List brands; List categories; thecategorysetting on the item and stock lists. December 1, 2026fitment and cross references- Fitment of one part, List fitment, Vehicles, Find by another number; the
year,make,model,enginesettings on the item and stock lists. December 1, 2026lookups and stock- Look up many items, List stock, Look up stock. For kits,
core_pricebecame the total of the kit's cores andcore_bomwas added. December 1, 2026discount end date- When two discounts of the same percent apply to a part,
discount_endsis the later of their last days. December 1, 2026rate limit- 60 requests a minute per key, with the
X-RateLimitheaders and429. December 1, 2026first release- List items and Retrieve an item, with prices, sale prices and stock.
https://api.iidp.dev/dealer/v1Something missing or wrong on this page? Call 800-955-0476 or tell the dealer's sales rep.