BookMyHost API

API for BookMyHost cloud services, as described in the developer portal.

GitHub OpenAPI

Operations 4

GET /public/catalog Public catalogue #
GET /public/promos Public promotions #
GET /public/quote Public price quote #
GET /public/site Public site settings #

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/bookmyhost:bookmyhost-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. 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.

OpenAPI Specification

bookmyhost-public-openapi.json Raw ↑
{
    "openapi": "3.1.1",
    "info": {
        "title": "BookMyHost Cloud public API",
        "version": "1.0.0",
        "description": "Anonymous, read-only access to BookMyHost Cloud plans, prices, live promotions and site settings. No API key. Cloud servers run on AMD EPYC and the latest Intel Xeon 6960P with DDR5 ECC RAM and Gen5 NVMe. Prices for INR exclude GST; money fields are integers in minor units (paise, cents). The same data is available to AI agents over MCP at https://bookmyhost.com/mcp/public (server card: https://bookmyhost.com/.well-known/mcp.json). Account, ordering and management endpoints are not part of this document.",
        "contact": {
            "name": "BookMyHost Cloud support",
            "email": "support@bookmyhost.com",
            "url": "https://bookmyhost.com/contact"
        }
    },
    "servers": [
        {
            "url": "https://my.bookmyhost.com/api/v1",
            "description": "BookMyHost Cloud"
        }
    ],
    "security": [],
    "x-agentic-access": {
        "version": "1.0",
        "autonomous_use": "allowed",
        "authentication": {
            "public": "None: /public/* and the MCP server at /mcp/public need no key and are read-only.",
            "account": "Bearer API key from Developer > API keys, bound to one account. Read-only unless created full-access; destructive operations also need the key restricted to specific IP addresses."
        },
        "rate_limits": {
            "window_seconds": 60,
            "public_api": {
                "requests": 120,
                "per": "client IP"
            },
            "public_mcp": {
                "requests": 60,
                "per": "client IP"
            },
            "account_api": {
                "read": 300,
                "write": 60,
                "per": "API key"
            },
            "account_mcp": {
                "requests": 120,
                "per": "API key"
            },
            "headers": [
                "RateLimit-Limit",
                "RateLimit-Remaining",
                "RateLimit-Policy",
                "RateLimit-Reset",
                "Retry-After",
                "X-RateLimit-Limit",
                "X-RateLimit-Remaining"
            ],
            "on_limit": "HTTP 429; wait Retry-After seconds, then retry with backoff."
        },
        "billing_guardrails": {
            "public": "Public endpoints and the public MCP server cannot order, pay or change anything; calls are free.",
            "account": "Orders and renewals take the prepaid wallet balance first, then the payment gateway. Servers bill hourly from creation until destroyed. A read-only key cannot create charges. Destroying data requires an IP-restricted key.",
            "idempotency": "Send Idempotency-Key on every POST, PUT, PATCH and DELETE so a retried order or top-up is not placed twice."
        },
        "idempotency": {
            "header": "Idempotency-Key",
            "methods": [
                "POST",
                "PUT",
                "PATCH",
                "DELETE"
            ],
            "retention_hours": 24,
            "replay_header": "Idempotent-Replayed",
            "conflicts": [
                "409 idempotency_in_progress",
                "422 idempotency_key_reused"
            ]
        },
        "pagination": "Lists return a plain array; send page and per_page (max 100) for {items, meta}.",
        "usage_policy": "Identify your client in User-Agent, cache public answers for 300 seconds, and stay inside the rate limits. Do not create accounts or orders without the account owner's instruction.",
        "terms": "https://my.bookmyhost.com/terms"
    },
    "tags": [
        {
            "name": "Public",
            "description": "Anonymous, read-only."
        }
    ],
    "paths": {
        "/public/catalog": {
            "get": {
                "operationId": "publicCatalogCatalog",
                "summary": "Public catalogue",
                "tags": [
                    "Public"
                ],
                "description": "Plans, prices for every billing term, the à-la-carte rate card, the term ladder, the custom-size limits (`builder`) and the \"Build your server\" entry sizes (`entry_sizes`: CV1-1-10 and W2-4-100 today, the cheapest servers sold, priced off the rate card below `builder.min` exactly as the storefront lists them) for one seller's storefront. For a reseller, `listings` holds every product it chose to sell (any type, new products included) with display name, icon, specs, every-term price and order path. Identify the seller by host, `key` or `seller`.\n\nAdditionally rate limited per user and per address; over the limit answers 429 with error.code rate_limited and a Retry-After header.",
                "x-bmh-rate-limit": {
                    "limiter": "public"
                },
                "x-bmh-audience": "public",
                "security": [],
                "x-bmh-public": true,
                "parameters": [
                    {
                        "name": "currency",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "enum": [
                                "INR",
                                "USD"
                            ]
                        }
                    },
                    {
                        "name": "seller",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 8
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/OkEnvelope"
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "data": {
                                                    "description": "Endpoint-specific payload."
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "$ref": "#/components/responses/RateLimited"
                    }
                }
            }
        },
        "/public/promos": {
            "get": {
                "operationId": "publicCatalogPromos",
                "summary": "Public promotions",
                "tags": [
                    "Public"
                ],
                "description": "The offers running now (one-time first-recharge bonus for every customer who has not used it, no code needed; KYC welcome credit) with minimum, cap, expiry and terms link, read live from configuration. Identify the seller by host, `key` or `seller`.\n\nAdditionally rate limited per user and per address; over the limit answers 429 with error.code rate_limited and a Retry-After header.",
                "x-bmh-rate-limit": {
                    "limiter": "public"
                },
                "x-bmh-audience": "public",
                "security": [],
                "x-bmh-public": true,
                "parameters": [
                    {
                        "name": "seller",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 8
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/OkEnvelope"
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "data": {
                                                    "description": "Endpoint-specific payload."
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "$ref": "#/components/responses/RateLimited"
                    }
                }
            }
        },
        "/public/quote": {
            "get": {
                "operationId": "publicCatalogQuote",
                "summary": "Public price quote",
                "tags": [
                    "Public"
                ],
                "description": "Price an arbitrary vCPU / RAM / NVMe / S3 shape for every billing term, as the storefront builder shows it. The shape is clamped to the catalogue's `builder.min` / `builder.max`; the cheapest server sold is the catalogue's `entry_sizes` row, not a quote below the minimum.\n\nAdditionally rate limited per user and per address; over the limit answers 429 with error.code rate_limited and a Retry-After header.",
                "x-bmh-rate-limit": {
                    "limiter": "public"
                },
                "x-bmh-audience": "public",
                "security": [],
                "x-bmh-public": true,
                "parameters": [
                    {
                        "name": "vcpu",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "ram_gb",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "disk_gb",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "s3_gb",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 0
                        }
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "enum": [
                                "INR",
                                "USD"
                            ]
                        }
                    },
                    {
                        "name": "seller",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 8
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/OkEnvelope"
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "data": {
                                                    "description": "Endpoint-specific payload."
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "$ref": "#/components/responses/RateLimited"
                    }
                }
            }
        },
        "/public/site": {
            "get": {
                "operationId": "publicCatalogSite",
                "summary": "Public site settings",
                "tags": [
                    "Public"
                ],
                "description": "Brand, links and public tracking ids for one seller's storefront — everything a self-hosted site needs besides the catalogue. A reseller on the new storefront also gets `theme` (colours, font, hero style) and `pages` (menu items).\n\nAdditionally rate limited per user and per address; over the limit answers 429 with error.code rate_limited and a Retry-After header.",
                "x-bmh-rate-limit": {
                    "limiter": "public"
                },
                "x-bmh-audience": "public",
                "security": [],
                "x-bmh-public": true,
                "parameters": [
                    {
                        "name": "seller",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 8
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/OkEnvelope"
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "data": {
                                                    "description": "Endpoint-specific payload."
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "$ref": "#/components/responses/RateLimited"
                    }
                }
            }
        }
    },
    "components": {
        "responses": {
            "RateLimited": {
                "description": "Too many requests. Wait RateLimit-Reset (= Retry-After) seconds.",
                "headers": {
                    "Retry-After": {
                        "$ref": "#/components/headers/Retry-After"
                    },
                    "RateLimit-Reset": {
                        "$ref": "#/components/headers/RateLimit-Reset"
                    },
                    "RateLimit-Limit": {
                        "$ref": "#/components/headers/RateLimit-Limit"
                    },
                    "RateLimit-Policy": {
                        "$ref": "#/components/headers/RateLimit-Policy"
                    }
                },
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        },
        "headers": {
            "RateLimit-Reset": {
                "description": "Seconds until the window resets. Sent on 429.",
                "schema": {
                    "type": "integer",
                    "minimum": 0
                }
            },
            "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                    "type": "integer",
                    "minimum": 0
                }
            },
            "RateLimit-Policy": {
                "description": "The quota policy, e.g. `300;w=60` = 300 requests per 60 seconds.",
                "schema": {
                    "type": "string"
                }
            },
            "RateLimit-Remaining": {
                "description": "Requests left in the current window (also sent as X-RateLimit-Remaining).",
                "schema": {
                    "type": "integer",
                    "minimum": 0
                }
            },
            "RateLimit-Limit": {
                "description": "Requests allowed in the current 60-second window (also sent as X-RateLimit-Limit).",
                "schema": {
                    "type": "integer",
                    "minimum": 0
                }
            }
        },
        "schemas": {
            "OkEnvelope": {
                "type": "object",
                "required": [
                    "ok",
                    "data"
                ],
                "properties": {
                    "ok": {
                        "const": true
                    },
                    "data": []
                }
            }
        }
    }
}