Booking.com · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Booking Com Common/locations API

7 actions 7 updates phrasing extends openapi/booking-com-common-locations-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Booking.com's API. It is a proposal applied on top of the contract, not a document Booking.com publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/common/locations/airports'].post
$.paths['/common/locations/cities'].post
$.paths['/common/locations/countries'].post
$.paths['/common/locations/districts'].post
$.paths['/common/locations/landmarks'].post
$.paths['/common/locations/regions'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Booking Com Common/locations API
  version: 1.0.0
extends: openapi/booking-com-common-locations-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/common/locations/airports'].post
  update:
    x-apievangelist-phrasing:
      intent: List airports with IATA codes and names
      effect: read
      questions:
      - Which airports can I look up, and what are their IATA codes?
      - Can I get just the airports in one country, like the Netherlands?
      - How do I page through the full airport list in several languages?
      instructions:
      - text: List all airports in country {country} using affiliate ID {affiliate_id}.
        slots:
          country: requestBody.country
          affiliate_id: header.X-Affiliate-Id
      - text: Get airport codes and names for city {city}.
        slots:
          city: requestBody.city
      - text: Fetch the next page of airports using page token {page}, returning {rows} rows.
        slots:
          page: requestBody.page
          rows: requestBody.rows
      method: generated
      generated: '2026-11-18'
- target: $.paths['/common/locations/cities'].post
  update:
    x-apievangelist-phrasing:
      intent: List cities with their IDs and names
      effect: read
      questions:
      - What cities are available, and what are their city IDs?
      - Can I get only the cities within a certain country?
      - Is there a way to see city names translated into other languages?
      instructions:
      - text: List all cities in country {country} using affiliate ID {affiliate_id}.
        slots:
          country: requestBody.country
          affiliate_id: header.X-Affiliate-Id
      - text: Get the cities connected to region {region}.
        slots:
          region: requestBody.region
      - text: Show city names in languages {languages}, limited to {rows} results.
        slots:
          languages: requestBody.languages
          rows: requestBody.rows
      method: generated
      generated: '2026-11-18'
- target: $.paths['/common/locations/countries'].post
  update:
    x-apievangelist-phrasing:
      intent: List countries with their codes and names
      effect: read
      questions:
      - Which countries are available, and what are their two-letter codes?
      - Can I see which countries belong to a region like the European Alps?
      - What's the way to get country names in a specific language?
      instructions:
      - text: List all countries using affiliate ID {affiliate_id}.
        slots:
          affiliate_id: header.X-Affiliate-Id
      - text: Get the countries associated with region {region}.
        slots:
          region: requestBody.region
      - text: Show country names in languages {languages}.
        slots:
          languages: requestBody.languages
      method: generated
      generated: '2026-11-18'
- target: $.paths['/common/locations/districts'].post
  update:
    x-apievangelist-phrasing:
      intent: List districts within cities
      effect: read
      questions:
      - What districts or neighborhoods does a city have, such as in Amsterdam?
      - Can I get district IDs to use in other searches?
      - Which districts exist for a given city ID?
      instructions:
      - text: List the districts in city {city} using affiliate ID {affiliate_id}.
        slots:
          city: requestBody.city
          affiliate_id: header.X-Affiliate-Id
      - text: Get district names translated into {languages}.
        slots:
          languages: requestBody.languages
      - text: Fetch the next page of districts with page token {page}.
        slots:
          page: requestBody.page
      method: generated
      generated: '2026-11-18'
- target: $.paths['/common/locations/landmarks'].post
  update:
    x-apievangelist-phrasing:
      intent: List landmarks and attractions by location
      effect: read
      questions:
      - What landmarks are there in a city like Paris?
      - Can I get landmark IDs for monuments and natural attractions?
      - Is it possible to filter landmarks by country or region?
      instructions:
      - text: List the landmarks in city {city} using affiliate ID {affiliate_id}.
        slots:
          city: requestBody.city
          affiliate_id: header.X-Affiliate-Id
      - text: Get landmarks for country {country}.
        slots:
          country: requestBody.country
      - text: Show landmark names in languages {languages}, up to {rows} results.
        slots:
          languages: requestBody.languages
          rows: requestBody.rows
      method: generated
      generated: '2026-11-18'
- target: $.paths['/common/locations/regions'].post
  update:
    x-apievangelist-phrasing:
      intent: List regions with their IDs and names
      effect: read
      questions:
      - What regions are available, and how do I find a region ID?
      - Which regions is the Netherlands part of?
      - Can I list regions in multiple languages?
      instructions:
      - text: List the regions for country {country} using affiliate ID {affiliate_id}.
        slots:
          country: requestBody.country
          affiliate_id: header.X-Affiliate-Id
      - text: Get regions related to city {city}.
        slots:
          city: requestBody.city
      - text: Show region names in languages {languages}.
        slots:
          languages: requestBody.languages
      method: generated
      generated: '2026-11-18'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/booking-com-common-locations-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.