Migrate from Scale SERP (place_products)
Move Scale SERP search_type=place_products calls to /v1/business/google/products, with parameter and response mapping.
On this page
GET /v1/business/google/products accepts Scale SERP's place_products parameters and returns its response body, so a client changes its host, path and key.
Note:
Beta: the products parser was written from public documentation and hasn't been checked against a live response yet.
1. Change the request
| Scale SERP | DataForGAIO | |
|---|---|---|
| URL | https://api.scaleserp.com/search | https://api.dataforgaio.com/v1/business/google/products |
search_type | place_products | not needed (the path implies it) |
| Auth | api_key=... | api_key=dg_..., or a Bearer, X-API-Key or Basic header |
| Method | GET | GET |
curl "https://api.dataforgaio.com/v1/business/google/products?data_cid=12345678901234567890&hl=en" \
-H "Authorization: Bearer $DATAFORGAIO_API_KEY"import os
import requests
res = requests.get(
"https://api.dataforgaio.com/v1/business/google/products",
params={"data_cid": "12345678901234567890", "hl": "en"},
headers={"Authorization": f"Bearer {os.environ['DATAFORGAIO_API_KEY']}"},
timeout=120,
)
body = res.json()
print(body["request_info"]["success"], body["request_info"]["cost"])
for p in body.get("place_products_results", []):
print(p["position"], p["name"], p.get("price"))?api_key=dg_... works on this route only, for drop-in compatibility. Prefer a header: query strings end up in proxy logs and browser history.
2. Parameters
| Parameter | Required | Notes |
|---|---|---|
data_cid | Yes (or data_id) | The place's decimal CID. |
data_id | A feature id (0x...:0x...); we derive the CID from it. | |
hl | Language, default en. | |
auto_upgrade, max_level, max_cost, max_age | Our request controls, as query parameters. |
Other Scale SERP parameters are ignored.
3. Response
{
"request_info": {
"success": true,
"credits_used": 1,
"cost": 0.0015,
"receipt_id": "0b6c...",
"fetch_level": "standard",
"upgraded": false,
"upgrade_reason": null,
"cache_hit": false
},
"search_parameters": { "search_type": "place_products", "data_cid": "12345678901234567890", "hl": "en", "engine": "google" },
"search_metadata": { "created_at": "...", "processed_at": "...", "fetched_at": "...", "engine_url": "https://www.google.com/local/place/products/catalog?hl=en&ludocid=12345678901234567890" },
"search_information": { "original_query_yields_zero_results": false },
"place_products_results": [
{ "name": "Trail Runner 3", "link": "https://www.google.com/local/place/products/product?...", "image": "https://...", "price": "$129.00", "position": 1 }
]
}| Field | Difference |
|---|---|
request_info.credits_used | 1 on success, 0 on failure. Our charge is in request_info.cost, in USD. |
request_info.receipt_id, fetch_level, upgraded, upgrade_reason, cache_hit | Ours. See Receipts. |
place_products_results[] | name, link, image, price (when shown), position. |
search_information.original_query_yields_zero_results | true when the place lists no products. |
4. Pricing and errors
- $0.0015 per place with products. A place with no products returns an empty list at $0.
- Results are cached for 24 hours;
max_age: 0fetches fresh. - Errors return
request_info.success: falsewithrequest_info.message, and an HTTP status: 400 for invalid input, 401 auth, 402 insufficient balance, 429 rate limit, 500 for a fetch we couldn't complete. None are billed.
See GETGoogle Business Products for every field.