google_shopping
Unified access to google_shopping data.
GET /v1/google_shopping/product-search
5 credits
cached 5m
Parameters
| query | required | e.g. open source |
| country | optional | e.g. value |
| language | optional | e.g. value |
| depth | optional | e.g. value |
| price_min | optional | e.g. value |
| price_max | optional | e.g. value |
| sort_by | optional | e.g. value |
curl "http://datatrend.nl/v1/google_shopping/product-search?query=open+source" \ -H "x-api-key: YOUR_KEY"
<?php
$ch = curl_init("http://datatrend.nl/v1/google_shopping/product-search?query=open+source");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: YOUR_KEY'],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['data']);
import requests
r = requests.get(
"http://datatrend.nl/v1/google_shopping/product-search?query=open+source",
headers={"x-api-key": "YOUR_KEY"},
)
print(r.json()["data"])
const r = await fetch(
"http://datatrend.nl/v1/google_shopping/product-search?query=open+source",
{ headers: { "x-api-key": "YOUR_KEY" } }
);
const { data } = await r.json();
console.log(data);
GET /v1/google_shopping/product
5 credits
cached 5m
Parameters
| product_id | optional | e.g. value |
| gid | optional | e.g. value |
| data_docid | optional | e.g. value |
| country | optional | e.g. value |
| language | optional | e.g. value |
curl "http://datatrend.nl/v1/google_shopping/product" \ -H "x-api-key: YOUR_KEY"
<?php
$ch = curl_init("http://datatrend.nl/v1/google_shopping/product");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: YOUR_KEY'],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['data']);
import requests
r = requests.get(
"http://datatrend.nl/v1/google_shopping/product",
headers={"x-api-key": "YOUR_KEY"},
)
print(r.json()["data"])
const r = await fetch(
"http://datatrend.nl/v1/google_shopping/product",
{ headers: { "x-api-key": "YOUR_KEY" } }
);
const { data } = await r.json();
console.log(data);
GET /v1/google_shopping/reviews
5 credits
cached 5m
Parameters
| gid | required | e.g. value |
| product_id | optional | e.g. value |
| data_docid | optional | e.g. value |
| depth | optional | e.g. value |
| country | optional | e.g. value |
| language | optional | e.g. value |
curl "http://datatrend.nl/v1/google_shopping/reviews?gid=value" \ -H "x-api-key: YOUR_KEY"
<?php
$ch = curl_init("http://datatrend.nl/v1/google_shopping/reviews?gid=value");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: YOUR_KEY'],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['data']);
import requests
r = requests.get(
"http://datatrend.nl/v1/google_shopping/reviews?gid=value",
headers={"x-api-key": "YOUR_KEY"},
)
print(r.json()["data"])
const r = await fetch(
"http://datatrend.nl/v1/google_shopping/reviews?gid=value",
{ headers: { "x-api-key": "YOUR_KEY" } }
);
const { data } = await r.json();
console.log(data);
GET /v1/google_shopping/sellers
5 credits
cached 5m
Parameters
| product_id | optional | e.g. value |
| gid | optional | e.g. value |
| data_docid | optional | e.g. value |
| country | optional | e.g. value |
| language | optional | e.g. value |
curl "http://datatrend.nl/v1/google_shopping/sellers" \ -H "x-api-key: YOUR_KEY"
<?php
$ch = curl_init("http://datatrend.nl/v1/google_shopping/sellers");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: YOUR_KEY'],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['data']);
import requests
r = requests.get(
"http://datatrend.nl/v1/google_shopping/sellers",
headers={"x-api-key": "YOUR_KEY"},
)
print(r.json()["data"])
const r = await fetch(
"http://datatrend.nl/v1/google_shopping/sellers",
{ headers: { "x-api-key": "YOUR_KEY" } }
);
const { data } = await r.json();
console.log(data);