{"openapi":"3.1.0","info":{"title":"Terpadi public business data","version":"1.0.0","description":"Public, read-only data about businesses listed on Terpadi (Indonesia): names, types, hours, menus and prices from their owners or the community. No sign-in, no key. Please attribute \"Terpadi · terpadi.com\" and link the business `url`. Data marked `source: community` has not been confirmed by the owner. 60 requests per minute per IP.","contact":{"url":"https://terpadi.com/support"}},"servers":[{"url":"https://terpadi.com"}],"paths":{"/data/b/search":{"get":{"operationId":"searchBusinesses","summary":"Search businesses by name, menu item or service","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80},"description":"Words: a name, a dish, a service. Optional with lat/lng or kota."},{"name":"kota","in":"query","required":false,"schema":{"type":"string"},"description":"A city slug, e.g. jakarta-selatan."},{"name":"jenis","in":"query","required":false,"schema":{"type":"string","enum":["kuliner","kafe","jasa","belanja","olahraga","hiburan","penginapan","kesehatan","kerja","otomotif"]},"description":"A business type."},{"name":"lat","in":"query","required":false,"schema":{"type":"number"},"description":"Latitude to search around."},{"name":"lng","in":"query","required":false,"schema":{"type":"number"},"description":"Longitude to search around."},{"name":"radiusM","in":"query","required":false,"schema":{"type":"integer","minimum":500,"maximum":50000},"description":"Radius around lat/lng in metres (default 4500)."},{"name":"openNow","in":"query","required":false,"schema":{"type":"boolean"},"description":"Only businesses open now."},{"name":"maxPrice","in":"query","required":false,"schema":{"type":"integer"},"description":"An item at or under this many rupiah."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20},"description":"Up to 20."},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"The previous answer's nextCursor."}],"responses":{"200":{"description":"Matching businesses, best first","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"type":{"type":"string","enum":["kuliner","kafe","jasa","belanja","olahraga","hiburan","penginapan","kesehatan","kerja","otomotif"]},"schemaType":{"type":"string","description":"schema.org type"},"area":{"type":["string","null"]},"city":{"type":["string","null"]},"priceLevel":{"type":["integer","null"],"minimum":1,"maximum":4},"openNow":{"type":["boolean","null"],"description":"Worked out at request time in the business's own zone (WIB / WITA / WIT); null when its hours are unknown."},"source":{"type":"string","enum":["owner","community"],"description":"`community`: added by members, not yet confirmed by its owner."},"verified":{"type":"boolean"},"distanceM":{"type":["integer","null"]},"matches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"priceIdr":{"type":["integer","null"]}}}}}}},"nextCursor":{"type":["string","null"]},"attribution":{"type":"string"}}}}}},"400":{"description":"A parameter is invalid"},"429":{"description":"Too many requests (60 per minute per IP)"},"503":{"description":"Search is unavailable"}}}},"/data/b/{slug}":{"get":{"operationId":"getBusiness","summary":"One business: hours, menu or services, prices, location","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The business (shape: id, slug, url, name, type, schemaType, description, address, geo, priceRange, hours, tz, openNow, menu, services, amenities, payments, contact, source, verified, updatedAt, attribution)"},"404":{"description":"No public business at this address"}}}}}}