Search destinations
search_destinationsSearch published destinations by name or traveler intent. mode defaults to auto: exact name matches avoid embedding; otherwise name and intent results are combined. Explicit name never embeds; intent always searches by meaning. Returns stable destination codes, public URLs, match method, scope and index release. Optional within and types filter canonical geography before ranking; they require a geography-enabled release. Whole-Division containment takes precedence over a default hierarchy parent for cross-border destinations; unknown scope is never assumed. Types are published classifications, not population or city tiers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Name lookup, intent retrieval, or name-first auto discovery. | auto |
| limit | No | Maximum number of results to return. | |
| query | Yes | Place or destination name, or the traveler's intent. | |
| types | No | Match any of these published classifications; not a size/tier filter. | |
| within | No | Canonical destination code to explore within; all is reserved for an explicit unrestricted place search, never a containing-destination filter. | |
| language | No | Requested response language; defaults to the page language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No | ||
| locale | Yes | ||
| release | No | ||
| warnings | No | ||
| truncated | No | ||
| retryAfter | No | ||
| completeness | Yes | ||
| schemaVersion | Yes |