Call it
curl https://api.peume.com/v1/call/google-shopping-expand-product-popup \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"page_token": "your page token"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-shopping-expand-product-popup", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"page_token": "your page token"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-shopping-expand-product-popup",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"page_token": "your page token"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-shopping-expand-product-popup.
Parameters
more_storesstringFor fetching more stores results in single search. It can be set to `1` or `true`. By default, a search returns `3 to 5` stores. When the `more_stores` parameter is **enabled**, up to `13` stores will be returned, or the maximum available, depending on the product.
next_page_tokenstringThe next page token. It is used for retrieving the next page of results for stores. The token is returned as `stores_next_page_token` from the search results.
page_tokenRequiredstringThe token needed to show more product info in Google immersive popup.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
