{
  "id": "mrscraper.agoda.rates",
  "object": "tool",
  "name": "Agoda Hotel Rates",
  "summary": "Scrape an Agoda hotel page URL into a flat list of room rate plans with prices.",
  "description": "Fetch the live rate plans from one Agoda hotel page URL whose query string carries the stay (check-in, nights, guests, currency). Returns one row per room rate plan: hotel and room name, arrival date, length of stay, total price and currency, maximum persons, meal inclusion, cancellation and VAT flags, promotion name and discount, rate plan name with meal plan, cancellation policy, refundability, inclusions, and sold-out status. Supports a proxy country that changes the displayed market. Use /agoda/hotel instead when you only have the hotel ID or need the hotel profile and Agoda's price breakdown. Suited for rate-parity monitoring and competitor pricing.\n\nRaw mrscraper#/agoda/rates endpoint: input is { body, queryParams, pathParams } as the provider documents them (https://docs.mrscraper.com/docs/features/marketplace).",
  "category": "lookup",
  "hosted_by": "MrScraper",
  "runtime": "partner",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": null,
  "providers": [
    {
      "id": "mrscraper",
      "name": "MrScraper",
      "price": null,
      "own_key_only": true
    }
  ],
  "mcp_name": "mrscraper_agoda_rates",
  "input_schema": {
    "type": "object",
    "properties": {
      "body": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^https?:\\/\\/(?:[A-Za-z0-9-]+\\.)*(?:[Aa][Gg][Oo][Dd][Aa])\\.(?:[A-Za-z]{2,}|(?:ac|co|com|edu|gov|net|org)\\.[A-Za-z]{2})(?::\\d+)?(?:[/?#]|$)\\S*$",
            "description": "Full Agoda hotel page URL carrying the stay parameters (checkIn, los, adults, rooms, children, currencyCode)."
          },
          "proxyCountry": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "description": "Two-letter country code to route the request through; affects the prices and availability Agoda shows (default 'th')."
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "body"
    ],
    "additionalProperties": false
  },
  "kind": "endpoint"
}