Search your commerce catalog for products to tag
instagram.x.catalog-product-searchSearch the linked commerce catalog for products to tag in a post
- Price
- freeAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/instagram.x.catalog-product-searchPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Path parameters | ||||
ig_user_id | string | Required | Page-linked Instagram Business account id discovered by Facebook Page tools; not the Facebook Page id or Instagram Login /me user_id | 17841400000000000 |
| Query parameters | ||||
q | string | Required | product name or keyword to search | shirt |
fields | string | Optional | comma-separated product fields | |
catalog_id | string | Required | Meta Commerce catalog id linked to the Instagram shop | 123456789012345 |
- Path parameters
ig_user_idstringRequiredPage-linked Instagram Business account id discovered by Facebook Page tools; not the Facebook Page id or Instagram Login /me user_id
Example:
17841400000000000- Query parameters
qstringRequiredproduct name or keyword to search
Example:
shirtfieldsstringOptionalcomma-separated product fields
catalog_idstringRequiredMeta Commerce catalog id linked to the Instagram shop
Example:
123456789012345
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.x.catalog-product-search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/instagram.x.catalog-product-search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/instagram.x.catalog-product-search", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.