Fast JSON API for Postmates - restaurants and stores delivering to any US address, sort and filters, store search, city and category pages, store details, hours and delivery options, full menus with prices and options, grocery aisles and product search, and address lookup.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Returns the best restaurants and stores of a category in a city (e.g. sushi in Los Angeles) with address, price range, cuisines, delivery estimate and opening status, the other categories and the frequently asked questions.
Request schema
City slug (e.g. "los-angeles-ca"). Use the /general/cities endpoint to list valid values.
Category slug (e.g. "sushi", "pizza", "fast-food"). Use the /general/categories endpoint to list valid values.
Response schema
Returns the best restaurants and stores of a city with address, price range, cuisines, delivery estimate and opening status, its top categories, the nearby cities and the frequently asked questions about delivery there.
Request schema
City slug (e.g. "los-angeles-ca"). Use the /general/cities endpoint to list valid values.
Response schema
Returns the home feed of a delivery address: the restaurants and stores delivering to it with rating, number of ratings, delivery time range, opening status, offers, badges, coordinates and image, plus, on the first page without filters, the themed sections of stores and products (national favorites, stores near you, deals…), the city, currency, dining modes and the filters on offer. Filters and a sort order other than "recommended" give a plain list of stores. Pass the "next_offset" of the answer as "offset" for the next page.
Request schema
Latitude of the delivery address (e.g. "34.0522"). Use the /location/autocomplete and /location/details endpoints to turn an address into coordinates.
Longitude of the delivery address (e.g. "-118.2437").
Sort order: "recommended" (default), "popular", "rating" or "delivery_time". Use the /general/feed-sorts endpoint to list valid values.
Delivery fee levels separated by commas: "lowest", "low", "moderate", "higher". Use the /general/delivery-fees endpoint to list valid values.
Dietary options separated by commas: "vegetarian", "vegan", "gluten_free", "halal". Use the /general/dietary endpoint to list valid values.
Only stores with an offer: "true" or "false" (default).
Only top rated stores ("Top Eats"): "true" or "false" (default).
The "next_offset" of the previous page, to get the next one (defaults to 0).
Response schema
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/postmates/v1/discovery/category" \
-d '{"city":"los-angeles-ca","category":"sushi"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/postmates/v1/discovery/category \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Postmates.