Search local businesses
search_businessesFind local businesses that take bookings: salons, massage, doctors, trainers, yoga classes, courts, scooter/car/boat rental, home services, tours. Filter by text, city/country or coordinates and category. Awning does not guess where the user is from the request — it comes from your servers — so pass their city or near coordinates when you know them. Returns cards with business_id, offerings and page_url. A card with demo: true is a sample listing, not a real place: say so if you mention it and offer real places first. Use this first when the user wants a place or a service; when they pick one, continue with get_business. Not for the user's own bookings (my_bookings) or for an owner's businesses (owner_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City as people write it, e.g. 'Nairobi' or 'New York'. Also matches a district or neighbourhood such as 'Brooklyn' or 'Williamsburg'. | |
| near | No | The user's position, when you know it. With it only places within radius_km come back, and closer ones rank higher. | |
| limit | No | How many cards to return. Default 10, at most 25. | |
| query | No | What the user wants, in a few words, e.g. 'haircut' or 'scooter rental' | |
| country | No | ISO 3166-1 alpha-2, e.g. KE, TH, US | |
| category | No | Category code prefix, e.g. beauty or rental_vehicle | |
| radius_km | No | Search radius around `near`, in kilometres. Default 10. |