Places in a city that take a booking or an order on their own website or through their vendor, best scores first, with the direct link for each (the owner's corrected link where claimed), the vendor, verified_at when a browser verified the link, agents_terms when the vendor's terms are noted, hours, and follow links that count

get/api/city/{slug}/places

Request

  • Base URL: https://directindex.org
  • URL: https://directindex.org/api/city/{slug}/places
  • Auth: one of:
    • none
    • HTTP bearer

Path parameters

slugstring required
Example:lisbon

Query parameters

qstring
Example:pizza

A cuisine, a dish or a few words

want'book' | 'order' | 'any'
limitinteger
latnumber

With lon: only places within radius_m of this point, each with distance_m

lonnumber
radius_minteger
open_nowboolean

Only places open right now by their hours, in the city's zone; unreadable hours stay in with open_now null

verified_onlyboolean

Only links a browser verified: an agent reached the step before confirming

vendorstring
Example:zenchef

Only places on this booking or ordering vendor, by slug

Response

Places with booking and ordering links on their own domain or their vendor's

Changes

No recorded changes to this operation across all 1 revision of this API.