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
string
required
City name (e.g.,
Bangkok, Phuket, Bali)string
ISO 8601 date format. Defaults to today.
string
Check specific activity availability
string
Filter by category:
spa, dinner, theme-park, zoo, aquarium, adventure, cultural, nightlifeboolean
default:"false"
Only return activities with active flash deals (30-50% off)
number
default:"1"
Minimum available slots required
number
Maximum price filter
number
default:"20"
Maximum results (1-50)
Response
boolean
Whether the request was successful
object
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
Inventory Sync
Our inventory is synced with venues in real-time: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
Supported Cities
Currently available in Southeast Asia:Next Steps
Get Recommendations
Get personalized activity recommendations
Execute Booking
Book an activity from inventory