Authorization: Bearer pb_••••••••
Everything PriceBell does in the app, a script can do too: search Google Shopping in a country, track a result, set a target and read the history. Three calls are enough to start.
1. Search in a country
curl "https://www.pricebell.dev/api/v1/search?query=airpods+pro+2&marketplace=de" \
-H "Authorization: Bearer $PRICEBELL_API_KEY" \
| jq '.results[] | {google_product_id, title, price, currency}'Searching is free, within an hourly limit. Each result carries its google_product_id: the code you track it by.
2. Track a result
curl -X POST "https://www.pricebell.dev/api/v1/products" \
-H "Authorization: Bearer $PRICEBELL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product": "6883422599141817139", "marketplace": "de", "target_price": 180, "wait": true}'The first check runs right away (1 credit); then the product is checked on its schedule, daily by default, and alerts go out like those set in the app.
What's the lowest price of my headphones in the last 3 months?
3. Read the history
GET /api/v1/products/{id} returns the product with every price read over the period, oldest first. The same watchlist shows in the app, so a script and a person can share it.
The full reference is in the API documentation. See also the Google Shopping price API page.