Track Google Shopping products and read their price history from your code with the REST API, or from your AI assistant with the MCP server. One API key works for both.
1Create an account and an API key in your dashboard (it starts with pb_). Confirming your email adds 1500 free credits.
2Send a product ID or a Google Shopping link to POST /products. A product ID alone works only for a product PriceBell already knows in that country (a search result, or one added by its link before): otherwise send its Google Shopping link. The price is checked right away and the product is checked again on its schedule.
3Read GET /products/{id} for the latest price and the price history.
Every request carries your personal API key as a Bearer token. Create one key per tool or script in your dashboard: the key is shown once, and revoking it stops it right away. Keep keys on your server, never in browser code.
Header
Authorization: Bearer YOUR_API_KEY
Base URL: https://www.pricebell.dev/api/v1. Requests and responses are JSON. A missing or invalid key returns 401 with the code unauthorized.
Endpoints
Parameters, responses and code samples for each endpoint are in the API reference, where you can also try requests with your key.
Every product answer has the same fields: see the Product model in the API reference. Here are the values two of them can take.
last_error
Code
Meaning
email_not_verified
Meaning: The account's email isn't confirmed yet, so it has no credits; the check runs as soon as it is.
insufficient_credits
Meaning: The last check was skipped for lack of credits; it's retried every 6 hours.
store_unavailable
Meaning: Google Shopping couldn't be read at the last check (refunded); retried within 30 minutes.
product_not_found
Meaning: The product ID has no page on this marketplace (refunded).
Marketplaces
marketplace
Store
Currency
us
Store: US (United States)
Currency: USD
gb
Store: UK (United Kingdom)
Currency: GBP
fr
Store: FR (France)
Currency: EUR
de
Store: DE (Germany)
Currency: EUR
es
Store: ES (Spain)
Currency: EUR
it
Store: IT (Italy)
Currency: EUR
nl
Store: NL (Netherlands)
Currency: EUR
be
Store: BE (Belgium)
Currency: EUR
at
Store: AT (Austria)
Currency: EUR
ch
Store: CH (Switzerland)
Currency: CHF
ie
Store: IE (Ireland)
Currency: EUR
pt
Store: PT (Portugal)
Currency: EUR
pl
Store: PL (Poland)
Currency: PLN
se
Store: SE (Sweden)
Currency: SEK
dk
Store: DK (Denmark)
Currency: DKK
no
Store: NO (Norway)
Currency: NOK
fi
Store: FI (Finland)
Currency: EUR
cz
Store: CZ (Czechia)
Currency: CZK
hu
Store: HU (Hungary)
Currency: HUF
ro
Store: RO (Romania)
Currency: RON
gr
Store: GR (Greece)
Currency: EUR
ca
Store: CA (Canada)
Currency: CAD
mx
Store: MX (Mexico)
Currency: MXN
br
Store: BR (Brazil)
Currency: BRL
ar
Store: AR (Argentina)
Currency: ARS
cl
Store: CL (Chile)
Currency: CLP
co
Store: CO (Colombia)
Currency: COP
au
Store: AU (Australia)
Currency: AUD
nz
Store: NZ (New Zealand)
Currency: NZD
in
Store: IN (India)
Currency: INR
sg
Store: SG (Singapore)
Currency: SGD
ae
Store: AE (United Arab Emirates)
Currency: AED
za
Store: ZA (South Africa)
Currency: ZAR
Product states
Checks run in the background, so a product's fields tell where it stands. Test them in this order: the first match is the state the app shows as a badge.
States
State
When
What to do
Checking
When: checking is true
What to do: A check is due or running. Poll GET /products/{id} every few seconds, or pass wait.
Paused
When: status is "paused"
What to do: Not checked, not charged. PATCH paused: false to resume, unless pause_reason is "team": our team paused it, and only we resume it (write to us).
Confirm your email
When: last_error is "email_not_verified"
What to do: The free credits come with the email confirmation; checks start right after it.
Waiting for credits
When: last_error is "insufficient_credits"
What to do: The balance is empty; the check runs again by itself once credits are added (manage_url).
Not found on Google Shopping
When: last_error is "product_not_found"
What to do: No page for this product ID on this marketplace (refunded).
Retrying soon
When: last_error is "store_unavailable"
What to do: Google Shopping couldn't be read (refunded). Retried automatically; nothing to do.
Queued
When: last_checked_at is null
What to do: Added, first check not done yet.
Out of stock
When: in_stock is false
What to do: Checked, but no offer: price is null. With alert_on_drop, the owner gets an email when it's back (on the free plan, if it's among the first 5 products with an alert).
In stock
When: in_stock is true
What to do: Checked, with an offer at price (in currency).
filter on GET /products and list_products
filter
Products
all
Products: Every tracked product (default).
drops
Products: Cheaper now than when the product was added.
target
Products: At or below its target price.
out_of_stock
Products: No offer at the last check.
attention
Products: The last check didn't go through (last_error is set): no credits, not found or Google Shopping unavailable.
paused
Products: Paused by you: not checked, not charged.
Recipes
Common integrations, in JavaScript (Node 18+). The first one defines api(method, path, body), a small fetch wrapper the others reuse. Keep the key on your server.
Track a product and get its price in one call
wait: true answers once the first check is done (up to 45 seconds). If it took longer, checking is still true: read the product again a bit later.
JavaScript
async function api(method, path, body) {
const res = await fetch(`https://www.pricebell.dev/api/v1${path}`, {
method,
headers: {
Authorization: `Bearer ${process.env.PRICEBELL_API_KEY}`,
"Content-Type": "application/json",
},
body: body && JSON.stringify(body),
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
return data;
}
const product = await api("POST", "/products", { product: "https://www.google.com/search?ibp=oshop&q=airpods+pro+2&prds=catalogid:6883422599141817139&gl=us&udm=28", wait: true });
console.log(product.title, product.price, product.currency);
Send a daily digest of price drops
The filter parameter gives the same lists as the app's tabs. Run this once a day: it reads your watchlist, nothing is charged.
filter=attention lists the products whose last check didn't go through. Only waiting for credits and not found need an action; Google Shopping errors retry by themselves.
Errors use the HTTP status and a JSON body with a stable code to branch on, and a message to show or log.
403 Forbidden
{
"error": {
"code": "product_limit",
"message": "You've reached your plan's product limit. The free plan tracks up to 50 products."
}
}
Error codes
HTTP
Code
When
400
Code: invalid_product
When: product is neither a Google Shopping product ID (the catalogid in a Google Shopping link) nor a Google Shopping product link, or google_product_id isn't a Google Shopping product ID (the catalogid in a Google Shopping link). A product ID alone works only for a product PriceBell already knows in that country (a search result, or one added by its link before): otherwise send its Google Shopping link.
400
Code: unsupported_marketplace
When: The link is a Google Shopping search in a country that isn't supported (supported: us, gb, fr, de, es, it, nl, be, at, ch, ie, pt, pl, se, dk, no, fi, cz, hu, ro, gr, ca, mx, br, ar, cl, co, au, nz, in, sg, ae, za).
400
Code: invalid_option
When: A setting isn't valid: marketplace (us, gb, fr, de, es, it, nl, be, at, ch, ie, pt, pl, se, dk, no, fi, cz, hu, ro, gr, ca, mx, br, ar, cl, co, au, nz, in, sg, ae, za), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.
401
Code: unauthorized
When: The API key is missing, revoked or invalid.
402
Code: api_limit
When: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.
403
Code: paid_option
When: Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business.
403
Code: product_limit
When: The account tracks as many products as its plan allows (50 on the free plan).
403
Code: paused_by_team
When: paused: false on a product our team paused (pause_reason: "team"): only the team resumes it. Write to us.
404
Code: not_found
When: No tracked product with this id on your account, or no such endpoint.
405
Code: method_not_allowed
When: The endpoint doesn't take this HTTP method; the Allow header lists the ones it does.
429
Code: rate_limited
When: More than 30 searches or 600 history reads in an hour, too many reads of Google Shopping at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.
500
Code: generic
When: Unexpected error on our side. Retry in a moment.
502
Code: store_unavailable
When: Google Shopping couldn't be read right now (GET /search). Nothing is charged; retry in a moment.
Billing & limits
Each price check of a tracked product in one country costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent. The first check, when a product is added, counts too. A check that fails on Google Shopping's side is refunded and retried.
Without credits, checks pause (nothing is charged) and resume once credits are back. The product's last_error is then insufficient_credits.
The free plan tracks 50 products, checked daily (interval_minutes 1440). A credit pack or a plan unlocks more products. Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business. Accepted values: 5, 30, 60, 360, 720, 1440.
The free plan also includes 200 API and MCP requests a month (UTC) and reads the last 30 days of price history: answers with a history say it with history_days and history_limited. Past the monthly requests, the API answers 402 api_limit until the 1st. A credit pack or a plan lifts both limits. GET /account, which tells how many requests are left, isn't counted.
On the free plan, alerts email for the first 5 products added among the active ones with an alert set (alert_on_drop or target_price). The others stay tracked, without emails, and show alerts_paused: true until one of those has its alert turned off or is paused. A credit pack or a plan alerts on every product. Both settings can be set on any product either way.
An alert email uses credits on top of the check that found it, fewer on bigger plans: alert_credits in GET /account says how many. Without enough credits, the email isn't sent; nothing is charged when alert emails are turned off, and an email that fails to send is refunded.
Every paid plan can be billed monthly, or yearly for the price of 10 months. Either way, the credits refill every month to the plan's allowance; unused credits don't roll over.
Searching Google Shopping (GET /search) uses no credit, limited to 30 searches per hour per account. Neither does the history of any product ID (GET /history), limited to 600 reads per hour. 429 beyond.
MCP server
The MCP server lets Claude, ChatGPT, Grok Build or any MCP client track products and read price histories for you. It uses Streamable HTTP with stateless JSON responses at https://www.pricebell.dev/api/mcp. Clients that support OAuth, like Claude and ChatGPT, only need this URL: you log in and allow access once. Others take an API key in the Authorization header, or ?key= for clients that only accept a URL. Your dashboard has one-click setups for each client.
Current plan, remaining credits and when the monthly ones come back, how many products are tracked, the credits each alert email costs, the days of history the account reads and, on the free plan, the requests left this month (this call isn't counted). Each price check of a tracked product in one country costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent.
search_google_shoppingRead-onlyReads Google Shopping
Search Google Shopping by keywords to find products and their product ID, with the price, rating and reviews shown in the results. Free, limited to 30 searches per hour.
track_productChanges the watchlistReads Google Shopping
Add a Google Shopping product (product ID or link) to the watchlist and check its price now (waits up to 45 seconds for the check). A product ID alone works only for a product PriceBell already knows in that country (a search result, or one added by its link before): otherwise send its Google Shopping link. Each price check of a tracked product in one country costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent. Returns the current price; checking is still true if the check took longer, then read it later with get_price_history.
the tracked product: product_id, title, price, currency, lowest_price…
list_productsRead-only
The watchlist, newest first, with each product's latest price, lowest and highest price and recent trend. Use filter for questions like "what dropped?" (drops), "what reached my target?" (target), "what's out of stock?" (out_of_stock) or "anything wrong?" (attention).
A tracked product with every price read of the period, oldest first, including reads made before it was added (created_at says when). A history of more than 5000 points is thinned evenly, keeping its first and last point. On the free plan, the last 30 days (history_limited says when the period was cut). At most 2 price histories per request.
Arguments
product_id, days?
Returns
the product, history_days, history_limited and history: price, in_stock, coupon, seller, checked_at
get_google_product_historyRead-only
Every price PriceBell read for a product ID on a marketplace, tracked by the user or not, with the lowest, highest and average of those prices. A history of more than 5000 points is thinned evenly, keeping its first and last point. Instant and without credits: nothing is read from Google Shopping, so a product ID nobody tracked yet has an empty history. Use it to judge a price before tracking. On the free plan, the last 30 days (history_limited says when the period was cut). At most 2 price histories per request.
Set a target price, drop alerts, the check interval or pause a tracked product. Send only what changes. Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business. On the free plan, alerts (price drop, offered again, target price) email for the first 5 products added among the active ones with an alert set; the others stay tracked, without emails (alerts_paused: true), until one of those has its alert turned off or is paused. A plan or a credit pack alerts on every product. alert_on_drop and target_price can be set on any product either way.
Read the product's price on Google Shopping right away (1 credit), at most once per 5 minutes; earlier calls return it unchanged. A paused product has to be resumed first. Waits up to 45 seconds for the check. Read last_error if the check didn't go through.
Arguments
product_id
Returns
the product with its latest price
untrack_productDeletes data
Remove a product from the watchlist, with its price history.
Arguments
product_id
Returns
deleted, product_id
get_google_shopping_sellersRead-only
The sellers of a tracked product at its latest check, cheapest first: each offer that is the product as sold new (accessories, used, refurbished and rental offers, copies and multipacks are left out by the check), who sells it, its price and struck-through price, and whether your rules for the product leave it out. pinned marks the product you track itself; the others are the same product listed under other titles. An offer through a comparison site (in Europe) has comparison true; its seller is the site's name, or null when the result doesn't name it. sellers_count and median_price count each named seller once and the unnamed ones together as one. Free: nothing is read again, these are the product's last check (checked_at); check_product reads it now. Use it when the user asks who sells a tracked product, where it's cheapest or why a seller isn't counted.
compare_google_shopping_regionsUses credits with track_inReads Google Shopping
Where a tracked product is cheapest among the countries it's tracked in: each country's local price, converted into one currency (EUR, USD or GBP), and the gap with the cheapest. Prices are converted at the day's reference exchange rates: the European Central Bank's, the UAE dirham through its US dollar peg, and a second daily source for the Argentine, Chilean and Colombian pesos. rates_date says which day; a price whose currency has no current rate has converted_price null. With track_in, first tracks it in those countries too: each one is a new product of the watchlist, checked and charged like any other (1 credit a check), so ask the user before. Mention that taxes, shipping and warranty differ by country.
Arguments and results use the same names as the REST API, so the product object and states apply as-is. A failed tool call returns its message with the error code in parentheses, e.g. (product_limit).
Try asking
Track this for me and tell me when it drops under $180: https://www.google.com/search?ibp=oshop&q=airpods+pro+2&prds=catalogid:6883422599141817139&gl=us&udm=28
Which of my products are cheaper than when I added them?
Show the price history of the AirPods over the last 3 months.
Find the AirPods Pro 2 in Germany and in France, and track the cheaper one.
Anything out of stock or broken on my watchlist?
Start tracking
Create an account, confirm your email and get 1500 free credits to try the API.