Call it
curl https://api.peume.com/v1/call/google-shopping-fast-shopping-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-shopping-fast-shopping-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-shopping-fast-shopping-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q"
}
},
)
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-fast-shopping-search.
Parameters
hlstringThe language to use for the Google Shopping search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
small_businessstringShow only products from small business. This parameter overrides corresponding filter embedded into `shoprs` parameter.
glstringThe country to use for the Google search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France) Head to the Google Shopping countries for a full list of supported Google countries. When `location` is a country or a state, it defaults to the country of the location.
free_shippingstringShow only products with free shipping. This parameter overrides corresponding filter embedded into `shoprs` parameter.
google_domainstringThe Google domain to use. It defaults to `google.com`. Head to the Google domains for a full list of supported Google domains.
startstringThe result offset. It skips the given number of results. It's used for pagination. (e.g., `0` (default) is the first page of results, `10` is the 2nd page of results, `20` is the 3rd page of results, etc.).
sort_bystringThe sorting order of the results. Available options: `1` - Price: low to high `2` - Price: high to low This parameter overrides corresponding filter embedded into `shoprs` parameter.
uulestringThe Google encoded location you want to use for the search. `uule` and `location` parameters can't be used together. For consistent results with coordinates-based `uule` parameter, a matching `gl` parameter is required. Head to UULE Generator if you need to convert a location or GPS coordinates to `uule` parameter, and vice versa. The radius of a coordinates-based `uule` is not used.
qRequiredstringThe query you want to search. You can use anything that you would use in a regular Google Shopping search.
max_pricestringUpper bound of price range query. This parameter overrides corresponding filter embedded into `shoprs` parameter.
min_pricestringLower bound of price range query. This parameter overrides corresponding filter embedded into `shoprs` parameter.
safestringThe level of filtering for adult content. It can be set to `active` or `off`, by default Google will omit explicit content.
locationstringFrom where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the /locations.json API if you need more precise control. The `location` and `uule` parameters can't be used together. It is recommended to specify `location` at the city level in order to simulate a real user’s search. If `location` is omitted, the search may take on the location of the proxy.
shoprsstringThe parameter defines the token that includes metadata about query and search filter(s). Providing `q` parameter alongside the `shoprs` is **not** required. To apply multiple filters join them with `||` separator, e.g. `shoprs_1||shoprs_2||shoprs_3`. Values for this parameter are not available through the Google Shopping Light API. You can use our Google Shopping API to retrieve the values, or you can visit the Google Shopping website directly, set filters you want and simply copy `shoprs` value from their URL to URL.
devicestringThe device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
on_salestringShow only products that are on sale. This parameter overrides corresponding filter embedded into `shoprs` parameter.
