A Zod schema defining the input parameters for a Google Hotels search scraper, including search queries, dates, and localization settings.
// Source: https://github.com/monid-ai/monid | License: MIT | Copyright 2026 Monid Inc
// Provided via justclaw.it.com; keep this notice with the code.
import { z } from "zod";
/**
* johnvc/google-hotels-search-scraper — actor input schema, scaffolded from the actor's PUBLISHED
* input schema (GET /v2/acts/johnvc~google-hotels-search-scraper/builds/default →
* actorDefinition.input) on 2026-09-22 via scripts/apify-scaffold.ts; curated
* by hand thereafter (re-run the script to refresh; the drift suite
* flags divergence — deno task drift). Non-strict by policy: the actor
* accepts supersets — unknown fields pass through.
*/
export const zGoogleHotelsSearchScraperBody = z.object({
search_type: z.enum(["search", "autocomplete", "photos", "reviews"])
.describe(
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key