AirROI · Schema

RankingRequest

Send `bounds`, `place_name`, or both. Without the other fields, the search is undated for one adult. - `place_name` is free text, as a guest types it into Airbnb's search box: a city, neighborhood, ZIP code, address, region or country. Airbnb decides the area, which can extend past city limits. - Include the state or country in place names. Airbnb reads a bare name such as "Portland" relative to where the search comes from, and searches come from several regions, so it can resolve to a different place on different calls. All pages of one response use the place Airbnb resolved first. - With both, `bounds` limits the area and `place_name` is the place the guest searched before moving the map. Airbnb orders listings differently than for `bounds` alone. - If Airbnb doesn't recognize `place_name` as a place, the request fails with `400` (`place_not_found`). - `start_date` and `end_date` must be sent together. `start_date` can't be in the past or more than 730 days ahead, and the stay can be 1 to 365 nights. - Guest counts work with or without dates. `adults` plus `children` can be at most 16. - `start_date` is checked against the date in UTC, allowing one day for time zones behind UTC. A `start_date` that has already passed in the area's local time zone returns no listings. - If Airbnb doesn't apply the dates, the request fails with `400` instead of returning an undated ranking.

CompanyDataAnalyticsReal Estate

Properties

Name Type Description
bounds object
place_name object
start_date string Check-in date (YYYY-MM-DD). Requires `end_date`.
end_date string Check-out date (YYYY-MM-DD), after `start_date`. The stay is `end_date` minus `start_date` nights. Requires `start_date`.
adults integer Number of adults.
children integer Children aged 2–12. Counted with adults toward the 16-guest limit.
infants integer Infants under 2.
pets integer Number of pets. Excludes listings that don't allow pets.
View JSON Schema on GitHub

JSON Schema

airroi-ranking-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/airroi/json-schema/airroi-ranking-request-schema.json",
  "title": "RankingRequest",
  "description": "Send `bounds`, `place_name`, or both. Without the other fields, the search is undated for one adult.\n\n- `place_name` is free text, as a guest types it into Airbnb's search box: a city, neighborhood,\n  ZIP code, address, region or country. Airbnb decides the area, which can extend past city limits.\n- Include the state or country in place names. Airbnb reads a bare name such as \"Portland\"\n  relative to where the search comes from, and searches come from several regions, so it can\n  resolve to a different place on different calls. All pages of one response use the place\n  Airbnb resolved first.\n- With both, `bounds` limits the area and `place_name` is the place the guest searched before\n  moving the map. Airbnb orders listings differently than for `bounds` alone.\n- If Airbnb doesn't recognize `place_name` as a place, the request fails with `400` (`place_not_found`).\n- `start_date` and `end_date` must be sent together. `start_date` can't be in the past\n  or more than 730 days ahead, and the stay can be 1 to 365 nights.\n- Guest counts work with or without dates. `adults` plus `children` can be at most 16.\n- `start_date` is checked against the date in UTC, allowing one day for time zones behind UTC.\n  A `start_date` that has already passed in the area's local time zone returns no listings.\n- If Airbnb doesn't apply the dates, the request fails with `400` instead of returning an undated ranking.\n",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/airroi-openapi.json#/components/schemas/RankingRequest",
  "type": "object",
  "anyOf": [
    {
      "required": [
        "bounds"
      ]
    },
    {
      "required": [
        "place_name"
      ]
    }
  ],
  "additionalProperties": false,
  "properties": {
    "bounds": {
      "$ref": "#/$defs/Bounds"
    },
    "place_name": {
      "$ref": "#/$defs/PlaceName"
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "Check-in date (YYYY-MM-DD). Requires `end_date`."
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "Check-out date (YYYY-MM-DD), after `start_date`. The stay is `end_date` minus `start_date` nights. Requires `start_date`."
    },
    "adults": {
      "type": "integer",
      "minimum": 1,
      "maximum": 16,
      "default": 1,
      "description": "Number of adults."
    },
    "children": {
      "type": "integer",
      "minimum": 0,
      "maximum": 15,
      "default": 0,
      "description": "Children aged 2–12. Counted with adults toward the 16-guest limit."
    },
    "infants": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5,
      "default": 0,
      "description": "Infants under 2."
    },
    "pets": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5,
      "default": 0,
      "description": "Number of pets. Excludes listings that don't allow pets."
    }
  },
  "$defs": {
    "Bounds": {
      "type": "object",
      "required": [
        "south",
        "west",
        "north",
        "east"
      ],
      "additionalProperties": false,
      "description": "A latitude/longitude rectangle in WGS84 degrees.\n\n- `south` must be less than `north`, and `west` less than `east`.\n- Latitudes must be between -85 and 85.\n- The rectangle can't cross the antimeridian (±180° longitude).\n- The area can be at most 10,000 km², and neither side can be longer than 200 km.\n",
      "properties": {
        "south": {
          "type": "number",
          "minimum": -85,
          "maximum": 85,
          "description": "Southern edge (minimum latitude)."
        },
        "west": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": "Western edge (minimum longitude)."
        },
        "north": {
          "type": "number",
          "minimum": -85,
          "maximum": 85,
          "description": "Northern edge (maximum latitude)."
        },
        "east": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": "Eastern edge (maximum longitude)."
        }
      }
    },
    "PlaceName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "A place as a guest types it into Airbnb's search box, ideally with its state or country."
    }
  }
}

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/airroi-ranking-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.