{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Google Hotels",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "google-hotels": {
        "description": "",
        "title": "Google Hotels",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "0df3d20ed516198426064af4d88902dbc2fcb17009f5787be39557dc14443b46",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/google-hotels/rates"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "0df3d20ed516198426064af4d88902dbc2fcb17009f5787be39557dc14443b46",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:dc8db4f5f37b6857dcd03cf013861faa0b1ceffa194f87178c294267c905350a"
      },
      "document_hash": "sha256:85c6e40f6cb7583df94e85f9d6ca6d0c4cd8f61464d22f061975d4eec758ccaa"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "google-hotels"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/google-hotels/rates": {
      "post": {
        "description": "Google Hotels Hotel Rates\n\nPrices, currency, market and stay dates come from the Google Hotels page as it renders when fetched, not from your URL. URL parameters such as `curr`, `hl`, `gl`, `checkin` and `checkout` may be ignored, so the result can be in another currency, for another market or for other dates than requested. Always read `data.currency`, `data.location`, `data.checkin` and `data.checkout` before using `data.booking_options[].price`.\n\n`data.booking_options[].url` values are Google redirect links that expire after a while. Some are sponsored placements: `https://www.google.com/aclk?...` links that carry Google ad click identifiers such as `gclid`. They are returned unchanged; follow them promptly and do not store them as permanent booking links.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "post_google_hotels_apis_v1_google_hotels_rates",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "url": {
                    "pattern": "^https?:\\/\\/(?:[A-Za-z0-9-]+\\.)*(?:[Gg][Oo][Oo][Gg][Ll][Ee])\\.(?:[A-Za-z]{2,}|(?:ac|co|com|edu|gov|net|org)\\.[A-Za-z]{2})(?::\\d+)?\\/travel\\/hotels\\/\\S*$",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "description": "The response envelope and container type are documented, but the business fields are not fully specified.",
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "minProperties": 1,
                      "type": "object"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Normalized successful response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Google Hotels Hotel Rates",
        "tags": [
          "Google Hotels"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "quote": {
            "supported": true
          },
          "x402": false
        },
        "x-aisa-catalog-id": "google-hotels",
        "x-aisa-category": "google-hotels",
        "x-aisa-contract-source": "handler",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/google-hotels/post_google_hotels_apis_v1_google_hotels_rates",
        "x-aisa-example": {
          "reason": "inputs_undeclared",
          "request_contract_sha256": "c604ac167558c67778c68a7c6d0b87ebc9f2d72df81332057bb4c2747e9f113a",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "estimate_source": "unavailable",
          "estimate_unavailable_reason": "reference_request_unavailable"
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "post_google_hotels_apis_v1_google_hotels_rates",
          "path": "/apis/v1/google-hotels/rates"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "inputs_undeclared"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
