traveldex
v0.1.0Search 2.5M travel places and place photos: details, booking routes, photo quotes and wallet.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
num_search_places Search places
Search NUM's travel directory: more than 2.5 million places — restaurants, bars, hotels, spas, tours and shops, deepest in Thailand and the UK. Say where to look: city (one of NUM's destinations — see num_list_destinations) or country; then narrow with q, area and category. Places NUM knows have closed are never returned. Returns name, category, address, phone, website, coordinates and whether the owner has claimed the listing; call num_get_place for how to book one. Each call counts against the daily read quota.
| Parameter | Type | Description |
|---|---|---|
area | string | A neighbourhood inside the destination, e.g. 'Kata' or 'Soho'. |
category | string | e.g. 'Restaurant', 'Bar', 'Hotel', 'Spa', 'Tour'. |
city | string | A NUM destination, e.g. 'Phuket', 'Edinburgh', 'Bangkok', 'London'. Required unless country is given. |
country | string | ISO-2 code or name, e.g. 'TH' or 'Thailand'. Searches every NUM destination in that country. |
limit | integer | Max results, default 20, cap 50. |
q | string | Free text matched against the place name. |
num_list_destinations List NUM's destinations
Every destination NUM covers, with its country. Use a destination's name or slug as num_search_places city. Free, unmetered, and needs no key.
num_get_place Get place details and how to book it
Full record for one place, by the place_id that num_search_places returned, including HOW TO BOOK IT on the venue's own terms. `booking.method` is one of: request (the venue takes requests through NUM and confirms each one itself), venue_system (send the traveller to booking.url, prefilled when you pass party_size, date and time), phone (the number is for the traveller to call), not_through_num, closed, unknown. Follow booking.guidance exactly. If open_status.closed is true, NUM holds evidence the place has gone: do not send anyone there. accolades carry their source; menu is the owner's own l…
| Parameter | Type | Description |
|---|---|---|
place_id * | string | The place_id returned by num_search_places. |
date | string | Optional: YYYY-MM-DD, to prefill the venue's booking page. |
party_size | integer | Optional: people in the party, to prefill the venue's booking page. |
time | string | Optional: HH:MM 24-hour, local to the venue. |
num_list_submissions List your submissions
Lists the businesses and promotions this account has submitted, with the reviewer's decision on each. Free and unmetered.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of submissions to return. |
offset | integer | Number of submissions to skip, for paging. |
status | string | Only submissions with this review status. |
num_search_photos Search licensable photos of places
Search photos of real places taken by NUM travelers and offered for licensing per use. Each result has a photo_id, a preview URL, the place (name, city, area, category), the month it was taken, the photographer's public name and the price in US cents for each use: social (one post), web (one page), ad (one campaign) and ai_training (one dataset). A price of null means that use cannot be bought right now. Business uses sell in live drops: a limited number of licenses over 3 days, the price rising 10% after each one; drop shows licenses left, the end time and the next price. Every photo shows a…
| Parameter | Type | Description |
|---|---|---|
category | string | e.g. 'Restaurant', 'Bar', 'Hotel'. |
city | string | A NUM destination or neighbourhood, e.g. 'London' or 'Silom'. |
kind | string | Only photos of this kind, e.g. 'storefront' or 'interior'. |
limit | integer | Maximum number of photos to return. |
offset | integer | Number of photos to skip, for paging. |
place_id | string | Only photos of this place (from num_search_places). |
q | string | Free text matched against the place name. |
use | string | Only photos offered for this use. |
num_quote_photo Get the price and terms for one use of a photo
The current price in US cents and the full license terms for one use of one photo. Nothing is charged. Counts against the daily read quota.
| Parameter | Type | Description |
|---|---|---|
photo_id * | string | From num_search_photos. |
use * | string | The use to price: social (one post), web (one page), ad (one campaign) or ai_training (one dataset). |
num_photo_wallet Photo wallet and licenses
This account's photo wallet balance (US cents, plus test credit), what it spent today against the daily cap, and the licenses it holds. Free and unmetered. Adding credit is POST /api/agent/photos/topup, which returns a checkout link a person pays.