Gelson's API & Scraper
This API reads shop.gelsons.com, Gelson's online shop, live and returns it as JSON.
🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.
Prices are set per store, so every call is answered for one Gelson's store: give a ZIP code or a store_id from `stores` (without either, a fixed default store, Gelson's - Sherman Oaks near 91403, is used and the response says store_defaulted: true). `search` returns the site's own ranked results (cheese: 300 products at the default store), `category` lists a collection such as Milk, `offers` returns Weekly Ad, On Sale, `product/detail` adds ingredients, warnings and images, `categories` lists the category tree and `stores` lists Gelson's stores around a ZIP code with distance and services. The price matched the price printed on the shop.gelsons.com product page for 8 of 8 products we checked.
What a Gelson's field actually contains
Fields that read differently from how they look, measured on live responses on 2026-10-18.
| Field | What it holds |
|---|---|
| price, price_display | The price at the chosen store as the shop.gelsons.com product page prints it (matched on 8/8 products, e.g. Vital Farms Organic Pasture Raised Lar $11.99). |
| original_price, discount_percent | The struck-through regular price on sale items and the discount computed from the two prices; null when the item is not on sale. |
| promotions, buy_one_get_one | Deals shown on the item: BOGO, multi-buy ('Buy 2 for $9.16'), member offers. They are never folded into price. |
| loyalty_price | A separate card or member price when the site shows one next to the regular price; null otherwise. |
| store, store_defaulted | The Gelson's store that priced the response (id, name, street, city). store_defaulted is true when you gave neither postal_code nor store_id. |
| unit_price_text | The unit price as the site prints it ("$0.03/fl oz"). For items sold by weight, price is the estimated package price and price_is_estimate is true. |
| stock_level, likely_out_of_stock | many_in_stock, in_stock, likely_out_of_stock or out_of_stock for that store. |
| matches_query | Whether the row shares a word with your search. The site fills a search that matches nothing with unrelated products; such pages are dropped and counted in unmatched_dropped. |
Prices differ between stores: the same 14 products cost differently on 1 of them at a store near 90068 on the same day.
Real request and response JSON
Captured from the indexed primary action, search, on .
{
"method": "POST",
"url": "https://api.reefapi.com/gelsons/v1/search",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"query": "milk",
"postal_code": "91403"
}
}{
"ok": true,
"meta": {
"api": "gelsons",
"endpoint": "search",
"mode": "live",
"latency_ms": 2376.4,
"record_count": 20,
"bytes": 181874,
"cache_hit": false,
"warnings": [
"ignored unknown parameter(s): include_pii"
],
"pagination": {
"page": 1,
"has_more": true,
"total": 194
},
"upstream_requests": 3,
"charged_credits": 3,
"version": "1.0.0",
"request_id": "9dc0bdf1c3d84f04",
"queue_ms": 4.6,
"fetched_at": "2026-10-18T17:45:00.200Z"
},
"data": {
"products": [
{
"product_id": "80618",
"item_id": "items_589-80618",
"name": "Organic Valley® Organic 2% (Reduced Fat) Milk",
"brand": "organic valley®",
"size": "64 fl oz",
"url": "https://shop.gelsons.com/store/gelsons/products/80618-organic-valley-milk-organic-reduced-fat-2-milkfat-64-oz",
"image": "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_d0e9f714-8ee1-4ebd-85e0-41c2aadf2ed6.jpg",
"available": true,
"stock_level": "many_in_stock",
"stock_label": "Many in stock",
"likely_out_of_stock": false,
"sold_by": "each",
"weight_option": false,
"par_weight": null,
"max_order_quantity": 500,
"on_sale": true,
"buy_one_get_one": false,
"coupon_available": false,
"store_brand": false,
"dietary": [
"Organic",
"2%"
],
"nutrition_highlights": null,
"variant_values": [],
"retailer_reference_code": null,
"retailer_lookup_code": null,
"currency": "USD",
"price": 6.79,
"price_display": "$6.79",
"original_price": 6.99,
"discount_percent": 3,
"savings": 0.2,
"loyalty_price": null,
"loyalty_label": null,
"loyalty_card_offer": false,
"unit_price_text": "$0.11/fl oz",
"size_text": "64 fl oz",
"price_is_estimate": false,
"estimated_weight_text": null,
"promotions": [
{
"label": "[trimmed-depth]",
"type": "[trimmed-depth]",
"coupon": "[trimmed-depth]"
}
],
"deal_terms": "Sale ends in 13 hrs 15 mins",
"great_price": false,
"badge": null,
"retailer": {
"retailer_id": "63",
"slug": "gelsons",
"name": "Gelson's",
"shop_id": "15884",
"service_type": "delivery",
"retailer_location_id": "589"
},
"service_type": "delivery",
"matches_query": true
},
{
"product_id": "167622",
"item_id": "items_589-167622",
"name": "Broguiere's Whole Milk",
"brand": "broguiere's",
"size": "1 qt",
"url": "https://shop.gelsons.com/store/gelsons/products/167622-broguiere-s-whole-milk-1-qt",
"image": "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_84312898-a9dd-4490-97b9-557ddd750540.jpg",
"available": true,
"stock_level": "many_in_stock",
"stock_label": "Many in stock",
"likely_out_of_stock": false,
"sold_by": "each",
"weight_option": false,
"par_weight": null,
"max_order_quantity": 500,
"on_sale": true,
"buy_one_get_one": false,
"coupon_available": false,
"store_brand": false,
"dietary": [],
"nutrition_highlights": null,
"variant_values": [
"1 qt"
],
"retailer_reference_code": null,
"retailer_lookup_code": null,
"currency": "USD",
"price": 5.49,
"price_display": "$5.49",
"original_price": 5.99,
"discount_percent": 8,
"savings": 0.5,
"loyalty_price": null,
"loyalty_label": null,
"loyalty_card_offer": false,
"unit_price_text": "$0.17/fl oz",
"size_text": "1 qt",
"price_is_estimate": false,
"estimated_weight_text": null,
"promotions": [
{
"label": "[trimmed-depth]",
"type": "[trimmed-depth]",
"coupon": "[trimmed-depth]"
}
],
"deal_terms": "Sale ends in 13 hrs 15 mins",
"great_price": false,
"badge": null,
"retailer": {
"retailer_id": "63",
"slug": "gelsons",
"name": "Gelson's",
"shop_id": "15884",
"service_type": "delivery",
"retailer_location_id": "589"
},
"service_type": "delivery",
"matches_query": true
},
{
"product_id": "167623",
"item_id": "items_589-167623",
"name": "Broguiere's Milk, 2% Reduced Fat",
"brand": "broguiere's",
"size": "1 qt",
"url": "https://shop.gelsons.com/store/gelsons/products/167623-broguiere-s-milk-2-reduced-fat-1-qt",
"image": "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_2f238e66-abd8-449c-b691-f45792d8c842.jpg",
"available": true,
"stock_level": "many_in_stock",
"stock_label": "Many in stock",
"likely_out_of_stock": false,
"sold_by": "each",
"weight_option": false,
"par_weight": null,
"max_order_quantity": 500,
"on_sale": true,
"buy_one_get_one": false,
"coupon_available": false,
"store_brand": false,
"dietary": [],
"nutrition_highlights": null,
"variant_values": [],
"retailer_reference_code": null,
"retailer_lookup_code": null,
"currency": "USD",
"price": 5.49,
"price_display": "$5.49",
"original_price": 5.99,
"discount_percent": 8,
"savings": 0.5,
"loyalty_price": null,
"loyalty_label": null,
"loyalty_card_offer": false,
"unit_price_text": "$0.17/fl oz",
"size_text": "1 qt",
"price_is_estimate": false,
"estimated_weight_text": null,
"promotions": [
{
"label": "[trimmed-depth]",
"type": "[trimmed-depth]",
"coupon": "[trimmed-depth]"
}
],
"deal_terms": "Sale ends in 13 hrs 14 mins",
"great_price": false,
"badge": null,
"retailer": {
"retailer_id": "63",
"slug": "gelsons",
"name": "Gelson's",
"shop_id": "15884",
"service_type": "delivery",
"retailer_location_id": "589"
},
"service_type": "delivery",
"matches_query": true
}
],
"count": 20,
"total": 194,
"page": 1,
"per_page": 20,
"last_page": 10,
"has_more": true,
"unmatched_dropped": 0,
"next_cursor": "ACF7ImsiOiI3MDg5ZTBlY2MyZGEiLCJwIjoyLCJvIjoyMH0AATrqAAKOxgACjscAAo6rAAKOqgAA04sA-l_vAABxewAseEUBBkT-AALzKgAApzIBKDRKAAE65QAUfoUABOZVAAP_7AD4lt8AJ4Y1Abwgdg",
"query": "milk",
"store": {
"store_id": "589",
"name": "Gelson's - Sherman Oaks",
"street": "4520 Van Nuys Blvd.",
"city_state_zip": "Sherman Oaks, CA 91403",
"latitude": 34.1538528,
"longitude": -118.4476241
},
"service_type": "delivery",
"postal_code": "91403",
"store_defaulted": false,
"currency": "USD"
}
}What the Gelson's API does
| Action | Description | Concrete use case | Key params |
|---|---|---|---|
| search | Search shop.gelsons.com at one Gelson's store: regular price (price list), was-price, member/card price and promotions apart, unit price, stock level, brand and size, in the site's own result order. | Pricing teams call search to search shop.gelsons.com at one Gelson's store. | query, page, per_page, include_unmatched, cursor, ... |
| category | Every product of a shop.gelsons.com collection (a category, a brand or a diet collection from `categories`) priced at one store. | Marketplace operators call category to get every product of a shop.gelsons.com collection (a category, a brand or a diet collection from…. | slug, page, per_page, cursor, postal_code, ... |
| product/detail | One Gelson's product: name, brand, size, category, ingredients, directions, warnings, images, rating — and its price, unit price, promotions and stock at one store. | Catalog enrichment teams call product/detail to get one Gelson's product. | product_id, postal_code, store_id |
| categories | The shop.gelsons.com category tree (departments and their collections) or one collection's sub-collections; slugs feed `category`. | Retail analysts call categories to get the shop.gelsons.com category tree (departments and their collections) or one collection's su…. | slug, postal_code, store_id |
| stores | Gelson's stores around a US ZIP code, nearest first, with address, coordinates, distance and which services shop.gelsons.com offers there. | Pricing teams call stores to get gelson's stores around a US ZIP code, nearest first, with address, coordinates, distance and…. | postal_code, page, limit |
| offers | Gelson's's current deal lists at one store: Weekly Ad, On Sale. | Marketplace operators call offers to get gelson's's current deal lists at one store. | type, page, per_page, cursor, postal_code, ... |
| promotions | Which Gelson's deal lists are live now at one store, each with its name and product count. | Catalog enrichment teams call promotions to get which Gelson's deal lists are live now at one store, each with its name and product count.. | postal_code, store_id |
Call search from your stack
curl -X POST https://api.reefapi.com/gelsons/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"milk","postal_code":"91403"}'import requests
r = requests.post(
"https://api.reefapi.com/gelsons/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"query": "milk",
"postal_code": "91403"
},
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/gelsons/v1/search", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"query": "milk",
"postal_code": "91403"
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.gelsons.search with {"query":"milk","postal_code":"91403"}.Who uses this API and why
- Track Gelson's prices per store and ZIP code.
- Publish the Gelson's Weekly Ad and On Sale list in a deals feed.
- Compare premium grocery prices across Los Angeles stores.
- Build a Gelson's store finder with distance from any ZIP code.
- Monitor sale prices by category.
Questions developers ask before integrating
Does Gelson's have a public API?
No public product API. This API reads what shop.gelsons.com shows a logged-out visitor and returns it as JSON. No account is needed.
Why do I need a ZIP code?
Gelson's prices are set per store. Pass postal_code or store_id; without them a fixed default store is used and store_defaulted is true.
Do delivery, pickup and in-store prices differ?
Not in our measurement: the store's delivery, pickup and in-store price lists were identical on 16 of 16 products, so one price is returned, the one the product page prints.
Can I get the Gelson's Weekly Ad and sale items?
Yes. offers returns weekly_ad (the dated Weekly Ad list) or on_sale (the On Sale list), each priced at one store.
How are sale prices shown?
A sale item's price is the sale price and original_price is the struck-through regular price, both as the product page prints them.
How do I find Gelson's stores near a ZIP code?
Call stores with postal_code. Around 91403 it returned 18 stores, nearest first, with address, coordinates, distance in miles and the services each offers. Use a store_id in any other call to price at that store.
Does search return everything the site finds?
Yes, in the site's own order, 20 per page by default (up to 40). cheese returned 300 products. The site can re-rank its list between two calls, so reading by page number can repeat or skip a product; follow next_cursor from each answer for a complete scan: it never returns a product twice and fills the page from the rest of the list.
How fresh is the data?
Every call reads shop.gelsons.com live; nothing is cached on our side.
What is the Gelson's API?
Gelson's API is a ReefAPI endpoint group for shop.gelsons.com prices as json per store: search, categories, weekly ad, on sale, product details and the store locator. It returns live JSON through POST requests under /gelsons/v1.
Is the Gelson's API free to try?
Yes. ReefAPI starts with 1,000 free credits, no card required. Gelson's calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Gelson's login or account?
No login to Gelson's is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Gelson's data?
The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Gelson's API use?
Gelson's actions currently cost 2-3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Gelson's from an AI assistant or MCP client?
Yes. Connect ReefAPI once through MCP and your assistant can call gelsons actions with the same key, credit pool and JSON envelope used by normal REST requests.