Cross-References through OEM numbers by Article Id
v2EndpointId: API-GARL-008
Given an aftermarket part number (optionally narrowed by supplier), returns its cross-references - OEM/OES numbers and related IAM equivalents - along with the base article brand/number, the search path (e.g., “IAM → OEM” / “IAM → OEM → IAM”), and any available media info.
Detailed Implementation Reference
This Endpoint is a substitue for API-GARL-002 endpoint, which use ArticleNo, here logic is chaged and we query by articleId
Parameters Specification
| Parameter Field | Type | Constraints | Description / Default Value | Param Location |
|---|---|---|---|---|
articleId |
int | Required |
Example Value: 1156787
|
query
|
supplierId |
int | Optional |
Example Value: 6896
|
query
|
Use this endpoint
GET
https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896
curl -X GET 'https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896' \
-H 'Accept: application/json' \
-H 'x-apiprofile-key: YOUR_API_KEY'
const response = await fetch('https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896', {
method: 'GET',
headers: {
'Accept': 'application/json',
'x-apiprofile-key': 'YOUR_API_KEY',
},
});
const data = await response.json();
console.log(data);
const axios = require('axios');
const { data } = await axios({
method: 'get',
url: 'https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896',
headers: {
'Accept': 'application/json',
'x-apiprofile-key': 'YOUR_API_KEY',
},
});
console.log(data);
import requests
url = "https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896"
headers = {
'Accept': 'application/json',
'x-apiprofile-key': 'YOUR_API_KEY',
}
response = requests.request('GET', url, headers=headers)
print(response.json())
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Accept: application/json',
'x-apiprofile-key: YOUR_API_KEY',
],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
url := "https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("x-apiprofile-key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
require 'uri'
require 'net/http'
require 'json'
url = URI('https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = (url.scheme == 'https')
request = Net::HTTP::Get.new(url)
request['Accept'] = 'application/json'
request['x-apiprofile-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.read_body
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896"))
.header("Accept", "application/json")
.header("x-apiprofile-key", "YOUR_API_KEY")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://auto-parts-catalog.apiprofile.com/api/artlookup/search-for-cross-references-through-oem-numbers-by-article-id?articleId=1156787&supplierId=6896");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("x-apiprofile-key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);