Api Endpoint

x402engine.app

x402engine — Search hotels via Google Hotels (SerpApi). Returns properties with prices, ratings, and amenities.

Open interactive test console

Offering

Provider
x402engine.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402engine.app/api/travel/hotels
MIME type
application/json
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
20000000000000000 atomic units
Atomic price: 20000000000000000 · Network: eip155:4326 · Asset: 0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7 · Scheme: exact
Payment option 3
0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629"
  },
  {
    "scheme": "exact",
    "network": "eip155:4326",
    "asset": "0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7",
    "amount": "20000000000000000",
    "payTo": "0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "20000",
    "payTo": "Gzehfseq1k9AcHFSoV7qHmDGQx92nLMw78XXdqVWQQWa"
  }
]

Observed health

Status
Healthy
Latest latency
116 ms
Average latency
712 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Search query — city name or hotel name",
          "example": "hotels in Paris"
        },
        "checkInDate": {
          "type": "string",
          "description": "Check-in date (YYYY-MM-DD); today or a future date",
          "example": "2026-11-10"
        },
        "checkOutDate": {
          "type": "string",
          "description": "Check-out date (YYYY-MM-DD)",
          "example": "2026-11-13"
        },
        "adults": {
          "type": "string",
          "description": "Number of adults",
          "default": "2"
        },
        "children": {
          "type": "string",
          "description": "Number of children",
          "example": "2"
        },
        "sortBy": {
          "type": "string",
          "description": "3=Lowest price, 8=Highest rating, 13=Most reviewed"
        },
        "minPrice": {
          "type": "string",
          "description": "Minimum price per night"
        },
        "maxPrice": {
          "type": "string",
          "description": "Maximum price per night"
        },
        "hotelClass": {
          "type": "string",
          "description": "Star rating (2-5)"
        },
        "currency": {
          "type": "string",
          "description": "Currency code (e.g. USD, EUR)",
          "default": "USD"
        },
        "childrenAges": {
          "type": "string",
          "description": "Comma-separated child ages 1–17; required when children > 0, one age per child",
          "example": "7,10"
        }
      },
      "required": [
        "q",
        "checkInDate",
        "checkOutDate"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "q": {
              "type": "string",
              "description": "Search query — city name or hotel name",
              "example": "hotels in Paris"
            },
            "checkInDate": {
              "type": "string",
              "description": "Check-in date (YYYY-MM-DD); today or a future date",
              "example": "2026-11-10"
            },
            "checkOutDate": {
              "type": "string",
              "description": "Check-out date (YYYY-MM-DD)",
              "example": "2026-11-13"
            },
            "adults": {
              "type": "string",
              "description": "Number of adults",
              "default": "2"
            },
            "children": {
              "type": "string",
              "description": "Number of children",
              "example": "2"
            },
            "sortBy": {
              "type": "string",
              "description": "3=Lowest price, 8=Highest rating, 13=Most reviewed"
            },
            "minPrice": {
              "type": "string",
              "description": "Minimum price per night"
            },
            "maxPrice": {
              "type": "string",
              "description": "Maximum price per night"
            },
            "hotelClass": {
              "type": "string",
              "description": "Star rating (2-5)"
            },
            "currency": {
              "type": "string",
              "description": "Currency code (e.g. USD, EUR)",
              "default": "USD"
            },
            "childrenAges": {
              "type": "string",
              "description": "Comma-separated child ages 1–17; required when children > 0, one age per child",
              "example": "7,10"
            }
          },
          "required": [
            "q",
            "checkInDate",
            "checkOutDate"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}