DEV Community

dodou
dodou

Posted on

Track E-commerce Price Visibility Without a Shopping Feed

Shopping feeds tell you what Google Shopping shows for your SKU. They don't tell you what organic search shows — and organic results are where most e-commerce traffic lives.

If you're building price or product intelligence, a SERP API fills the gap: organic rank of your product pages, image-pack presence, and when a competitor's launch pushes you down.

What to monitor

Three signals worth a daily job:

Signal Endpoint Credits What it tells you
Organic rank /google/search 1 Your product page position per query
Image pack presence /google/images 2 Whether your product images appear
Competitor shifts /google/search 1 When a competitor enters the top 5

Minimal code

import requests

API = "https://api.serpbase.dev"
KEY = "your_api_key"

def search(query, endpoint="/google/search"):
    r = requests.post(
        f"{API}{endpoint}",
        headers={"X-API-Key": KEY},
        json={"q": query, "hl": "en", "gl": "us"},
        timeout=10,
    )
    r.raise_for_status()
    return r.json()

def check_product(query, my_domain):
    serp = search(query)
    out = []
    for item in serp.get("organic", [])[:10]:
        out.append({
            "rank": item.get("rank"),
            "title": item.get("title"),
            "link": item.get("link"),
            "mine": my_domain in (item.get("link") or ""),
        })
    return out
Enter fullscreen mode Exit fullscreen mode

The response envelope includes status, request_id, elapsed_ms, and credits_charged, so you can log cost and debug any run.

Cost math

Scale Searches/day Monthly cost
100 keywords × 1x/day 100 ~$1.50 (Starter $0.50/1k)
500 keywords × 1x/day 500 ~$7.50 (Growth $0.40/1k)
1,000 keywords × 2x/day 2,000 ~$28 (Pro $0.35/1k)

Add image checks (2 credits) only for top category queries.

Honest caveats

A SERP API complements a feed, not replaces it. SKU-level price and inventory stay with your feed provider. Also, rank varies by location and language — use the same gl/hl daily for comparable numbers.

Full parameter and response reference: [[serpbase.dev/docs](url]

Top comments (0)