Inventory
B2A API
Inventory
Check real-time availability and flash deals
GET
Inventory
Check Inventory
Real-time inventory sync with venues. Use this to check availability before booking or to find flash deals.
Use This Endpoint When
Availability check
- “Is this available tomorrow?”
- “Any slots left for Saturday?”
- “Can we book for 6 people?”
Deal hunting
- “Any deals today?”
- “What’s on sale?”
- “Cheapest options available”
Request Parameters
City name (e.g.,
Bangkok, Phuket, Bali)ISO 8601 date format. Defaults to today.
Check specific activity availability
Filter by category:
spa, dinner, theme-park, zoo, aquarium, adventure, cultural, nightlifeOnly return activities with active flash deals (30-50% off)
Minimum available slots required
Maximum price filter
Maximum results (1-50)
Response
Whether the request was successful
Examples
Check City Inventory
Flash Deals Only
Specific Activity Availability
Category Filter with Price Cap
Response Example
Flash Deals
Flash Deals are same-day discounts (30-50% off) offered by venues to fill remaining capacity. These are exclusive to AI agent bookings and expire at a specific time.
How Flash Deals Work
Flash Deal Response Fields
| Field | Description |
|---|---|
is_flash_deal | true if currently discounted |
original_price | Price before discount |
price | Current discounted price |
discount_percent | Percentage off (30-50) |
flash_deal_expires | When deal ends |
Inventory Sync
Our inventory is synced with venues in real-time:| Sync Type | Frequency | Description |
|---|---|---|
| Real-time | Instant | When bookings are made |
| Periodic | Every 15 min | Full inventory refresh |
| On-demand | On request | When you call this endpoint |
Use Cases
Display available activities
Display available activities
Use this endpoint to show users what’s available before they decide. Better than
/recommend when the user wants to browse all options.Find last-minute deals
Find last-minute deals
Set
flash_deals_only=true to find discounted activities for same-day booking. Great for spontaneous travelers.Verify before booking
Verify before booking
Always check availability before calling
/execute_booking to ensure a smooth booking experience.Price comparison
Price comparison
Use
category filter to compare prices across similar activities.Error Responses
| Code | Description |
|---|---|
INVALID_CITY | City not found in our service area |
INVALID_DATE | Date format incorrect or in the past |
ACTIVITY_NOT_FOUND | Specified activity_id doesn’t exist |
NO_INVENTORY | No activities available matching criteria |
Supported Cities
Currently available in Southeast Asia:| Country | Cities |
|---|---|
| 🇹🇭 Thailand | Bangkok, Phuket, Chiang Mai, Pattaya, Krabi |
| 🇻🇳 Vietnam | Ho Chi Minh, Hanoi, Da Nang, Nha Trang |
| 🇮🇩 Indonesia | Bali, Jakarta, Yogyakarta |
| 🇲🇾 Malaysia | Kuala Lumpur, Penang, Langkawi |
| 🇸🇬 Singapore | Singapore |
Next Steps
Get Recommendations
Get personalized activity recommendations
Execute Booking
Book an activity from inventory