Best Time To Book Hotels Content API

Agent-readable Markdown for public pages.

Operations 1

GET /agent-markdown Render a public page as Markdown #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/besttimetobookhotels-com:besttimetobookhotels-com-content-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

besttimetobookhotels-com-content-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Best Time To Book Hotels Public Content API
  version: 1.0.0
  summary: Read-only JSON access to hotel booking-timing research, last-minute deal history, and agent-readable Markdown.
  description: 'Free, unauthenticated, read-only endpoints backed by the same price-observation

    dataset that powers the site. Every response describes observed historical prices,

    not a forecast for a specific stay.


    There is no API key. Requests are rate limited per client IP (60 requests per

    minute per endpoint); exceeding the limit returns 429 with `Retry-After`.


    Conversational access to the same data is available through the MCP server at

    /api/mcp, described separately by /server.json.'
  contact:
    name: Best Time To Book Hotels
    url: https://www.besttimetobookhotels.com/docs/api
servers:
- url: https://www.besttimetobookhotels.com
security: []
tags:
- name: Content
  description: Agent-readable Markdown for public pages.
paths:
  /agent-markdown:
    get:
      tags:
      - Content
      operationId: renderPageMarkdown
      summary: Render a public page as Markdown
      description: 'Discovery endpoint for the site''s Markdown representation. The same Markdown is returned by the page URL itself when the request sends `Accept: text/markdown`, and that page URL — not this endpoint — is the URL to cite.'
      parameters:
      - name: path
        in: query
        required: true
        description: Public page path, e.g. `/cities/paris`.
        schema:
          type: string
        example: /cities/paris
      responses:
        '200':
          description: Markdown for the page.
          headers:
            X-Markdown-Tokens:
              description: Estimated token count of the body, for context sizing.
              schema:
                type: integer
          content:
            text/markdown:
              schema:
                type: string
        '404':
          description: The path has no Markdown representation.
          content:
            text/markdown:
              schema:
                type: string
externalDocs:
  description: Public API documentation
  url: https://www.besttimetobookhotels.com/docs/api