List shopping products with merchant URLs
curl --request POST \
--url https://api.mentionlab.io/api/shopping-products/items \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"entityIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"productIds": [
"7c9e6679-7425-40de-944b-e07fc1f90ae7"
],
"search": "iPhone",
"externalId": "product-123-abc",
"mappingStatus": [
"unknown"
]
}
'import requests
url = "https://api.mentionlab.io/api/shopping-products/items"
payload = {
"entityIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"productIds": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"],
"search": "iPhone",
"externalId": "product-123-abc",
"mappingStatus": ["unknown"]
}
headers = {
"x-project-id": "<x-project-id>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-project-id': '<x-project-id>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entityIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
productIds: ['7c9e6679-7425-40de-944b-e07fc1f90ae7'],
search: 'iPhone',
externalId: 'product-123-abc',
mappingStatus: ['unknown']
})
};
fetch('https://api.mentionlab.io/api/shopping-products/items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mentionlab.io/api/shopping-products/items",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entityIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'productIds' => [
'7c9e6679-7425-40de-944b-e07fc1f90ae7'
],
'search' => 'iPhone',
'externalId' => 'product-123-abc',
'mappingStatus' => [
'unknown'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-project-id: <x-project-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mentionlab.io/api/shopping-products/items"
payload := strings.NewReader("{\n \"entityIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"productIds\": [\n \"7c9e6679-7425-40de-944b-e07fc1f90ae7\"\n ],\n \"search\": \"iPhone\",\n \"externalId\": \"product-123-abc\",\n \"mappingStatus\": [\n \"unknown\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-project-id", "<x-project-id>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mentionlab.io/api/shopping-products/items")
.header("x-project-id", "<x-project-id>")
.header("Content-Type", "application/json")
.body("{\n \"entityIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"productIds\": [\n \"7c9e6679-7425-40de-944b-e07fc1f90ae7\"\n ],\n \"search\": \"iPhone\",\n \"externalId\": \"product-123-abc\",\n \"mappingStatus\": [\n \"unknown\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/shopping-products/items")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-project-id"] = '<x-project-id>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entityIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"productIds\": [\n \"7c9e6679-7425-40de-944b-e07fc1f90ae7\"\n ],\n \"search\": \"iPhone\",\n \"externalId\": \"product-123-abc\",\n \"mappingStatus\": [\n \"unknown\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
},
"results": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"initiatedAt": "2026-06-08T14:30:00.000Z",
"jobExecutionId": "b4f0c2a1-9d3e-4f5a-8c7b-1e2d3f4a5b6c",
"rawName": "Apple iPhone 15 Pro 256GB Natural Titanium",
"positionRank": 1,
"price": "999.99",
"reviewCount": 1234,
"merchantUrls": [
{
"url": "https://www.amazon.com/dp/B0CQXYZABC",
"merchantName": "Amazon",
"merchantDomain": "amazon.com",
"price": 999.99,
"priceCurrency": "USD",
"merchantPosition": 1,
"aboveFold": true,
"shippingPrice": 7.9,
"availability": true,
"details": "In stock online, Delivery $7.90"
}
],
"externalId": "B0CQXYZABC",
"imageUrl": "https://m.media-amazon.com/images/I/81dT7CUY6GL._AC_SL1500_.jpg",
"priceCurrency": "USD",
"starRating": 4.5,
"entityId": "f1c2d3e4-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"entityName": "Apple",
"productId": "a7b8c9d0-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"productName": "iPhone 16 Pro"
}
]
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Shopping Products
List shopping products with merchant URLs
Returns a paginated list of the project’s shopping products with their brand details and merchant URLs, filterable by brand, product, name search and external id.
POST
/
api
/
shopping-products
/
items
List shopping products with merchant URLs
curl --request POST \
--url https://api.mentionlab.io/api/shopping-products/items \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"entityIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"productIds": [
"7c9e6679-7425-40de-944b-e07fc1f90ae7"
],
"search": "iPhone",
"externalId": "product-123-abc",
"mappingStatus": [
"unknown"
]
}
'import requests
url = "https://api.mentionlab.io/api/shopping-products/items"
payload = {
"entityIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"productIds": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"],
"search": "iPhone",
"externalId": "product-123-abc",
"mappingStatus": ["unknown"]
}
headers = {
"x-project-id": "<x-project-id>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-project-id': '<x-project-id>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entityIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
productIds: ['7c9e6679-7425-40de-944b-e07fc1f90ae7'],
search: 'iPhone',
externalId: 'product-123-abc',
mappingStatus: ['unknown']
})
};
fetch('https://api.mentionlab.io/api/shopping-products/items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mentionlab.io/api/shopping-products/items",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entityIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'productIds' => [
'7c9e6679-7425-40de-944b-e07fc1f90ae7'
],
'search' => 'iPhone',
'externalId' => 'product-123-abc',
'mappingStatus' => [
'unknown'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-project-id: <x-project-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mentionlab.io/api/shopping-products/items"
payload := strings.NewReader("{\n \"entityIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"productIds\": [\n \"7c9e6679-7425-40de-944b-e07fc1f90ae7\"\n ],\n \"search\": \"iPhone\",\n \"externalId\": \"product-123-abc\",\n \"mappingStatus\": [\n \"unknown\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-project-id", "<x-project-id>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mentionlab.io/api/shopping-products/items")
.header("x-project-id", "<x-project-id>")
.header("Content-Type", "application/json")
.body("{\n \"entityIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"productIds\": [\n \"7c9e6679-7425-40de-944b-e07fc1f90ae7\"\n ],\n \"search\": \"iPhone\",\n \"externalId\": \"product-123-abc\",\n \"mappingStatus\": [\n \"unknown\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/shopping-products/items")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-project-id"] = '<x-project-id>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entityIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"productIds\": [\n \"7c9e6679-7425-40de-944b-e07fc1f90ae7\"\n ],\n \"search\": \"iPhone\",\n \"externalId\": \"product-123-abc\",\n \"mappingStatus\": [\n \"unknown\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
},
"results": [
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"initiatedAt": "2026-06-08T14:30:00.000Z",
"jobExecutionId": "b4f0c2a1-9d3e-4f5a-8c7b-1e2d3f4a5b6c",
"rawName": "Apple iPhone 15 Pro 256GB Natural Titanium",
"positionRank": 1,
"price": "999.99",
"reviewCount": 1234,
"merchantUrls": [
{
"url": "https://www.amazon.com/dp/B0CQXYZABC",
"merchantName": "Amazon",
"merchantDomain": "amazon.com",
"price": 999.99,
"priceCurrency": "USD",
"merchantPosition": 1,
"aboveFold": true,
"shippingPrice": 7.9,
"availability": true,
"details": "In stock online, Delivery $7.90"
}
],
"externalId": "B0CQXYZABC",
"imageUrl": "https://m.media-amazon.com/images/I/81dT7CUY6GL._AC_SL1500_.jpg",
"priceCurrency": "USD",
"starRating": 4.5,
"entityId": "f1c2d3e4-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"entityName": "Apple",
"productId": "a7b8c9d0-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"productName": "iPhone 16 Pro"
}
]
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Headers
Project ID to specify the project context
Query Parameters
Required range:
1 <= x <= 200Required range:
x >= 1Body
application/json
Filter by brand entity IDs.
Example:
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
Filter by product IDs.
Example:
["7c9e6679-7425-40de-944b-e07fc1f90ae7"]
Search by raw product name (partial match, case-insensitive).
Example:
"iPhone"
Filter by exact external ID.
Example:
"product-123-abc"
Filter by product-mapping status. "unknown" = a brand is assigned but no specific product; "not_matched" = neither a brand nor a product. Omit to return all items.
Available options:
unknown, not_matched Example:
["unknown"]