Detail
Get more information about a single venue, at the level of detail you need.
Search and find return enough to show a list of venues. When a user picks one, use a Detail endpoint with the venue's id to get the rest.
| Endpoint | Returns | Use for |
|---|---|---|
GET /v1/establishments/basic/{id} | Profile, photos, rating, all opening hours, booking links, accessibility, parking and payment | Venue cards and profile pages |
GET /v1/establishments/advanced/{id} | Everything in Basic, plus extras (highlights) and menus | Full profile pages |
GET /v1/establishments/menus/{id} | Active menus only | A menu tab, or dietary checks |
{id} is the UUID from establishments[].id in a search or find response. Anything else returns 400, and an ID that doesn't exist returns 404 on all three endpoints. Neither is charged.
Typical flow
- Search and show results using the data already in the search response.
- Basic details when a user opens a venue.
- Menus only if the user asks for them. Or use Advanced to get everything in one request, if most users will want menus.
curl "https://api.inbe.us/v1/establishments/basic/0b6f4f3e-5d0c-4a52-9d57-1e1f0d1a2b3c" \
-H "API-Key: $INBE_API_KEY"What's in each response
| Data | Search | Basic | Advanced | Menus |
|---|---|---|---|---|
| Name, address, location, contact, description | ✓ | ✓ | ✓ | |
| Genres, establishment flags, caters flags | ✓ | ✓ | ✓ | |
| Regular opening hours | ✓ | ✓ | ✓ | |
| isOpen, main image | ✓ | ✓ | ✓ | |
| distanceMeters, matchScore | ✓ | |||
| Kitchen and special opening hours | ✓ | ✓ | ||
| Photos, rating, average price per head | ✓ | ✓ | ||
| Booking links | ✓ | ✓ | ||
| Accessibility, parking and payment options | ✓ | ✓ | ||
| Extras (highlights) | ✓ | |||
| Menus | ✓ | ✓ |
Don't cache venue details
You may store venue ids, but fetch details fresh when you show them. Venue
data changes often, and must be current for accuracy and compliance.
Tips
- Request in parallel. If you show details for several venues at once, fetch them concurrently.
- Handle missing data. Text fields can be
"", lists can be[], andrating.ratingcan be"". - Handle
404. Venues can be removed. Drop any storedidthat returns404.