↑ ↓ to move ↵ to open

HungerStation Market Products Search

hungerstation.products.search

Search HungerStation Market products for a delivery location: name, price, original price and current offers, page by page.

At a glance

Endpoint ID
hungerstation.products.search
Price
By request
Runs for up to
30 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
hungerstation__products__search
Pin tools
OpenAPI
openapi.json
Download

Request

Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "hungerstation.products.search",  "input": {    "lat": 21.5433,    "lng": 39.1728,    "page": 1,    "query": "milk"  }}'

Input

FieldTypeRequiredWhat it doesExample
lat number yes Latitude of the delivery address. 21.5433
lng number yes Longitude of the delivery address. 39.1728
query string yes The product to look for, such as milk or a brand name. milk
page integer no Which page of results, starting at 1. 1

Response

A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.

This is results[0].data from a real run:

results[0].data
{  "meta": {    "is_last_page": false,    "total_count": 473  },  "vendor": {    "name": "HungerStation Market",    "branch_id": 36314,    "external_id": "6aae1df7-284c-46ff-aa33-3d8786931456"  },  "items": [    {      "name": "Almarai Full Fat Fresh Milk 2L",      "price": 12.5,      "id": "95ec3148-692c-47cd-b1a9-3b00d35e7af4",      "original_price": 12.5,      "sku": "8PBVLC",      "active_promotions": []    },    {      "name": "Al Marai Fresh Full Fat Milk 1L",      "price": 7,      "id": "27956cbe-4dd4-41c4-b9f2-c871fe5ce268",      "original_price": 7,      "sku": "V1L5K7",      "active_promotions": []    }  ]}

Fields

FieldTypeWhat it isExample
items[].name string The name of the category or product. Almarai Full Fat Fresh Milk 2L
items[].price number The price. 12.5
items[].original_price number The price before the discount. 12.5
items[].sku string The product's code. 8PBVLC
items[].active_promotions array Promotions running on the product. empty in this sample
items[].id string HungerStation's ID for it. 95ec3148-692c-47cd-b1a9-3b00d35e7af4
items array The results. 20 records
meta object 2 fields
meta.is_last_page boolean Whether this is the last page of results. false
meta.total_count integer How many results there are in all. 473
vendor object The store that sells it. 3 fields
vendor.branch_id integer The store branch the result is for. 36,314
vendor.external_id string 6aae1df7-284c-46ff-aa33-3d8786931456
vendor.name string The name of the category or product. HungerStation Market

If a call fails

A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.

Other HungerStation Market endpoints

Something missing or unclear? Ask the team that builds the HungerStation Market endpoints.