VistaLink · Schema

SearchRequest

POST /v1/search — structured hotel search (no LLM). Needs a location: ``city``, ``latitude`` + ``longitude``, or ``hotel_name`` (a city named in ``vibe`` is used when none is given). Unknown fields are a 422 naming them; a few common aliases (``location``, ``query``, ``checkIn``, ``adults``, ...) map onto the documented names (``app/mcp_api/agent_inputs.py``).

Artificial IntelligenceHospitalityTravelHotel SearchBooking

Properties

Name Type Description
city object City to search in, e.g. 'Lisbon'. A search needs city, latitude+longitude, or hotel_name.
country object ISO 3166-1 alpha-2 country code of the city, e.g. 'PT'. Use it for city names that exist in several countries (Paris FR vs Paris US).
area object Neighbourhood or landmark within city to search around, e.g. 'Brera' or 'Colosseum' (with city='Milan' / 'Rome'). Results are limited to hotels near it.
latitude object Search centre latitude in decimal degrees, used with longitude (0 = not set).
longitude object Search centre longitude in decimal degrees, used with latitude (0 = not set).
radius_meters object Radius around latitude/longitude in metres (0 = default).
check_in object Check-in date, YYYY-MM-DD (today or later). Prices need check_in and check_out.
check_out object Check-out date, YYYY-MM-DD, after check_in.
guests object Number of adult guests (0 = default of 2).
rooms object Number of rooms (0 or omitted: one per two adults, rounded up and capped at four). Prices are only quoted for one room.
budget_min object Minimum price per night (request currency)
budget_max object Maximum price per night (request currency)
daily_budget_min object Synonym of budget_min (per-night floor); wins if both sent
daily_budget_max object Synonym of budget_max (per-night cap); wins if both sent
currency object ISO 4217 currency code for prices, e.g. 'EUR', 'USD', 'GBP'.
amenities object Amenities the hotel must have, e.g. ['wifi', 'pool'].
vibe object What the traveller is looking for, as free-text phrases or tags, e.g. ['boutique design hotel'] or ['romantic', 'quiet'].
hotel_name object Hotel name or part of it, e.g. 'Four Seasons'.
limit integer Maximum number of results, 1-20 without an API key (1-50 with one). Larger values are reduced to the maximum.
include_rates boolean Fetch live rates from booking scraper (adds ~30-45s). Requires an API key; ignored key-less
View JSON Schema on GitHub

JSON Schema

vistalink-com-search-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vistalink-com/json-schema/vistalink-com-search-request-schema.json",
  "title": "SearchRequest",
  "description": "POST /v1/search — structured hotel search (no LLM).\n\nNeeds a location: ``city``, ``latitude`` + ``longitude``, or\n``hotel_name`` (a city named in ``vibe`` is used when none is given).\nUnknown fields are a 422 naming them; a few common aliases (``location``,\n``query``, ``checkIn``, ``adults``, ...) map onto the documented names\n(``app/mcp_api/agent_inputs.py``).",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vistalink-com-openapi.json#/components/schemas/SearchRequest",
  "properties": {
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City",
      "description": "City to search in, e.g. 'Lisbon'. A search needs city, latitude+longitude, or hotel_name."
    },
    "country": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Country",
      "description": "ISO 3166-1 alpha-2 country code of the city, e.g. 'PT'. Use it for city names that exist in several countries (Paris FR vs Paris US)."
    },
    "area": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Area",
      "description": "Neighbourhood or landmark within city to search around, e.g. 'Brera' or 'Colosseum' (with city='Milan' / 'Rome'). Results are limited to hotels near it."
    },
    "latitude": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 90.0,
          "minimum": -90.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Latitude",
      "description": "Search centre latitude in decimal degrees, used with longitude (0 = not set)."
    },
    "longitude": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 180.0,
          "minimum": -180.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Longitude",
      "description": "Search centre longitude in decimal degrees, used with latitude (0 = not set)."
    },
    "radius_meters": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Radius Meters",
      "description": "Radius around latitude/longitude in metres (0 = default)."
    },
    "check_in": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Check In",
      "description": "Check-in date, YYYY-MM-DD (today or later). Prices need check_in and check_out."
    },
    "check_out": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Check Out",
      "description": "Check-out date, YYYY-MM-DD, after check_in."
    },
    "guests": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Guests",
      "description": "Number of adult guests (0 = default of 2)."
    },
    "rooms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rooms",
      "description": "Number of rooms (0 or omitted: one per two adults, rounded up and capped at four). Prices are only quoted for one room."
    },
    "budget_min": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Min",
      "description": "Minimum price per night (request currency)"
    },
    "budget_max": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Max",
      "description": "Maximum price per night (request currency)"
    },
    "daily_budget_min": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Daily Budget Min",
      "description": "Synonym of budget_min (per-night floor); wins if both sent"
    },
    "daily_budget_max": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Daily Budget Max",
      "description": "Synonym of budget_max (per-night cap); wins if both sent"
    },
    "currency": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 3
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "description": "ISO 4217 currency code for prices, e.g. 'EUR', 'USD', 'GBP'."
    },
    "amenities": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amenities",
      "description": "Amenities the hotel must have, e.g. ['wifi', 'pool']."
    },
    "vibe": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vibe",
      "description": "What the traveller is looking for, as free-text phrases or tags, e.g. ['boutique design hotel'] or ['romantic', 'quiet']."
    },
    "hotel_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hotel Name",
      "description": "Hotel name or part of it, e.g. 'Four Seasons'."
    },
    "limit": {
      "type": "integer",
      "maximum": 50.0,
      "minimum": 1.0,
      "title": "Limit",
      "description": "Maximum number of results, 1-20 without an API key (1-50 with one). Larger values are reduced to the maximum.",
      "default": 20
    },
    "include_rates": {
      "type": "boolean",
      "title": "Include Rates",
      "description": "Fetch live rates from booking scraper (adds ~30-45s). Requires an API key; ignored key-less",
      "default": false
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/vistalink-com-search-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.