← Back to marketplace

Postmates

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.

data
by Mark822 endpoints100% uptime91ms avg

Includes 100 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Endpoints

GET/v1/discovery/category
$0.0010/req

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

citystringrequired

City slug (e.g. "los-angeles-ca"). Use the /general/cities endpoint to list valid values.

categorystringrequired

Category slug (e.g. "sushi", "pizza", "fast-food"). Use the /general/categories endpoint to list valid values.

Response schema

titlestring
descriptionstring
breadcrumbsarray
storesarray
categoriesarray
nearby_citiesarray
faqarray
GET/v1/discovery/city
$0.0010/req

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

citystringrequired

City slug (e.g. "los-angeles-ca"). Use the /general/cities endpoint to list valid values.

Response schema

titlestring
descriptionstring
breadcrumbsarray
storesarray
categoriesarray
nearby_citiesarray
faqarray
GET/v1/discovery/feed
$0.0010/req

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

latstringrequired

Latitude of the delivery address (e.g. "34.0522"). Use the /location/autocomplete and /location/details endpoints to turn an address into coordinates.

lonstringrequired

Longitude of the delivery address (e.g. "-118.2437").

sortstring

Sort order: "recommended" (default), "popular", "rating" or "delivery_time". Use the /general/feed-sorts endpoint to list valid values.

delivery_feestring

Delivery fee levels separated by commas: "lowest", "low", "moderate", "higher". Use the /general/delivery-fees endpoint to list valid values.

dietarystring

Dietary options separated by commas: "vegetarian", "vegan", "gluten_free", "halal". Use the /general/dietary endpoint to list valid values.

offersstring

Only stores with an offer: "true" or "false" (default).

top_ratedstring

Only top rated stores ("Top Eats"): "true" or "false" (default).

offsetstring

The "next_offset" of the previous page, to get the next one (defaults to 0).

Response schema

titlestring
citystring
currencystring
is_in_service_areaboolean
dining_modesarray
filtersarray
sectionsarray
storesarray
has_moreboolean
next_offsetinteger

Quick start

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)

Pricing calculator

Estimate your monthly cost for Postmates.

GET /v1/discovery/category$0.0010/req
-
GET /v1/discovery/city$0.0010/req
-
GET /v1/discovery/feed$0.0010/req
-
GET /v1/general/categories$0.0010/req
-
GET /v1/general/cities$0.0010/req
-
GET /v1/general/delivery-fees$0.0010/req
-
GET /v1/general/dietary$0.0010/req
-
GET /v1/general/feed-sorts$0.0010/req
-
GET /v1/general/min-ratings$0.0010/req
-
GET /v1/general/price-ranges$0.0010/req
-
GET /v1/general/regions$0.0010/req
-
GET /v1/general/search-sorts$0.0010/req
-
GET /v1/location/autocomplete$0.0010/req
-
GET /v1/location/details$0.0010/req
-
GET /v1/location/reverse$0.0010/req
-
GET /v1/search/stores$0.0010/req
-
GET /v1/search/suggestions$0.0010/req
-
GET /v1/store/category$0.0010/req
-
GET /v1/store/details$0.0010/req
-
GET /v1/store/item$0.0010/req
-
GET /v1/store/menu$0.0010/req
-
GET /v1/store/search$0.0010/req
-