Google Shopping results for a keyword (async task)
dataforseo.x.merchant-google-products-task-postGoogle Shopping Products endpoint will provide you with the list of products found on Google Shopping for the specified query.
- Price
- $0.001/callPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoLast 30 days · 4 calls
- Latency p50
- ——
- Last verified
- 28 de jul. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/dataforseo.x.merchant-google-products-task-post?bodyType=jsonPreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Asynchronous response
- Reads public data
Parâmetros
the POST body is a JSON array of up to 100 task objects with these fields, one per task; read each task's result (tasks[].id) with dataforseo.x.merchant-google-products-task-get-advanced, which only the submitting team can read
Esta ferramenta não tem parâmetros. Veja a documentação do provedor ↗ Provider docs
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/dataforseo.x.merchant-google-products-task-post?bodyType=json' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '[{"keyword":"iphone","price_min":5,"language_code":"en","location_code":2840}]'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/dataforseo.x.merchant-google-products-task-post?bodyType=json",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("[{\"keyword\":\"iphone\",\"price_min\":5,\"language_code\":\"en\",\"location_code\":2840}]"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/dataforseo.x.merchant-google-products-task-post?bodyType=json", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("[{\"keyword\":\"iphone\",\"price_min\":5,\"language_code\":\"en\",\"location_code\":2840}]")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.001/call, incluindo a taxa de serviço.