{
  "openapi": "3.1.0",
  "info": {
    "title": "Scrapio",
    "version": "1.0.0",
    "description": "Turn any URL into structured data. Fetch raw HTML, crawl sites, extract structured content, interact with dynamic pages, and search the web through one API.",
    "contact": {
      "name": "Scrapio Support",
      "url": "https://scrapio.dev"
    },
    "license": {
      "name": "Proprietary"
    }
  },
  "servers": [
    {
      "url": "https://api.scrapio.dev",
      "description": "Production"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "System"
    },
    {
      "name": "Fetch"
    },
    {
      "name": "Crawl"
    },
    {
      "name": "Map"
    },
    {
      "name": "Interact"
    },
    {
      "name": "Search"
    },
    {
      "name": "Google"
    },
    {
      "name": "Fast Search"
    },
    {
      "name": "Jobs"
    },
    {
      "name": "YouTube"
    },
    {
      "name": "Amazon"
    },
    {
      "name": "Walmart"
    },
    {
      "name": "Booking"
    },
    {
      "name": "Agoda"
    },
    {
      "name": "Airbnb"
    },
    {
      "name": "AutoTrader"
    },
    {
      "name": "Glassdoor"
    },
    {
      "name": "Trustpilot"
    },
    {
      "name": "ZipRecruiter"
    },
    {
      "name": "Dice"
    },
    {
      "name": "SimplyHired"
    },
    {
      "name": "Built In"
    },
    {
      "name": "Wellfound"
    },
    {
      "name": "ChatGPT"
    },
    {
      "name": "Perplexity"
    },
    {
      "name": "Gemini"
    },
    {
      "name": "Bing"
    },
    {
      "name": "Reddit"
    },
    {
      "name": "Instagram"
    },
    {
      "name": "Twitter"
    },
    {
      "name": "Facebook"
    },
    {
      "name": "Hacker News"
    },
    {
      "name": "GitHub"
    },
    {
      "name": "TikTok"
    },
    {
      "name": "Apple App Store"
    },
    {
      "name": "Target"
    },
    {
      "name": "Monitors"
    }
  ],
  "paths": {
    "/health": {
      "get": {
        "tags": [
          "System"
        ],
        "summary": "Health check",
        "operationId": "healthCheck",
        "responses": {
          "200": {
            "description": "API is healthy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthResponse"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/v1/fetch": {
      "post": {
        "tags": [
          "Fetch"
        ],
        "summary": "Fetch and render a URL",
        "description": "Fetches a URL and returns its content as HTML, Markdown, JSON, or a screenshot. Set `render_js: true` to execute JavaScript before capturing the output. Requests that exceed 15 seconds are automatically promoted to async jobs and return a `job_id` to poll.",
        "operationId": "createFetch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FetchRequest"
              },
              "examples": {
                "basic": {
                  "summary": "Fetch a page as Markdown",
                  "value": {
                    "url": "https://example.com",
                    "output": [
                      "markdown"
                    ]
                  }
                },
                "js_render": {
                  "summary": "Render JavaScript and extract structured data",
                  "value": {
                    "url": "https://news.ycombinator.com",
                    "render_js": true,
                    "output": [
                      "json"
                    ],
                    "extract": {
                      "mode": "schema",
                      "schema": {
                        "top_stories": "array of story titles"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Inline fetch completed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InlineFetchResponse"
                }
              }
            }
          },
          "202": {
            "description": "Request exceeded inline timeout; async job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncFetchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Extraction validation failed on the fetched content.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Target site blocked or rejected the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Browser or proxy backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/fetch \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\":\"https://example.com\",\"output\":[\"markdown\"]}'"
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.post(\n    \"https://api.scrapio.dev/v1/fetch\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    json={\"url\": \"https://example.com\", \"output\": [\"markdown\"]},\n)\nprint(resp.json()[\"outputs\"][\"markdown\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const resp = await fetch(\"https://api.scrapio.dev/v1/fetch\", {\n  method: \"POST\",\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}`, \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({ url: \"https://example.com\", output: [\"markdown\"] }),\n});\nconst data = await resp.json();\nconsole.log(data.outputs.markdown);"
          }
        ]
      }
    },
    "/v1/google/search": {
      "get": {
        "tags": [
          "Google"
        ],
        "summary": "Search Google",
        "description": "Execute a Google search and receive structured SERP results including organic results, ads, images, news, shopping, and maps. Supports classic, news, images, maps, shopping, and AI-mode search types with locale and device targeting.",
        "operationId": "googleSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "search_type",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Type of Google search to perform",
              "type": "string",
              "enum": [
                "classic",
                "news",
                "images",
                "lens",
                "ai_mode",
                "ads"
              ]
            }
          },
          {
            "name": "country_code",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for localized results",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 2
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Device profile to emulate",
              "type": "string",
              "enum": [
                "desktop",
                "mobile"
              ]
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "date_range",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Time filter for results",
              "type": "string",
              "enum": [
                "past_hour",
                "past_day",
                "past_week",
                "past_month",
                "past_year"
              ]
            }
          },
          {
            "name": "latitude",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Latitude for local results",
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "longitude",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Longitude for local results",
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "radius",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Search radius for local results",
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "extra_params",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Raw extra query parameters",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "light_request",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Lighter-weight response",
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "add_html",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Include raw HTML in response",
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "nfpr",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Disable auto-correct redirect",
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Custom tag/label for the request",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Google SERP response with organic results, ads, and enrichments.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleSearchSuccessResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Google rate-limited or CAPTCHA-challenged the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Google blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Google execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/google/search?search=openai&search_type=classic&country_code=us\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/google/search\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"search\": \"openai\", \"country_code\": \"us\"},\n)\nprint(resp.json()[\"organic_results\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ search: \"openai\", country_code: \"us\" });\nconst resp = await fetch(`https://api.scrapio.dev/v1/google/search?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n});\nconst data = await resp.json();\nconsole.log(data.organic_results);"
          }
        ]
      }
    },
    "/v1/airbnb/search": {
      "get": {
        "tags": [
          "Airbnb"
        ],
        "summary": "Search Airbnb listings",
        "description": "Searches Airbnb listings for a free-text location, returning structured results (name, price, rating, images, and more). Backed by a maintained third-party `airbnb` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "searchAirbnb",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Free-text location to search, e.g. 'New York'"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Check-in date (YYYY-MM-DD)",
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Check-out date (YYYY-MM-DD)",
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adult guests",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of child guests",
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "infants",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of infant guests",
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "pets",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of pets",
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Airbnb search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AirbnbSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Airbnb dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Airbnb upstream failed or returned an unparseable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Airbnb execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/airbnb/search?location=New%20York&check_in=2026-09-01&check_out=2026-09-05&adults=2\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/airbnb/listing": {
      "get": {
        "tags": [
          "Airbnb"
        ],
        "summary": "Get Airbnb listing details",
        "description": "Retrieves structured detail for a single Airbnb listing by numeric id (from a search result). Backed by a maintained third-party `airbnb` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getAirbnbListing",
        "parameters": [
          {
            "name": "listing_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Check-in date (YYYY-MM-DD)",
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Check-out date (YYYY-MM-DD)",
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adult guests",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Airbnb listing details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AirbnbListingResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid listing parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Airbnb dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested listing could not be found or parsed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Airbnb upstream failed or returned an unparseable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Airbnb execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/airbnb/listing?listing_id=1706670209492936270\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/autotrader/search": {
      "get": {
        "tags": [
          "AutoTrader"
        ],
        "summary": "Search AutoTrader UK car listings",
        "description": "Searches AutoTrader UK (autotrader.co.uk) car listings near a postcode, returning structured results (title, price, mileage, year, location, and more). Backed by a maintained third-party `autotrader` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "searchAutotrader",
        "parameters": [
          {
            "name": "postcode",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "UK postcode to anchor the search, e.g. 'SW1A 1AA'"
            }
          },
          {
            "name": "radius",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Search radius in miles",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "make",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Vehicle make, e.g. 'BMW'",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Vehicle model, e.g. '3 Series'",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "year_from",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum registration year",
              "type": "integer",
              "minimum": 1900,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "year_to",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Maximum registration year",
              "type": "integer",
              "minimum": 1900,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "exclude_writeoffs",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Exclude write-off category vehicles",
              "type": "boolean"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the request, e.g. 'gb', 'us', 'de'",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured AutoTrader search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutotraderSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "AutoTrader dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "AutoTrader upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "AutoTrader execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/autotrader/search?postcode=SW1A%201AA&make=BMW&model=3%20Series&year_from=2018\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/autotrader/listing": {
      "get": {
        "tags": [
          "AutoTrader"
        ],
        "summary": "Get an AutoTrader UK listing",
        "description": "Retrieves structured detail for a single AutoTrader UK (autotrader.co.uk) listing by numeric id (from a search result URL). Backed by the same `autotrader` Web Scraping API target as search. Requires a Starter plan or higher.",
        "operationId": "getAutotraderListing",
        "parameters": [
          {
            "name": "listing_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the request, e.g. 'gb', 'us', 'de'",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured AutoTrader listing details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutotraderListingResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid listing parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "AutoTrader dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested listing could not be found or parsed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "AutoTrader upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "AutoTrader execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/autotrader/listing?listing_id=202606053030491\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/glassdoor/jobs": {
      "get": {
        "tags": [
          "Glassdoor"
        ],
        "summary": "Search Glassdoor jobs",
        "description": "Searches Glassdoor job listings by keywords, with an optional free-text location (city, state, or omitted for a nationwide search). Returns salary percentiles, company ratings, and cursor-based pagination. Requires a Starter plan or higher.",
        "operationId": "searchGlassdoorJobs",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Job search keywords, e.g. 'software engineer'"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text location, e.g. 'Austin, TX' -- resolved via Glassdoor's own location search",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 30,
              "description": "Max listings to return in this call (1-300)",
              "type": "integer",
              "minimum": 1,
              "maximum": 300
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Glassdoor search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlassdoorJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Glassdoor dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Glassdoor upstream failed, re-challenged, or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Glassdoor execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/glassdoor/jobs?query=software%20engineer&location=Austin%2C%20TX&limit=30\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/glassdoor/job": {
      "get": {
        "tags": [
          "Glassdoor"
        ],
        "summary": "Get a Glassdoor job's detail",
        "description": "Fetches full detail for a single Glassdoor job listing by job_id (from a /v1/glassdoor/jobs response): full HTML/plain-text description and a company ratings breakdown. Requires a Starter plan or higher.",
        "operationId": "getGlassdoorJobDetail",
        "parameters": [
          {
            "name": "job_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "A job_id from a /v1/glassdoor/jobs response"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Full Glassdoor job detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlassdoorJobDetailResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid job_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Glassdoor dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested job could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Glassdoor upstream failed or re-challenged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Glassdoor execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/glassdoor/job?job_id=1234567890\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/trustpilot/reviews": {
      "get": {
        "tags": [
          "Trustpilot"
        ],
        "summary": "Get Trustpilot reviews",
        "description": "Fetches reviews for a business domain, with optional star-rating, language, and verified-only filters. Returns a business summary plus reviews, cursor-paginated. Requires a Starter plan or higher.",
        "operationId": "getTrustpilotReviews",
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Business domain, e.g. amazon.com"
            }
          },
          {
            "name": "stars",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Filter to these star ratings, e.g. ?stars=1&stars=2",
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 1,
                "maximum": 5
              }
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "ISO language code, default en",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          },
          {
            "name": "verified",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Only verified reviews",
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Max reviews to return in this call (1-500)",
              "type": "integer",
              "minimum": 1,
              "maximum": 500
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Business summary and reviews.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrustpilotReviewsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid query parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Trustpilot dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Trustpilot upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Trustpilot execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/trustpilot/reviews?domain=amazon.com&limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/ziprecruiter/jobs": {
      "get": {
        "tags": [
          "ZipRecruiter"
        ],
        "summary": "Search ZipRecruiter jobs",
        "description": "Searches ZipRecruiter job listings by keywords, with an optional free-text location, cursor-paginated. Every page beyond the first requires a full browser session on ZipRecruiter's side, so pagination costs more credits per page than most job-board endpoints. Requires a Starter plan or higher.",
        "operationId": "searchZipRecruiterJobs",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Job search keywords, e.g. 'software engineer'"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text location, e.g. 'Austin, TX'",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Max listings to return in this call (1-100)",
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured ZipRecruiter search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipRecruiterJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "ZipRecruiter dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "ZipRecruiter upstream failed, re-challenged, or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "ZipRecruiter execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/ziprecruiter/jobs?query=software%20engineer&location=Austin%2C%20TX&limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/dice/jobs": {
      "get": {
        "tags": [
          "Dice"
        ],
        "summary": "Search Dice jobs",
        "description": "Searches Dice.com tech job listings by keywords, with an optional free-text location, cursor-paginated. Requires a Starter plan or higher.",
        "operationId": "searchDiceJobs",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Job search keywords, e.g. 'software engineer'"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text location, e.g. 'Austin, TX'",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Max listings to return in this call (1-100)",
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Dice search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiceJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Dice dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Dice upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Dice execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/dice/jobs?query=software%20engineer&location=Austin%2C%20TX&limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/dice/job": {
      "get": {
        "tags": [
          "Dice"
        ],
        "summary": "Get a Dice job's detail",
        "description": "Fetches full detail for a single Dice job listing by job_id (from a /v1/dice/jobs response): full HTML/plain-text description, salary, and company info. Requires a Starter plan or higher.",
        "operationId": "getDiceJobDetail",
        "parameters": [
          {
            "name": "job_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "A job_id from a /v1/dice/jobs response"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Full Dice job detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiceJobDetailResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid job_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Dice dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested job could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Dice upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Dice execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/dice/job?job_id=bba4ebb5-9b44-4f34-b325-7cf129466ac7\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/simplyhired/jobs": {
      "get": {
        "tags": [
          "SimplyHired"
        ],
        "summary": "Search SimplyHired jobs",
        "description": "Searches SimplyHired job listings by keywords, with an optional free-text location, cursor-paginated. Requires a Starter plan or higher.",
        "operationId": "searchSimplyHiredJobs",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Job search keywords, e.g. 'software engineer'"
            }
          },
          {
            "name": "location",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text location, e.g. 'Austin, TX'",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Max listings to return in this call (1-100)",
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured SimplyHired search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimplyHiredJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "SimplyHired dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "SimplyHired upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "SimplyHired execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/simplyhired/jobs?query=software%20engineer&location=Austin%2C%20TX&limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/simplyhired/job": {
      "get": {
        "tags": [
          "SimplyHired"
        ],
        "summary": "Get a SimplyHired job's detail",
        "description": "Fetches full detail for a single SimplyHired job listing by job_id (from a /v1/simplyhired/jobs response): full HTML/plain-text description, salary, and company info. Requires a Starter plan or higher.",
        "operationId": "getSimplyHiredJobDetail",
        "parameters": [
          {
            "name": "job_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "A job_id from a /v1/simplyhired/jobs response"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Full SimplyHired job detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimplyHiredJobDetailResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid job_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "SimplyHired dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested job could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "SimplyHired upstream failed or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "SimplyHired execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/simplyhired/job?job_id=J3Y47WmwrrnwPOfwMLf-2D449n7htnfG1OLPGeWvpYH6vtApNwhBnA\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/builtin/jobs": {
      "get": {
        "tags": [
          "Built In"
        ],
        "summary": "Search Built In jobs",
        "description": "Searches Built In tech/startup job listings by keywords, cursor-paginated. Requires a Starter plan or higher.",
        "operationId": "searchBuiltInJobs",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Job search keywords, e.g. 'software engineer'"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 25,
              "description": "Max listings to return in this call (1-100)",
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Built In search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuiltInJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Built In dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Built In upstream failed, re-challenged, or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Built In execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/builtin/jobs?query=software%20engineer&limit=25\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/builtin/job": {
      "get": {
        "tags": [
          "Built In"
        ],
        "summary": "Get a Built In job's detail",
        "description": "Fetches full detail for a single Built In job listing by url (the full job URL from a /v1/builtin/jobs response -- Built In requires the real slug, not just an id): full HTML/plain-text description, salary, benefits, and company info. Requires a Starter plan or higher.",
        "operationId": "getBuiltInJobDetail",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri",
              "description": "The full job URL from a /v1/builtin/jobs response's url field (builtin.com requires the real slug, not just the job_id)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Full Built In job detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuiltInJobDetailResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Built In dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested job could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Built In upstream failed or re-challenged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Built In execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/builtin/job?url=https%3A%2F%2Fbuiltin.com%2Fjob%2Fsoftware-engineer%2F11056045\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/wellfound/jobs": {
      "get": {
        "tags": [
          "Wellfound"
        ],
        "summary": "Search Wellfound jobs",
        "description": "Searches Wellfound (formerly AngelList Talent) startup job listings by role slug, cursor-paginated. Returns full job descriptions, compensation text, and company info. Requires a Starter plan or higher.",
        "operationId": "searchWellfoundJobs",
        "parameters": [
          {
            "name": "role",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Role slug/keywords, e.g. 'software-engineer'"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Max listings to return in this call (1-100)",
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response's next_cursor",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Wellfound search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WellfoundJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters or cursor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Wellfound dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Wellfound upstream failed, re-challenged, or returned an unusable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Wellfound execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/wellfound/jobs?role=software-engineer&limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/chatgpt/prompt": {
      "get": {
        "tags": [
          "ChatGPT"
        ],
        "summary": "Query ChatGPT",
        "description": "Sends a prompt to ChatGPT and returns the structured response (text, Markdown, citations, and web search queries used). Backed by a maintained third-party `chatgpt` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "promptChatgpt",
        "parameters": [
          {
            "name": "prompt",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4000,
              "description": "The prompt sent to ChatGPT"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Activate ChatGPT's web search functionality for this prompt",
              "type": "boolean"
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the prompt",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured ChatGPT response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatgptPromptResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid prompt parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "ChatGPT dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "ChatGPT upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "ChatGPT execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/chatgpt/prompt?prompt=What%20are%20the%20top%20tourist%20attractions%20in%20Paris%3F&search=true\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/perplexity/prompt": {
      "get": {
        "tags": [
          "Perplexity"
        ],
        "summary": "Query Perplexity",
        "description": "Sends a prompt to Perplexity (which always performs a live web search) and returns the structured response: answer Markdown, suggested related queries, and cited sources. Backed by a maintained third-party `perplexity` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "promptPerplexity",
        "parameters": [
          {
            "name": "prompt",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8000,
              "description": "The prompt sent to Perplexity"
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the prompt",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Perplexity response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PerplexityPromptResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid prompt parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Perplexity dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Perplexity upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Perplexity execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/perplexity/prompt?prompt=Top%203%20tips%20to%20improve%20productivity%20while%20working%20from%20home\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/gemini/prompt": {
      "get": {
        "tags": [
          "Gemini"
        ],
        "summary": "Query Gemini",
        "description": "Sends a prompt to Gemini and returns the structured response (text, Markdown, and citations). Backed by a maintained third-party `gemini` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "promptGemini",
        "parameters": [
          {
            "name": "prompt",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8000,
              "description": "The prompt sent to Gemini"
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the prompt",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Gemini response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeminiPromptResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid prompt parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Gemini dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Gemini upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Gemini execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/gemini/prompt?prompt=Moon%20Landing\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/bing/search": {
      "get": {
        "tags": [
          "Bing"
        ],
        "summary": "Search Bing",
        "description": "Searches Bing and returns structured organic and paid (sponsored) results. Backed by a maintained third-party `bing_search` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "searchBing",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the query",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Bing web interface language",
              "type": "string",
              "minLength": 2,
              "maxLength": 16
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Top-level domain to search, e.g. 'co.uk'",
              "type": "string",
              "minLength": 2,
              "maxLength": 16
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Starting page number (1-100)",
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "page_count",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of result pages to fetch (1-10)",
              "type": "integer",
              "minimum": 1,
              "maximum": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Bing search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BingSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Bing search requires a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bing upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Bing execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/bing/search?search=laptop\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/reddit/post": {
      "get": {
        "tags": [
          "Reddit"
        ],
        "summary": "Get a Reddit post",
        "description": "Retrieves a Reddit post and its top-level comments. Backed by a maintained third-party `reddit_post` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getRedditPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri",
              "description": "Reddit post URL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Reddit post and comments.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedditPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or missing url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Reddit dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Reddit upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Reddit execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/reddit/post?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fnba%2Fcomments%2F17jrqc5%2F\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/reddit/subreddit": {
      "get": {
        "tags": [
          "Reddit"
        ],
        "summary": "Get a subreddit's post feed",
        "description": "Retrieves a subreddit's post feed. Accepts either `subreddit` (bare name) or a full `url`. Backed by a maintained third-party `reddit_subreddit` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getRedditSubreddit",
        "parameters": [
          {
            "name": "subreddit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Subreddit name, e.g. 'nba' (without r/)",
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full subreddit URL",
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured subreddit post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedditSubredditResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both subreddit and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Reddit dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested subreddit could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Reddit upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Reddit execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/reddit/subreddit?subreddit=nba\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/reddit/user": {
      "get": {
        "tags": [
          "Reddit"
        ],
        "summary": "Get a Reddit user's activity feed",
        "description": "Retrieves a Reddit user's mixed post/comment activity feed. Accepts either `username` (bare name) or a full `url`. Backed by a maintained third-party `reddit_user` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getRedditUser",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Reddit username, e.g. 'spez' (without u/)",
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full user profile URL",
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Reddit user activity feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedditUserResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Reddit dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested user could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Reddit upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Reddit execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/reddit/user?username=spez\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/profile": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get an Instagram profile",
        "description": "Retrieves an Instagram profile by username or url — bio, avatar, verification/privacy flags, and follower/following/post counts. Served from Instagram's own logged-out `web_profile_info` API via curl_cffi (Chrome TLS impersonation), no login required, with an automatic Camoufox (real browser) escalation if the direct request is blocked. Requires a Starter plan or higher.",
        "operationId": "getInstagramProfile",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Instagram profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Instagram execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/profile?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/posts": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get a profile's recent posts",
        "description": "Retrieves a profile's recent post feed — real captions and like/comment counts per item — from the same logged-out `web_profile_info` API as `GET /v1/instagram/profile`. On a blocked direct request, falls back to a Camoufox-rendered page, which still returns real ids/urls/types but `caption`/`stats` as `null`. Requires a Starter plan or higher.",
        "operationId": "getInstagramPosts",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The profile's recent posts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Instagram execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/posts?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/post": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get a single Instagram post",
        "description": "Retrieves a single post or reel by its instagram.com URL — caption, author, engagement stats, and media (image/video/thumbnail) URLs. Served via curl_cffi Chrome TLS impersonation against the real post page, with an automatic Camoufox (real browser) fallback. Requires a Starter plan or higher.",
        "operationId": "getInstagramPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Instagram post.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Instagram execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/post?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FC1a2b3c4D5e%2F\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/highlights": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "List a profile's Story Highlights",
        "description": "Retrieves the list of Story Highlight reels on a profile (id, title, cover image) by username or url. Rendered via a real Camoufox browser session, since Instagram only exposes this list inside the profile page's own embedded JSON, not through any direct API. Requires a Starter plan or higher.",
        "operationId": "getInstagramHighlights",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The profile's Story Highlight reels.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramHighlightsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Instagram execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/highlights?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/highlight": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get one Story Highlight's content",
        "description": "Retrieves a single Story Highlight's title, cover image, owning account, and every story item in it (photo/video) by highlight `id` (obtained from `GET /v1/instagram/highlights`). A cold, unauthenticated direct HTTP request — no browser required. Requires a Starter plan or higher.",
        "operationId": "getInstagramHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The highlight's title, owner, and story items.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramHighlightResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested highlight could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Instagram execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/highlight?id=17912345678901234\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/search": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Search Instagram for accounts",
        "description": "Searches Instagram's generic people/account search (`topsearch`) for a query string and returns matching user profiles. Backed by an authenticated Instagram session Scrapio maintains server-side — no personal Instagram credentials needed from the caller. Requires a Starter plan or higher.",
        "operationId": "getInstagramSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching Instagram user profiles.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/search?query=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/tagged": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get a profile's tagged posts",
        "description": "Retrieves the posts a profile has been tagged in, by username or url. Backed by an authenticated Instagram session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getInstagramTagged",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Posts the profile is tagged in.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramTaggedPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/tagged?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/comments": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get a post's comments",
        "description": "Retrieves a post's comments by Instagram's numeric media ID — not the shortcode used elsewhere in this API as `id`. Backed by an authenticated Instagram session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getInstagramComments",
        "parameters": [
          {
            "name": "media_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The media's comments.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramCommentsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing media_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested media could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/comments?media_id=3193245678901234567\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/profile-search": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Search Instagram profiles (dedicated)",
        "description": "Searches Instagram's dedicated Profile Search surface for accounts matching a query — a separate capability from `GET /v1/instagram/search`'s generic topsearch. Drives a real Chrome browser session (Patchright) against Instagram's own search UI and passively captures the response, since this surface isn't reachable through curl_cffi TLS impersonation alone. Slower than the direct-HTTP Instagram endpoints — typically 10-20s, since it renders a real page. Requires a Starter plan or higher.",
        "operationId": "getInstagramProfileSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching Instagram profiles.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramProfileSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram search did not return a result in time, or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram search is temporarily unavailable (browser automation backend unreachable).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/profile-search?query=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/popular-search": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Search Instagram's topic/Explore results",
        "description": "Searches Instagram's own topic/Explore page for a query and returns the real posts shown in its 'Top SERP' results — not the requesting account's personalized search history. `query` is required; there is no global 'popular' feed without one. Browser-driven (Patchright), typically 10-20s. Requires a Starter plan or higher.",
        "operationId": "getInstagramPopularSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Real posts from Instagram's topic/Explore results for this query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramPopularSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram topic search did not return a result in time, or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram topic search is temporarily unavailable (browser automation backend unreachable).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/popular-search?query=basketball\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/hashtag-search": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Search hashtag names",
        "description": "Searches for hashtag names matching a query (e.g. `nasa` → `#nasa`), returning each matching hashtag's name and media count. Distinct from `GET /v1/instagram/hashtag-posts`, which returns the posts within a specific hashtag rather than hashtag names. Backed by an authenticated Instagram session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getInstagramHashtagSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching hashtag names and media counts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramHashtagSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/hashtag-search?query=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/reels-search": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Search Reels",
        "description": "Searches for Reels (short-form video) matching a query. Implemented as a best-effort filter over Instagram's topic/Explore results narrowed to video-type items — a reasonable approximation of a dedicated Reels search, not a confirmed exact equivalent of Instagram's own internal surface. Browser-driven (Patchright), typically 10-20s. Requires a Starter plan or higher.",
        "operationId": "getInstagramReelsSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching Reels.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramReelsSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram reels search did not return a result in time, or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram reels search is temporarily unavailable (browser automation backend unreachable).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/reels-search?query=basketball\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/reels-by-audio": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get Reels using a given audio track",
        "description": "Retrieves Reels that use a specific audio track, identified by its numeric `audio_id`. Browser-driven (Patchright) — the real endpoint requires a freshly-minted request token pair curl_cffi's TLS impersonation alone can't obtain. Typically 10-20s. Requires a Starter plan or higher.",
        "operationId": "getInstagramReelsByAudio",
        "parameters": [
          {
            "name": "audio_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Reels using this audio track.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramReelsByAudioResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing audio_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram reels-by-audio did not return a result in time, or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram reels-by-audio is temporarily unavailable (browser automation backend unreachable).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/reels-by-audio?audio_id=3264970633754589\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/trending-reels": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get trending Reels",
        "description": "Retrieves Instagram's current Reels tab / trending Reels feed. Takes no query parameters. Browser-driven (Patchright), since the real surface requires a `POST` against Instagram's GraphQL endpoint curl_cffi can't replicate. Typically 10-20s. Requires a Starter plan or higher.",
        "operationId": "getInstagramTrendingReels",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Currently trending Reels.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramTrendingReelsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram trending reels did not return a result in time, or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram trending reels is temporarily unavailable (browser automation backend unreachable).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/trending-reels\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/hashtag-posts": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get posts within a hashtag",
        "description": "Retrieves the posts tagged with a given hashtag (e.g. `nasa` → recent/top posts under `#nasa`). Distinct from `GET /v1/instagram/hashtag-search`, which looks up hashtag names rather than their posts. Backed by an authenticated Instagram session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getInstagramHashtagPosts",
        "parameters": [
          {
            "name": "hashtag",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Posts tagged with this hashtag.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramHashtagPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing hashtag.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/hashtag-posts?hashtag=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/basic-profile": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get a profile by numeric user ID",
        "description": "Retrieves a lightweight profile lookup (username, full name, avatar, verification/privacy flags) by Instagram's numeric user ID, rather than username or url like `GET /v1/instagram/profile`. Useful for chaining from an ID already in hand — e.g. a search result — without a second username-based lookup. Backed by an authenticated Instagram session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getInstagramBasicProfile",
        "parameters": [
          {
            "name": "user_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The profile matching this numeric user ID.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramBasicProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing user_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested user could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/basic-profile?user_id=25025320\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/comment-replies": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Get replies to a comment",
        "description": "Retrieves the nested replies to a specific comment, scoped to its parent media — requires both `media_id` and `comment_id`. Backed by an authenticated Instagram session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getInstagramCommentReplies",
        "parameters": [
          {
            "name": "media_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "comment_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Replies to this comment.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramCommentRepliesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing media_id or comment_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested comment could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Instagram's session is not configured, or the configured session has expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/comment-replies?media_id=3193245678901234567&comment_id=17912345678901234\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/instagram/reels": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "List a profile's Reels",
        "description": "Retrieves a profile's Reels, filtered from the same feed `GET /v1/instagram/posts` already returns (`type === \"reel\"`) — no separate request or new risk beyond that endpoint. Requires a Starter plan or higher.",
        "operationId": "getInstagramReels",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The profile's Reels.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramReelsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Instagram dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Instagram rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Instagram blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Instagram execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/instagram/reels?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitter/profile": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "Get an X (Twitter) profile",
        "description": "Retrieves an X profile by username or url — bio, avatar/banner, verification, location, external URL, joined date, and follower/following/tweet counts. Backed by an authenticated X session Scrapio maintains server-side, over X's own internal GraphQL API. Requires a Starter plan or higher.",
        "operationId": "getTwitterProfile",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured X profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitter/X dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or X rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "X blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The X execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitter/profile?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitter/tweets": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "Get a profile's tweet timeline",
        "description": "Retrieves an account's current tweet timeline — text, author, engagement stats, media, and reply/retweet flags per tweet. One page per request, no pagination. Requires a Starter plan or higher.",
        "operationId": "getTwitterTweets",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The account's tweet timeline.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterTweetsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitter/X dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or X rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "X blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The X execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitter/tweets?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitter/tweet": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "Get a single tweet",
        "description": "Retrieves a single tweet's detail by its x.com/twitter.com URL — text, author, engagement stats, media, and (when the tweet is a reply) the `in_reply_to` parent reference. Requires a Starter plan or higher.",
        "operationId": "getTwitterTweet",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured tweet detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterTweetResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing url, or url does not contain a resolvable tweet id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitter/X dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested tweet could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or X rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "X blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The X execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitter/tweet?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F2040468080686424396\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitter/search": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "Search tweets",
        "description": "Searches X for tweets matching a query, sorted by `top` (default, high-engagement) or `latest` (real-time). Drives a real Chrome browser session (Patchright) against X's own search results page and passively captures the response, since X requires a signed `x-client-transaction-id` header a plain HTTP request can't produce for this specific endpoint. Slower than every other Twitter/X endpoint — typically 15-20s, since it renders a real page. Requires a Starter plan or higher.",
        "operationId": "getTwitterSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "default": "top",
              "type": "string",
              "enum": [
                "top",
                "latest"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching tweets.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitter/X dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or X rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "X's search UI never produced a matching response in time.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The X execution backend (browser automation) is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitter/search?query=nasa&sort=top\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitter/community": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "Get an X Community",
        "description": "Retrieves an X Community's details by its x.com/i/communities/{id} URL — name, description, join policy, created date, member count, and creator. Requires a Starter plan or higher.",
        "operationId": "getTwitterCommunity",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured X Community detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterCommunityResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing url, or url does not contain a resolvable community id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitter/X dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Community could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or X rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "X blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The X execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitter/community?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1493446837214187523\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitter/community/tweets": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "Get tweets posted within an X Community",
        "description": "Retrieves tweets posted within an X Community by its x.com/i/communities/{id} URL — same shape as `GET /v1/twitter/tweets`. Requires a Starter plan or higher.",
        "operationId": "getTwitterCommunityTweets",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tweets posted within the Community.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterCommunityTweetsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing url, or url does not contain a resolvable community id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitter/X dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Community could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or X rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "X blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The X execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitter/community/tweets?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1493446837214187523\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/page": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Facebook Page",
        "description": "Retrieves a public Facebook Page by username or url — name, category, about text, avatar/cover, and follower count. Direct HTTP, no browser, live-verified against real Pages. `website`/`is_verified`/`counts.likes` are confirmed absent from this data source and always null; `counts.followers` requires an authenticated session Scrapio maintains server-side. Requires a Starter plan or higher.",
        "operationId": "getFacebookPage",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Facebook Page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/page?username=NASA\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/posts": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Page's recent feed posts",
        "description": "Retrieves the Page's most recently pinned/highlighted feed post(s), embedded in the same page load as `GET /v1/facebook/page` — not the full scrollable feed. Requires a Starter plan or higher.",
        "operationId": "getFacebookPosts",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Page's most recent feed post(s).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/posts?username=NASA\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/photos": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Page's photo grid",
        "description": "Retrieves the Page's photo grid — id, permalink, image url, and caption per photo. One page per request, no pagination. Requires a Starter plan or higher.",
        "operationId": "getFacebookPhotos",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Page's photo grid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookPhotosResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/photos?username=NASA\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/reels": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Page's reels",
        "description": "Retrieves the Page's reels grid — id, permalink, message, author, thumbnail, and view count per reel. Server-side rendered, no authentication or browser needed; some low-reel-activity Pages return an empty list. `stats.likes`/`comments`/`shares` are confirmed absent from this data source. Requires a Starter plan or higher.",
        "operationId": "getFacebookReels",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Page's reels grid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookReelsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/reels?username=NBA\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/post": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a single Facebook post",
        "description": "Retrieves one post/photo/reel by its permalink url — message, author, media, and engagement stats. Quality varies by permalink shape: a plain `/posts/{id}` or `photo.php` permalink returns full detail; a `/videos/{slug}/{id}/` Watch-player permalink returns a thinner data set. Requires a Starter plan or higher.",
        "operationId": "getFacebookPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured post detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/post?url=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D1609039143924789\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/group": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a public Facebook Group",
        "description": "Retrieves a public Facebook Group by id or url — name, privacy, member count, and cover image. `about` is confirmed absent from this data source. Requires a Starter plan or higher.",
        "operationId": "getFacebookGroup",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Facebook Group.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookGroupResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both id and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Group could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/group?id=pythondevelopers\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/group/posts": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Group's recent feed posts",
        "description": "Retrieves the Group's most recently pinned/highlighted feed post(s), same Story shape as `GET /v1/facebook/posts`. Requires a Starter plan or higher.",
        "operationId": "getFacebookGroupPosts",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Group's most recent feed post(s).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookGroupPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both id and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Group could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/group/posts?id=pythondevelopers\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/event": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Facebook event",
        "description": "Retrieves a public Facebook event by id or url — name, time, location, cover image, and online/canceled flags. `description` and `stats.interested`/`going` require an authenticated session and are currently always null. Requires a Starter plan or higher.",
        "operationId": "getFacebookEvent",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Facebook event.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookEventResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both id and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested event could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/event?id=1974020423542896\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/events/search": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Search Facebook events",
        "description": "Searches public Facebook events by keyword — id, name, time, location, and cover image per result. Requires a Starter plan or higher.",
        "operationId": "getFacebookEventsSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching events.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookEventsSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/events/search?query=music\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/marketplace/item": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a Facebook Marketplace listing",
        "description": "Retrieves a public Marketplace listing by id or url — title, description, price, location, photos, and sold/live status. Requires a Starter plan or higher.",
        "operationId": "getFacebookMarketplaceItem",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Marketplace listing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookMarketplaceItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both id and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested listing could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/marketplace/item?id=1656586118821988\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/marketplace/search": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Search Facebook Marketplace",
        "description": "Searches Marketplace listings by keyword and location (`lat`/`lng` required — Facebook's own search has no query-only mode) — id, title, price, photo, and sold/live status per result. Requires a Starter plan or higher.",
        "operationId": "getFacebookMarketplaceSearch",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lng",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching listings.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookMarketplaceSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query, lat, or lng.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/marketplace/search?query=bike&lat=30.2677&lng=-97.7475\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/adLibrary/ad": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get a single Ad Library ad",
        "description": "Retrieves one ad from Facebook's public Ad Library by its archive id — advertiser, body, platforms, dates, and active status. Driven by a real browser session (Ad Library serves a JS-execution challenge no other Facebook endpoint here does), priced accordingly. Requires a Starter plan or higher.",
        "operationId": "getFacebookAd",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured ad detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookAdResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested ad could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable (cf-bypass unconfigured).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/adLibrary/ad?id=1249043200627555\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/adLibrary/search/ads": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Search the Ad Library by keyword",
        "description": "Searches Facebook's public Ad Library by keyword and country — advertiser, body, platforms, dates, and active status per ad. Driven by a real browser session, priced accordingly. Requires a Starter plan or higher.",
        "operationId": "getFacebookAdLibrarySearchAds",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "default": "US",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching ads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookAdLibrarySearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable (cf-bypass unconfigured).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/adLibrary/search/ads?query=nike\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/facebook/adLibrary/company/ads": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get every ad a Page has run",
        "description": "Retrieves every Ad Library entry for one advertiser Page by its page id — same ad shape as `search/ads`, filtered by advertiser instead of keyword. Driven by a real browser session, priced accordingly. Requires a Starter plan or higher.",
        "operationId": "getFacebookAdLibraryCompanyAds",
        "parameters": [
          {
            "name": "pageId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "default": "ALL",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The advertiser's ads.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookAdLibraryCompanyAdsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing pageId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Facebook dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or Facebook rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Facebook blocked the request or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "The Facebook execution backend is unavailable (cf-bypass unconfigured).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/facebook/adLibrary/company/ads?pageId=15087023444\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/hacker-news/item": {
      "get": {
        "tags": [
          "Hacker News"
        ],
        "summary": "Get a Hacker News item",
        "description": "Retrieves a Hacker News item (story, comment, job, poll, or poll option) by id from the official Firebase API. Set `include_comments=true` to recursively resolve the comment tree (capped at depth 5 / 500 comments). Requires a Starter plan or higher.",
        "operationId": "getHackerNewsItem",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991,
              "description": "Hacker News item id"
            }
          },
          {
            "name": "include_comments",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Recursively resolve the comment tree (capped at depth 5 / 500 comments)",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved Hacker News item.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HackerNewsItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Hacker News dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested item could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Hacker News upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Hacker News upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/hacker-news/item?id=8863&include_comments=true\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/hacker-news/user": {
      "get": {
        "tags": [
          "Hacker News"
        ],
        "summary": "Get a Hacker News user",
        "description": "Retrieves a Hacker News user's profile from the official Firebase API, including karma, about text, and up to their 200 most recent submitted item ids. Requires a Starter plan or higher.",
        "operationId": "getHackerNewsUser",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "Hacker News username"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved Hacker News user profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HackerNewsUserResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Hacker News dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested user could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Hacker News upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Hacker News upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/hacker-news/user?username=pg\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/hacker-news/search": {
      "get": {
        "tags": [
          "Hacker News"
        ],
        "summary": "Search Hacker News",
        "description": "Full-text keyword search over Hacker News stories/comments via Algolia's HN Search API -- the brand/keyword-monitoring use case. `sort=relevance` (default) uses Algolia's `/search`; `sort=date` uses `/search_by_date` for chronological results. Requires a Starter plan or higher.",
        "operationId": "searchHackerNews",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search keyword(s)"
            }
          },
          {
            "name": "tags",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Restrict results to these Algolia HN tags",
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "story",
                  "comment",
                  "poll",
                  "pollopt",
                  "show_hn",
                  "ask_hn",
                  "front_page"
                ]
              }
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Only include results created after this unix timestamp (seconds)",
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "description": "relevance (default) uses /search, date uses /search_by_date",
              "type": "string",
              "enum": [
                "relevance",
                "date"
              ]
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "0-indexed result page",
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "hits_per_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Results per page, max 100",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Hacker News search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HackerNewsSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Hacker News dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Hacker News upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Hacker News upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/hacker-news/search?query=scrapio&sort=date\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/hacker-news/stories": {
      "get": {
        "tags": [
          "Hacker News"
        ],
        "summary": "Get a Hacker News story list",
        "description": "Resolves a Hacker News story-id list (top, new, best, ask, show, or job) from the official Firebase API into full item objects. Requires a Starter plan or higher.",
        "operationId": "getHackerNewsStories",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "top",
                "new",
                "best",
                "ask",
                "show",
                "job"
              ],
              "description": "Which Firebase story-id list to resolve"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max number of stories to resolve, default 30, max 100",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Resolved Hacker News story items.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HackerNewsStoriesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid type/limit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Hacker News dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Hacker News upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Hacker News upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/hacker-news/stories?type=top&limit=10\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/github/user": {
      "get": {
        "tags": [
          "GitHub"
        ],
        "summary": "Get a GitHub user's public profile",
        "description": "Retrieves a GitHub user's public profile via GitHub's REST API: bio, company, location, follower/following counts, and public repo count. Requires a Starter plan or higher.",
        "operationId": "getGithubUser",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved GitHub user profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GithubUserResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "GitHub dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested user could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "GitHub upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "GitHub upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/github/user?username=torvalds\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/github/repo": {
      "get": {
        "tags": [
          "GitHub"
        ],
        "summary": "Get a GitHub repository's public detail",
        "description": "Retrieves a single repository's public detail via GitHub's REST API: description, stars, forks, primary language, license, and owner. Requires a Starter plan or higher.",
        "operationId": "getGithubRepo",
        "parameters": [
          {
            "name": "owner",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "repo",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved GitHub repository detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GithubRepoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid owner/repo.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "GitHub dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested repository could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "GitHub upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "GitHub upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/github/repo?owner=anthropics&repo=claude-code\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/github/repos": {
      "get": {
        "tags": [
          "GitHub"
        ],
        "summary": "Get a GitHub user's public repositories",
        "description": "Retrieves a GitHub user's public repositories via GitHub's REST API, one page per request. Requires a Starter plan or higher.",
        "operationId": "getGithubRepos",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The user's public repositories.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GithubReposResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "GitHub dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested user could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "GitHub upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "GitHub upstream unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/github/repos?username=torvalds\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/product-hunt/leaderboard": {
      "get": {
        "tags": [
          "Product Hunt"
        ],
        "summary": "Get the Product Hunt leaderboard",
        "description": "Retrieves the Product Hunt leaderboard for a given period. Fast, but only returns the first ~19-35 products (the page's initial render, no scrolling) -- always `truncated: true`. For the complete list, use `GET /v1/product-hunt/leaderboard/crawl` instead. Self-hosted extraction behind a Cloudflare bypass. Requires a Starter plan or higher.",
        "operationId": "getProductHuntLeaderboard",
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Leaderboard window (default daily)",
              "type": "string",
              "enum": [
                "daily",
                "weekly",
                "monthly"
              ]
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Date the leaderboard is anchored to (YYYY-MM-DD, daily/weekly only). Defaults to today.",
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Topic slug to filter by, e.g. 'artificial-intelligence'",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Product Hunt leaderboard.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductHuntLeaderboardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid period, date, or category.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Product Hunt dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Product Hunt upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Product Hunt execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/product-hunt/leaderboard?period=daily\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/product-hunt/leaderboard/crawl": {
      "get": {
        "tags": [
          "Product Hunt"
        ],
        "summary": "Queue a Product Hunt leaderboard crawl job",
        "description": "Submits a Product Hunt leaderboard scrape as an async job that scrolls to the leaderboard's genuine end, returning a `job_id` to poll via `GET /v1/jobs/{id}` and `GET /v1/jobs/{id}/result`. Requires a Starter plan or higher.",
        "operationId": "queueProductHuntLeaderboardCrawl",
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Leaderboard window (default daily)",
              "type": "string",
              "enum": [
                "daily",
                "weekly",
                "monthly"
              ]
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Date the leaderboard is anchored to (YYYY-MM-DD, daily/weekly only). Defaults to today.",
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Topic slug to filter by, e.g. 'artificial-intelligence'",
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Product Hunt leaderboard crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid period, date, or category.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Product Hunt dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/product-hunt/leaderboard/crawl?period=monthly\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/product-hunt/product": {
      "get": {
        "tags": [
          "Product Hunt"
        ],
        "summary": "Get a Product Hunt product page",
        "description": "Retrieves a Product Hunt product's launch page: tagline, topics, upvotes, makers, and optionally top-level comments. Accepts either `slug` or a full `url`. Self-hosted extraction behind a Cloudflare bypass. Requires a Starter plan or higher.",
        "operationId": "getProductHuntProduct",
        "parameters": [
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Product Hunt post slug, e.g. 'scrapio'",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Product Hunt product URL",
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "include_comments",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Include top-level discussion comments (default false)",
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Product Hunt product page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductHuntProductResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both slug and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Product Hunt dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested product could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Product Hunt upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Product Hunt execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/product-hunt/product?slug=scrapio\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/product-hunt/maker": {
      "get": {
        "tags": [
          "Product Hunt"
        ],
        "summary": "Get a maker's profile",
        "description": "Retrieves a Product Hunt maker's profile: headline, follower count, launched products, and social links. Accepts either `username` or a full `url`. Self-hosted extraction behind a Cloudflare bypass. Requires a Starter plan or higher.",
        "operationId": "getProductHuntMaker",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Product Hunt username, e.g. 'rrhoover' (without @)",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Product Hunt profile URL",
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Product Hunt maker profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductHuntMakerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing both username and url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Product Hunt dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested maker could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Product Hunt upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Product Hunt execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/product-hunt/maker?username=rrhoover\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/tiktok/post": {
      "get": {
        "tags": [
          "TikTok"
        ],
        "summary": "Get a TikTok post",
        "description": "Retrieves structured metadata for a TikTok video post: description, author, engagement stats, video/cover URLs, and music. Backed by a maintained third-party `tiktok_post` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getTikTokPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri",
              "description": "TikTok post (video) URL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured TikTok post details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or missing url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "TikTok dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found or parsed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "TikTok upstream failed or returned an unparseable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "TikTok execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/tiktok/post?url=https%3A%2F%2Fwww.tiktok.com%2F%40scout2015%2Fvideo%2F6718335390845095173\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/apple-app-store/app": {
      "get": {
        "tags": [
          "Apple App Store"
        ],
        "summary": "Get an Apple App Store app listing",
        "description": "Retrieves structured metadata for an Apple App Store app listing: name, description, price, category, rating, and developer. Backed by a maintained third-party `apple_app_store` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getAppleAppStoreApp",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri",
              "description": "Apple App Store app listing URL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Apple App Store app details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppleAppStoreResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or missing url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Apple App Store dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested app could not be found or parsed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Apple App Store upstream failed or returned an unparseable page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Apple App Store execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/apple-app-store/app?url=https%3A%2F%2Fapps.apple.com%2Fus%2Fapp%2Ftiktok%2Fid835599320\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/target/product": {
      "get": {
        "tags": [
          "Target"
        ],
        "summary": "Get a Target product",
        "description": "Retrieves structured product details from Target.com: price, brand, rating, category, images, and description. Backed by a maintained third-party `target_product` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "getTargetProduct",
        "parameters": [
          {
            "name": "product_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{8}$|^\\d{10}$"
            }
          },
          {
            "name": "delivery_type",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Delivery method",
              "type": "string",
              "enum": [
                "pickup",
                "delivery",
                "shipping"
              ]
            }
          },
          {
            "name": "delivery_zip",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Zip code for delivery/shipping (required with those delivery types)",
              "type": "string",
              "minLength": 3,
              "maxLength": 10
            }
          },
          {
            "name": "store_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Target store ID (required for pickup)",
              "type": "string",
              "minLength": 3,
              "maxLength": 4
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the request",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Target product details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TargetProductResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid product_id or delivery parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Target dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested product could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Target upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Target execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/target/product?product_id=92186007\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/target/search": {
      "get": {
        "tags": [
          "Target"
        ],
        "summary": "Search Target.com",
        "description": "Searches Target.com and returns structured product results. Backed by a maintained third-party `target_search` Web Scraping API target. Requires a Starter plan or higher.",
        "operationId": "searchTarget",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "delivery_type",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Delivery method",
              "type": "string",
              "enum": [
                "pickup",
                "delivery",
                "shipping"
              ]
            }
          },
          {
            "name": "delivery_zip",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Zip code for delivery/shipping (required with those delivery types)",
              "type": "string",
              "minLength": 3,
              "maxLength": 10
            }
          },
          {
            "name": "store_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Target store ID (required for pickup)",
              "type": "string",
              "minLength": 3,
              "maxLength": 4
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country to use when submitting the request",
              "type": "string",
              "minLength": 2,
              "maxLength": 64
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Target search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TargetSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search or delivery parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Target dedicated endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Target upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Target execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/target/search?search=laptop\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/fast-search": {
      "get": {
        "tags": [
          "Fast Search"
        ],
        "summary": "Fast Search",
        "description": "Execute a lighter, faster Google web search. Returns organic results, news results, people-also-ask, related searches, and answer boxes only -- no knowledge graph, ads, shopping results, or HTML capture. Requires a Starter plan or higher.",
        "operationId": "fastSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "country_code",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for localized results",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 2
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Fast Search response with organic results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchSuccessResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Fast Search requires a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The upstream provider blocked or failed the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Fast Search backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FastSearchErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/fast-search?search=openai&country_code=us\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/fast-search\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"search\": \"openai\", \"country_code\": \"us\"},\n)\nprint(resp.json()[\"organic_results\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ search: \"openai\", country_code: \"us\" });\nconst resp = await fetch(`https://api.scrapio.dev/v1/fast-search?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n});\nconst data = await resp.json();\nconsole.log(data.organic_results);"
          }
        ]
      }
    },
    "/v1/jobs/{id}": {
      "get": {
        "tags": [
          "Jobs"
        ],
        "summary": "Get async job status",
        "description": "Returns the current status and metadata for an async job. Poll this endpoint until `result_available` is `true` or the status is `failed` or `cancelled`, then call `GET /v1/jobs/{id}/result` to retrieve the output.",
        "operationId": "getJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The job identifier returned when the job was created.",
            "schema": {
              "type": "string",
              "example": "job_abc123"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job status and metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Job not found or expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl https://api.scrapio.dev/v1/jobs/job_abc123 \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, time, requests\nheaders = {\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"}\nwhile True:\n    r = requests.get(\"https://api.scrapio.dev/v1/jobs/job_abc123\", headers=headers).json()\n    if r[\"result_available\"] or r[\"status\"] in (\"failed\", \"cancelled\"):\n        break\n    time.sleep(3)"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const headers = { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` };\nlet status;\ndo {\n  await new Promise(r => setTimeout(r, 3000));\n  status = await fetch(\"https://api.scrapio.dev/v1/jobs/job_abc123\", { headers }).then(r => r.json());\n} while (!status.result_available && ![\"failed\",\"cancelled\"].includes(status.status));"
          }
        ]
      }
    },
    "/v1/jobs": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "summary": "Create an async job",
        "description": "Submit any surface operation (fetch, crawl, interact, search, map) as an async job. Returns a `job_id` immediately; poll `GET /v1/jobs/{id}` for status and retrieve the output from `GET /v1/jobs/{id}/result` once complete. Send an `Idempotency-Key` header to safely retry submission. Results are retained for 24 hours.",
        "operationId": "createJob",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateJobRequest"
              },
              "examples": {
                "fetch": {
                  "summary": "Async fetch job",
                  "value": {
                    "kind": "fetch",
                    "input": {
                      "url": "https://example.com",
                      "render_js": true,
                      "output": [
                        "markdown"
                      ]
                    }
                  }
                },
                "crawl": {
                  "summary": "Async crawl job",
                  "value": {
                    "kind": "crawl",
                    "input": {
                      "seeds": [
                        "https://docs.example.com/"
                      ],
                      "max_pages": 20,
                      "output": [
                        "markdown"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Job accepted and queued for execution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid job request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Idempotency key reused with a different request body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/jobs \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Idempotency-Key: my-job-001\" \\\n  -d '{\"kind\":\"fetch\",\"input\":{\"url\":\"https://example.com\",\"output\":[\"markdown\"]}}'"
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.post(\n    \"https://api.scrapio.dev/v1/jobs\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\", \"Idempotency-Key\": \"my-job-001\"},\n    json={\"kind\": \"fetch\", \"input\": {\"url\": \"https://example.com\", \"output\": [\"markdown\"]}},\n)\nprint(resp.json()[\"job_id\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const resp = await fetch(\"https://api.scrapio.dev/v1/jobs\", {\n  method: \"POST\",\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}`, \"Content-Type\": \"application/json\", \"Idempotency-Key\": \"my-job-001\" },\n  body: JSON.stringify({ kind: \"fetch\", input: { url: \"https://example.com\", output: [\"markdown\"] } }),\n});\nconst { job_id } = await resp.json();"
          }
        ]
      }
    },
    "/v1/jobs/{id}/result": {
      "get": {
        "tags": [
          "Jobs"
        ],
        "summary": "Get async job result",
        "description": "Retrieves the completed output of an async job. Returns `409` if the job has not finished yet — check `GET /v1/jobs/{id}` first and only call this endpoint when `result_available` is `true`. Results expire 24 hours after job completion.",
        "operationId": "getJobResult",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The job identifier returned when the job was created.",
            "schema": {
              "type": "string",
              "example": "job_abc123"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed job output.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResultResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Job not found or result expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Job has not finished yet.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl https://api.scrapio.dev/v1/jobs/job_abc123/result \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresult = requests.get(\n    \"https://api.scrapio.dev/v1/jobs/job_abc123/result\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n).json()\nprint(result[\"outputs\"][\"markdown\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const result = await fetch(\"https://api.scrapio.dev/v1/jobs/job_abc123/result\", {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nconsole.log(result.outputs.markdown);"
          }
        ]
      }
    },
    "/v1/jobs/{id}/cancel": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "summary": "Cancel an async job",
        "description": "Cancels an async job that hasn't finished yet. If the job is already in a terminal state (`completed`, `partial`, `failed`, or already `cancelled`), this returns its current status unchanged with a `200` instead of erroring.",
        "operationId": "cancelJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The job identifier returned when the job was created.",
            "schema": {
              "type": "string",
              "example": "job_abc123"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The job was already in a terminal state; its current status is returned unchanged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobCancelResponse"
                }
              }
            }
          },
          "202": {
            "description": "The job was pending or running and has now been marked cancelled.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobCancelResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Job not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/jobs/job_abc123/cancel \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.post(\n    \"https://api.scrapio.dev/v1/jobs/job_abc123/cancel\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n)\nprint(resp.json()[\"status\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const resp = await fetch(\"https://api.scrapio.dev/v1/jobs/job_abc123/cancel\", {\n  method: \"POST\",\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nconsole.log(resp.status);"
          }
        ]
      }
    },
    "/v1/youtube/search/crawl": {
      "post": {
        "tags": [
          "YouTube"
        ],
        "summary": "Queue a YouTube search crawl job",
        "description": "Submits a large-scale YouTube search as an async job. Useful when `limit` exceeds what the synchronous search endpoint can return in a single call. Returns a `job_id` to poll for results.",
        "operationId": "queueYouTubeSearchCrawl",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YouTubeSearchQuery"
              },
              "examples": {
                "basic": {
                  "summary": "Crawl 500 results for a query",
                  "value": {
                    "search": "machine learning tutorials",
                    "limit": 500,
                    "type": "video"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "YouTube crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/youtube/search/crawl \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"search\":\"machine learning tutorials\",\"limit\":500,\"type\":\"video\"}'"
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.post(\n    \"https://api.scrapio.dev/v1/youtube/search/crawl\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    json={\"search\": \"machine learning tutorials\", \"limit\": 500, \"type\": \"video\"},\n)\nprint(resp.json()[\"job_id\"])"
          }
        ]
      }
    },
    "/v1/youtube/search": {
      "get": {
        "tags": [
          "YouTube"
        ],
        "summary": "Search YouTube",
        "description": "Search YouTube and return structured results including title, URL, channel, description, view count, and duration. Supports filtering by type (video, channel, playlist), language, country, and geo-location. For large result sets, use the `/v1/youtube/search/crawl` async endpoint.",
        "operationId": "youtubeSearch",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 2,
              "maxLength": 16,
              "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for results",
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "geo",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Geo location for results",
              "type": "string",
              "minLength": 2,
              "maxLength": 32
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Type of result to search for",
              "type": "string",
              "enum": [
                "video",
                "channel",
                "playlist",
                "all"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max number of results",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 1000
            }
          },
          {
            "name": "start_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "First result page to fetch",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          {
            "name": "end_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Last result page to fetch",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated YouTube search results with metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "No results found for the query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/youtube/search?search=openai&type=video&limit=10\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/youtube/search\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"search\": \"openai\", \"type\": \"video\", \"limit\": 10},\n)\nfor r in resp.json()[\"results\"]:\n    print(r[\"title\"], r[\"url\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ search: \"openai\", type: \"video\", limit: \"10\" });\nconst { results } = await fetch(`https://api.scrapio.dev/v1/youtube/search?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nresults.forEach(r => console.log(r.title, r.url));"
          }
        ]
      }
    },
    "/v1/youtube/videos/{video_id}": {
      "get": {
        "tags": [
          "YouTube"
        ],
        "summary": "Get YouTube video details",
        "description": "Retrieve full metadata for a YouTube video by its ID: title, channel, description, publish date, view/like counts, tags, category, and available caption tracks. Set `include_subtitles: true` to include subtitle data in the same response.",
        "operationId": "getYouTubeVideo",
        "parameters": [
          {
            "name": "video_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{6,20}$"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for metadata",
              "type": "string",
              "minLength": 2,
              "maxLength": 16,
              "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for metadata",
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "include_subtitles",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Include subtitle availability in the response",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Full video metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeVideoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid video ID format.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Video not found or unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/youtube/videos/dQw4w9WgXcQ?include_subtitles=false\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/youtube/videos/dQw4w9WgXcQ\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"include_subtitles\": False},\n)\nprint(resp.json()[\"video\"][\"title\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const { video } = await fetch(\"https://api.scrapio.dev/v1/youtube/videos/dQw4w9WgXcQ\", {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nconsole.log(video.title, video.view_count);"
          }
        ]
      }
    },
    "/v1/youtube/subtitles": {
      "get": {
        "tags": [
          "YouTube"
        ],
        "summary": "Get YouTube subtitles",
        "description": "Download subtitle/caption tracks for a YouTube video. Returns timestamped transcript segments grouped by origin (auto-generated vs creator-uploaded) and language. Set `include_timestamps: false` to receive plain text only.",
        "operationId": "getYouTubeSubtitles",
        "parameters": [
          {
            "name": "video_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{6,20}$",
              "description": "YouTube video id"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Subtitle language",
              "type": "string",
              "minLength": 2,
              "maxLength": 16,
              "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
            }
          },
          {
            "name": "subtitle_origin",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Subtitle origin: auto_generated or creator",
              "type": "string",
              "enum": [
                "auto_generated",
                "creator"
              ]
            }
          },
          {
            "name": "include_timestamps",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Include per-line timestamps",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Subtitle tracks grouped by origin and language.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeSubtitlesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid video ID or language parameter.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "No subtitle tracks available for this video.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/youtube/subtitles?video_id=dQw4w9WgXcQ&language=en\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/youtube/subtitles\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"video_id\": \"dQw4w9WgXcQ\", \"language\": \"en\"},\n)\nprint(resp.json()[\"subtitles\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ video_id: \"dQw4w9WgXcQ\", language: \"en\" });\nconst { subtitles } = await fetch(`https://api.scrapio.dev/v1/youtube/subtitles?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());"
          }
        ]
      }
    },
    "/v1/youtube/channel": {
      "get": {
        "tags": [
          "YouTube"
        ],
        "summary": "Get YouTube channel details",
        "description": "Retrieves channel metadata (subscriber/view/video counts, description, links) and a list of recent videos for a YouTube channel handle. Backed by a maintained third-party `youtube_channel` Web Scraping API target, independently of whether search/video/subtitles happen to be self-hosted or third-party-backed on this deployment. Requires a Starter plan or higher.",
        "operationId": "getYouTubeChannel",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 64,
              "pattern": "^@?[A-Za-z0-9_.-]{2,63}$",
              "description": "YouTube channel handle, e.g. @channelname"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max number of recent videos to include",
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured YouTube channel details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeChannelResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid channel handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "YouTube channel requires a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "YouTube channel upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "YouTube channel execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/youtube/channel?handle=@decodo_official&limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/amazon/search/crawl": {
      "get": {
        "tags": [
          "Amazon"
        ],
        "summary": "Queue an Amazon search crawl job",
        "description": "Submits a large Amazon search crawl as an async job, returning a `job_id` to poll. Use this for multi-page searches or when you need more results than the synchronous search endpoint returns.",
        "operationId": "queueAmazonSearchCrawl",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search keywords"
            }
          },
          {
            "name": "start_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "First page to crawl (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "end_page",
            "in": "query",
            "required": true,
            "schema": {
              "description": "Last page to crawl, max 10 pages from start_page",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "merchant_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Filter results to a specific merchant",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "enrich",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Enrich each result with pricing data",
              "type": "string",
              "enum": [
                "pricing"
              ]
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for localized results",
              "type": "string",
              "pattern": "^[a-z]{2}$"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Amazon domain suffix, e.g. com, co.uk, de",
              "type": "string",
              "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Amazon crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncFetchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid crawl parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Amazon blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Amazon execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/amazon/search/crawl?query=wireless+headphones&max_pages=5\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/amazon/search/crawl\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"query\": \"wireless headphones\", \"max_pages\": 5},\n)\nprint(resp.json()[\"job_id\"])"
          }
        ]
      }
    },
    "/v1/amazon/product": {
      "get": {
        "tags": [
          "Amazon"
        ],
        "summary": "Get Amazon product details",
        "description": "Retrieve structured product data from an Amazon product page: title, price, rating, review count, images, bullet points, description, and seller info. Accepts an ASIN or a full Amazon product URL.",
        "operationId": "getAmazonProduct",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text product query (asin or query required)",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "asin",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Amazon ASIN to look up (asin or query required)",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for localized results",
              "type": "string",
              "pattern": "^[a-z]{2}$"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Amazon domain suffix, e.g. com, co.uk, de",
              "type": "string",
              "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Amazon product data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AmazonProductResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid ASIN or request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Amazon blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Amazon execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/amazon/product?asin=B08N5WRWNW&country=us\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/amazon/product\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"asin\": \"B08N5WRWNW\", \"country\": \"us\"},\n)\nprint(resp.json()[\"title\"], resp.json()[\"price\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ asin: \"B08N5WRWNW\", country: \"us\" });\nconst product = await fetch(`https://api.scrapio.dev/v1/amazon/product?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nconsole.log(product.title, product.price);"
          }
        ]
      }
    },
    "/v1/amazon/pricing": {
      "get": {
        "tags": [
          "Amazon"
        ],
        "summary": "Get Amazon offer pricing",
        "description": "Retrieve current offer pricing for an Amazon product, including new, used, and third-party seller listings. Returns price breakdown, condition, and seller metadata.",
        "operationId": "getAmazonPricing",
        "parameters": [
          {
            "name": "asin",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Amazon ASIN to look up pricing for"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for localized results",
              "type": "string",
              "pattern": "^[a-z]{2}$"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Amazon domain suffix, e.g. com, co.uk, de",
              "type": "string",
              "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current offer pricing details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AmazonPricingResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid ASIN or request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Amazon blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Amazon execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/amazon/pricing?asin=B08N5WRWNW&country=us\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/amazon/pricing\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"asin\": \"B08N5WRWNW\", \"country\": \"us\"},\n)\nprint(resp.json())"
          }
        ]
      }
    },
    "/v1/amazon/search": {
      "get": {
        "tags": [
          "Amazon"
        ],
        "summary": "Search Amazon",
        "description": "Search Amazon and return structured results for the first page: product titles, ASINs, prices, ratings, and image URLs. For multi-page searches, use the `/v1/amazon/search/crawl` async endpoint.",
        "operationId": "searchAmazon",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search keywords"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "merchant_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Filter results to a specific merchant",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "enrich",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Enrich each result with pricing data",
              "type": "string",
              "enum": [
                "pricing"
              ]
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Country code for localized results",
              "type": "string",
              "pattern": "^[a-z]{2}$"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Language for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "domain",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Amazon domain suffix, e.g. com, co.uk, de",
              "type": "string",
              "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Amazon search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AmazonSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Amazon blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Amazon execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/amazon/search?query=wireless+headphones&country=us\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/amazon/search\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"query\": \"wireless headphones\", \"country\": \"us\"},\n)\nfor r in resp.json()[\"results\"]:\n    print(r[\"title\"], r[\"price\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ query: \"wireless headphones\", country: \"us\" });\nconst { results } = await fetch(`https://api.scrapio.dev/v1/amazon/search?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nresults.forEach(r => console.log(r.title, r.price));"
          }
        ]
      }
    },
    "/v1/walmart/search/crawl": {
      "get": {
        "tags": [
          "Walmart"
        ],
        "summary": "Queue a Walmart search crawl job",
        "description": "Submits a large Walmart search crawl as an async job, returning a `job_id` to poll. Use this for multi-page searches beyond what the synchronous search endpoint returns.",
        "operationId": "queueWalmartSearchCrawl",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "delivery_zip",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Delivery zip code for localized results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "zip_code",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Zip code for localized results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "store_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Store id to localize results to",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "min_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum price filter",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Maximum price filter",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "start_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "First page to crawl (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "end_page",
            "in": "query",
            "required": true,
            "schema": {
              "description": "Last page to crawl, max 25 pages from start_page",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "fulfillment_speed",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Fulfillment speed filter",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "fulfillment_type",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Fulfillment type filter",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Walmart crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncFetchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid crawl parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Walmart blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Walmart execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/walmart/search/crawl?query=coffee+maker&max_pages=3\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/walmart/search/crawl\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"query\": \"coffee maker\", \"max_pages\": 3},\n)\nprint(resp.json()[\"job_id\"])"
          }
        ]
      }
    },
    "/v1/walmart/search": {
      "get": {
        "tags": [
          "Walmart"
        ],
        "summary": "Search Walmart",
        "description": "Search Walmart and return structured results for the first page: product names, item IDs, prices, ratings, and image URLs. For multi-page searches, use the `/v1/walmart/search/crawl` async endpoint.",
        "operationId": "searchWalmart",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Search query text"
            }
          },
          {
            "name": "delivery_zip",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Delivery zip code for localized results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "zip_code",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Zip code for localized results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "store_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Store id to localize results to",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "min_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum price filter",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Maximum price filter",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "pages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of pages to fetch, max 5",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "fulfillment_speed",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Fulfillment speed filter",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "fulfillment_type",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Fulfillment type filter",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Walmart search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalmartSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Walmart blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Walmart execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/walmart/search?query=coffee+maker\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\nresp = requests.get(\n    \"https://api.scrapio.dev/v1/walmart/search\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SCRAPIO_API_KEY']}\"},\n    params={\"query\": \"coffee maker\"},\n)\nfor r in resp.json()[\"results\"]:\n    print(r[\"name\"], r[\"price\"])"
          },
          {
            "lang": "JavaScript",
            "label": "Node.js",
            "source": "const params = new URLSearchParams({ query: \"coffee maker\" });\nconst { results } = await fetch(`https://api.scrapio.dev/v1/walmart/search?${params}`, {\n  headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },\n}).then(r => r.json());\nresults.forEach(r => console.log(r.name, r.price));"
          }
        ]
      }
    },
    "/v1/crawl": {
      "post": {
        "tags": [
          "Crawl"
        ],
        "summary": "Crawl a site from seed URLs",
        "description": "Follows links from one or more seed URLs, capped by `max_pages`/`max_depth`, and returns the fetched content of every page visited. Runs structured extraction per page when `extract` is set (requires `output` to include `json`).",
        "operationId": "createCrawl",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CrawlRequest"
              },
              "examples": {
                "basic": {
                  "summary": "Shallow crawl from one seed",
                  "value": {
                    "seeds": [
                      "https://example.com"
                    ],
                    "max_pages": 3
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Crawl completed inline.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEnvelopeResponse"
                },
                "example": {
                  "id": "b9fdf0a0-3211-446e-8959-12e2300f0c2a",
                  "request_id": "b9fdf0a0-3211-446e-8959-12e2300f0c2a",
                  "kind": "crawl",
                  "mode": "inline",
                  "status": "completed",
                  "steps": [
                    {
                      "step_id": "step_crawl_fetch",
                      "type": "crawl_fetch",
                      "status": "completed",
                      "started_at": "2026-07-17T14:27:44.998Z",
                      "completed_at": "2026-07-17T14:27:45.090Z"
                    }
                  ],
                  "result": {
                    "seeds": [
                      "https://example.com"
                    ],
                    "pages": [
                      {
                        "url": "https://example.com/",
                        "depth": 0,
                        "status": "completed",
                        "outputs": {
                          "markdown": "# Example Domain\n\nExample Domain\n\nExample DomainThis domain is for use in documentation examples without needing permission. Avoid use in operations.Learn more"
                        }
                      }
                    ],
                    "summary": {
                      "pages_discovered": 1,
                      "pages_fetched": 1,
                      "pages_succeeded": 1,
                      "pages_failed": 0,
                      "pages_skipped": 1
                    }
                  },
                  "diagnostics": {
                    "step_errors": []
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid crawl parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/crawl \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"seeds\":[\"https://example.com\"],\"max_pages\":3}'"
          }
        ]
      }
    },
    "/v1/map": {
      "post": {
        "tags": [
          "Map"
        ],
        "summary": "Map a site's URLs from seed URLs",
        "description": "Discovers URLs reachable from one or more seed URLs, capped by `max_urls`/`max_depth`, without fetching each page's full content. Set `include_metadata: true` to also return per-URL page metadata (like title).",
        "operationId": "createMap",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MapRequest"
              },
              "examples": {
                "basic": {
                  "summary": "Map with metadata",
                  "value": {
                    "seeds": [
                      "https://example.com"
                    ],
                    "include_metadata": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Map completed inline.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEnvelopeResponse"
                },
                "example": {
                  "id": "0cf982f8-99c8-4641-9d12-b0d7191bf782",
                  "request_id": "0cf982f8-99c8-4641-9d12-b0d7191bf782",
                  "kind": "map",
                  "mode": "inline",
                  "status": "completed",
                  "steps": [
                    {
                      "step_id": "step_map_discover",
                      "type": "map_discover",
                      "status": "completed",
                      "started_at": "2026-07-17T14:27:49.333Z",
                      "completed_at": "2026-07-17T14:27:49.392Z"
                    }
                  ],
                  "result": {
                    "seeds": [
                      "https://example.com"
                    ],
                    "urls": [
                      {
                        "url": "https://example.com/",
                        "depth": 0,
                        "discovered_from": null,
                        "metadata": {
                          "title": "Example Domain"
                        }
                      }
                    ],
                    "summary": {
                      "urls_discovered": 2,
                      "urls_returned": 1,
                      "urls_skipped": 1,
                      "frontier_exhausted": true
                    }
                  },
                  "diagnostics": {
                    "step_errors": []
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid map parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/map \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"seeds\":[\"https://example.com\"],\"include_metadata\":true}'"
          }
        ]
      }
    },
    "/v1/interact": {
      "post": {
        "tags": [
          "Interact"
        ],
        "summary": "Drive a browser with an action sequence",
        "description": "Runs an ordered sequence of actions (goto, click, type, select, press, scroll, wait_for, wait_ms) against a real browser session, then captures output. Use `session.id` to persist cookies/local storage across separate `/v1/interact` calls (e.g. log in once, then reuse the session).",
        "operationId": "createInteract",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InteractRequest"
              },
              "examples": {
                "press_key": {
                  "summary": "Click, press a key, extract the result",
                  "value": {
                    "url": "https://the-internet.herokuapp.com/key_presses",
                    "actions": [
                      {
                        "type": "click",
                        "selector": "#target"
                      },
                      {
                        "type": "press",
                        "key": "A"
                      }
                    ],
                    "output": [
                      "json"
                    ],
                    "extract": {
                      "mode": "selectors",
                      "fields": {
                        "result_text": {
                          "selector": "#result",
                          "type": "text"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Action sequence completed inline.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEnvelopeResponse"
                },
                "example": {
                  "request_id": "80a01b87-640f-4240-afe9-d2f8d15a3145",
                  "id": "80a01b87-640f-4240-afe9-d2f8d15a3145",
                  "kind": "interact",
                  "mode": "inline",
                  "status": "completed",
                  "steps": [
                    {
                      "step_id": "step_1",
                      "type": "click",
                      "status": "completed",
                      "started_at": "2026-07-17T14:28:16.053Z",
                      "completed_at": "2026-07-17T14:28:16.110Z"
                    },
                    {
                      "step_id": "step_2",
                      "type": "press",
                      "status": "completed",
                      "started_at": "2026-07-17T14:28:16.110Z",
                      "completed_at": "2026-07-17T14:28:16.112Z"
                    }
                  ],
                  "result": {
                    "outputs": {
                      "json": {
                        "result_text": "You entered: A"
                      }
                    },
                    "final_url": "https://the-internet.herokuapp.com/key_presses"
                  },
                  "diagnostics": {
                    "step_errors": [],
                    "output_failures": []
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid interact parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/interact \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\":\"https://example.com\",\"actions\":[{\"type\":\"wait_ms\",\"duration_ms\":200}]}'"
          }
        ]
      }
    },
    "/v1/search": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Run a web search, optionally fetching results",
        "description": "Runs a web search (currently Google only) and returns the ranked result list. Set `fetch_results: true` to also fetch and (optionally) extract each result page's content in the same call.",
        "operationId": "createSearch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchWorkflowRequest"
              },
              "examples": {
                "basic": {
                  "summary": "Search only, no fetch",
                  "value": {
                    "query": "espresso machine reviews"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Search completed inline.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEnvelopeResponse"
                },
                "example": {
                  "id": "23a63198-4ea2-4548-ae7d-69041d8bf387",
                  "request_id": "23a63198-4ea2-4548-ae7d-69041d8bf387",
                  "kind": "search",
                  "mode": "inline",
                  "status": "completed",
                  "steps": [
                    {
                      "step_id": "step_search",
                      "type": "search",
                      "status": "completed",
                      "started_at": "2026-07-19T11:06:13.177Z",
                      "completed_at": "2026-07-19T11:06:17.164Z"
                    }
                  ],
                  "result": {
                    "query": "espresso machine reviews",
                    "provider": "google",
                    "results": [
                      {
                        "rank": 1,
                        "title": "The 7 Greatest Espresso Machines in 2026 [No *BS Guide]",
                        "url": "https://coffeechronicler.com/gear/espresso-machines/",
                        "snippet": ""
                      },
                      {
                        "rank": 2,
                        "title": "The Best Espresso Machine",
                        "url": "https://coffeegeek.com/opinions/state-of-coffee/the-best-espresso-machine/",
                        "snippet": ""
                      },
                      {
                        "rank": 3,
                        "title": "Best Espresso Machine: the Final, Definitive Answer",
                        "url": "https://www.wholelattelove.com/blogs/reviews/the-best-espresso-machine?srsltid=AfmBOootg6Ts15jJQB9tf_KA3yTAgtJ20-3BBUvIanucteakFm9XU72i",
                        "snippet": ""
                      },
                      {
                        "rank": 4,
                        "title": "Good, Easy Espresso at Home | Reviews by Wirecutter",
                        "url": "https://www.nytimes.com/wirecutter/reviews/gaggia-classic-evo-pro-review/",
                        "snippet": ""
                      },
                      {
                        "rank": 5,
                        "title": "Espresso Machine & Coffee Grinder Reviews",
                        "url": "https://www.home-barista.com/hb-reviews.html",
                        "snippet": ""
                      }
                    ]
                  },
                  "diagnostics": {
                    "step_errors": []
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/search \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"query\":\"espresso machine reviews\"}'"
          }
        ]
      }
    },
    "/v1/booking/search": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Search Booking.com hotels",
        "description": "Searches Booking.com hotel availability for a destination and stay window, returning structured property results (price, stars, review score, coordinates, and more). Requires a Starter plan or higher. `pos_country` pins the point-of-sale market by routing through a residential proxy in that country, since Booking's prices vary by point of sale.",
        "operationId": "searchBooking",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Destination text or lat,lng"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-in date (YYYY-MM-DD, today or later)"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-out date (YYYY-MM-DD, after check-in)"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adults (default 2)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of children (default 0)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children_ages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated child ages; length must match children",
              "type": "string",
              "pattern": "^\\d+(,\\d+)*$"
            }
          },
          {
            "name": "rooms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of rooms (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Display currency (ISO 4217)",
              "type": "string",
              "pattern": "^[A-Za-z]{3}$"
            }
          },
          {
            "name": "pos_country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Point-of-sale market (ISO country code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "min_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum per-night price",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Maximum per-night price",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "stars",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated star ratings to include",
              "type": "string",
              "pattern": "^[1-5](,[1-5])*$"
            }
          },
          {
            "name": "min_review_score",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum review score, 1-10",
              "type": "string",
              "pattern": "^(10(\\.0)?|\\d(\\.\\d)?)$"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "pages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of pages to fetch, max 5",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Booking.com search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Booking.com blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Booking.com execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/booking/search?location=Paris&check_in=2026-08-10&check_out=2026-08-12&adults=2&rooms=1&currency=EUR&pos_country=fr\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/booking/search/crawl": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Queue a Booking.com search crawl job",
        "description": "Submits a multi-page Booking.com search as an async job (up to 25 pages from `start_page`), returning a `job_id` to poll. Requires a Starter plan or higher.",
        "operationId": "queueBookingSearchCrawl",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Destination text or lat,lng"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-in date (YYYY-MM-DD, today or later)"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-out date (YYYY-MM-DD, after check-in)"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adults (default 2)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of children (default 0)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children_ages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated child ages; length must match children",
              "type": "string",
              "pattern": "^\\d+(,\\d+)*$"
            }
          },
          {
            "name": "rooms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of rooms (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Display currency (ISO 4217)",
              "type": "string",
              "pattern": "^[A-Za-z]{3}$"
            }
          },
          {
            "name": "pos_country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Point-of-sale market (ISO country code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "min_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum per-night price",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Maximum per-night price",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "stars",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated star ratings to include",
              "type": "string",
              "pattern": "^[1-5](,[1-5])*$"
            }
          },
          {
            "name": "min_review_score",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum review score, 1-10",
              "type": "string",
              "pattern": "^(10(\\.0)?|\\d(\\.\\d)?)$"
            }
          },
          {
            "name": "start_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "First page to crawl (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "end_page",
            "in": "query",
            "required": true,
            "schema": {
              "description": "Last page to crawl, max 25 pages from start_page",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Booking search crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid crawl parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/booking/search/crawl?location=Paris&check_in=2026-08-10&check_out=2026-08-12&start_page=1&end_page=10&currency=EUR&pos_country=fr\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/booking/property": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Get Booking.com property details",
        "description": "Retrieves structured property details from a Booking.com hotel page: name, description, address, coordinates, amenities, images, and per-room rates for the given stay window. Accepts a `property_id` (from a search result) or a full Booking property `url`. Requires a Starter plan or higher.",
        "operationId": "getBookingProperty",
        "parameters": [
          {
            "name": "property_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Booking property slug/id",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Booking property URL",
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-in date (YYYY-MM-DD, today or later)"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-out date (YYYY-MM-DD, after check-in)"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adults (default 2)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of children (default 0)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children_ages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated child ages; length must match children",
              "type": "string",
              "pattern": "^\\d+(,\\d+)*$"
            }
          },
          {
            "name": "rooms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of rooms (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Display currency (ISO 4217)",
              "type": "string",
              "pattern": "^[A-Za-z]{3}$"
            }
          },
          {
            "name": "pos_country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Point-of-sale market (ISO country code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Booking.com property details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingPropertyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Booking.com blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Booking.com execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/booking/property?property_id=fr/beauvoir&check_in=2026-08-10&check_out=2026-08-12&adults=2&rooms=1&currency=EUR&pos_country=fr\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/booking/reviews": {
      "get": {
        "tags": [
          "Booking"
        ],
        "summary": "Get Booking.com property reviews",
        "description": "Retrieves a Booking.com property's review score breakdown (staff, facilities, cleanliness, and more). By default only the score breakdown is returned; set `include_review_details: true` to click through and return individual review cards too, billed as a separate interact session (25 credits total instead of 15). Requires a Starter plan or higher.",
        "operationId": "getBookingReviews",
        "parameters": [
          {
            "name": "property_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Booking property slug/id",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Booking property URL",
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review page number (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review sort order",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review language filter (ISO 2-letter code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "include_review_details",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Click through to fetch individual review cards (+10 credits, 25 total)",
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Booking.com review score breakdown, and review cards when requested.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingReviewsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Booking.com blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Booking.com execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/booking/reviews?property_id=fr/beauvoir&page=1&sort_by=newest\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/agoda/search/crawl": {
      "get": {
        "tags": [
          "Agoda"
        ],
        "summary": "Queue an Agoda search crawl job",
        "description": "Submits a multi-page Agoda search as an async job (up to 25 pages from `start_page`), returning a `job_id` to poll. Each page resolves via the same real capture-and-replay mechanism as the inline `page` param (no URL-based pagination exists), billed per page at the interact rate. Requires a Starter plan or higher. Does not accept `sort_by`/`min_price`/`max_price`/`stars`/`min_review_score` -- Agoda's search filters only apply via a single interact click session with no crawl-compatible equivalent.",
        "operationId": "queueAgodaSearchCrawl",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Destination text"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-in date (YYYY-MM-DD, today or later)"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-out date (YYYY-MM-DD, after check-in)"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adults (default 2)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of children (default 0)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children_ages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated child ages; length must match children",
              "type": "string",
              "pattern": "^\\d+(,\\d+)*$"
            }
          },
          {
            "name": "rooms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of rooms (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Display currency (ISO 4217)",
              "type": "string",
              "pattern": "^[A-Za-z]{3}$"
            }
          },
          {
            "name": "pos_country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Point-of-sale market (ISO country code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "start_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "First page to crawl (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "end_page",
            "in": "query",
            "required": true,
            "schema": {
              "description": "Last page to crawl, max 25 pages from start_page",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait per page, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Agoda search crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid crawl parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/agoda/search/crawl?location=Paris&check_in=2026-08-10&check_out=2026-08-12&start_page=1&end_page=5&currency=EUR\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/agoda/search": {
      "get": {
        "tags": [
          "Agoda"
        ],
        "summary": "Search Agoda hotels",
        "description": "Searches Agoda hotel availability for a destination and stay window, returning structured property results (price, stars, review score, coordinates, and more). Requires a Starter plan or higher. `page` beyond 1 drives a real capture-and-replay session against Agoda's own dynamically-guarded pagination request, billed at 25 credits instead of 15.",
        "operationId": "searchAgoda",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Destination text"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-in date (YYYY-MM-DD, today or later)"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-out date (YYYY-MM-DD, after check-in)"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adults (default 2)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of children (default 0)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children_ages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated child ages; length must match children",
              "type": "string",
              "pattern": "^\\d+(,\\d+)*$"
            }
          },
          {
            "name": "rooms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of rooms (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Display currency (ISO 4217)",
              "type": "string",
              "pattern": "^[A-Za-z]{3}$"
            }
          },
          {
            "name": "pos_country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Point-of-sale market (ISO country code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sort order for results",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "min_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum per-night price",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "max_price",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Maximum per-night price",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "stars",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated star ratings to include",
              "type": "string",
              "pattern": "^[1-5](,[1-5])*$"
            }
          },
          {
            "name": "min_review_score",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Minimum review score, 1-10",
              "type": "string",
              "pattern": "^(10(\\.0)?|\\d(\\.\\d)?)$"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Result page number",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "pages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of pages to fetch, max 5",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Agoda search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgodaSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid search parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Agoda blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Agoda execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/agoda/search?location=Paris&check_in=2026-08-10&check_out=2026-08-12&adults=2&rooms=1&currency=EUR\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/agoda/property": {
      "get": {
        "tags": [
          "Agoda"
        ],
        "summary": "Get Agoda property details",
        "description": "Retrieves structured property details from an Agoda hotel page: name, description, address, coordinates, amenities, images, and per-room rates for the given stay window. Accepts a full Agoda property `url`, or a `property_id` plus `city_id` (from a prior search result's `meta_data.resolved_city_id`). Requires a Starter plan or higher.",
        "operationId": "getAgodaProperty",
        "parameters": [
          {
            "name": "property_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Agoda numeric property ID",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Agoda property URL",
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "city_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Agoda numeric city ID, required alongside property_id when url is not given (see GET /v1/agoda/search's resolved_city_id)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "check_in",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-in date (YYYY-MM-DD, today or later)"
            }
          },
          {
            "name": "check_out",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Check-out date (YYYY-MM-DD, after check-in)"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of adults (default 2)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of children (default 0)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "children_ages",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Comma-separated child ages; length must match children",
              "type": "string",
              "pattern": "^\\d+(,\\d+)*$"
            }
          },
          {
            "name": "rooms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Number of rooms (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Display currency (ISO 4217)",
              "type": "string",
              "pattern": "^[A-Za-z]{3}$"
            }
          },
          {
            "name": "pos_country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Point-of-sale market (ISO country code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "device",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "desktop",
                "mobile",
                "tablet"
              ],
              "description": "Device profile to emulate"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Agoda property details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgodaPropertyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Agoda blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Agoda execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/agoda/property?property_id=3&city_id=9395&check_in=2026-08-10&check_out=2026-08-12&adults=2&rooms=1&currency=EUR\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/agoda/reviews/crawl": {
      "get": {
        "tags": [
          "Agoda"
        ],
        "summary": "Queue an Agoda reviews crawl job",
        "description": "Submits a real Agoda reviews capture as an async job, returning a `job_id` to poll. Runs the same per-page capture as `GET /v1/agoda/reviews`, but with no HTTP response deadline (capturing real review data can take longer than a synchronous request can safely wait — Cloudflare's edge timeout is ~100s) and, unlike the synchronous endpoint's single `page`, a real `start_page`/`end_page` range: every page in the range is fetched and merged into one response, deduped by the page each fetch actually reached (a requested page can degrade to an earlier one if its numbered pagination fails to render). Omitting both `start_page`/`end_page` crawls just page 1. Requires a Starter plan or higher.",
        "operationId": "queueAgodaReviewsCrawl",
        "parameters": [
          {
            "name": "property_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Agoda numeric property ID",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Agoda property URL",
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "city_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Agoda numeric city ID, required alongside property_id when url is not given (see GET /v1/agoda/search's resolved_city_id)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "start_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "First review page to crawl (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "end_page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Last review page to crawl (default start_page -- single page)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review sort order",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review language filter (ISO 2-letter code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait per page, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Agoda reviews crawl job queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobAcceptedResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/agoda/reviews/crawl?property_id=3&city_id=9395&start_page=1&end_page=5\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/agoda/reviews": {
      "get": {
        "tags": [
          "Agoda"
        ],
        "summary": "Get Agoda property reviews",
        "description": "Retrieves an Agoda property's review score breakdown and individual review cards from a single plain page load — unlike Booking.com, no click-through opt-in is needed. Requires a Starter plan or higher. `page` beyond 1 drives a real capture-and-replay session, billed at 25 credits instead of 15. Real review capture can take longer than this endpoint can safely wait for inline (bounded to keep the request under Cloudflare's edge timeout) — if that budget is exceeded, this returns quickly with an empty `reviews`/`score_breakdown` rather than hanging. For reliable real data, use `GET /v1/agoda/reviews/crawl` instead, which runs the same capture as a background job with no deadline.",
        "operationId": "getAgodaReviews",
        "parameters": [
          {
            "name": "property_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Agoda numeric property ID",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Full Agoda property URL",
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "city_id",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Agoda numeric city ID, required alongside property_id when url is not given (see GET /v1/agoda/search's resolved_city_id)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review page number (default 1)",
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review sort order",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Review language filter (ISO 2-letter code)",
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          {
            "name": "timeout_ms",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Max time to wait, in ms",
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Agoda review score breakdown and review cards.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgodaReviewsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan upgrade required for this tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Agoda blocked the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Agoda execution backend unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/agoda/reviews?property_id=3&city_id=9395&page=1\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors": {
      "post": {
        "tags": [
          "Monitors"
        ],
        "summary": "Create a monitor",
        "description": "Creates a scheduled check on a page: `mode: \"fields\"` (default) diffs named extracted fields between runs, `mode: \"content\"` diffs the whole page as markdown. Notifies via `webhook_endpoint_id` (see the Webhooks guide) only when a real change is detected.",
        "operationId": "createMonitor",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMonitorRequest"
              },
              "examples": {
                "basic": {
                  "summary": "Watch a product's price hourly",
                  "value": {
                    "name": "Widget price watch",
                    "url": "https://example.com/product/widget",
                    "cron": "0 * * * *",
                    "extract": {
                      "price": "the current price"
                    },
                    "watch": {
                      "fields": [
                        "price"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Monitor created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid monitor parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Plan's active-schedule limit reached.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/monitors \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"name\":\"Widget price watch\",\"url\":\"https://example.com/product/widget\",\"cron\":\"0 * * * *\",\"extract\":{\"price\":\"the current price\"},\"watch\":{\"fields\":[\"price\"]}}'"
          }
        ]
      },
      "get": {
        "tags": [
          "Monitors"
        ],
        "summary": "List monitors",
        "description": "Returns every monitor on the tenant.",
        "operationId": "listMonitors",
        "responses": {
          "200": {
            "description": "All monitors on the tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorListResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl https://api.scrapio.dev/v1/monitors \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors/{id}": {
      "get": {
        "tags": [
          "Monitors"
        ],
        "summary": "Get monitor detail",
        "operationId": "getMonitor",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Monitor detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl https://api.scrapio.dev/v1/monitors/sch_abc123 \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      },
      "patch": {
        "tags": [
          "Monitors"
        ],
        "summary": "Update a monitor",
        "description": "Updates URL, extract schema, watch config, cron, webhook, or active state. Omitted fields are left unchanged.",
        "operationId": "updateMonitor",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMonitorRequest"
              },
              "examples": {
                "pause": {
                  "summary": "Pause a monitor",
                  "value": {
                    "active": false
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated monitor.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid update parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X PATCH https://api.scrapio.dev/v1/monitors/sch_abc123 \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"active\":false}'"
          }
        ]
      },
      "delete": {
        "tags": [
          "Monitors"
        ],
        "summary": "Delete a monitor",
        "operationId": "deleteMonitor",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Monitor deleted."
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X DELETE https://api.scrapio.dev/v1/monitors/sch_abc123 \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors/{id}/trigger": {
      "post": {
        "tags": [
          "Monitors"
        ],
        "summary": "Trigger a monitor immediately",
        "description": "Runs the monitor now, outside its cron schedule, and returns immediately with a `run_id`/`job_id` to poll -- it does not wait for the run to finish.",
        "operationId": "triggerMonitor",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Run queued.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorTriggerResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl -X POST https://api.scrapio.dev/v1/monitors/sch_abc123/trigger \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors/{id}/runs": {
      "get": {
        "tags": [
          "Monitors"
        ],
        "summary": "List run history",
        "operationId": "listMonitorRuns",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Max runs to return (default 50, max 100).",
            "schema": {
              "type": "integer",
              "example": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Run history, newest first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorRunsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/monitors/sch_abc123/runs?limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors/{id}/runs/latest": {
      "get": {
        "tags": [
          "Monitors"
        ],
        "summary": "Get the latest completed run",
        "operationId": "getLatestMonitorRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The most recent completed run, with its extracted result.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorLatestRunResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found, or it has no completed runs yet.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl https://api.scrapio.dev/v1/monitors/sch_abc123/runs/latest \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors/{id}/changes": {
      "get": {
        "tags": [
          "Monitors"
        ],
        "summary": "List detected changes",
        "operationId": "listMonitorChanges",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Max changes to return (default 50, max 100).",
            "schema": {
              "type": "integer",
              "example": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Detected change history, newest first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorChangesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/monitors/sch_abc123/changes?limit=20\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/monitors/{id}/changes/latest": {
      "get": {
        "tags": [
          "Monitors"
        ],
        "summary": "Get the latest detected change",
        "operationId": "getLatestMonitorChange",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Monitor id.",
            "schema": {
              "type": "string",
              "example": "sch_abc123"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The most recently detected change.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorLatestChangeResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Monitor not found, or no changes detected yet.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl https://api.scrapio.dev/v1/monitors/sch_abc123/changes/latest \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/telegram/channel": {
      "get": {
        "tags": [
          "Telegram"
        ],
        "summary": "Get a Telegram channel",
        "description": "Fetch a public Telegram channel's summary: title, description, subscriber count, and avatar. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTelegramChannel",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Telegram channel summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TelegramChannelResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Telegram endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested channel could not be found or its public preview is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Telegram upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Telegram execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/telegram/channel?handle=durov\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/telegram/channel/posts": {
      "get": {
        "tags": [
          "Telegram"
        ],
        "summary": "Get a Telegram channel's posts",
        "description": "Fetch a public Telegram channel's current post feed. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTelegramChannelPosts",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Telegram channel post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TelegramChannelPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Telegram endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested channel could not be found or its public preview is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Telegram upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Telegram execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/telegram/channel/posts?handle=durov\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/rumble/search": {
      "get": {
        "tags": [
          "Rumble"
        ],
        "summary": "Search Rumble",
        "description": "Search Rumble videos and shorts by keyword. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchRumble",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Rumble search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RumbleSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Rumble endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Rumble upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Rumble execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/rumble/search?query=news\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/rumble/channel/videos": {
      "get": {
        "tags": [
          "Rumble"
        ],
        "summary": "Get a Rumble channel's videos",
        "description": "Fetch a Rumble channel's video and shorts feed. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getRumbleChannelVideos",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Rumble channel video feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RumbleChannelVideosResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Rumble endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested channel could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Rumble upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Rumble execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/rumble/channel/videos?handle=example\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/rumble/video": {
      "get": {
        "tags": [
          "Rumble"
        ],
        "summary": "Get a Rumble video",
        "description": "Fetch a single Rumble video's structured detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getRumbleVideo",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Rumble video detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RumbleVideoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Rumble endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested video could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Rumble upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Rumble execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/rumble/video?url=https://rumble.com/v1234-example.html\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/tiktok/shop/search": {
      "get": {
        "tags": [
          "TikTok Shop"
        ],
        "summary": "Search TikTok Shop",
        "description": "Search TikTok Shop's catalog by keyword and return structured product results. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchTiktokShop",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured TikTok Shop search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TiktokShopSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "TikTok Shop endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "TikTok Shop upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "TikTok Shop execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/tiktok/shop/search?query=wireless+earbuds\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/tiktok/shop/product": {
      "get": {
        "tags": [
          "TikTok Shop"
        ],
        "summary": "Get a TikTok Shop product",
        "description": "Fetch structured TikTok Shop product detail by product id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTiktokShopProduct",
        "parameters": [
          {
            "name": "product_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured TikTok Shop product detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TiktokShopProductResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid product_id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "TikTok Shop endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested product could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "TikTok Shop upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "TikTok Shop execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/tiktok/shop/product?product_id=1234567890\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/truthsocial/profile": {
      "get": {
        "tags": [
          "Truth Social"
        ],
        "summary": "Get a Truth Social profile",
        "description": "Fetch a Truth Social account's profile summary by username. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTruthSocialProfile",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Truth Social profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TruthSocialProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Truth Social endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested account could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Truth Social upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Truth Social execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/truthsocial/profile?handle=realDonaldTrump\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/truthsocial/user/posts": {
      "get": {
        "tags": [
          "Truth Social"
        ],
        "summary": "Get a Truth Social user's posts",
        "description": "Fetch a Truth Social account's current post feed. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTruthSocialUserPosts",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "next_max_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Truth Social post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TruthSocialUserPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Truth Social endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested account could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Truth Social upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Truth Social execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/truthsocial/user/posts?handle=realDonaldTrump\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/truthsocial/post": {
      "get": {
        "tags": [
          "Truth Social"
        ],
        "summary": "Get a Truth Social post",
        "description": "Fetch a single Truth Social post's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTruthSocialPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Truth Social post detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TruthSocialPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Truth Social endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Truth Social upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Truth Social execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/truthsocial/post?url=https://truthsocial.com/@realDonaldTrump/posts/123456789\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/bluesky/profile": {
      "get": {
        "tags": [
          "Bluesky"
        ],
        "summary": "Get a Bluesky profile",
        "description": "Fetch a Bluesky profile's summary by handle or user id. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getBlueskyProfile",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Bluesky profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlueskyProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/user_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Bluesky endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested account could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bluesky upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Bluesky execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/bluesky/profile?handle=jay.bsky.team\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/bluesky/user/posts": {
      "get": {
        "tags": [
          "Bluesky"
        ],
        "summary": "Get a Bluesky user's posts",
        "description": "Fetch a Bluesky account's current post feed. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getBlueskyUserPosts",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Bluesky post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlueskyUserPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/user_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Bluesky endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested account could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bluesky upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Bluesky execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/bluesky/user/posts?handle=jay.bsky.team\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/bluesky/post": {
      "get": {
        "tags": [
          "Bluesky"
        ],
        "summary": "Get a Bluesky post",
        "description": "Fetch a single Bluesky post's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getBlueskyPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Bluesky post detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlueskyPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Bluesky endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Bluesky upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Bluesky execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/bluesky/post?url=https://bsky.app/profile/jay.bsky.team/post/abc123\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitch/profile": {
      "get": {
        "tags": [
          "Twitch"
        ],
        "summary": "Get a Twitch profile",
        "description": "Fetch a Twitch channel's profile: live status, viewer count, followers, and avatar. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTwitchProfile",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Twitch channel profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitchProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitch endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested channel could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Twitch upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Twitch execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitch/profile?handle=ninja\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitch/user/videos": {
      "get": {
        "tags": [
          "Twitch"
        ],
        "summary": "Get a Twitch channel's videos",
        "description": "Fetch a Twitch channel's recent VODs. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTwitchUserVideos",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Twitch VOD list.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitchUserVideosResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitch endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested channel could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Twitch upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Twitch execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitch/user/videos?handle=ninja\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitch/user/schedule": {
      "get": {
        "tags": [
          "Twitch"
        ],
        "summary": "Get a Twitch channel's schedule",
        "description": "Fetch a Twitch channel's upcoming stream schedule. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTwitchUserSchedule",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Twitch stream schedule.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitchUserScheduleResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitch endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested channel could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Twitch upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Twitch execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitch/user/schedule?handle=ninja\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/twitch/clip": {
      "get": {
        "tags": [
          "Twitch"
        ],
        "summary": "Get a Twitch clip",
        "description": "Fetch a single Twitch clip's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTwitchClip",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Twitch clip detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitchClipResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Twitch endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested clip could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Twitch upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Twitch execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/twitch/clip?url=https://clips.twitch.tv/example-clip\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/apple-music/artist": {
      "get": {
        "tags": [
          "Apple Music"
        ],
        "summary": "Get an Apple Music artist",
        "description": "Fetch an Apple Music artist's profile by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getAppleMusicArtist",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Apple Music artist profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppleMusicArtistResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Apple Music endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested artist could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Apple Music upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Apple Music execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/apple-music/artist?url=https://music.apple.com/us/artist/drake/271256\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/apple-music/album": {
      "get": {
        "tags": [
          "Apple Music"
        ],
        "summary": "Get an Apple Music album",
        "description": "Fetch an Apple Music album's detail and tracklist by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getAppleMusicAlbum",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Apple Music album detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppleMusicAlbumResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Apple Music endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested album could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Apple Music upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Apple Music execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/apple-music/album?url=https://music.apple.com/us/album/scorpion/1391747216\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/apple-music/track": {
      "get": {
        "tags": [
          "Apple Music"
        ],
        "summary": "Get an Apple Music track",
        "description": "Fetch a single Apple Music track's metadata by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getAppleMusicTrack",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Apple Music track metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppleMusicTrackResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Apple Music endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested track could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Apple Music upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Apple Music execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/apple-music/track?url=https://music.apple.com/us/song/gods-plan/1361297564\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/apple-music/search": {
      "get": {
        "tags": [
          "Apple Music"
        ],
        "summary": "Search Apple Music",
        "description": "Search the Apple Music catalog by song, album, artist, or playlist. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchAppleMusic",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "song",
                "album",
                "artist",
                "playlist",
                "station",
                "music_video",
                "radio_episode"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Apple Music search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppleMusicSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Apple Music endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Apple Music upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Apple Music execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/apple-music/search?query=drake\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/spotify/artist": {
      "get": {
        "tags": [
          "Spotify"
        ],
        "summary": "Get a Spotify artist",
        "description": "Fetch a Spotify artist's profile and top tracks by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSpotifyArtist",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Spotify artist profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotifyArtistResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Spotify endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested artist could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Spotify upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Spotify execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/spotify/artist?url=https://open.spotify.com/artist/3TVXtAsR1Inumwj472S9r4\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/spotify/track": {
      "get": {
        "tags": [
          "Spotify"
        ],
        "summary": "Get a Spotify track",
        "description": "Fetch a single Spotify track's metadata by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSpotifyTrack",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Spotify track metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotifyTrackResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Spotify endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested track could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Spotify upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Spotify execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/spotify/track?url=https://open.spotify.com/track/7qiZfU4dY1lWllzX7mPBI3\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/spotify/album": {
      "get": {
        "tags": [
          "Spotify"
        ],
        "summary": "Get a Spotify album",
        "description": "Fetch a Spotify album's detail and tracklist by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSpotifyAlbum",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Spotify album detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotifyAlbumResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Spotify endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested album could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Spotify upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Spotify execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/spotify/album?url=https://open.spotify.com/album/1weenld61qoidwYuZ1GESA\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/spotify/playlist": {
      "get": {
        "tags": [
          "Spotify"
        ],
        "summary": "Get a Spotify playlist",
        "description": "Fetch a Spotify playlist's detail and tracklist by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSpotifyPlaylist",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Spotify playlist detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotifyPlaylistResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Spotify endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested playlist could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Spotify upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Spotify execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/spotify/playlist?url=https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/spotify/podcast": {
      "get": {
        "tags": [
          "Spotify"
        ],
        "summary": "Get a Spotify podcast",
        "description": "Fetch a Spotify podcast show's detail by id or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSpotifyPodcast",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Spotify podcast detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotifyPodcastResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid id/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Spotify endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested podcast could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Spotify upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Spotify execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/spotify/podcast?url=https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/spotify/search": {
      "get": {
        "tags": [
          "Spotify"
        ],
        "summary": "Search Spotify",
        "description": "Search tracks, artists, albums, and playlists by keyword. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchSpotify",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Spotify search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotifySearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Spotify endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Spotify upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Spotify execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/spotify/search?query=drake\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/soundcloud/artist": {
      "get": {
        "tags": [
          "SoundCloud"
        ],
        "summary": "Get a SoundCloud artist",
        "description": "Fetch a SoundCloud artist's profile by handle or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSoundcloudArtist",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured SoundCloud artist profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SoundcloudArtistResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "SoundCloud endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested artist could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "SoundCloud upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "SoundCloud execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/soundcloud/artist?handle=officialskrillex\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/soundcloud/artist/tracks": {
      "get": {
        "tags": [
          "SoundCloud"
        ],
        "summary": "Get a SoundCloud artist's tracks",
        "description": "Fetch a SoundCloud artist's uploaded tracks. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSoundcloudArtistTracks",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured SoundCloud track list.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SoundcloudArtistTracksResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "SoundCloud endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested artist could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "SoundCloud upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "SoundCloud execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/soundcloud/artist/tracks?handle=officialskrillex\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/soundcloud/track": {
      "get": {
        "tags": [
          "SoundCloud"
        ],
        "summary": "Get a SoundCloud track",
        "description": "Fetch a single SoundCloud track's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSoundcloudTrack",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured SoundCloud track detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SoundcloudTrackResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "SoundCloud endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested track could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "SoundCloud upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "SoundCloud execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/soundcloud/track?url=https://soundcloud.com/officialskrillex/example-track\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/kwai/profile": {
      "get": {
        "tags": [
          "Kwai"
        ],
        "summary": "Get a Kwai profile",
        "description": "Fetch a Kwai creator's profile by handle or url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getKwaiProfile",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Kwai profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KwaiProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Kwai endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Kwai upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Kwai execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/kwai/profile?handle=example\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/kwai/user/posts": {
      "get": {
        "tags": [
          "Kwai"
        ],
        "summary": "Get a Kwai user's posts",
        "description": "Fetch a Kwai profile's current post feed. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getKwaiUserPosts",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Kwai post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KwaiUserPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Kwai endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Kwai upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Kwai execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/kwai/user/posts?handle=example\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/kwai/post": {
      "get": {
        "tags": [
          "Kwai"
        ],
        "summary": "Get a Kwai post",
        "description": "Fetch a single Kwai post's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getKwaiPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Kwai post detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KwaiPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Kwai endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Kwai upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Kwai execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/kwai/post?url=https://www.kwai.com/@example/video/1234567890\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/kick/clip": {
      "get": {
        "tags": [
          "Kick"
        ],
        "summary": "Get a Kick clip",
        "description": "Fetch a single Kick clip's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getKickClip",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Kick clip detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KickClipResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Kick endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested clip could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Kick upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Kick execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/kick/clip?url=https://kick.com/clips/example-clip-id\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/snapchat/profile": {
      "get": {
        "tags": [
          "Snapchat"
        ],
        "summary": "Get a Snapchat profile",
        "description": "Fetch a public Snapchat profile's summary by username. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSnapchatProfile",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Snapchat profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapchatProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid handle.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Snapchat endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Snapchat upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Snapchat execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/snapchat/profile?handle=teamsnapchat\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/snapchat/spotlight": {
      "get": {
        "tags": [
          "Snapchat"
        ],
        "summary": "Get a Snapchat Spotlight video",
        "description": "Fetch a single Snapchat Spotlight video's detail by url. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getSnapchatSpotlight",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Snapchat Spotlight video detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SnapchatSpotlightResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Snapchat endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested video could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Snapchat upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Snapchat execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/snapchat/spotlight?url=https://www.snapchat.com/spotlight/example\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/link-in-bio/{provider}": {
      "get": {
        "tags": [
          "Link in Bio"
        ],
        "summary": "Get a link-in-bio page",
        "description": "Fetch a creator's link-in-bio page from one of five providers (linktree, komi, pillar, linkbio, linkme) and return it as a stable JSON shape: display name, bio, avatar, and outbound links. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getLinkInBio",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "linktree",
                "komi",
                "pillar",
                "linkbio",
                "linkme"
              ]
            }
          },
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured link-in-bio page.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkInBioResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid provider/username/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Link in Bio endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/link-in-bio/linktree?username=spotify\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/tiktok/ad-library/search": {
      "get": {
        "tags": [
          "TikTok Ad Library"
        ],
        "summary": "Search the TikTok Ad Library",
        "description": "Search TikTok's Ad Library by advertiser name or keyword. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchTiktokAdLibrary",
        "parameters": [
          {
            "name": "advertiser",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Advertiser account name",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text keyword search",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "ISO country code (not currently applied -- see docs)",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured TikTok Ad Library search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TiktokAdLibrarySearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid advertiser/query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "TikTok Ad Library endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "TikTok Ad Library upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "TikTok Ad Library execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/tiktok/ad-library/search?advertiser=nike\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/tiktok/ad-library/ad": {
      "get": {
        "tags": [
          "TikTok Ad Library"
        ],
        "summary": "Get a TikTok Ad Library ad",
        "description": "Fetch a single TikTok ad's structured detail by ad id. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getTiktokAdLibraryAd",
        "parameters": [
          {
            "name": "ad_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured TikTok Ad Library ad detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TiktokAdLibraryAdResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid ad_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "TikTok Ad Library endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested ad could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "TikTok Ad Library upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "TikTok Ad Library execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/tiktok/ad-library/ad?ad_id=1234567890123456789\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/google/ad-library/search": {
      "get": {
        "tags": [
          "Google Ad Library"
        ],
        "summary": "Search the Google Ad Library",
        "description": "Search Google's Ads Transparency Center by advertiser name and list that advertiser's ads. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchGoogleAdLibrary",
        "parameters": [
          {
            "name": "advertiser",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Advertiser name or domain",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text search term -- resolved against advertiser names, not ad content",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "region",
            "in": "query",
            "required": false,
            "schema": {
              "description": "ISO country code",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Google Ad Library search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleAdLibrarySearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid advertiser/query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Google Ad Library endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Google Ad Library upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Google Ad Library execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/google/ad-library/search?advertiser=nike\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/google/ad-library/ad": {
      "get": {
        "tags": [
          "Google Ad Library"
        ],
        "summary": "Get a Google Ad Library ad",
        "description": "Fetch a single Google ad's structured detail by its composite `<advertiserId>/<creativeId>` ad id. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getGoogleAdLibraryAd",
        "parameters": [
          {
            "name": "ad_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Google Ad Library ad detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoogleAdLibraryAdResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid ad_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Google Ad Library endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested ad could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Google Ad Library upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Google Ad Library execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/google/ad-library/ad?ad_id=AR123456789/CR123456789\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/linkedin/ad-library/search": {
      "get": {
        "tags": [
          "LinkedIn Ad Library"
        ],
        "summary": "Search the LinkedIn Ad Library",
        "description": "Search LinkedIn's Ad Library by company or keyword. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "searchLinkedinAdLibrary",
        "parameters": [
          {
            "name": "advertiser",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Company Page vanity name or ID",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Free-text keyword",
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "description": "ISO country code",
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured LinkedIn Ad Library search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedinAdLibrarySearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid advertiser/query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "LinkedIn Ad Library endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "LinkedIn Ad Library upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "LinkedIn Ad Library execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/linkedin/ad-library/search?advertiser=microsoft\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/linkedin/ad-library/ad": {
      "get": {
        "tags": [
          "LinkedIn Ad Library"
        ],
        "summary": "Get a LinkedIn Ad Library ad",
        "description": "Fetch a single LinkedIn ad's structured detail by ad id. Backed by ScrapeCreators. Requires a Starter plan or higher.",
        "operationId": "getLinkedinAdLibraryAd",
        "parameters": [
          {
            "name": "ad_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured LinkedIn Ad Library ad detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedinAdLibraryAdResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid ad_id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "LinkedIn Ad Library endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested ad could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "LinkedIn Ad Library upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "LinkedIn Ad Library execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/linkedin/ad-library/ad?ad_id=1547947913\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/linkedin/company": {
      "get": {
        "tags": [
          "LinkedIn"
        ],
        "summary": "Get a LinkedIn Company Page",
        "description": "Fetch a public LinkedIn Company Page's summary by vanity name or url: industry, headcount, follower count. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getLinkedinCompany",
        "parameters": [
          {
            "name": "vanity_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured LinkedIn Company Page summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedinCompanyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid vanity_name/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "LinkedIn endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Company Page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "LinkedIn upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "LinkedIn execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/linkedin/company?vanity_name=microsoft\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/linkedin/company/posts": {
      "get": {
        "tags": [
          "LinkedIn"
        ],
        "summary": "Get a LinkedIn Company Page's posts",
        "description": "Fetch a Company Page's current post feed. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getLinkedinCompanyPosts",
        "parameters": [
          {
            "name": "vanity_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured LinkedIn Company Page post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedinCompanyPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid vanity_name/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "LinkedIn endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested Company Page could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "LinkedIn upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "LinkedIn execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/linkedin/company/posts?vanity_name=microsoft\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/linkedin/post": {
      "get": {
        "tags": [
          "LinkedIn"
        ],
        "summary": "Get a LinkedIn post",
        "description": "Fetch a single LinkedIn post's detail by url. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getLinkedinPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured LinkedIn post detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedinPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "LinkedIn endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "LinkedIn upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "LinkedIn execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/linkedin/post?url=https://www.linkedin.com/posts/microsoft_activity-1234567890\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/pinterest/profile": {
      "get": {
        "tags": [
          "Pinterest"
        ],
        "summary": "Get a Pinterest profile",
        "description": "Fetch a Pinterest account's profile summary by username or url. Self-hosted (no ScrapeCreators equivalent). Requires a Starter plan or higher.",
        "operationId": "getPinterestProfile",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Pinterest profile summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinterestProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Pinterest endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Pinterest upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Pinterest execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/pinterest/profile?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/pinterest/pins": {
      "get": {
        "tags": [
          "Pinterest"
        ],
        "summary": "Get a Pinterest account's pins",
        "description": "Fetch an account's current pins. Self-hosted (no ScrapeCreators equivalent). Requires a Starter plan or higher.",
        "operationId": "getPinterestPins",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Pinterest pin grid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinterestPinsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Pinterest endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Pinterest upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Pinterest execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/pinterest/pins?username=nasa\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/pinterest/pin": {
      "get": {
        "tags": [
          "Pinterest"
        ],
        "summary": "Get a Pinterest pin",
        "description": "Fetch a single pin's detail by url, including its outbound link and video url when present. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getPinterestPin",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Pinterest pin detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinterestPinResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Pinterest endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested pin could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Pinterest upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Pinterest execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/pinterest/pin?url=https://www.pinterest.com/pin/1234567890123456789/\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/pinterest/search": {
      "get": {
        "tags": [
          "Pinterest"
        ],
        "summary": "Search Pinterest",
        "description": "Search pins by keyword. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "searchPinterest",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Pinterest search results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinterestSearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Pinterest endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Pinterest upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Pinterest execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/pinterest/search?query=shoes\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/threads/profile": {
      "get": {
        "tags": [
          "Threads"
        ],
        "summary": "Get a Threads profile",
        "description": "Fetch an account's profile summary by username or url. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getThreadsProfile",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Threads profile summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreadsProfileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Threads endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Threads upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Threads execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/threads/profile?username=zuck\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/threads/posts": {
      "get": {
        "tags": [
          "Threads"
        ],
        "summary": "Get a Threads account's posts",
        "description": "Fetch an account's current post feed. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getThreadsPosts",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Threads post feed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreadsPostsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid username/url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Threads endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested profile could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Threads upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Threads execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/threads/posts?username=zuck\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    },
    "/v1/threads/post": {
      "get": {
        "tags": [
          "Threads"
        ],
        "summary": "Get a Threads post",
        "description": "Fetch a single post's detail by url, including reply-to context when present. Backed by ScrapeCreators when configured, otherwise a self-hosted fallback. Requires a Starter plan or higher.",
        "operationId": "getThreadsPost",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Threads post detail.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreadsPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid url.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Threads endpoints require a Starter plan or higher.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The requested post could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Daily credit cap exceeded, or the upstream provider rate-limited the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Threads upstream failed or returned an unusable response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Threads execution backend unavailable or unconfigured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "curl \"https://api.scrapio.dev/v1/threads/post?url=https://www.threads.net/@zuck/post/example\" \\\n  -H \"Authorization: Bearer $SCRAPIO_API_KEY\""
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key"
      }
    },
    "schemas": {
      "HealthResponse": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean",
            "enum": [
              true
            ]
          }
        },
        "required": [
          "ok"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ]
          },
          "diagnostics": {
            "type": "object",
            "properties": {
              "outcome": {
                "type": "string",
                "enum": [
                  "failed"
                ]
              },
              "retryable": {
                "type": "boolean"
              },
              "blocked": {
                "type": "boolean"
              },
              "timed_out": {
                "type": "boolean"
              }
            },
            "required": [
              "outcome",
              "retryable"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "error"
        ],
        "additionalProperties": false
      },
      "GoogleErrorResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "diagnostics": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "request_id",
          "error"
        ],
        "additionalProperties": false
      },
      "FetchFailureDiagnostics": {
        "type": "object",
        "properties": {
          "outcome": {
            "type": "string",
            "enum": [
              "failed"
            ]
          },
          "retryable": {
            "type": "boolean"
          },
          "blocked": {
            "type": "boolean"
          },
          "timed_out": {
            "type": "boolean"
          }
        },
        "required": [
          "outcome",
          "retryable"
        ],
        "additionalProperties": false
      },
      "PartialResultDiagnostics": {
        "type": "object",
        "properties": {
          "outcome": {
            "type": "string",
            "enum": [
              "partial"
            ]
          },
          "output_failures": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "output": {
                  "type": "string",
                  "enum": [
                    "html",
                    "markdown",
                    "json",
                    "screenshot"
                  ],
                  "description": "Which output formats to return"
                },
                "code": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "output",
                "code",
                "message"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "outcome",
          "output_failures"
        ],
        "additionalProperties": false
      },
      "FetchRequest": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Target page URL to fetch"
          },
          "render_js": {
            "description": "Whether to render JavaScript before capturing output",
            "type": "boolean"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "session": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "Session id to reuse"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false,
            "description": "Reuse an existing browser session by id"
          },
          "output": {
            "description": "Which output formats to return (default [\"html\"])",
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown",
                "json",
                "screenshot"
              ],
              "description": "Which output formats to return"
            }
          },
          "extract": {
            "description": "Structured extraction config, requires `json` output",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract whole page, no config",
                    "enum": [
                      "page"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract fields via CSS selectors",
                    "enum": [
                      "selectors"
                    ]
                  },
                  "fields": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "selector": {
                          "type": "string",
                          "minLength": 1,
                          "description": "CSS selector to match"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "text",
                            "html",
                            "attr"
                          ],
                          "description": "What to extract from the matched element"
                        },
                        "attribute": {
                          "description": "Attribute name, required when type is 'attr'",
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "selector",
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    "description": "Named fields to extract"
                  }
                },
                "required": [
                  "mode",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract using a field-name/description schema",
                    "enum": [
                      "schema"
                    ]
                  },
                  "schema": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Field name to description map"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "schema"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract via free-text instruction",
                    "enum": [
                      "instruction"
                    ]
                  },
                  "instruction": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Free-text extraction instruction"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "instruction"
                ],
                "additionalProperties": false
              }
            ]
          },
          "wait_for": {
            "type": "object",
            "properties": {
              "network_idle": {
                "description": "Wait for network idle before capturing",
                "type": "boolean"
              }
            },
            "additionalProperties": false,
            "description": "Condition to wait on before capturing"
          },
          "timeout_ms": {
            "description": "Max time to wait for each access attempt, in ms. Defaults to 10000, or 20000 with proxy: \"stealth\". A value above your plan's inline limit runs the request as an async job.",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 300000
          },
          "proxy": {
            "type": "string",
            "enum": [
              "basic",
              "stealth",
              "auto"
            ],
            "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
          },
          "use_proxy": {
            "description": "Deprecated: use `proxy: \"stealth\"`. Skip the cheap tiers and go straight to the strongest (proxy/Camoufox) access tier. Requires a paid plan.",
            "type": "boolean"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "InlineFetchResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "inline"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "partial"
            ]
          },
          "outputs": {
            "type": "object",
            "properties": {
              "html": {
                "type": "string"
              },
              "markdown": {
                "type": "string"
              },
              "json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "screenshot": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "additionalProperties": false
          },
          "usage": {
            "type": "object",
            "properties": {
              "credits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "base": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "surcharge": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "tier": {
                "type": "string",
                "enum": [
                  "standard",
                  "proxy",
                  "proxy_browser",
                  "stealth",
                  "cloudflare"
                ]
              }
            },
            "required": [
              "credits"
            ]
          },
          "diagnostics": {
            "type": "object",
            "properties": {
              "outcome": {
                "type": "string",
                "enum": [
                  "partial"
                ]
              },
              "output_failures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "output": {
                      "type": "string",
                      "enum": [
                        "html",
                        "markdown",
                        "json",
                        "screenshot"
                      ],
                      "description": "Which output formats to return"
                    },
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "output",
                    "code",
                    "message"
                  ]
                }
              }
            },
            "required": [
              "outcome",
              "output_failures"
            ]
          },
          "session": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "updated": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "updated"
            ]
          },
          "extraction_engine": {
            "type": "string",
            "enum": [
              "llm",
              "heuristic"
            ],
            "description": "Extraction engine to use"
          }
        },
        "required": [
          "request_id",
          "mode",
          "status",
          "outputs",
          "usage"
        ],
        "additionalProperties": false
      },
      "AsyncFetchResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued"
            ]
          },
          "job_id": {
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "mode",
          "status",
          "job_id"
        ],
        "additionalProperties": false
      },
      "CreateJobRequest": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "Wraps a /fetch request",
                "enum": [
                  "fetch"
                ]
              },
              "input": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Target page URL to fetch"
                  },
                  "render_js": {
                    "description": "Whether to render JavaScript before capturing output",
                    "type": "boolean"
                  },
                  "device": {
                    "type": "string",
                    "enum": [
                      "desktop",
                      "mobile",
                      "tablet"
                    ],
                    "description": "Device profile to emulate"
                  },
                  "session": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Session id to reuse"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false,
                    "description": "Reuse an existing browser session by id"
                  },
                  "output": {
                    "description": "Which output formats to return (default [\"html\"])",
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "html",
                        "markdown",
                        "json",
                        "screenshot"
                      ],
                      "description": "Which output formats to return"
                    }
                  },
                  "extract": {
                    "description": "Structured extraction config, requires `json` output",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract whole page, no config",
                            "enum": [
                              "page"
                            ]
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract fields via CSS selectors",
                            "enum": [
                              "selectors"
                            ]
                          },
                          "fields": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "object",
                              "properties": {
                                "selector": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "CSS selector to match"
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "text",
                                    "html",
                                    "attr"
                                  ],
                                  "description": "What to extract from the matched element"
                                },
                                "attribute": {
                                  "description": "Attribute name, required when type is 'attr'",
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "selector",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            "description": "Named fields to extract"
                          }
                        },
                        "required": [
                          "mode",
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract using a field-name/description schema",
                            "enum": [
                              "schema"
                            ]
                          },
                          "schema": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Field name to description map"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "schema"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract via free-text instruction",
                            "enum": [
                              "instruction"
                            ]
                          },
                          "instruction": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Free-text extraction instruction"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "instruction"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "wait_for": {
                    "type": "object",
                    "properties": {
                      "network_idle": {
                        "description": "Wait for network idle before capturing",
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false,
                    "description": "Condition to wait on before capturing"
                  },
                  "timeout_ms": {
                    "description": "Max time to wait for each access attempt, in ms. Defaults to 10000, or 20000 with proxy: \"stealth\". A value above your plan's inline limit runs the request as an async job.",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 300000
                  },
                  "proxy": {
                    "type": "string",
                    "enum": [
                      "basic",
                      "stealth",
                      "auto"
                    ],
                    "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
                  },
                  "use_proxy": {
                    "description": "Deprecated: use `proxy: \"stealth\"`. Skip the cheap tiers and go straight to the strongest (proxy/Camoufox) access tier. Requires a paid plan.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "webhook": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Callback URL to notify when the job completes"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false,
                "description": "Optional webhook callback for job completion"
              }
            },
            "required": [
              "kind",
              "input"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "Wraps an /interact request",
                "enum": [
                  "interact"
                ]
              },
              "input": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Target page URL to open"
                  },
                  "device": {
                    "type": "string",
                    "enum": [
                      "desktop",
                      "mobile",
                      "tablet"
                    ],
                    "description": "Device profile to emulate"
                  },
                  "session": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Session id to reuse"
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false,
                    "description": "Reuse an existing browser session by id"
                  },
                  "actions": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Navigate to a URL",
                              "enum": [
                                "goto"
                              ]
                            },
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Click a matched element",
                              "enum": [
                                "click"
                              ]
                            },
                            "selector": {
                              "type": "string",
                              "minLength": 1
                            },
                            "settle_ms": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 30000
                            }
                          },
                          "required": [
                            "type",
                            "selector"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Type text into a matched element",
                              "enum": [
                                "type"
                              ]
                            },
                            "selector": {
                              "type": "string",
                              "minLength": 1
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "selector",
                            "value"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Select an option in a matched <select>",
                              "enum": [
                                "select"
                              ]
                            },
                            "selector": {
                              "type": "string",
                              "minLength": 1
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "selector",
                            "value"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Press a keyboard key",
                              "enum": [
                                "press"
                              ]
                            },
                            "key": {
                              "type": "string",
                              "minLength": 1
                            },
                            "selector": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "type",
                            "key"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Scroll the page or a matched element",
                              "enum": [
                                "scroll"
                              ]
                            },
                            "selector": {
                              "type": "string",
                              "minLength": 1
                            },
                            "direction": {
                              "type": "string",
                              "enum": [
                                "down",
                                "up"
                              ]
                            },
                            "amount": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "until_stable": {
                              "description": "Keep scrolling until the page stops loading new content",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Wait for a matched element to appear",
                              "enum": [
                                "wait_for"
                              ]
                            },
                            "selector": {
                              "type": "string",
                              "minLength": 1
                            },
                            "timeout_ms": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 30000
                            },
                            "optional": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "type",
                            "selector"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Wait a fixed duration",
                              "enum": [
                                "wait_ms"
                              ]
                            },
                            "duration_ms": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "type",
                            "duration_ms"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "description": "Ordered sequence of interaction steps to run"
                  },
                  "output": {
                    "description": "Which output formats to return after actions",
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "html",
                        "markdown",
                        "json",
                        "screenshot"
                      ],
                      "description": "Which output formats to return"
                    }
                  },
                  "extract": {
                    "description": "Structured extraction config, requires `json` output",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract whole page, no config",
                            "enum": [
                              "page"
                            ]
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract fields via CSS selectors",
                            "enum": [
                              "selectors"
                            ]
                          },
                          "fields": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "object",
                              "properties": {
                                "selector": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "CSS selector to match"
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "text",
                                    "html",
                                    "attr"
                                  ],
                                  "description": "What to extract from the matched element"
                                },
                                "attribute": {
                                  "description": "Attribute name, required when type is 'attr'",
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "selector",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            "description": "Named fields to extract"
                          }
                        },
                        "required": [
                          "mode",
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract using a field-name/description schema",
                            "enum": [
                              "schema"
                            ]
                          },
                          "schema": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Field name to description map"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "schema"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract via free-text instruction",
                            "enum": [
                              "instruction"
                            ]
                          },
                          "instruction": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Free-text extraction instruction"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "instruction"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "timeout_ms": {
                    "description": "Max time for the whole interaction, in ms",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 300000
                  },
                  "proxy": {
                    "type": "string",
                    "enum": [
                      "basic",
                      "stealth",
                      "auto"
                    ],
                    "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
                  },
                  "use_proxy": {
                    "description": "Deprecated: use `proxy: \"stealth\"`. Go straight to the strongest access tier. Requires a paid plan.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "url",
                  "actions"
                ],
                "additionalProperties": false
              },
              "webhook": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Callback URL to notify when the job completes"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false,
                "description": "Optional webhook callback for job completion"
              }
            },
            "required": [
              "kind",
              "input"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "Wraps a /search request",
                "enum": [
                  "search"
                ]
              },
              "input": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Search query text"
                  },
                  "provider": {
                    "description": "Search provider to use",
                    "type": "string",
                    "enum": [
                      "google"
                    ]
                  },
                  "max_results": {
                    "description": "Max number of results to return",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 10
                  },
                  "fetch_results": {
                    "description": "Whether to fetch full content of result pages",
                    "type": "boolean"
                  },
                  "output": {
                    "description": "Output formats when fetching results (requires fetch_results)",
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "html",
                        "markdown",
                        "json",
                        "screenshot"
                      ],
                      "description": "Which output formats to return"
                    }
                  },
                  "extract": {
                    "description": "Structured extraction config, requires `json` output",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract whole page, no config",
                            "enum": [
                              "page"
                            ]
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract fields via CSS selectors",
                            "enum": [
                              "selectors"
                            ]
                          },
                          "fields": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "object",
                              "properties": {
                                "selector": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "CSS selector to match"
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "text",
                                    "html",
                                    "attr"
                                  ],
                                  "description": "What to extract from the matched element"
                                },
                                "attribute": {
                                  "description": "Attribute name, required when type is 'attr'",
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "selector",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            "description": "Named fields to extract"
                          }
                        },
                        "required": [
                          "mode",
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract using a field-name/description schema",
                            "enum": [
                              "schema"
                            ]
                          },
                          "schema": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Field name to description map"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "schema"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract via free-text instruction",
                            "enum": [
                              "instruction"
                            ]
                          },
                          "instruction": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Free-text extraction instruction"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "instruction"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "timeout_ms": {
                    "description": "Max workflow duration, in ms",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 300000
                  }
                },
                "required": [
                  "query"
                ],
                "additionalProperties": false
              },
              "webhook": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Callback URL to notify when the job completes"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false,
                "description": "Optional webhook callback for job completion"
              }
            },
            "required": [
              "kind",
              "input"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "Wraps a /crawl request",
                "enum": [
                  "crawl"
                ]
              },
              "input": {
                "type": "object",
                "properties": {
                  "seeds": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    },
                    "description": "Starting URLs to crawl from"
                  },
                  "max_pages": {
                    "description": "Cap on total pages crawled",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 200
                  },
                  "max_depth": {
                    "description": "Max link depth from seeds",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 5
                  },
                  "same_domain_only": {
                    "description": "Restrict crawl to seed domains",
                    "type": "boolean"
                  },
                  "output": {
                    "description": "Output formats per page (default [\"markdown\"])",
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "html",
                        "markdown",
                        "json"
                      ]
                    }
                  },
                  "extract": {
                    "description": "Structured extraction config, requires `json` output",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract whole page, no config",
                            "enum": [
                              "page"
                            ]
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract fields via CSS selectors",
                            "enum": [
                              "selectors"
                            ]
                          },
                          "fields": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "object",
                              "properties": {
                                "selector": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "CSS selector to match"
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "text",
                                    "html",
                                    "attr"
                                  ],
                                  "description": "What to extract from the matched element"
                                },
                                "attribute": {
                                  "description": "Attribute name, required when type is 'attr'",
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "selector",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            "description": "Named fields to extract"
                          }
                        },
                        "required": [
                          "mode",
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract using a field-name/description schema",
                            "enum": [
                              "schema"
                            ]
                          },
                          "schema": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "Field name to description map"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "schema"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "description": "Extract via free-text instruction",
                            "enum": [
                              "instruction"
                            ]
                          },
                          "instruction": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Free-text extraction instruction"
                          },
                          "engine": {
                            "type": "string",
                            "enum": [
                              "llm",
                              "heuristic"
                            ],
                            "description": "Extraction engine to use"
                          }
                        },
                        "required": [
                          "mode",
                          "instruction"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "timeout_ms": {
                    "description": "Max crawl duration, in ms",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 300000
                  },
                  "proxy": {
                    "type": "string",
                    "enum": [
                      "basic",
                      "stealth",
                      "auto"
                    ],
                    "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
                  },
                  "use_proxy": {
                    "description": "Deprecated: use `proxy: \"stealth\"`. Go straight to the strongest access tier for every page crawled. Requires a paid plan.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "seeds"
                ],
                "additionalProperties": false
              },
              "webhook": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Callback URL to notify when the job completes"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false,
                "description": "Optional webhook callback for job completion"
              }
            },
            "required": [
              "kind",
              "input"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "Wraps a /map request",
                "enum": [
                  "map"
                ]
              },
              "input": {
                "type": "object",
                "properties": {
                  "seeds": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    },
                    "description": "Starting URLs to map from"
                  },
                  "max_urls": {
                    "description": "Cap on total URLs returned",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 100
                  },
                  "max_depth": {
                    "description": "Max link depth from seeds",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 5
                  },
                  "same_domain_only": {
                    "description": "Restrict mapping to seed domains",
                    "type": "boolean"
                  },
                  "include_metadata": {
                    "description": "Include page metadata in results",
                    "type": "boolean"
                  },
                  "timeout_ms": {
                    "description": "Max mapping duration, in ms",
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 300000
                  },
                  "proxy": {
                    "type": "string",
                    "enum": [
                      "basic",
                      "stealth",
                      "auto"
                    ],
                    "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
                  },
                  "use_proxy": {
                    "description": "Deprecated: use `proxy: \"stealth\"`. Go straight to the strongest access tier for every URL mapped. Requires a paid plan.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "seeds"
                ],
                "additionalProperties": false
              },
              "webhook": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Callback URL to notify when the job completes"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false,
                "description": "Optional webhook callback for job completion"
              }
            },
            "required": [
              "kind",
              "input"
            ],
            "additionalProperties": false
          }
        ]
      },
      "AsyncJobAcceptedResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued"
            ]
          },
          "job_id": {
            "type": "string"
          },
          "job_type": {
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "mode",
          "status",
          "job_id"
        ],
        "additionalProperties": false
      },
      "FetchJobStatusResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "job_type": {
            "type": "string",
            "enum": [
              "fetch"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "completed",
              "partial",
              "failed",
              "cancelled"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "started_at": {
            "type": "string"
          },
          "completed_at": {
            "type": "string"
          },
          "result_available": {
            "type": "boolean"
          },
          "progress": {
            "type": "object",
            "properties": {
              "completed": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "total": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "completed",
              "total"
            ]
          },
          "outputs": {
            "type": "object",
            "properties": {
              "html": {
                "type": "string"
              },
              "markdown": {
                "type": "string"
              },
              "json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "screenshot": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "additionalProperties": false
          },
          "diagnostics": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "partial"
                    ]
                  },
                  "output_failures": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "output": {
                          "type": "string",
                          "enum": [
                            "html",
                            "markdown",
                            "json",
                            "screenshot"
                          ],
                          "description": "Which output formats to return"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "output",
                        "code",
                        "message"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "outcome",
                  "output_failures"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  "retryable": {
                    "type": "boolean"
                  },
                  "blocked": {
                    "type": "boolean"
                  },
                  "timed_out": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "outcome",
                  "retryable"
                ],
                "additionalProperties": false
              }
            ]
          },
          "diagnostics_summary": {
            "type": "string"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "diagnostics": {
                "type": "object",
                "properties": {
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  "retryable": {
                    "type": "boolean"
                  },
                  "blocked": {
                    "type": "boolean"
                  },
                  "timed_out": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "outcome",
                  "retryable"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "job_id",
          "job_type",
          "status",
          "mode",
          "created_at",
          "result_available"
        ],
        "additionalProperties": false
      },
      "YouTubeSearchJobStatusResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "job_type": {
            "type": "string",
            "enum": [
              "youtube_search_crawl"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "started_at": {
            "type": "string"
          },
          "completed_at": {
            "type": "string"
          },
          "result_available": {
            "type": "boolean"
          },
          "result": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "diagnostics_summary": {
            "type": "string"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "diagnostics": {
                "type": "object",
                "properties": {
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  "retryable": {
                    "type": "boolean"
                  },
                  "blocked": {
                    "type": "boolean"
                  },
                  "timed_out": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "outcome",
                  "retryable"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "job_id",
          "job_type",
          "status",
          "mode",
          "created_at",
          "result_available"
        ],
        "additionalProperties": false
      },
      "JobResponse": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "job_id": {
                "type": "string"
              },
              "job_type": {
                "type": "string",
                "enum": [
                  "fetch"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "queued",
                  "running",
                  "completed",
                  "partial",
                  "failed",
                  "cancelled"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "async"
                ]
              },
              "created_at": {
                "type": "string"
              },
              "started_at": {
                "type": "string"
              },
              "completed_at": {
                "type": "string"
              },
              "result_available": {
                "type": "boolean"
              },
              "progress": {
                "type": "object",
                "properties": {
                  "completed": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "total": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "completed",
                  "total"
                ]
              },
              "outputs": {
                "type": "object",
                "properties": {
                  "html": {
                    "type": "string"
                  },
                  "markdown": {
                    "type": "string"
                  },
                  "json": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "screenshot": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "url"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "diagnostics": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "outcome": {
                        "type": "string",
                        "enum": [
                          "partial"
                        ]
                      },
                      "output_failures": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "output": {
                              "type": "string",
                              "enum": [
                                "html",
                                "markdown",
                                "json",
                                "screenshot"
                              ],
                              "description": "Which output formats to return"
                            },
                            "code": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "output",
                            "code",
                            "message"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "outcome",
                      "output_failures"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "outcome": {
                        "type": "string",
                        "enum": [
                          "failed"
                        ]
                      },
                      "retryable": {
                        "type": "boolean"
                      },
                      "blocked": {
                        "type": "boolean"
                      },
                      "timed_out": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "outcome",
                      "retryable"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "diagnostics_summary": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "diagnostics": {
                    "type": "object",
                    "properties": {
                      "outcome": {
                        "type": "string",
                        "enum": [
                          "failed"
                        ]
                      },
                      "retryable": {
                        "type": "boolean"
                      },
                      "blocked": {
                        "type": "boolean"
                      },
                      "timed_out": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "outcome",
                      "retryable"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "code",
                  "message"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "job_id",
              "job_type",
              "status",
              "mode",
              "created_at",
              "result_available"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "job_id": {
                "type": "string"
              },
              "job_type": {
                "type": "string",
                "enum": [
                  "interact",
                  "search",
                  "crawl",
                  "map"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "queued",
                  "running",
                  "completed",
                  "partial",
                  "failed",
                  "cancelled"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "async"
                ]
              },
              "created_at": {
                "type": "string"
              },
              "started_at": {
                "type": "string"
              },
              "completed_at": {
                "type": "string"
              },
              "result_available": {
                "type": "boolean"
              },
              "result": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "diagnostics_summary": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "diagnostics": {
                    "type": "object",
                    "properties": {
                      "outcome": {
                        "type": "string",
                        "enum": [
                          "failed"
                        ]
                      },
                      "retryable": {
                        "type": "boolean"
                      },
                      "blocked": {
                        "type": "boolean"
                      },
                      "timed_out": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "outcome",
                      "retryable"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "code",
                  "message"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "job_id",
              "job_type",
              "status",
              "mode",
              "created_at",
              "result_available"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "job_id": {
                "type": "string"
              },
              "job_type": {
                "type": "string",
                "enum": [
                  "youtube_search_crawl"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "queued",
                  "running",
                  "completed",
                  "failed",
                  "cancelled"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "async"
                ]
              },
              "created_at": {
                "type": "string"
              },
              "started_at": {
                "type": "string"
              },
              "completed_at": {
                "type": "string"
              },
              "result_available": {
                "type": "boolean"
              },
              "result": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "diagnostics_summary": {
                "type": "string"
              },
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "diagnostics": {
                    "type": "object",
                    "properties": {
                      "outcome": {
                        "type": "string",
                        "enum": [
                          "failed"
                        ]
                      },
                      "retryable": {
                        "type": "boolean"
                      },
                      "blocked": {
                        "type": "boolean"
                      },
                      "timed_out": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "outcome",
                      "retryable"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "code",
                  "message"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "job_id",
              "job_type",
              "status",
              "mode",
              "created_at",
              "result_available"
            ],
            "additionalProperties": false
          }
        ]
      },
      "JobCancelResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "job_type": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "completed",
              "partial",
              "failed",
              "cancelled"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          }
        },
        "required": [
          "request_id",
          "job_id",
          "job_type",
          "status",
          "mode"
        ]
      },
      "FetchJobResultResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "job_type": {
            "type": "string",
            "enum": [
              "fetch"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "partial",
              "cancelled"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          },
          "outputs": {
            "type": "object",
            "properties": {
              "html": {
                "type": "string"
              },
              "markdown": {
                "type": "string"
              },
              "json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "screenshot": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "additionalProperties": false
          },
          "diagnostics": {
            "type": "object",
            "properties": {
              "outcome": {
                "type": "string",
                "enum": [
                  "partial"
                ]
              },
              "output_failures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "output": {
                      "type": "string",
                      "enum": [
                        "html",
                        "markdown",
                        "json",
                        "screenshot"
                      ],
                      "description": "Which output formats to return"
                    },
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "output",
                    "code",
                    "message"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "outcome",
              "output_failures"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "job_id",
          "job_type",
          "status",
          "mode"
        ],
        "additionalProperties": false
      },
      "YouTubeSearchJobResultResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "job_type": {
            "type": "string",
            "enum": [
              "youtube_search_crawl"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "async"
            ]
          },
          "result": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "job_id",
          "job_type",
          "status",
          "mode"
        ],
        "additionalProperties": false
      },
      "JobResultResponse": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "job_id": {
                "type": "string"
              },
              "job_type": {
                "type": "string",
                "enum": [
                  "fetch"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "partial",
                  "cancelled"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "async"
                ]
              },
              "outputs": {
                "type": "object",
                "properties": {
                  "html": {
                    "type": "string"
                  },
                  "markdown": {
                    "type": "string"
                  },
                  "json": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "screenshot": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "url"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "diagnostics": {
                "type": "object",
                "properties": {
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "partial"
                    ]
                  },
                  "output_failures": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "output": {
                          "type": "string",
                          "enum": [
                            "html",
                            "markdown",
                            "json",
                            "screenshot"
                          ],
                          "description": "Which output formats to return"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "output",
                        "code",
                        "message"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "outcome",
                  "output_failures"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "job_id",
              "job_type",
              "status",
              "mode"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "job_id": {
                "type": "string"
              },
              "job_type": {
                "type": "string",
                "enum": [
                  "interact",
                  "search",
                  "crawl",
                  "map"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "partial",
                  "cancelled"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "async"
                ]
              },
              "result": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "job_id",
              "job_type",
              "status",
              "mode"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "job_id": {
                "type": "string"
              },
              "job_type": {
                "type": "string",
                "enum": [
                  "youtube_search_crawl"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "async"
                ]
              },
              "result": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "job_id",
              "job_type",
              "status",
              "mode"
            ],
            "additionalProperties": false
          }
        ]
      },
      "GoogleSearchRequest": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "search_type": {
            "description": "Type of Google search to perform",
            "type": "string",
            "enum": [
              "classic",
              "news",
              "images",
              "lens",
              "ai_mode",
              "ads"
            ]
          },
          "country_code": {
            "description": "Country code for localized results",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 2
          },
          "device": {
            "description": "Device profile to emulate",
            "type": "string",
            "enum": [
              "desktop",
              "mobile"
            ]
          },
          "page": {
            "description": "Result page number",
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "string"
              }
            ]
          },
          "date_range": {
            "description": "Time filter for results",
            "type": "string",
            "enum": [
              "past_hour",
              "past_day",
              "past_week",
              "past_month",
              "past_year"
            ]
          },
          "latitude": {
            "description": "Latitude for local results",
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ]
          },
          "longitude": {
            "description": "Longitude for local results",
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ]
          },
          "radius": {
            "description": "Search radius for local results",
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "string"
              }
            ]
          },
          "extra_params": {
            "description": "Raw extra query parameters",
            "type": "string",
            "minLength": 1
          },
          "light_request": {
            "description": "Lighter-weight response",
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string"
              }
            ]
          },
          "add_html": {
            "description": "Include raw HTML in response",
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string"
              }
            ]
          },
          "nfpr": {
            "description": "Disable auto-correct redirect",
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string"
              }
            ]
          },
          "tag": {
            "description": "Custom tag/label for the request",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "GoogleSearchSuccessResponse": {
        "type": "object",
        "properties": {
          "meta_data": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "organic_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "top_ads": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "bottom_ads": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "related_searches": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "related_queries": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "questions": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "knowledge_graph": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "local_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "map_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "news_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "top_stories": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "shopping_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "hotel_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "ai_overviews": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "html": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "FastSearchErrorResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "request_id",
          "error"
        ],
        "additionalProperties": false
      },
      "FastSearchRequest": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "country_code": {
            "description": "Country code for localized results",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 2
          },
          "page": {
            "description": "Result page number",
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "FastSearchSuccessResponse": {
        "type": "object",
        "properties": {
          "meta_data": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "organic_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "news_results": {
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          }
        },
        "additionalProperties": false
      },
      "YouTubeSearchQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 2,
            "maxLength": 16,
            "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
          },
          "country": {
            "description": "Country code for results",
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "pattern": "^[A-Za-z]{2}$"
          },
          "geo": {
            "description": "Geo location for results",
            "type": "string",
            "minLength": 2,
            "maxLength": 32
          },
          "type": {
            "description": "Type of result to search for",
            "type": "string",
            "enum": [
              "video",
              "channel",
              "playlist",
              "all"
            ]
          },
          "limit": {
            "description": "Max number of results",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 1000
          },
          "start_page": {
            "description": "First result page to fetch",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "end_page": {
            "description": "Last result page to fetch",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "YouTubeSearchResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "thumbnail": {
                  "type": "string",
                  "format": "uri"
                },
                "channel": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "published_at": {
                  "type": "string"
                },
                "view_count": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "duration": {
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "id",
                "title",
                "url",
                "thumbnail"
              ],
              "additionalProperties": false
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "start_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "end_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_crawled": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "limit",
              "count",
              "start_page",
              "end_page",
              "pages_crawled"
            ]
          },
          "query_context": {
            "type": "object",
            "properties": {
              "search": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "enum": [
                  "video",
                  "channel",
                  "playlist",
                  "all"
                ]
              },
              "start_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "end_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "search",
              "type",
              "start_page",
              "end_page"
            ]
          }
        },
        "required": [
          "request_id",
          "results",
          "pagination",
          "query_context"
        ],
        "additionalProperties": false
      },
      "YouTubeVideoParams": {
        "type": "object",
        "properties": {
          "video_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{6,20}$"
          }
        },
        "required": [
          "video_id"
        ],
        "additionalProperties": false
      },
      "YouTubeVideoQuery": {
        "type": "object",
        "properties": {
          "language": {
            "description": "Language for metadata",
            "type": "string",
            "minLength": 2,
            "maxLength": 16,
            "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
          },
          "country": {
            "description": "Country code for metadata",
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "pattern": "^[A-Za-z]{2}$"
          },
          "include_subtitles": {
            "description": "Include subtitle availability in the response",
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "YouTubeVideoResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "video": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "channel": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "published_at": {
                "type": "string"
              },
              "thumbnails": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "duration": {
                "type": "string"
              },
              "view_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "like_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "category": {
                "type": "string"
              },
              "captions_available": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "title",
              "url",
              "channel",
              "description",
              "published_at",
              "thumbnails"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "video"
        ],
        "additionalProperties": false
      },
      "YouTubeSubtitlesQuery": {
        "type": "object",
        "properties": {
          "video_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{6,20}$",
            "description": "YouTube video id"
          },
          "language": {
            "description": "Subtitle language",
            "type": "string",
            "minLength": 2,
            "maxLength": 16,
            "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
          },
          "subtitle_origin": {
            "description": "Subtitle origin: auto_generated or creator",
            "type": "string",
            "enum": [
              "auto_generated",
              "creator"
            ]
          },
          "include_timestamps": {
            "description": "Include per-line timestamps",
            "type": "boolean"
          }
        },
        "required": [
          "video_id"
        ],
        "additionalProperties": false
      },
      "YouTubeSubtitlesResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "video_id": {
            "type": "string"
          },
          "subtitles": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "enum": [
                "auto_generated",
                "creator"
              ]
            },
            "additionalProperties": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "start_ms": {
                      "type": "string"
                    },
                    "d_duration_ms": {
                      "type": "string"
                    },
                    "snippet": {
                      "type": "object",
                      "properties": {
                        "runs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "text"
                            ]
                          }
                        }
                      },
                      "required": [
                        "runs"
                      ]
                    }
                  },
                  "required": [
                    "start_ms",
                    "d_duration_ms",
                    "snippet"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "auto_generated",
              "creator"
            ]
          }
        },
        "required": [
          "request_id",
          "video_id",
          "subtitles"
        ],
        "additionalProperties": false
      },
      "YouTubeChannelQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 2,
            "maxLength": 64,
            "pattern": "^@?[A-Za-z0-9_.-]{2,63}$",
            "description": "YouTube channel handle, e.g. @channelname"
          },
          "limit": {
            "description": "Max number of recent videos to include",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "YouTubeChannelResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "channel": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "handle": {
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "joined_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subscriber_count": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view_count": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "video_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "links": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "title": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "title"
                  ],
                  "additionalProperties": false
                }
              },
              "videos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "position": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "title": {
                      "type": "string"
                    },
                    "view_count": {
                      "type": "string"
                    },
                    "uploaded_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "position",
                    "url",
                    "title"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "handle",
              "description",
              "avatar_url",
              "country",
              "joined_date",
              "subscriber_count",
              "view_count",
              "video_count",
              "links",
              "videos"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "channel"
        ],
        "additionalProperties": false
      },
      "AmazonProductQuery": {
        "type": "object",
        "properties": {
          "query": {
            "description": "Free-text product query (asin or query required)",
            "type": "string",
            "minLength": 1
          },
          "asin": {
            "description": "Amazon ASIN to look up (asin or query required)",
            "type": "string",
            "minLength": 1
          },
          "country": {
            "description": "Country code for localized results",
            "type": "string",
            "pattern": "^[a-z]{2}$"
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 1
          },
          "domain": {
            "description": "Amazon domain suffix, e.g. com, co.uk, de",
            "type": "string",
            "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "additionalProperties": false
      },
      "AmazonProductResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "amazon"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "product"
            ]
          },
          "asin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "brand": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "availability": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rating": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_count": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "bullet_points": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "delivery": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "date": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "by": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "by"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "type",
                "date"
              ],
              "additionalProperties": false
            }
          },
          "featured_merchant": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "seller_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "shipped_from": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "is_amazon_fulfilled": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "seller_id",
                  "shipped_from",
                  "is_amazon_fulfilled"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "buybox": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "category": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ladder": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "ladder"
              ],
              "additionalProperties": false
            }
          },
          "product_details": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "asin",
          "title",
          "brand",
          "price",
          "currency",
          "availability",
          "rating",
          "review_count",
          "images",
          "bullet_points",
          "delivery",
          "featured_merchant",
          "buybox",
          "category",
          "product_details",
          "url"
        ],
        "additionalProperties": false
      },
      "AmazonPricingQuery": {
        "type": "object",
        "properties": {
          "asin": {
            "type": "string",
            "minLength": 1,
            "description": "Amazon ASIN to look up pricing for"
          },
          "country": {
            "description": "Country code for localized results",
            "type": "string",
            "pattern": "^[a-z]{2}$"
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 1
          },
          "domain": {
            "description": "Amazon domain suffix, e.g. com, co.uk, de",
            "type": "string",
            "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "asin"
        ],
        "additionalProperties": false
      },
      "AmazonPricingResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "amazon"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "pricing"
            ]
          },
          "asin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "featured_offer": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "seller_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "seller_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "shipping_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "condition": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "condition_notes": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "is_prime": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "is_fba": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "delivery": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "seller_rating": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "seller_rating_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "seller_name",
                  "seller_id",
                  "price",
                  "currency",
                  "shipping_price",
                  "condition",
                  "condition_notes",
                  "is_prime",
                  "is_fba",
                  "delivery",
                  "seller_rating",
                  "seller_rating_count"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "seller_summary": {
            "type": "object",
            "properties": {
              "offer_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "has_amazon": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "offer_count",
              "has_amazon"
            ],
            "additionalProperties": false
          },
          "offers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "seller_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seller_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currency": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "shipping_price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "condition": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "condition_notes": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_prime": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_fba": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "delivery": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seller_rating": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seller_rating_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "seller_name",
                "seller_id",
                "price",
                "currency",
                "shipping_price",
                "condition",
                "condition_notes",
                "is_prime",
                "is_fba",
                "delivery",
                "seller_rating",
                "seller_rating_count"
              ],
              "additionalProperties": false
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "asin",
          "featured_offer",
          "seller_summary",
          "offers",
          "url"
        ],
        "additionalProperties": false
      },
      "AirbnbSearchQuery": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "Free-text location to search, e.g. 'New York'"
          },
          "check_in": {
            "description": "Check-in date (YYYY-MM-DD)",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "check_out": {
            "description": "Check-out date (YYYY-MM-DD)",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "adults": {
            "description": "Number of adult guests",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "children": {
            "description": "Number of child guests",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "infants": {
            "description": "Number of infant guests",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "pets": {
            "description": "Number of pets",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "location"
        ],
        "additionalProperties": false
      },
      "AirbnbSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "airbnb"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "search"
            ]
          },
          "snapshot_at": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "location": {
                "type": "string"
              },
              "check_in": {
                "type": "string"
              },
              "check_out": {
                "type": "string"
              },
              "adults": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "children": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "infants": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "pets": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "location"
            ],
            "additionalProperties": false
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "number_of_results": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "number_of_results"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "room_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "rating": {
                  "type": "object",
                  "properties": {
                    "average": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "review_count": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "average",
                    "review_count",
                    "label"
                  ],
                  "additionalProperties": false
                },
                "price": {
                  "type": "object",
                  "properties": {
                    "display": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "qualifier": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "accessibility_label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "display",
                    "qualifier",
                    "accessibility_label"
                  ],
                  "additionalProperties": false
                },
                "badges": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "images": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "location": {
                  "type": "object",
                  "properties": {
                    "city": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "latitude": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "longitude": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "city",
                    "latitude",
                    "longitude"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "name",
                "room_type",
                "url",
                "rating",
                "price",
                "badges",
                "images",
                "location"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "query_context",
          "meta_data",
          "results"
        ],
        "additionalProperties": false
      },
      "AirbnbListingQuery": {
        "type": "object",
        "properties": {
          "listing_id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "check_in": {
            "description": "Check-in date (YYYY-MM-DD)",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "check_out": {
            "description": "Check-out date (YYYY-MM-DD)",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "adults": {
            "description": "Number of adult guests",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "listing_id"
        ],
        "additionalProperties": false
      },
      "AirbnbListingResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "airbnb"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "listing"
            ]
          },
          "snapshot_at": {
            "type": "string"
          },
          "listing": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "property_type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "space_type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "overview": {
                "type": "object",
                "properties": {
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "title",
                  "items"
                ],
                "additionalProperties": false
              },
              "person_capacity": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rating": {
                "type": "object",
                "properties": {
                  "average": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "review_count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "label": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "average",
                  "review_count",
                  "label"
                ],
                "additionalProperties": false
              },
              "location": {
                "type": "object",
                "properties": {
                  "city": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "latitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "longitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "city",
                  "latitude",
                  "longitude"
                ],
                "additionalProperties": false
              },
              "host": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "is_superhost": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "years_hosting": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "is_superhost",
                  "years_hosting"
                ],
                "additionalProperties": false
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "id",
              "name",
              "property_type",
              "space_type",
              "overview",
              "person_capacity",
              "rating",
              "location",
              "host",
              "images",
              "url"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "listing"
        ],
        "additionalProperties": false
      },
      "AutotraderSearchQuery": {
        "type": "object",
        "properties": {
          "postcode": {
            "type": "string",
            "minLength": 1,
            "description": "UK postcode to anchor the search, e.g. 'SW1A 1AA'"
          },
          "radius": {
            "description": "Search radius in miles",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "make": {
            "description": "Vehicle make, e.g. 'BMW'",
            "type": "string",
            "minLength": 1
          },
          "model": {
            "description": "Vehicle model, e.g. '3 Series'",
            "type": "string",
            "minLength": 1
          },
          "year_from": {
            "description": "Minimum registration year",
            "type": "integer",
            "minimum": 1900,
            "maximum": 9007199254740991
          },
          "year_to": {
            "description": "Maximum registration year",
            "type": "integer",
            "minimum": 1900,
            "maximum": 9007199254740991
          },
          "exclude_writeoffs": {
            "description": "Exclude write-off category vehicles",
            "type": "boolean"
          },
          "page": {
            "description": "Result page number",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "geo": {
            "description": "Country to use when submitting the request, e.g. 'gb', 'us', 'de'",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "postcode"
        ],
        "additionalProperties": false
      },
      "AutotraderSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "autotrader"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "search"
            ]
          },
          "snapshot_at": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "postcode": {
                "type": "string"
              },
              "radius": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "make": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "year_from": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "year_to": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "exclude_writeoffs": {
                "type": "boolean"
              },
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "geo": {
                "type": "string"
              }
            },
            "required": [
              "postcode"
            ],
            "additionalProperties": false
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "number_of_results": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "url",
              "number_of_results"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subtitle": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "attention_grabber": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price_indicator": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "mileage": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "year": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "distance_miles": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seller_type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "private"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "listing_type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "featured",
                        "you_may_also_like",
                        "sponsored"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "title",
                "subtitle",
                "attention_grabber",
                "price",
                "price_indicator",
                "mileage",
                "year",
                "location",
                "distance_miles",
                "seller_type",
                "listing_type"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "query_context",
          "meta_data",
          "results"
        ],
        "additionalProperties": false
      },
      "AutotraderListingQuery": {
        "type": "object",
        "properties": {
          "listing_id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "geo": {
            "description": "Country to use when submitting the request, e.g. 'gb', 'us', 'de'",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "listing_id"
        ],
        "additionalProperties": false
      },
      "AutotraderListingResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "autotrader"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "listing"
            ]
          },
          "snapshot_at": {
            "type": "string"
          },
          "listing": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "make": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "model": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "trim": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "year": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "price_indicator": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "mileage": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "fuel_type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "body_type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "gearbox": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "engine_size_litres": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "doors": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "seats": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "body_colour": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "emission_class": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "location": {
                "type": "object",
                "properties": {
                  "town": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "county": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "postcode": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "latitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "longitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "town",
                  "county",
                  "postcode",
                  "latitude",
                  "longitude"
                ],
                "additionalProperties": false
              },
              "seller": {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "phone": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "website": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rating": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "review_count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "phone",
                  "website",
                  "rating",
                  "review_count"
                ],
                "additionalProperties": false
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "vehicle_check_status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "title",
              "make",
              "model",
              "trim",
              "year",
              "price",
              "price_indicator",
              "mileage",
              "fuel_type",
              "body_type",
              "gearbox",
              "engine_size_litres",
              "doors",
              "seats",
              "body_colour",
              "emission_class",
              "description",
              "location",
              "seller",
              "images",
              "vehicle_check_status"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "listing"
        ],
        "additionalProperties": false
      },
      "GlassdoorJobsQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Job search keywords, e.g. 'software engineer'"
          },
          "location": {
            "description": "Free-text location, e.g. 'Austin, TX' -- resolved via Glassdoor's own location search",
            "type": "string",
            "minLength": 1
          },
          "limit": {
            "default": 30,
            "description": "Max listings to return in this call (1-300)",
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "GlassdoorJobsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "glassdoor"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "resolved_location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query",
              "location",
              "resolved_location"
            ],
            "additionalProperties": false
          },
          "total_count": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "listings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "job_id": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company_id": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company_rating": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "age_in_days": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_easy_apply": {
                  "type": "boolean"
                },
                "salary": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "period": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "low": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "median": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "high": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "source": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "currency",
                        "period",
                        "low",
                        "median",
                        "high",
                        "source"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description_snippet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "attributes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "job_id",
                "title",
                "url",
                "company",
                "company_id",
                "company_rating",
                "location",
                "age_in_days",
                "is_easy_apply",
                "salary",
                "description_snippet",
                "attributes"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "total_count",
          "listings",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "GlassdoorJobDetailQuery": {
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string",
            "minLength": 1,
            "description": "A job_id from a /v1/glassdoor/jobs response"
          }
        },
        "required": [
          "job_id"
        ],
        "additionalProperties": false
      },
      "GlassdoorJobDetailResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "glassdoor"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_id": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_ratings": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "overall": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "career_opportunities": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "compensation_and_benefits": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "culture_and_values": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "senior_management": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "work_life_balance": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "recommend_to_friend": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ceo_approval": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "overall",
                  "career_opportunities",
                  "compensation_and_benefits",
                  "culture_and_values",
                  "senior_management",
                  "work_life_balance",
                  "recommend_to_friend",
                  "ceo_approval"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "age_in_days": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "is_easy_apply": {
            "type": "boolean"
          },
          "salary": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "period": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "low": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "median": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "currency",
                  "period",
                  "low",
                  "median",
                  "high",
                  "source"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "description_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "job_id",
          "title",
          "url",
          "company",
          "company_id",
          "company_ratings",
          "location",
          "age_in_days",
          "is_easy_apply",
          "salary",
          "description_text",
          "description_html"
        ],
        "additionalProperties": false
      },
      "TrustpilotReviewsQuery": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "Business domain, e.g. amazon.com"
          },
          "stars": {
            "description": "Filter to these star ratings, e.g. ?stars=1&stars=2",
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            }
          },
          "language": {
            "description": "ISO language code, default en",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "verified": {
            "description": "Only verified reviews",
            "type": "boolean"
          },
          "limit": {
            "default": 20,
            "description": "Max reviews to return in this call (1-500)",
            "type": "integer",
            "minimum": 1,
            "maximum": 500
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "domain"
        ],
        "additionalProperties": false
      },
      "TrustpilotReviewsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "trustpilot"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "business": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "trust_score": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stars": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_reviews": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_claimed": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_closed": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "name",
              "website",
              "trust_score",
              "stars",
              "number_of_reviews",
              "is_claimed",
              "is_closed",
              "country_code"
            ],
            "additionalProperties": false
          },
          "reviews": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rating": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "language": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "likes": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "experienced_date": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_date": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_verified": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "consumer": {
                  "type": "object",
                  "properties": {
                    "display_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "country_code": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "number_of_reviews": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "display_name",
                    "country_code",
                    "number_of_reviews"
                  ],
                  "additionalProperties": false
                },
                "reply": {
                  "anyOf": [
                    {},
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "text",
                "rating",
                "language",
                "likes",
                "experienced_date",
                "published_date",
                "is_verified",
                "consumer",
                "reply"
              ],
              "additionalProperties": false
            }
          },
          "total_count": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "business",
          "reviews",
          "total_count",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "ZipRecruiterJobsQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Job search keywords, e.g. 'software engineer'"
          },
          "location": {
            "description": "Free-text location, e.g. 'Austin, TX'",
            "type": "string",
            "minLength": 1
          },
          "limit": {
            "default": 20,
            "description": "Max listings to return in this call (1-100)",
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "ZipRecruiterJobsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "ziprecruiter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query",
              "location"
            ],
            "additionalProperties": false
          },
          "total_count": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "listings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "job_id": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "salary_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "employment_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_new": {
                  "type": "boolean"
                }
              },
              "required": [
                "job_id",
                "title",
                "url",
                "company",
                "location",
                "salary_text",
                "employment_type",
                "is_new"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "total_count",
          "listings",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "DiceJobsQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Job search keywords, e.g. 'software engineer'"
          },
          "location": {
            "description": "Free-text location, e.g. 'Austin, TX'",
            "type": "string",
            "minLength": 1
          },
          "limit": {
            "default": 20,
            "description": "Max listings to return in this call (1-100)",
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "DiceJobsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "dice"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query",
              "location"
            ],
            "additionalProperties": false
          },
          "listings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "job_id": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "posted": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "employment_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_sponsored": {
                  "type": "boolean"
                }
              },
              "required": [
                "job_id",
                "title",
                "url",
                "company",
                "location",
                "posted",
                "employment_type",
                "is_sponsored"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "listings",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "DiceJobDetailQuery": {
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string",
            "minLength": 1,
            "description": "A job_id from a /v1/dice/jobs response"
          }
        },
        "required": [
          "job_id"
        ],
        "additionalProperties": false
      },
      "DiceJobDetailResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "dice"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_logo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "type": "object",
            "properties": {
              "locality": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "region": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "locality",
              "region",
              "country"
            ],
            "additionalProperties": false
          },
          "remote": {
            "type": "boolean"
          },
          "employment_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "date_posted": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "valid_through": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "salary": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "currency",
                  "unit",
                  "min",
                  "max"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "job_id",
          "title",
          "url",
          "company",
          "company_url",
          "company_logo",
          "location",
          "remote",
          "employment_types",
          "date_posted",
          "valid_through",
          "salary",
          "industry",
          "description_text",
          "description_html"
        ],
        "additionalProperties": false
      },
      "SimplyHiredJobsQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Job search keywords, e.g. 'software engineer'"
          },
          "location": {
            "description": "Free-text location, e.g. 'Austin, TX'",
            "type": "string",
            "minLength": 1
          },
          "limit": {
            "default": 20,
            "description": "Max listings to return in this call (1-100)",
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "SimplyHiredJobsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "simplyhired"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query",
              "location"
            ],
            "additionalProperties": false
          },
          "total_count": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "listings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "job_id": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company_rating": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "salary_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "job_types": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "snippet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_sponsored": {
                  "type": "boolean"
                }
              },
              "required": [
                "job_id",
                "title",
                "url",
                "company",
                "company_rating",
                "location",
                "salary_text",
                "job_types",
                "snippet",
                "is_sponsored"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "total_count",
          "listings",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "SimplyHiredJobDetailQuery": {
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string",
            "minLength": 1,
            "description": "A job_id from a /v1/simplyhired/jobs response"
          }
        },
        "required": [
          "job_id"
        ],
        "additionalProperties": false
      },
      "SimplyHiredJobDetailResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "simplyhired"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_logo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "type": "object",
            "properties": {
              "locality": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "region": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "locality",
              "region",
              "country"
            ],
            "additionalProperties": false
          },
          "remote": {
            "type": "boolean"
          },
          "employment_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "date_posted": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "valid_through": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "salary": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "currency",
                  "unit",
                  "min",
                  "max"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "job_id",
          "title",
          "url",
          "company",
          "company_url",
          "company_logo",
          "location",
          "remote",
          "employment_types",
          "date_posted",
          "valid_through",
          "salary",
          "industry",
          "description_text",
          "description_html"
        ],
        "additionalProperties": false
      },
      "BuiltInJobsQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Job search keywords, e.g. 'software engineer'"
          },
          "limit": {
            "default": 25,
            "description": "Max listings to return in this call (1-100)",
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "BuiltInJobsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "builtin"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "listings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "job_id": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "work_mode": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "experience_level": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "posted": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "job_id",
                "title",
                "url",
                "company",
                "location",
                "work_mode",
                "experience_level",
                "posted"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "listings",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "BuiltInJobDetailQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The full job URL from a /v1/builtin/jobs response's url field (builtin.com requires the real slug, not just the job_id)"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "BuiltInJobDetailResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "builtin"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "job_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_logo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "type": "object",
            "properties": {
              "locality": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "region": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "locality",
              "region",
              "country"
            ],
            "additionalProperties": false
          },
          "remote": {
            "type": "boolean"
          },
          "employment_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "date_posted": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "valid_through": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "salary": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "currency",
                  "unit",
                  "min",
                  "max"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "benefits": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "job_id",
          "title",
          "url",
          "company",
          "company_url",
          "company_logo",
          "location",
          "remote",
          "employment_types",
          "date_posted",
          "valid_through",
          "salary",
          "industry",
          "benefits",
          "description_text",
          "description_html"
        ],
        "additionalProperties": false
      },
      "WellfoundJobsQuery": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "minLength": 1,
            "description": "Role slug/keywords, e.g. 'software-engineer'"
          },
          "limit": {
            "default": 20,
            "description": "Max listings to return in this call (1-100)",
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "description": "Opaque cursor from a previous response's next_cursor",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "role"
        ],
        "additionalProperties": false
      },
      "WellfoundJobsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "wellfound"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string"
              }
            },
            "required": [
              "role"
            ],
            "additionalProperties": false
          },
          "total_count": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "listings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "job_id": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "company_slug": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "locations": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "remote": {
                  "type": "boolean"
                },
                "job_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "compensation_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "years_experience_min": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "years_experience_max": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "job_id",
                "title",
                "url",
                "company",
                "company_slug",
                "locations",
                "remote",
                "job_type",
                "compensation_text",
                "years_experience_min",
                "years_experience_max",
                "description"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "total_count",
          "listings",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "ChatgptPromptQuery": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4000,
            "description": "The prompt sent to ChatGPT"
          },
          "search": {
            "description": "Activate ChatGPT's web search functionality for this prompt",
            "type": "boolean"
          },
          "geo": {
            "description": "Country to use when submitting the prompt",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "prompt"
        ],
        "additionalProperties": false
      },
      "ChatgptPromptResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "chatgpt"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "response_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "markdown_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_queries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "citations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "url",
                "text",
                "title",
                "description"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "prompt",
          "model",
          "response_text",
          "markdown_text",
          "search_queries",
          "citations"
        ],
        "additionalProperties": false
      },
      "PerplexityPromptQuery": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 8000,
            "description": "The prompt sent to Perplexity"
          },
          "geo": {
            "description": "Country to use when submitting the prompt",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "prompt"
        ],
        "additionalProperties": false
      },
      "PerplexityPromptResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "perplexity"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "answer_markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "related_queries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "source": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "url",
                "title",
                "source"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "prompt",
          "model",
          "answer_markdown",
          "related_queries",
          "sources"
        ],
        "additionalProperties": false
      },
      "GeminiPromptQuery": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 8000,
            "description": "The prompt sent to Gemini"
          },
          "geo": {
            "description": "Country to use when submitting the prompt",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "prompt"
        ],
        "additionalProperties": false
      },
      "GeminiPromptResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "gemini"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "response_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "markdown_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "citations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "url",
                "text",
                "title",
                "description"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "prompt",
          "model",
          "response_text",
          "markdown_text",
          "citations"
        ],
        "additionalProperties": false
      },
      "BingSearchQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "geo": {
            "description": "Country to use when submitting the query",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          },
          "locale": {
            "description": "Bing web interface language",
            "type": "string",
            "minLength": 2,
            "maxLength": 16
          },
          "domain": {
            "description": "Top-level domain to search, e.g. 'co.uk'",
            "type": "string",
            "minLength": 2,
            "maxLength": 16
          },
          "page": {
            "description": "Starting page number (1-100)",
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "page_count": {
            "description": "Number of result pages to fetch (1-10)",
            "type": "integer",
            "minimum": 1,
            "maximum": 10
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "BingSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "bing"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "search": {
                "type": "string"
              },
              "geo": {
                "type": "string"
              },
              "locale": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "search"
            ],
            "additionalProperties": false
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "page": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "page",
              "url"
            ],
            "additionalProperties": false
          },
          "organic_results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "position": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "position_overall": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "title": {
                  "type": "string"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "url_shown": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "position",
                "position_overall",
                "title",
                "description",
                "url",
                "url_shown"
              ],
              "additionalProperties": false
            }
          },
          "paid_results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "position": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "position_overall": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "title": {
                  "type": "string"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "url_shown": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "position",
                "position_overall",
                "title",
                "description",
                "url",
                "url_shown"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "meta_data",
          "organic_results",
          "paid_results"
        ],
        "additionalProperties": false
      },
      "RedditPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Reddit post URL"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "RedditPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "reddit"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "author": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subreddit": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subreddit_prefixed": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "selftext": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink": {
                "type": "string",
                "format": "uri"
              },
              "score": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "upvote_ratio": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "num_comments": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "over_18": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_video": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumbnail": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "flair": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "awards_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "author",
              "subreddit",
              "subreddit_prefixed",
              "selftext",
              "url",
              "permalink",
              "score",
              "upvote_ratio",
              "num_comments",
              "created_at",
              "over_18",
              "is_video",
              "thumbnail",
              "flair",
              "awards_count"
            ],
            "additionalProperties": false
          },
          "comments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "author": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "body": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "type": "string",
                  "format": "uri"
                },
                "parent_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "link_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "author",
                "body",
                "score",
                "created_at",
                "permalink",
                "parent_id",
                "link_id"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "post",
          "comments"
        ],
        "additionalProperties": false
      },
      "RedditSubredditQuery": {
        "type": "object",
        "properties": {
          "subreddit": {
            "description": "Subreddit name, e.g. 'nba' (without r/)",
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "url": {
            "description": "Full subreddit URL",
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "RedditSubredditResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "reddit"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "subreddit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "author": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subreddit": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subreddit_prefixed": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "selftext": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "type": "string",
                  "format": "uri"
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "upvote_ratio": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "num_comments": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "over_18": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_video": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "flair": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "awards_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "author",
                "subreddit",
                "subreddit_prefixed",
                "selftext",
                "url",
                "permalink",
                "score",
                "upvote_ratio",
                "num_comments",
                "created_at",
                "over_18",
                "is_video",
                "thumbnail",
                "flair",
                "awards_count"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "subreddit",
          "posts"
        ],
        "additionalProperties": false
      },
      "RedditUserQuery": {
        "type": "object",
        "properties": {
          "username": {
            "description": "Reddit username, e.g. 'spez' (without u/)",
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "url": {
            "description": "Full user profile URL",
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "RedditUserResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "reddit"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "post",
                    "comment"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "author": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "type": "string",
                  "format": "uri"
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subreddit": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "body": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "kind",
                "id",
                "author",
                "permalink",
                "score",
                "created_at",
                "title",
                "subreddit",
                "body"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "username",
          "items"
        ],
        "additionalProperties": false
      },
      "InstagramProfileQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "InstagramProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "full_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "external_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_private": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "followers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "following": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "posts": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "followers",
                  "following",
                  "posts"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "username",
              "full_name",
              "bio",
              "avatar_url",
              "external_url",
              "is_private",
              "is_verified",
              "counts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "InstagramPostsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "InstagramPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "reel",
                        "carousel"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "caption",
                "created_at",
                "thumbnail_url",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "InstagramPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "InstagramPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "photo",
                      "video",
                      "reel",
                      "carousel"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "caption": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "full_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "full_name",
                  "avatar_url"
                ],
                "additionalProperties": false
              },
              "stats": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "comments": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plays": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "comments",
                  "plays"
                ],
                "additionalProperties": false
              },
              "media": {
                "type": "object",
                "properties": {
                  "image_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "video_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "thumbnail_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "image_url",
                  "video_url",
                  "thumbnail_url"
                ],
                "additionalProperties": false
              },
              "location": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "name",
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "type",
              "caption",
              "created_at",
              "author",
              "stats",
              "media",
              "location"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "InstagramHighlightsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "InstagramHighlightsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "highlights": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cover_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "cover_url"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "highlights"
        ],
        "additionalProperties": false
      },
      "InstagramHighlightQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "InstagramHighlightResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "highlight": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "owner": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "full_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "full_name",
                  "avatar_url"
                ],
                "additionalProperties": false
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "photo",
                            "video"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "caption": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "created_at": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "image_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "video_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "caption",
                    "created_at",
                    "image_url",
                    "video_url"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "title",
              "cover_url",
              "owner",
              "items"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "highlight"
        ],
        "additionalProperties": false
      },
      "InstagramSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "InstagramSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "username": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "full_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "avatar_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_verified": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_private": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "username",
                "full_name",
                "avatar_url",
                "is_verified",
                "is_private"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "InstagramTaggedPostsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "InstagramTaggedPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "reel",
                        "carousel"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "caption",
                "created_at",
                "thumbnail_url",
                "author",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "InstagramCommentsQuery": {
        "type": "object",
        "properties": {
          "media_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "media_id"
        ],
        "additionalProperties": false
      },
      "InstagramCommentsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "comments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "likes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "text",
                "created_at",
                "likes",
                "author"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "comments"
        ],
        "additionalProperties": false
      },
      "InstagramProfileSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "InstagramProfileSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "username": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "full_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "avatar_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_verified": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_private": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "username",
                "full_name",
                "avatar_url",
                "is_verified",
                "is_private"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "InstagramPopularSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "InstagramPopularSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "reel",
                        "carousel"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "caption",
                "created_at",
                "thumbnail_url",
                "author",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "InstagramHashtagSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "InstagramHashtagSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "media_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "name",
                "media_count"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "InstagramReelsSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "InstagramReelsSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "reels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "video_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                },
                "audio": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "title"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "caption",
                "created_at",
                "thumbnail_url",
                "video_url",
                "author",
                "stats",
                "audio"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "reels"
        ],
        "additionalProperties": false
      },
      "InstagramReelsByAudioQuery": {
        "type": "object",
        "properties": {
          "audio_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "audio_id"
        ],
        "additionalProperties": false
      },
      "InstagramReelsByAudioResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "audio_id": {
                "type": "string"
              }
            },
            "required": [
              "audio_id"
            ],
            "additionalProperties": false
          },
          "reels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "video_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                },
                "audio": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "title"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "caption",
                "created_at",
                "thumbnail_url",
                "video_url",
                "author",
                "stats",
                "audio"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "reels"
        ],
        "additionalProperties": false
      },
      "InstagramTrendingReelsQuery": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "InstagramTrendingReelsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "reels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "video_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                },
                "audio": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "title"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "caption",
                "created_at",
                "thumbnail_url",
                "video_url",
                "author",
                "stats",
                "audio"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "reels"
        ],
        "additionalProperties": false
      },
      "InstagramHashtagPostsQuery": {
        "type": "object",
        "properties": {
          "hashtag": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "hashtag"
        ],
        "additionalProperties": false
      },
      "InstagramHashtagPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "hashtag": {
                "type": "string"
              }
            },
            "required": [
              "hashtag"
            ],
            "additionalProperties": false
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "reel",
                        "carousel"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "caption",
                "created_at",
                "thumbnail_url",
                "author",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "posts"
        ],
        "additionalProperties": false
      },
      "InstagramBasicProfileQuery": {
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "user_id"
        ],
        "additionalProperties": false
      },
      "InstagramBasicProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "full_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_private": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "username",
              "full_name",
              "avatar_url",
              "is_verified",
              "is_private"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "InstagramCommentRepliesQuery": {
        "type": "object",
        "properties": {
          "media_id": {
            "type": "string",
            "minLength": 1
          },
          "comment_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "media_id",
          "comment_id"
        ],
        "additionalProperties": false
      },
      "InstagramCommentRepliesResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "media_id": {
                "type": "string"
              },
              "comment_id": {
                "type": "string"
              }
            },
            "required": [
              "media_id",
              "comment_id"
            ],
            "additionalProperties": false
          },
          "replies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "likes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "full_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "text",
                "created_at",
                "likes",
                "author"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "replies"
        ],
        "additionalProperties": false
      },
      "InstagramReelsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "InstagramReelsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "instagram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "reels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "reel",
                        "carousel"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plays": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "plays"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "caption",
                "created_at",
                "thumbnail_url",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "reels"
        ],
        "additionalProperties": false
      },
      "TwitterProfileQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "TwitterProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "banner_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "external_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "joined_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "followers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "following": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tweets": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "followers",
                  "following",
                  "tweets"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "username",
              "display_name",
              "bio",
              "avatar_url",
              "banner_url",
              "location",
              "external_url",
              "is_verified",
              "joined_at",
              "counts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "TwitterTweetsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "TwitterTweetsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "tweets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "display_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "retweets": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replies": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "views": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "retweets",
                    "replies",
                    "views"
                  ],
                  "additionalProperties": false
                },
                "media": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "photo",
                              "video",
                              "gif"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                },
                "is_reply": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_retweet": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "text",
                "created_at",
                "author",
                "stats",
                "media",
                "is_reply",
                "is_retweet"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "tweets"
        ],
        "additionalProperties": false
      },
      "TwitterTweetQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "TwitterTweetResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "tweet": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "display_name",
                  "avatar_url"
                ],
                "additionalProperties": false
              },
              "stats": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "retweets": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replies": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "views": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "retweets",
                  "replies",
                  "views"
                ],
                "additionalProperties": false
              },
              "media": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "photo",
                            "video",
                            "gif"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "url"
                  ],
                  "additionalProperties": false
                }
              },
              "is_reply": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_retweet": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "in_reply_to": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "username": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "username"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "text",
              "created_at",
              "author",
              "stats",
              "media",
              "is_reply",
              "is_retweet",
              "in_reply_to"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "tweet"
        ],
        "additionalProperties": false
      },
      "TwitterSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          },
          "sort": {
            "default": "top",
            "type": "string",
            "enum": [
              "top",
              "latest"
            ]
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "TwitterSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "sort": {
                "type": "string",
                "enum": [
                  "top",
                  "latest"
                ]
              }
            },
            "required": [
              "query",
              "sort"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "display_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "retweets": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replies": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "views": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "retweets",
                    "replies",
                    "views"
                  ],
                  "additionalProperties": false
                },
                "media": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "photo",
                              "video",
                              "gif"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                },
                "is_reply": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_retweet": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "text",
                "created_at",
                "author",
                "stats",
                "media",
                "is_reply",
                "is_retweet"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "TwitterCommunityQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "TwitterCommunityResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "community": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "join_policy": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "member_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creator": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "display_name",
                  "avatar_url"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "description",
              "join_policy",
              "created_at",
              "member_count",
              "creator"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "community"
        ],
        "additionalProperties": false
      },
      "TwitterCommunityTweetsQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "TwitterCommunityTweetsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitter"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "tweets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "username",
                    "display_name",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "retweets": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replies": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "views": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "retweets",
                    "replies",
                    "views"
                  ],
                  "additionalProperties": false
                },
                "media": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "photo",
                              "video",
                              "gif"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                },
                "is_reply": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_retweet": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "text",
                "created_at",
                "author",
                "stats",
                "media",
                "is_reply",
                "is_retweet"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "tweets"
        ],
        "additionalProperties": false
      },
      "FacebookPageQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookPageResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "page": {
            "type": "object",
            "properties": {
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "category": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "about": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "followers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "followers"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "username",
              "name",
              "category",
              "about",
              "avatar_url",
              "cover_url",
              "website",
              "is_verified",
              "counts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "page"
        ],
        "additionalProperties": false
      },
      "FacebookPostsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "text",
                        "link",
                        "other"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "id",
                    "url"
                  ],
                  "additionalProperties": false
                },
                "media": {
                  "type": "object",
                  "properties": {
                    "image_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "video_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "image_url",
                    "video_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "shares": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "shares"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "message",
                "created_at",
                "author",
                "media",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "FacebookPhotosQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookPhotosResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "photos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "image_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "image_url",
                "caption"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "photos"
        ],
        "additionalProperties": false
      },
      "FacebookReelsQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookReelsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "reels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "id",
                    "url"
                  ],
                  "additionalProperties": false
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "view_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "shares": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "shares"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "message",
                "created_at",
                "author",
                "thumbnail_url",
                "view_count",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "reels"
        ],
        "additionalProperties": false
      },
      "FacebookPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "FacebookPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "photo",
                      "video",
                      "text",
                      "link",
                      "other"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "message": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "id",
                  "url"
                ],
                "additionalProperties": false
              },
              "media": {
                "type": "object",
                "properties": {
                  "image_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "video_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "image_url",
                  "video_url"
                ],
                "additionalProperties": false
              },
              "stats": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "comments": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "shares": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "comments",
                  "shares"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "url",
              "type",
              "message",
              "created_at",
              "author",
              "media",
              "stats"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "FacebookGroupQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookGroupResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "group": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "privacy": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "member_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "about": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "name",
              "url",
              "privacy",
              "member_count",
              "cover_url",
              "about"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "group"
        ],
        "additionalProperties": false
      },
      "FacebookGroupPostsQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookGroupPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video",
                        "text",
                        "link",
                        "other"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "id",
                    "url"
                  ],
                  "additionalProperties": false
                },
                "media": {
                  "type": "object",
                  "properties": {
                    "image_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "video_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "image_url",
                    "video_url"
                  ],
                  "additionalProperties": false
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "shares": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "shares"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "message",
                "created_at",
                "author",
                "media",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "FacebookEventQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookEventResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "event": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "time_text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_time": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_online": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_canceled": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "location_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stats": {
                "type": "object",
                "properties": {
                  "interested": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "going": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "interested",
                  "going"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "url",
              "time_text",
              "start_time",
              "is_online",
              "is_canceled",
              "location_name",
              "cover_url",
              "description",
              "stats"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "event"
        ],
        "additionalProperties": false
      },
      "FacebookEventsSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "FacebookEventsSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "time_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "start_time": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_online": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "location_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cover_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "url",
                "time_text",
                "start_time",
                "is_online",
                "location_name",
                "cover_url"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "events"
        ],
        "additionalProperties": false
      },
      "FacebookMarketplaceItemQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "FacebookMarketplaceItemResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "item": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "price": {
                "type": "object",
                "properties": {
                  "amount": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "formatted": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "amount",
                  "currency",
                  "formatted"
                ],
                "additionalProperties": false
              },
              "location": {
                "type": "object",
                "properties": {
                  "text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "latitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "longitude": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "text",
                  "latitude",
                  "longitude"
                ],
                "additionalProperties": false
              },
              "photo_urls": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "is_sold": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_live": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "description",
              "price",
              "location",
              "photo_urls",
              "is_sold",
              "is_live",
              "created_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "item"
        ],
        "additionalProperties": false
      },
      "FacebookMarketplaceSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          }
        },
        "required": [
          "query",
          "lat",
          "lng"
        ],
        "additionalProperties": false
      },
      "FacebookMarketplaceSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "lat": {
                "type": "number"
              },
              "lng": {
                "type": "number"
              }
            },
            "required": [
              "query",
              "lat",
              "lng"
            ],
            "additionalProperties": false
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "formatted": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "amount",
                    "currency",
                    "formatted"
                  ],
                  "additionalProperties": false
                },
                "photo_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_sold": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_live": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "url",
                "price",
                "photo_url",
                "is_sold",
                "is_live"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "items"
        ],
        "additionalProperties": false
      },
      "FacebookAdQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "FacebookAdResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "ad": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "page_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "page_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "page_profile_picture_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_active": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_time": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "end_time": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "publisher_platforms": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "link_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cta_text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "spend": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reach_estimate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "page_id",
              "page_name",
              "page_profile_picture_url",
              "is_active",
              "start_time",
              "end_time",
              "publisher_platforms",
              "body",
              "title",
              "link_url",
              "cta_text",
              "spend",
              "reach_estimate"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "ad"
        ],
        "additionalProperties": false
      },
      "FacebookAdLibrarySearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          },
          "country": {
            "default": "US",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "FacebookAdLibrarySearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            },
            "required": [
              "query",
              "country"
            ],
            "additionalProperties": false
          },
          "ads": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_profile_picture_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_active": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "start_time": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "end_time": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "publisher_platforms": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "body": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "link_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cta_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "spend": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reach_estimate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "page_id",
                "page_name",
                "page_profile_picture_url",
                "is_active",
                "start_time",
                "end_time",
                "publisher_platforms",
                "body",
                "title",
                "link_url",
                "cta_text",
                "spend",
                "reach_estimate"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "ads"
        ],
        "additionalProperties": false
      },
      "FacebookAdLibraryCompanyAdsQuery": {
        "type": "object",
        "properties": {
          "pageId": {
            "type": "string",
            "minLength": 1
          },
          "country": {
            "default": "ALL",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          }
        },
        "required": [
          "pageId"
        ],
        "additionalProperties": false
      },
      "FacebookAdLibraryCompanyAdsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "facebook"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "pageId": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            },
            "required": [
              "pageId",
              "country"
            ],
            "additionalProperties": false
          },
          "ads": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_profile_picture_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_active": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "start_time": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "end_time": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "publisher_platforms": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "body": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "link_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cta_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "spend": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reach_estimate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "page_id",
                "page_name",
                "page_profile_picture_url",
                "is_active",
                "start_time",
                "end_time",
                "publisher_platforms",
                "body",
                "title",
                "link_url",
                "cta_text",
                "spend",
                "reach_estimate"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "ads"
        ],
        "additionalProperties": false
      },
      "HackerNewsItemQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Hacker News item id"
          },
          "include_comments": {
            "description": "Recursively resolve the comment tree (capped at depth 5 / 500 comments)",
            "type": "boolean"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "HackerNewsItemResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "hacker_news"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "id": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "type": {
            "type": "string",
            "enum": [
              "story",
              "comment",
              "job",
              "poll",
              "pollopt"
            ]
          },
          "by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "time": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dead": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "score": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "descendants": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "kids": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "parent": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "parts": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "poll": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "comments": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/HackerNewsCommentItem"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "id",
          "type",
          "by",
          "time",
          "created_at",
          "text",
          "dead",
          "deleted",
          "title",
          "url",
          "score",
          "descendants",
          "kids",
          "parent",
          "parts",
          "poll",
          "comments"
        ],
        "additionalProperties": false
      },
      "HackerNewsUserQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "description": "Hacker News username"
          }
        },
        "required": [
          "username"
        ],
        "additionalProperties": false
      },
      "HackerNewsUserResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "hacker_news"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "karma": {
            "type": "number"
          },
          "about": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "submitted_count": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "submitted_ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "id",
          "created_at",
          "karma",
          "about",
          "submitted_count",
          "submitted_ids"
        ],
        "additionalProperties": false
      },
      "HackerNewsSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Search keyword(s)"
          },
          "tags": {
            "description": "Restrict results to these Algolia HN tags",
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "story",
                "comment",
                "poll",
                "pollopt",
                "show_hn",
                "ask_hn",
                "front_page"
              ]
            }
          },
          "since": {
            "description": "Only include results created after this unix timestamp (seconds)",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "sort": {
            "description": "relevance (default) uses /search, date uses /search_by_date",
            "type": "string",
            "enum": [
              "relevance",
              "date"
            ]
          },
          "page": {
            "description": "0-indexed result page",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "hits_per_page": {
            "description": "Results per page, max 100",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "HackerNewsSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "hacker_news"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "hits": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object_id": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "story",
                    "comment",
                    "job",
                    "poll",
                    "pollopt"
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "string"
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "points": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "num_comments": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string"
                },
                "story_id": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "comment_text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "object_id",
                "type",
                "title",
                "author",
                "url",
                "points",
                "num_comments",
                "created_at",
                "story_id",
                "comment_text"
              ],
              "additionalProperties": false
            }
          },
          "page": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "total_pages": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "total_hits": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "provider",
          "request_id",
          "query",
          "hits",
          "page",
          "total_pages",
          "total_hits"
        ],
        "additionalProperties": false
      },
      "HackerNewsStoriesQuery": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "top",
              "new",
              "best",
              "ask",
              "show",
              "job"
            ],
            "description": "Which Firebase story-id list to resolve"
          },
          "limit": {
            "description": "Max number of stories to resolve, default 30, max 100",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "HackerNewsStoriesResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "hacker_news"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "top",
              "new",
              "best",
              "ask",
              "show",
              "job"
            ]
          },
          "stories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "story",
                    "comment",
                    "job",
                    "poll",
                    "pollopt"
                  ]
                },
                "by": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "time": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "dead": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "deleted": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "descendants": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "kids": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parent": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parts": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "poll": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "type",
                "by",
                "time",
                "created_at",
                "text",
                "dead",
                "deleted",
                "title",
                "url",
                "score",
                "descendants",
                "kids",
                "parent",
                "parts",
                "poll"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "type",
          "stories"
        ],
        "additionalProperties": false
      },
      "GithubUserQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "username"
        ],
        "additionalProperties": false
      },
      "GithubUserResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "github"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "user": {
            "type": "object",
            "properties": {
              "username": {
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "type": "string"
              },
              "company": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "blog": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "followers": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "following": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "public_repos": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "followers",
                  "following",
                  "public_repos"
                ],
                "additionalProperties": false
              },
              "created_at": {
                "type": "string"
              }
            },
            "required": [
              "username",
              "name",
              "bio",
              "avatar_url",
              "company",
              "location",
              "blog",
              "counts",
              "created_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "user"
        ],
        "additionalProperties": false
      },
      "GithubRepoQuery": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1
          },
          "repo": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "owner",
          "repo"
        ],
        "additionalProperties": false
      },
      "GithubRepoResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "github"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "repo": {
            "type": "object",
            "properties": {
              "full_name": {
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "owner": {
                "type": "object",
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "avatar_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "username",
                  "avatar_url"
                ],
                "additionalProperties": false
              },
              "language": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "topics": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "stars": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "forks": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "open_issues": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "stars",
                  "forks",
                  "open_issues"
                ],
                "additionalProperties": false
              },
              "is_fork": {
                "type": "boolean"
              },
              "is_archived": {
                "type": "boolean"
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "homepage": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "full_name",
              "description",
              "owner",
              "language",
              "topics",
              "stats",
              "is_fork",
              "is_archived",
              "created_at",
              "updated_at",
              "homepage"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "repo"
        ],
        "additionalProperties": false
      },
      "GithubReposQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "username"
        ],
        "additionalProperties": false
      },
      "GithubReposResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "github"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "repos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "full_name": {
                  "type": "string"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "owner": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "type": "string"
                    },
                    "avatar_url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "username",
                    "avatar_url"
                  ],
                  "additionalProperties": false
                },
                "language": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "topics": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "stars": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "forks": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "open_issues": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "stars",
                    "forks",
                    "open_issues"
                  ],
                  "additionalProperties": false
                },
                "is_fork": {
                  "type": "boolean"
                },
                "is_archived": {
                  "type": "boolean"
                },
                "created_at": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                },
                "homepage": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "full_name",
                "description",
                "owner",
                "language",
                "topics",
                "stats",
                "is_fork",
                "is_archived",
                "created_at",
                "updated_at",
                "homepage"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "repos"
        ],
        "additionalProperties": false
      },
      "ProductHuntLeaderboardQuery": {
        "type": "object",
        "properties": {
          "period": {
            "description": "Leaderboard window (default daily)",
            "type": "string",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ]
          },
          "date": {
            "description": "Date the leaderboard is anchored to (YYYY-MM-DD, daily/weekly only). Defaults to today.",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "category": {
            "description": "Topic slug to filter by, e.g. 'artificial-intelligence'",
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "ProductHuntLeaderboardResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "product_hunt"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "leaderboard"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "period": {
            "type": "string",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ]
          },
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "rank": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "slug": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "tagline": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "upvotes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "comment_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "topics": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "makers": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "thumbnail": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "rank",
                "slug",
                "name",
                "tagline",
                "url",
                "upvotes",
                "comment_count",
                "topics",
                "makers",
                "thumbnail"
              ],
              "additionalProperties": false
            }
          },
          "truncated": {
            "type": "boolean"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "period",
          "date",
          "category",
          "products",
          "truncated",
          "url"
        ],
        "additionalProperties": false
      },
      "ProductHuntLeaderboardCrawlQuery": {
        "type": "object",
        "properties": {
          "period": {
            "description": "Leaderboard window (default daily)",
            "type": "string",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ]
          },
          "date": {
            "description": "Date the leaderboard is anchored to (YYYY-MM-DD, daily/weekly only). Defaults to today.",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "category": {
            "description": "Topic slug to filter by, e.g. 'artificial-intelligence'",
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "ProductHuntProductQuery": {
        "type": "object",
        "properties": {
          "slug": {
            "description": "Product Hunt post slug, e.g. 'scrapio'",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Product Hunt product URL",
            "type": "string",
            "format": "uri"
          },
          "include_comments": {
            "description": "Include top-level discussion comments (default false)",
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string",
                "enum": [
                  "true",
                  "false"
                ]
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ProductHuntProductResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "product_hunt"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "product"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tagline": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "upvotes": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "comment_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "rank": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "launched_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "website_url": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "makers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "username": {
                  "type": "string"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "profile_url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "username",
                "name",
                "profile_url"
              ],
              "additionalProperties": false
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "comments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "body": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_maker": {
                  "type": "boolean"
                },
                "upvotes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "posted_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "author",
                "body",
                "is_maker",
                "upvotes",
                "posted_at"
              ],
              "additionalProperties": false
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "slug",
          "name",
          "tagline",
          "description",
          "topics",
          "upvotes",
          "comment_count",
          "rank",
          "launched_at",
          "website_url",
          "makers",
          "images",
          "comments",
          "url"
        ],
        "additionalProperties": false
      },
      "ProductHuntMakerQuery": {
        "type": "object",
        "properties": {
          "username": {
            "description": "Product Hunt username, e.g. 'rrhoover' (without @)",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Product Hunt profile URL",
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "ProductHuntMakerResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "product_hunt"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "maker"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "headline": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "followers": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "label",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "slug": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "tagline": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "upvotes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "slug",
                "name",
                "tagline",
                "upvotes",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "username",
          "name",
          "headline",
          "followers",
          "links",
          "products",
          "url"
        ],
        "additionalProperties": false
      },
      "TikTokPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "TikTok post (video) URL"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "TikTokPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "tiktok"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "nickname": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "nickname",
                  "avatar_url"
                ],
                "additionalProperties": false
              },
              "stats": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "comments": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "shares": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plays": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "collects": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "comments",
                  "shares",
                  "plays",
                  "collects"
                ],
                "additionalProperties": false
              },
              "video": {
                "type": "object",
                "properties": {
                  "cover_url": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "play_url": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "cover_url",
                  "play_url"
                ],
                "additionalProperties": false
              },
              "music": {
                "type": "object",
                "properties": {
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "author": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "title",
                  "author"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "url",
              "description",
              "created_at",
              "duration_seconds",
              "author",
              "stats",
              "video",
              "music"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "AppleAppStoreQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Apple App Store app listing URL"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "AppleAppStoreResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "apple_app_store"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "app": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "image_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "category": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sub_category": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rating": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "value",
                  "count"
                ],
                "additionalProperties": false
              },
              "author": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "url"
                ],
                "additionalProperties": false
              },
              "operating_system": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "available_on_device": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "url",
              "name",
              "description",
              "image_url",
              "price",
              "currency",
              "category",
              "sub_category",
              "rating",
              "author",
              "operating_system",
              "available_on_device"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "app"
        ],
        "additionalProperties": false
      },
      "TargetProductQuery": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "pattern": "^\\d{8}$|^\\d{10}$"
          },
          "delivery_type": {
            "description": "Delivery method",
            "type": "string",
            "enum": [
              "pickup",
              "delivery",
              "shipping"
            ]
          },
          "delivery_zip": {
            "description": "Zip code for delivery/shipping (required with those delivery types)",
            "type": "string",
            "minLength": 3,
            "maxLength": 10
          },
          "store_id": {
            "description": "Target store ID (required for pickup)",
            "type": "string",
            "minLength": 3,
            "maxLength": 4
          },
          "geo": {
            "description": "Country to use when submitting the request",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "product_id"
        ],
        "additionalProperties": false
      },
      "TargetProductResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "target"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "product": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "brand": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "url"
                ],
                "additionalProperties": false
              },
              "price": {
                "type": "object",
                "properties": {
                  "current": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "discounted": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "current",
                  "discounted"
                ],
                "additionalProperties": false
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "in_stock": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rating": {
                "type": "object",
                "properties": {
                  "count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "count",
                  "score"
                ],
                "additionalProperties": false
              },
              "category": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "path"
                ],
                "additionalProperties": false
              },
              "images": {
                "type": "object",
                "properties": {
                  "main": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "alternate": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "main",
                  "alternate"
                ],
                "additionalProperties": false
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "title",
              "brand",
              "price",
              "currency",
              "in_stock",
              "rating",
              "category",
              "images",
              "description"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "product"
        ],
        "additionalProperties": false
      },
      "TargetSearchQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "delivery_type": {
            "description": "Delivery method",
            "type": "string",
            "enum": [
              "pickup",
              "delivery",
              "shipping"
            ]
          },
          "delivery_zip": {
            "description": "Zip code for delivery/shipping (required with those delivery types)",
            "type": "string",
            "minLength": 3,
            "maxLength": 10
          },
          "store_id": {
            "description": "Target store ID (required for pickup)",
            "type": "string",
            "minLength": 3,
            "maxLength": 4
          },
          "geo": {
            "description": "Country to use when submitting the request",
            "type": "string",
            "minLength": 2,
            "maxLength": 64
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "TargetSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "target"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "search": {
                "type": "string"
              }
            },
            "required": [
              "search"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "product_id": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "title": {
                  "type": "string"
                },
                "brand_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "brand_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "comparison_price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currency": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rating": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "score": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "count",
                    "score"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "product_id",
                "url",
                "title",
                "brand_name",
                "brand_url",
                "price",
                "comparison_price",
                "currency",
                "rating"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "AmazonSearchQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search keywords"
          },
          "page": {
            "description": "Result page number",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "merchant_id": {
            "description": "Filter results to a specific merchant",
            "type": "string",
            "minLength": 1
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "enrich": {
            "description": "Enrich each result with pricing data",
            "type": "string",
            "enum": [
              "pricing"
            ]
          },
          "country": {
            "description": "Country code for localized results",
            "type": "string",
            "pattern": "^[a-z]{2}$"
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 1
          },
          "domain": {
            "description": "Amazon domain suffix, e.g. com, co.uk, de",
            "type": "string",
            "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "AmazonSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "amazon"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "search"
            ]
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "end_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_requested": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_returned": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "sort_by": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "merchant_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "domain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_results": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_products": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "url",
              "query",
              "page",
              "sort_by",
              "merchant_id",
              "country",
              "domain",
              "number_of_results",
              "number_of_products"
            ],
            "additionalProperties": false
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "position": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "asin": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currency": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rating": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_prime": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_sponsored": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "image": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "position",
                "asin",
                "title",
                "price",
                "currency",
                "rating",
                "review_count",
                "is_prime",
                "is_sponsored",
                "image",
                "url"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "page_type",
          "meta_data",
          "products"
        ],
        "additionalProperties": false
      },
      "AmazonSearchCrawlQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search keywords"
          },
          "start_page": {
            "description": "First page to crawl (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "end_page": {
            "description": "Last page to crawl, max 10 pages from start_page",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "merchant_id": {
            "description": "Filter results to a specific merchant",
            "type": "string",
            "minLength": 1
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "enrich": {
            "description": "Enrich each result with pricing data",
            "type": "string",
            "enum": [
              "pricing"
            ]
          },
          "country": {
            "description": "Country code for localized results",
            "type": "string",
            "pattern": "^[a-z]{2}$"
          },
          "language": {
            "description": "Language for results",
            "type": "string",
            "minLength": 1
          },
          "domain": {
            "description": "Amazon domain suffix, e.g. com, co.uk, de",
            "type": "string",
            "pattern": "^[a-z]+(?:\\.[a-z]+)?$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "search",
          "end_page"
        ],
        "additionalProperties": false
      },
      "WalmartSearchQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "delivery_zip": {
            "description": "Delivery zip code for localized results",
            "type": "string",
            "minLength": 1
          },
          "zip_code": {
            "description": "Zip code for localized results",
            "type": "string",
            "minLength": 1
          },
          "store_id": {
            "description": "Store id to localize results to",
            "type": "string",
            "minLength": 1
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "min_price": {
            "description": "Minimum price filter",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "max_price": {
            "description": "Maximum price filter",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "page": {
            "description": "Result page number",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "pages": {
            "description": "Number of pages to fetch, max 5",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "fulfillment_speed": {
            "description": "Fulfillment speed filter",
            "type": "string",
            "minLength": 1
          },
          "fulfillment_type": {
            "description": "Fulfillment type filter",
            "type": "string",
            "minLength": 1
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "search"
        ],
        "additionalProperties": false
      },
      "WalmartSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "walmart"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "search"
            ]
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "end_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_requested": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_returned": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "number_of_results": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_products": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "total_pages": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "url",
              "query",
              "start_page",
              "end_page",
              "pages_requested",
              "pages_returned",
              "number_of_results",
              "number_of_products",
              "total_pages"
            ],
            "additionalProperties": false
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "position": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "product_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currency": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rating": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "availability": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "image": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "brand": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seller": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "free_shipping": {
                  "type": "boolean"
                },
                "two_day_shipping": {
                  "type": "boolean"
                }
              },
              "required": [
                "position",
                "product_id",
                "title",
                "price",
                "currency",
                "rating",
                "review_count",
                "availability",
                "image",
                "url",
                "brand",
                "seller",
                "free_shipping",
                "two_day_shipping"
              ],
              "additionalProperties": false
            }
          },
          "facets": {
            "type": "object",
            "properties": {
              "brands": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "count"
                  ],
                  "additionalProperties": false
                }
              },
              "ratings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "stars": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "stars",
                    "count"
                  ],
                  "additionalProperties": false
                }
              },
              "price_ranges": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "min": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "max": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "min",
                    "max",
                    "count"
                  ],
                  "additionalProperties": false
                }
              },
              "applied_filters": {
                "type": "object",
                "properties": {
                  "sort_by": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fulfillment_speed": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fulfillment_type": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "sort_by",
                  "min_price",
                  "max_price",
                  "fulfillment_speed",
                  "fulfillment_type"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "brands",
              "ratings",
              "price_ranges",
              "applied_filters"
            ],
            "additionalProperties": false
          },
          "location": {
            "type": "object",
            "properties": {
              "delivery_zip": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "zip_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "store_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "domain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "delivery_zip",
              "store_id",
              "domain"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "page_type",
          "meta_data",
          "products",
          "facets",
          "location"
        ],
        "additionalProperties": false
      },
      "WalmartSearchCrawlQuery": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "delivery_zip": {
            "description": "Delivery zip code for localized results",
            "type": "string",
            "minLength": 1
          },
          "zip_code": {
            "description": "Zip code for localized results",
            "type": "string",
            "minLength": 1
          },
          "store_id": {
            "description": "Store id to localize results to",
            "type": "string",
            "minLength": 1
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "min_price": {
            "description": "Minimum price filter",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "max_price": {
            "description": "Maximum price filter",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "start_page": {
            "description": "First page to crawl (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "end_page": {
            "description": "Last page to crawl, max 25 pages from start_page",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "fulfillment_speed": {
            "description": "Fulfillment speed filter",
            "type": "string",
            "minLength": 1
          },
          "fulfillment_type": {
            "description": "Fulfillment type filter",
            "type": "string",
            "minLength": 1
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "search",
          "end_page"
        ],
        "additionalProperties": false
      },
      "WalmartProductQuery": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "minLength": 1,
            "description": "Walmart product id"
          },
          "slug": {
            "description": "Product URL slug",
            "type": "string",
            "minLength": 1
          },
          "delivery_zip": {
            "description": "Delivery zip code for localized results",
            "type": "string",
            "minLength": 1
          },
          "zip_code": {
            "description": "Zip code for localized results",
            "type": "string",
            "minLength": 1
          },
          "store_id": {
            "description": "Store id to localize results to",
            "type": "string",
            "minLength": 1
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "product_id"
        ],
        "additionalProperties": false
      },
      "WalmartProductResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "walmart"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "product"
            ]
          },
          "product_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "brand": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "seller": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "type": "object",
            "properties": {
              "current": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "original": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "discount_percentage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "current",
              "original",
              "currency",
              "display",
              "discount_percentage"
            ],
            "additionalProperties": false
          },
          "availability": {
            "type": "object",
            "properties": {
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "in_stock": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "status",
              "in_stock"
            ],
            "additionalProperties": false
          },
          "rating": {
            "type": "object",
            "properties": {
              "average": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "average",
              "count"
            ],
            "additionalProperties": false
          },
          "shipping": {
            "type": "object",
            "properties": {
              "free_shipping": {
                "type": "boolean"
              },
              "two_day_shipping": {
                "type": "boolean"
              },
              "pickup": {
                "type": "boolean"
              }
            },
            "required": [
              "free_shipping",
              "two_day_shipping",
              "pickup"
            ],
            "additionalProperties": false
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "specifications": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "location": {
            "type": "object",
            "properties": {
              "delivery_zip": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "zip_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "store_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "domain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "delivery_zip",
              "store_id",
              "domain"
            ],
            "additionalProperties": false
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "product_id",
          "title",
          "description",
          "brand",
          "seller",
          "price",
          "availability",
          "rating",
          "shipping",
          "images",
          "specifications",
          "location",
          "url"
        ],
        "additionalProperties": false
      },
      "CrawlRequest": {
        "type": "object",
        "properties": {
          "seeds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            },
            "description": "Starting URLs to crawl from"
          },
          "max_pages": {
            "description": "Cap on total pages crawled",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 200
          },
          "max_depth": {
            "description": "Max link depth from seeds",
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "same_domain_only": {
            "description": "Restrict crawl to seed domains",
            "type": "boolean"
          },
          "output": {
            "description": "Output formats per page (default [\"markdown\"])",
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown",
                "json"
              ]
            }
          },
          "extract": {
            "description": "Structured extraction config, requires `json` output",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract whole page, no config",
                    "enum": [
                      "page"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract fields via CSS selectors",
                    "enum": [
                      "selectors"
                    ]
                  },
                  "fields": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "selector": {
                          "type": "string",
                          "minLength": 1,
                          "description": "CSS selector to match"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "text",
                            "html",
                            "attr"
                          ],
                          "description": "What to extract from the matched element"
                        },
                        "attribute": {
                          "description": "Attribute name, required when type is 'attr'",
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "selector",
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    "description": "Named fields to extract"
                  }
                },
                "required": [
                  "mode",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract using a field-name/description schema",
                    "enum": [
                      "schema"
                    ]
                  },
                  "schema": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Field name to description map"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "schema"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract via free-text instruction",
                    "enum": [
                      "instruction"
                    ]
                  },
                  "instruction": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Free-text extraction instruction"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "instruction"
                ],
                "additionalProperties": false
              }
            ]
          },
          "timeout_ms": {
            "description": "Max crawl duration, in ms",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 300000
          },
          "proxy": {
            "type": "string",
            "enum": [
              "basic",
              "stealth",
              "auto"
            ],
            "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
          },
          "use_proxy": {
            "description": "Deprecated: use `proxy: \"stealth\"`. Go straight to the strongest access tier for every page crawled. Requires a paid plan.",
            "type": "boolean"
          }
        },
        "required": [
          "seeds"
        ],
        "additionalProperties": false
      },
      "MapRequest": {
        "type": "object",
        "properties": {
          "seeds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            },
            "description": "Starting URLs to map from"
          },
          "max_urls": {
            "description": "Cap on total URLs returned",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 100
          },
          "max_depth": {
            "description": "Max link depth from seeds",
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "same_domain_only": {
            "description": "Restrict mapping to seed domains",
            "type": "boolean"
          },
          "include_metadata": {
            "description": "Include page metadata in results",
            "type": "boolean"
          },
          "timeout_ms": {
            "description": "Max mapping duration, in ms",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 300000
          },
          "proxy": {
            "type": "string",
            "enum": [
              "basic",
              "stealth",
              "auto"
            ],
            "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
          },
          "use_proxy": {
            "description": "Deprecated: use `proxy: \"stealth\"`. Go straight to the strongest access tier for every URL mapped. Requires a paid plan.",
            "type": "boolean"
          }
        },
        "required": [
          "seeds"
        ],
        "additionalProperties": false
      },
      "InteractRequest": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Target page URL to open"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "session": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "Session id to reuse"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false,
            "description": "Reuse an existing browser session by id"
          },
          "actions": {
            "minItems": 1,
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Navigate to a URL",
                      "enum": [
                        "goto"
                      ]
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Click a matched element",
                      "enum": [
                        "click"
                      ]
                    },
                    "selector": {
                      "type": "string",
                      "minLength": 1
                    },
                    "settle_ms": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 30000
                    }
                  },
                  "required": [
                    "type",
                    "selector"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Type text into a matched element",
                      "enum": [
                        "type"
                      ]
                    },
                    "selector": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "selector",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Select an option in a matched <select>",
                      "enum": [
                        "select"
                      ]
                    },
                    "selector": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "selector",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Press a keyboard key",
                      "enum": [
                        "press"
                      ]
                    },
                    "key": {
                      "type": "string",
                      "minLength": 1
                    },
                    "selector": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "type",
                    "key"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Scroll the page or a matched element",
                      "enum": [
                        "scroll"
                      ]
                    },
                    "selector": {
                      "type": "string",
                      "minLength": 1
                    },
                    "direction": {
                      "type": "string",
                      "enum": [
                        "down",
                        "up"
                      ]
                    },
                    "amount": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "until_stable": {
                      "description": "Keep scrolling until the page stops loading new content",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Wait for a matched element to appear",
                      "enum": [
                        "wait_for"
                      ]
                    },
                    "selector": {
                      "type": "string",
                      "minLength": 1
                    },
                    "timeout_ms": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 30000
                    },
                    "optional": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "selector"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Wait a fixed duration",
                      "enum": [
                        "wait_ms"
                      ]
                    },
                    "duration_ms": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "type",
                    "duration_ms"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "description": "Ordered sequence of interaction steps to run"
          },
          "output": {
            "description": "Which output formats to return after actions",
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown",
                "json",
                "screenshot"
              ],
              "description": "Which output formats to return"
            }
          },
          "extract": {
            "description": "Structured extraction config, requires `json` output",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract whole page, no config",
                    "enum": [
                      "page"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract fields via CSS selectors",
                    "enum": [
                      "selectors"
                    ]
                  },
                  "fields": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "selector": {
                          "type": "string",
                          "minLength": 1,
                          "description": "CSS selector to match"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "text",
                            "html",
                            "attr"
                          ],
                          "description": "What to extract from the matched element"
                        },
                        "attribute": {
                          "description": "Attribute name, required when type is 'attr'",
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "selector",
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    "description": "Named fields to extract"
                  }
                },
                "required": [
                  "mode",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract using a field-name/description schema",
                    "enum": [
                      "schema"
                    ]
                  },
                  "schema": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Field name to description map"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "schema"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract via free-text instruction",
                    "enum": [
                      "instruction"
                    ]
                  },
                  "instruction": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Free-text extraction instruction"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "instruction"
                ],
                "additionalProperties": false
              }
            ]
          },
          "timeout_ms": {
            "description": "Max time for the whole interaction, in ms",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 300000
          },
          "proxy": {
            "type": "string",
            "enum": [
              "basic",
              "stealth",
              "auto"
            ],
            "description": "Proxy and escalation mode. \"basic\": no proxy at all (cheapest; if the target blocks it the request fails and tells you to use \"auto\"). \"stealth\": go straight to the strongest tier, a hardened browser behind a residential proxy (paid plans). \"auto\": try cheap steps first and escalate to a residential proxy only when needed, billed by the step that served the request (paid plans, the default). The Free plan is always \"basic\"."
          },
          "use_proxy": {
            "description": "Deprecated: use `proxy: \"stealth\"`. Go straight to the strongest access tier. Requires a paid plan.",
            "type": "boolean"
          }
        },
        "required": [
          "url",
          "actions"
        ],
        "additionalProperties": false
      },
      "SearchWorkflowRequest": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Search query text"
          },
          "provider": {
            "description": "Search provider to use",
            "type": "string",
            "enum": [
              "google"
            ]
          },
          "max_results": {
            "description": "Max number of results to return",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 10
          },
          "fetch_results": {
            "description": "Whether to fetch full content of result pages",
            "type": "boolean"
          },
          "output": {
            "description": "Output formats when fetching results (requires fetch_results)",
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown",
                "json",
                "screenshot"
              ],
              "description": "Which output formats to return"
            }
          },
          "extract": {
            "description": "Structured extraction config, requires `json` output",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract whole page, no config",
                    "enum": [
                      "page"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract fields via CSS selectors",
                    "enum": [
                      "selectors"
                    ]
                  },
                  "fields": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "selector": {
                          "type": "string",
                          "minLength": 1,
                          "description": "CSS selector to match"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "text",
                            "html",
                            "attr"
                          ],
                          "description": "What to extract from the matched element"
                        },
                        "attribute": {
                          "description": "Attribute name, required when type is 'attr'",
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "selector",
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    "description": "Named fields to extract"
                  }
                },
                "required": [
                  "mode",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract using a field-name/description schema",
                    "enum": [
                      "schema"
                    ]
                  },
                  "schema": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Field name to description map"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "schema"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "description": "Extract via free-text instruction",
                    "enum": [
                      "instruction"
                    ]
                  },
                  "instruction": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Free-text extraction instruction"
                  },
                  "engine": {
                    "type": "string",
                    "enum": [
                      "llm",
                      "heuristic"
                    ],
                    "description": "Extraction engine to use"
                  }
                },
                "required": [
                  "mode",
                  "instruction"
                ],
                "additionalProperties": false
              }
            ]
          },
          "timeout_ms": {
            "description": "Max workflow duration, in ms",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 300000
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "BookingSearchQuery": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "Destination text or lat,lng"
          },
          "check_in": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-in date (YYYY-MM-DD, today or later)"
          },
          "check_out": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-out date (YYYY-MM-DD, after check-in)"
          },
          "adults": {
            "description": "Number of adults (default 2)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children": {
            "description": "Number of children (default 0)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children_ages": {
            "description": "Comma-separated child ages; length must match children",
            "type": "string",
            "pattern": "^\\d+(,\\d+)*$"
          },
          "rooms": {
            "description": "Number of rooms (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "currency": {
            "description": "Display currency (ISO 4217)",
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "pos_country": {
            "description": "Point-of-sale market (ISO country code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "min_price": {
            "description": "Minimum per-night price",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "max_price": {
            "description": "Maximum per-night price",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "stars": {
            "description": "Comma-separated star ratings to include",
            "type": "string",
            "pattern": "^[1-5](,[1-5])*$"
          },
          "min_review_score": {
            "description": "Minimum review score, 1-10",
            "type": "string",
            "pattern": "^(10(\\.0)?|\\d(\\.\\d)?)$"
          },
          "page": {
            "description": "Result page number",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "pages": {
            "description": "Number of pages to fetch, max 5",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "location",
          "check_in",
          "check_out"
        ],
        "additionalProperties": false
      },
      "BookingSearchCrawlQuery": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "Destination text or lat,lng"
          },
          "check_in": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-in date (YYYY-MM-DD, today or later)"
          },
          "check_out": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-out date (YYYY-MM-DD, after check-in)"
          },
          "adults": {
            "description": "Number of adults (default 2)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children": {
            "description": "Number of children (default 0)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children_ages": {
            "description": "Comma-separated child ages; length must match children",
            "type": "string",
            "pattern": "^\\d+(,\\d+)*$"
          },
          "rooms": {
            "description": "Number of rooms (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "currency": {
            "description": "Display currency (ISO 4217)",
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "pos_country": {
            "description": "Point-of-sale market (ISO country code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "min_price": {
            "description": "Minimum per-night price",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "max_price": {
            "description": "Maximum per-night price",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "stars": {
            "description": "Comma-separated star ratings to include",
            "type": "string",
            "pattern": "^[1-5](,[1-5])*$"
          },
          "min_review_score": {
            "description": "Minimum review score, 1-10",
            "type": "string",
            "pattern": "^(10(\\.0)?|\\d(\\.\\d)?)$"
          },
          "start_page": {
            "description": "First page to crawl (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "end_page": {
            "description": "Last page to crawl, max 25 pages from start_page",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "location",
          "check_in",
          "check_out",
          "end_page"
        ],
        "additionalProperties": false
      },
      "BookingSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "booking"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "search"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "resolved_coordinates": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "lat": {
                        "type": "number"
                      },
                      "lng": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "lat",
                      "lng"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "end_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_requested": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_returned": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "number_of_results": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_properties": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "url",
              "location",
              "resolved_coordinates",
              "start_page",
              "end_page",
              "pages_requested",
              "pages_returned",
              "number_of_results",
              "number_of_properties"
            ],
            "additionalProperties": false
          },
          "stay": {
            "type": "object",
            "properties": {
              "check_in": {
                "type": "string"
              },
              "check_out": {
                "type": "string"
              },
              "nights": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "check_in",
              "check_out",
              "nights"
            ],
            "additionalProperties": false
          },
          "occupancy": {
            "type": "object",
            "properties": {
              "adults": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "children": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "children_ages": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "rooms": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "adults",
              "children",
              "children_ages",
              "rooms"
            ],
            "additionalProperties": false
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "pos_country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "position": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "property_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stars": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_score": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_label": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "nights": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "per_night": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "taxes_included": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "amount",
                    "currency",
                    "nights",
                    "per_night",
                    "taxes_included",
                    "display"
                  ],
                  "additionalProperties": false
                },
                "free_cancellation": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "address": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "coordinates": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "lat": {
                          "type": "number"
                        },
                        "lng": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "lat",
                        "lng"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "position",
                "property_id",
                "name",
                "type",
                "stars",
                "review_score",
                "review_count",
                "review_label",
                "price",
                "free_cancellation",
                "address",
                "coordinates",
                "thumbnail",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "applied_filters": {
            "type": "object",
            "properties": {
              "sort_by": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "min_price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stars": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "min_review_score": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "sort_by",
              "min_price",
              "max_price",
              "stars",
              "min_review_score"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "meta_data",
          "stay",
          "occupancy",
          "currency",
          "pos_country",
          "properties",
          "applied_filters"
        ],
        "additionalProperties": false
      },
      "BookingPropertyQuery": {
        "type": "object",
        "properties": {
          "property_id": {
            "description": "Booking property slug/id",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Booking property URL",
            "type": "string",
            "format": "uri"
          },
          "check_in": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-in date (YYYY-MM-DD, today or later)"
          },
          "check_out": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-out date (YYYY-MM-DD, after check-in)"
          },
          "adults": {
            "description": "Number of adults (default 2)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children": {
            "description": "Number of children (default 0)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children_ages": {
            "description": "Comma-separated child ages; length must match children",
            "type": "string",
            "pattern": "^\\d+(,\\d+)*$"
          },
          "rooms": {
            "description": "Number of rooms (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "currency": {
            "description": "Display currency (ISO 4217)",
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "pos_country": {
            "description": "Point-of-sale market (ISO country code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "check_in",
          "check_out"
        ],
        "additionalProperties": false
      },
      "BookingPropertyResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "booking"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "property"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "property_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "stars": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "coordinates": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  }
                },
                "required": [
                  "lat",
                  "lng"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "review_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "stay": {
            "type": "object",
            "properties": {
              "check_in": {
                "type": "string"
              },
              "check_out": {
                "type": "string"
              },
              "nights": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "check_in",
              "check_out",
              "nights"
            ],
            "additionalProperties": false
          },
          "occupancy": {
            "type": "object",
            "properties": {
              "adults": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "children": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "children_ages": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "rooms": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "adults",
              "children",
              "children_ages",
              "rooms"
            ],
            "additionalProperties": false
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "pos_country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "available": {
            "type": "boolean"
          },
          "rooms": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "board_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "max_occupancy": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "nights": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "per_night": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "taxes_included": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "amount",
                    "currency",
                    "nights",
                    "per_night",
                    "taxes_included",
                    "display"
                  ],
                  "additionalProperties": false
                },
                "free_cancellation": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cancellation_policy": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pay_at_property": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "name",
                "board_type",
                "max_occupancy",
                "price",
                "free_cancellation",
                "cancellation_policy",
                "pay_at_property"
              ],
              "additionalProperties": false
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "property_id",
          "name",
          "type",
          "stars",
          "description",
          "address",
          "coordinates",
          "review_score",
          "review_count",
          "amenities",
          "images",
          "stay",
          "occupancy",
          "currency",
          "pos_country",
          "available",
          "rooms",
          "url"
        ],
        "additionalProperties": false
      },
      "BookingReviewsQuery": {
        "type": "object",
        "properties": {
          "property_id": {
            "description": "Booking property slug/id",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Booking property URL",
            "type": "string",
            "format": "uri"
          },
          "page": {
            "description": "Review page number (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "sort_by": {
            "description": "Review sort order",
            "type": "string",
            "minLength": 1
          },
          "language": {
            "description": "Review language filter (ISO 2-letter code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "include_review_details": {
            "description": "Click through to fetch individual review cards (+10 credits, 25 total)",
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "additionalProperties": false
      },
      "BookingReviewsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "booking"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "reviews"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "property_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "sort_by": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "language": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_reviews_returned": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "reviews_source": {
                "type": "string",
                "enum": [
                  "plain",
                  "click"
                ]
              }
            },
            "required": [
              "page",
              "sort_by",
              "language",
              "number_of_reviews_returned",
              "reviews_source"
            ],
            "additionalProperties": false
          },
          "score_breakdown": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "number"
            }
          },
          "reviews": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "positive": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "negative": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "traveler_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "room_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stay_date": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "nationality": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reviewed_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "title",
                "score",
                "positive",
                "negative",
                "traveler_type",
                "room_type",
                "stay_date",
                "nationality",
                "reviewed_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "property_id",
          "name",
          "review_score",
          "review_count",
          "meta_data",
          "score_breakdown",
          "reviews"
        ],
        "additionalProperties": false
      },
      "AgodaSearchQuery": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "Destination text"
          },
          "check_in": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-in date (YYYY-MM-DD, today or later)"
          },
          "check_out": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-out date (YYYY-MM-DD, after check-in)"
          },
          "adults": {
            "description": "Number of adults (default 2)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children": {
            "description": "Number of children (default 0)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children_ages": {
            "description": "Comma-separated child ages; length must match children",
            "type": "string",
            "pattern": "^\\d+(,\\d+)*$"
          },
          "rooms": {
            "description": "Number of rooms (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "currency": {
            "description": "Display currency (ISO 4217)",
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "pos_country": {
            "description": "Point-of-sale market (ISO country code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "sort_by": {
            "description": "Sort order for results",
            "type": "string",
            "minLength": 1
          },
          "min_price": {
            "description": "Minimum per-night price",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "max_price": {
            "description": "Maximum per-night price",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "stars": {
            "description": "Comma-separated star ratings to include",
            "type": "string",
            "pattern": "^[1-5](,[1-5])*$"
          },
          "min_review_score": {
            "description": "Minimum review score, 1-10",
            "type": "string",
            "pattern": "^(10(\\.0)?|\\d(\\.\\d)?)$"
          },
          "page": {
            "description": "Result page number",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "pages": {
            "description": "Number of pages to fetch, max 5",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "location",
          "check_in",
          "check_out"
        ],
        "additionalProperties": false
      },
      "AgodaSearchCrawlQuery": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "Destination text"
          },
          "check_in": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-in date (YYYY-MM-DD, today or later)"
          },
          "check_out": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-out date (YYYY-MM-DD, after check-in)"
          },
          "adults": {
            "description": "Number of adults (default 2)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children": {
            "description": "Number of children (default 0)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children_ages": {
            "description": "Comma-separated child ages; length must match children",
            "type": "string",
            "pattern": "^\\d+(,\\d+)*$"
          },
          "rooms": {
            "description": "Number of rooms (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "currency": {
            "description": "Display currency (ISO 4217)",
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "pos_country": {
            "description": "Point-of-sale market (ISO country code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "start_page": {
            "description": "First page to crawl (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "end_page": {
            "description": "Last page to crawl, max 25 pages from start_page",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "timeout_ms": {
            "description": "Max time to wait per page, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "location",
          "check_in",
          "check_out",
          "end_page"
        ],
        "additionalProperties": false
      },
      "AgodaSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "agoda"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "search"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "location": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "resolved_city_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "start_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "end_page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_requested": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "pages_returned": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "number_of_results": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_properties": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "url",
              "location",
              "resolved_city_id",
              "start_page",
              "end_page",
              "pages_requested",
              "pages_returned",
              "number_of_results",
              "number_of_properties"
            ],
            "additionalProperties": false
          },
          "stay": {
            "type": "object",
            "properties": {
              "check_in": {
                "type": "string"
              },
              "check_out": {
                "type": "string"
              },
              "nights": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "check_in",
              "check_out",
              "nights"
            ],
            "additionalProperties": false
          },
          "occupancy": {
            "type": "object",
            "properties": {
              "adults": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "children": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "children_ages": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "rooms": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "adults",
              "children",
              "children_ages",
              "rooms"
            ],
            "additionalProperties": false
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "pos_country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "position": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "property_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stars": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_score": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "review_label": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "nights": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "per_night": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "taxes_included": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "amount",
                    "currency",
                    "nights",
                    "per_night",
                    "taxes_included",
                    "display"
                  ],
                  "additionalProperties": false
                },
                "free_cancellation": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "address": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "coordinates": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "lat": {
                          "type": "number"
                        },
                        "lng": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "lat",
                        "lng"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "position",
                "property_id",
                "name",
                "type",
                "stars",
                "review_score",
                "review_count",
                "review_label",
                "price",
                "free_cancellation",
                "address",
                "coordinates",
                "thumbnail",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "applied_filters": {
            "type": "object",
            "properties": {
              "sort_by": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "min_price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stars": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "min_review_score": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "sort_by",
              "min_price",
              "max_price",
              "stars",
              "min_review_score"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "meta_data",
          "stay",
          "occupancy",
          "currency",
          "pos_country",
          "properties",
          "applied_filters"
        ],
        "additionalProperties": false
      },
      "AgodaPropertyQuery": {
        "type": "object",
        "properties": {
          "property_id": {
            "description": "Agoda numeric property ID",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Agoda property URL",
            "type": "string",
            "format": "uri"
          },
          "city_id": {
            "description": "Agoda numeric city ID, required alongside property_id when url is not given (see GET /v1/agoda/search's resolved_city_id)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "check_in": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-in date (YYYY-MM-DD, today or later)"
          },
          "check_out": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Check-out date (YYYY-MM-DD, after check-in)"
          },
          "adults": {
            "description": "Number of adults (default 2)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children": {
            "description": "Number of children (default 0)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "children_ages": {
            "description": "Comma-separated child ages; length must match children",
            "type": "string",
            "pattern": "^\\d+(,\\d+)*$"
          },
          "rooms": {
            "description": "Number of rooms (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "currency": {
            "description": "Display currency (ISO 4217)",
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "pos_country": {
            "description": "Point-of-sale market (ISO country code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "description": "Device profile to emulate"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "required": [
          "check_in",
          "check_out"
        ],
        "additionalProperties": false
      },
      "AgodaPropertyResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "agoda"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "property"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "property_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "stars": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "coordinates": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  }
                },
                "required": [
                  "lat",
                  "lng"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "review_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "stay": {
            "type": "object",
            "properties": {
              "check_in": {
                "type": "string"
              },
              "check_out": {
                "type": "string"
              },
              "nights": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "check_in",
              "check_out",
              "nights"
            ],
            "additionalProperties": false
          },
          "occupancy": {
            "type": "object",
            "properties": {
              "adults": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "children": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "children_ages": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "rooms": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "adults",
              "children",
              "children_ages",
              "rooms"
            ],
            "additionalProperties": false
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "pos_country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "available": {
            "type": "boolean"
          },
          "rooms": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "board_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "max_occupancy": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "nights": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "per_night": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "taxes_included": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "amount",
                    "currency",
                    "nights",
                    "per_night",
                    "taxes_included",
                    "display"
                  ],
                  "additionalProperties": false
                },
                "free_cancellation": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cancellation_policy": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pay_at_property": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "name",
                "board_type",
                "max_occupancy",
                "price",
                "free_cancellation",
                "cancellation_policy",
                "pay_at_property"
              ],
              "additionalProperties": false
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "property_id",
          "name",
          "type",
          "stars",
          "description",
          "address",
          "coordinates",
          "review_score",
          "review_count",
          "amenities",
          "images",
          "stay",
          "occupancy",
          "currency",
          "pos_country",
          "available",
          "rooms",
          "url"
        ],
        "additionalProperties": false
      },
      "AgodaReviewsQuery": {
        "type": "object",
        "properties": {
          "property_id": {
            "description": "Agoda numeric property ID",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Agoda property URL",
            "type": "string",
            "format": "uri"
          },
          "city_id": {
            "description": "Agoda numeric city ID, required alongside property_id when url is not given (see GET /v1/agoda/search's resolved_city_id)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "page": {
            "description": "Review page number (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "sort_by": {
            "description": "Review sort order",
            "type": "string",
            "minLength": 1
          },
          "language": {
            "description": "Review language filter (ISO 2-letter code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "timeout_ms": {
            "description": "Max time to wait, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "additionalProperties": false
      },
      "AgodaReviewsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "agoda"
            ]
          },
          "page_type": {
            "type": "string",
            "enum": [
              "reviews"
            ]
          },
          "snapshot_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "property_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "meta_data": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "sort_by": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "language": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "number_of_reviews_returned": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "page",
              "sort_by",
              "language",
              "number_of_reviews_returned"
            ],
            "additionalProperties": false
          },
          "score_breakdown": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "number"
            }
          },
          "reviews": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "review_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "positive": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "negative": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "traveler_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "room_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stay_date": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "nationality": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reviewed_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "review_id",
                "title",
                "score",
                "positive",
                "negative",
                "traveler_type",
                "room_type",
                "stay_date",
                "nationality",
                "reviewed_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "page_type",
          "snapshot_at",
          "property_id",
          "name",
          "review_score",
          "review_count",
          "meta_data",
          "score_breakdown",
          "reviews"
        ],
        "additionalProperties": false
      },
      "AgodaReviewsCrawlQuery": {
        "type": "object",
        "properties": {
          "property_id": {
            "description": "Agoda numeric property ID",
            "type": "string",
            "minLength": 1
          },
          "url": {
            "description": "Full Agoda property URL",
            "type": "string",
            "format": "uri"
          },
          "city_id": {
            "description": "Agoda numeric city ID, required alongside property_id when url is not given (see GET /v1/agoda/search's resolved_city_id)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "start_page": {
            "description": "First review page to crawl (default 1)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "end_page": {
            "description": "Last review page to crawl (default start_page -- single page)",
            "type": "string",
            "pattern": "^\\d+$"
          },
          "sort_by": {
            "description": "Review sort order",
            "type": "string",
            "minLength": 1
          },
          "language": {
            "description": "Review language filter (ISO 2-letter code)",
            "type": "string",
            "pattern": "^[A-Za-z]{2}$"
          },
          "timeout_ms": {
            "description": "Max time to wait per page, in ms",
            "type": "string",
            "pattern": "^\\d+$"
          }
        },
        "additionalProperties": false
      },
      "CreateMonitorRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Human-readable monitor name"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Page to check on each run"
          },
          "mode": {
            "description": "\"fields\" diffs named extracted fields (default); \"content\" diffs the whole page as markdown",
            "type": "string",
            "enum": [
              "fields",
              "content"
            ]
          },
          "extract": {
            "description": "Field schema, required for mode \"fields\" (e.g. {\"price\": \"the current price\"})",
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "cron": {
            "type": "string",
            "minLength": 1,
            "description": "Cron expression for the check schedule"
          },
          "watch": {
            "type": "object",
            "properties": {
              "fields": {
                "description": "Field names to compare between runs (mode \"fields\" only)",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "on": {
                "description": "Notify when any watched field changes, or only when all do (default: any)",
                "type": "string",
                "enum": [
                  "any",
                  "all"
                ]
              },
              "notify_on_first_run": {
                "description": "Whether the very first run counts as a change (default: false)",
                "type": "boolean"
              },
              "thresholds": {
                "description": "Per-field minimum-change thresholds before a value change counts",
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "abs": {
                      "description": "Trigger only if the field moves by at least this absolute amount",
                      "type": "number"
                    },
                    "pct": {
                      "description": "Trigger only if the field moves by at least this percentage of its previous value (0-100)",
                      "type": "number"
                    }
                  }
                }
              },
              "ignore_patterns": {
                "description": "Regex patterns; a field change matching one is ignored",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "digest_interval_minutes": {
                "description": "Batch changes into a periodic digest instead of notifying per-run",
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            }
          },
          "webhook_endpoint_id": {
            "description": "Webhook endpoint to notify on a detected change",
            "type": "string"
          }
        },
        "required": [
          "name",
          "url",
          "cron"
        ]
      },
      "UpdateMonitorRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "extract": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "cron": {
            "type": "string"
          },
          "watch": {
            "type": "object",
            "properties": {
              "fields": {
                "description": "Field names to compare between runs (mode \"fields\" only)",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "on": {
                "description": "Notify when any watched field changes, or only when all do (default: any)",
                "type": "string",
                "enum": [
                  "any",
                  "all"
                ]
              },
              "notify_on_first_run": {
                "description": "Whether the very first run counts as a change (default: false)",
                "type": "boolean"
              },
              "thresholds": {
                "description": "Per-field minimum-change thresholds before a value change counts",
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "abs": {
                      "description": "Trigger only if the field moves by at least this absolute amount",
                      "type": "number"
                    },
                    "pct": {
                      "description": "Trigger only if the field moves by at least this percentage of its previous value (0-100)",
                      "type": "number"
                    }
                  }
                }
              },
              "ignore_patterns": {
                "description": "Regex patterns; a field change matching one is ignored",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "digest_interval_minutes": {
                "description": "Batch changes into a periodic digest instead of notifying per-run",
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            }
          },
          "webhook_endpoint_id": {
            "type": "string"
          },
          "active": {
            "description": "Pause (false) or resume (true) the monitor's schedule",
            "type": "boolean"
          }
        }
      },
      "MonitorResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "fields",
              "content"
            ]
          },
          "extract": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "cron": {
            "type": "string"
          },
          "watch": {
            "type": "object",
            "properties": {
              "fields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "on": {
                "type": "string",
                "enum": [
                  "any",
                  "all"
                ]
              },
              "notify_on_first_run": {
                "type": "boolean"
              },
              "thresholds": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "abs": {
                          "description": "Trigger only if the field moves by at least this absolute amount",
                          "type": "number"
                        },
                        "pct": {
                          "description": "Trigger only if the field moves by at least this percentage of its previous value (0-100)",
                          "type": "number"
                        }
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "ignore_patterns": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "digest_interval_minutes": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "fields",
              "on",
              "notify_on_first_run",
              "thresholds",
              "ignore_patterns",
              "digest_interval_minutes"
            ]
          },
          "webhook_endpoint_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "active": {
            "type": "boolean"
          },
          "last_run_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_run_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "last_digest_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          }
        },
        "required": [
          "request_id",
          "id",
          "tenant_id",
          "name",
          "url",
          "mode",
          "extract",
          "cron",
          "watch",
          "webhook_endpoint_id",
          "active",
          "last_run_at",
          "next_run_at",
          "last_digest_at",
          "created_at",
          "updated_at"
        ]
      },
      "MonitorListResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "monitors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "tenant_id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "mode": {
                  "type": "string",
                  "enum": [
                    "fields",
                    "content"
                  ]
                },
                "extract": {
                  "anyOf": [
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cron": {
                  "type": "string"
                },
                "watch": {
                  "type": "object",
                  "properties": {
                    "fields": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "on": {
                      "type": "string",
                      "enum": [
                        "any",
                        "all"
                      ]
                    },
                    "notify_on_first_run": {
                      "type": "boolean"
                    },
                    "thresholds": {
                      "anyOf": [
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "object",
                            "properties": {
                              "abs": {
                                "description": "Trigger only if the field moves by at least this absolute amount",
                                "type": "number"
                              },
                              "pct": {
                                "description": "Trigger only if the field moves by at least this percentage of its previous value (0-100)",
                                "type": "number"
                              }
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ignore_patterns": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "digest_interval_minutes": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "fields",
                    "on",
                    "notify_on_first_run",
                    "thresholds",
                    "ignore_patterns",
                    "digest_interval_minutes"
                  ]
                },
                "webhook_endpoint_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "active": {
                  "type": "boolean"
                },
                "last_run_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "next_run_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "last_digest_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                }
              },
              "required": [
                "id",
                "tenant_id",
                "name",
                "url",
                "mode",
                "extract",
                "cron",
                "watch",
                "webhook_endpoint_id",
                "active",
                "last_run_at",
                "next_run_at",
                "last_digest_at",
                "created_at",
                "updated_at"
              ]
            }
          }
        },
        "required": [
          "request_id",
          "monitors"
        ]
      },
      "MonitorTriggerResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "job_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "request_id",
          "run_id",
          "job_id"
        ]
      },
      "MonitorRunsResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "runs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "scheduleId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "jobId": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "running",
                    "completed",
                    "failed",
                    "skipped"
                  ]
                },
                "triggeredAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                },
                "completedAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "error": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "extractedWatchValues": {
                  "anyOf": [
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "scheduleId",
                "tenantId",
                "jobId",
                "status",
                "triggeredAt",
                "completedAt",
                "error",
                "extractedWatchValues"
              ]
            }
          }
        },
        "required": [
          "request_id",
          "runs"
        ]
      },
      "MonitorLatestRunResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "scheduleId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "jobId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "skipped"
            ]
          },
          "triggeredAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          },
          "completedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "extractedWatchValues": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "description": "The completed job's result payload, or null if the run has no linked job"
          }
        },
        "required": [
          "request_id",
          "id",
          "scheduleId",
          "tenantId",
          "jobId",
          "status",
          "triggeredAt",
          "completedAt",
          "error",
          "extractedWatchValues",
          "result"
        ]
      },
      "MonitorChangesResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "scheduleId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "runId": {
                  "type": "string"
                },
                "previousRunId": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "changes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field": {
                        "type": "string"
                      },
                      "previousValue": {},
                      "newValue": {}
                    },
                    "required": [
                      "field",
                      "previousValue",
                      "newValue"
                    ]
                  }
                },
                "detectedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                }
              },
              "required": [
                "id",
                "scheduleId",
                "tenantId",
                "runId",
                "previousRunId",
                "changes",
                "detectedAt"
              ]
            }
          }
        },
        "required": [
          "request_id",
          "changes"
        ]
      },
      "MonitorLatestChangeResponse": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "scheduleId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "runId": {
            "type": "string"
          },
          "previousRunId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string"
                },
                "previousValue": {},
                "newValue": {}
              },
              "required": [
                "field",
                "previousValue",
                "newValue"
              ]
            }
          },
          "detectedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
          }
        },
        "required": [
          "request_id",
          "id",
          "scheduleId",
          "tenantId",
          "runId",
          "previousRunId",
          "changes",
          "detectedAt"
        ]
      },
      "TelegramChannelQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TelegramChannelResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "telegram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "channel": {
            "type": "object",
            "properties": {
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subscriber_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "member_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "photo_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "video_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "file_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "link_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "handle",
              "name",
              "description",
              "url",
              "avatar_url",
              "is_verified",
              "subscriber_count",
              "member_count",
              "photo_count",
              "video_count",
              "file_count",
              "link_count"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "channel"
        ],
        "additionalProperties": false
      },
      "TelegramChannelPostsQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "cursor": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TelegramChannelPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "telegram"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "channel": {
            "type": "object",
            "properties": {
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subscriber_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "member_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "photo_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "video_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "file_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "link_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "handle",
              "name",
              "description",
              "url",
              "avatar_url",
              "is_verified",
              "subscriber_count",
              "member_count",
              "photo_count",
              "video_count",
              "file_count",
              "link_count"
            ],
            "additionalProperties": false
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "view_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reactions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "emoji": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "count": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "emoji",
                      "count"
                    ],
                    "additionalProperties": false
                  }
                },
                "reaction_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "forwarded_from": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "author_name",
                "text",
                "published_at",
                "view_count",
                "reactions",
                "reaction_count",
                "forwarded_from"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_more": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "channel",
          "posts",
          "cursor",
          "has_more"
        ],
        "additionalProperties": false
      },
      "RumbleSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          },
          "cursor": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "RumbleSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "rumble"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "duration": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "view_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "title",
                "thumbnail",
                "duration",
                "published_at",
                "view_count",
                "type"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results",
          "cursor"
        ],
        "additionalProperties": false
      },
      "RumbleChannelVideosQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          },
          "cursor": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "RumbleChannelVideosResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "rumble"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "channel": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "name",
              "url",
              "handle"
            ],
            "additionalProperties": false
          },
          "videos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "duration": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "view_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "title",
                "thumbnail",
                "duration",
                "published_at",
                "view_count",
                "type"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "channel",
          "videos",
          "cursor"
        ],
        "additionalProperties": false
      },
      "RumbleVideoQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "RumbleVideoResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "rumble"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "video": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumbnail": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "published_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "like_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "channel": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "handle": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "url",
                  "handle"
                ],
                "additionalProperties": false
              },
              "is_live": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "title",
              "description",
              "thumbnail",
              "duration",
              "published_at",
              "view_count",
              "like_count",
              "channel",
              "is_live"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "video"
        ],
        "additionalProperties": false
      },
      "TiktokShopSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "TiktokShopSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "tiktok_shop"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "product_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currency": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rating": {
                  "type": "object",
                  "properties": {
                    "score": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "score",
                    "count"
                  ],
                  "additionalProperties": false
                },
                "seller": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "product_id",
                "title",
                "price",
                "currency",
                "thumbnail_url",
                "rating",
                "seller"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "TiktokShopProductQuery": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "TiktokShopProductResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "tiktok_shop"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "product": {
            "type": "object",
            "properties": {
              "product_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "in_stock": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rating": {
                "type": "object",
                "properties": {
                  "score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "score",
                  "count"
                ],
                "additionalProperties": false
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "seller": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "id"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "product_id",
              "title",
              "description",
              "price",
              "currency",
              "in_stock",
              "rating",
              "images",
              "seller"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "product"
        ],
        "additionalProperties": false
      },
      "TruthSocialProfileQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TruthSocialProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "truth_social"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "note": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "header": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "following_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "statuses_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "username",
              "display_name",
              "note",
              "url",
              "avatar",
              "header",
              "followers_count",
              "following_count",
              "statuses_count",
              "created_at",
              "verified",
              "website"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "TruthSocialUserPostsQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "next_max_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TruthSocialUserPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "truth_social"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "content": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "visibility": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "account": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "followers_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "following_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "statuses_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verified": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "username",
                    "display_name",
                    "followers_count",
                    "following_count",
                    "statuses_count",
                    "verified"
                  ],
                  "additionalProperties": false
                },
                "replies_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reblogs_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "favourites_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "text",
                "content",
                "created_at",
                "visibility",
                "account",
                "replies_count",
                "reblogs_count",
                "favourites_count"
              ],
              "additionalProperties": false
            }
          },
          "next_max_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts",
          "next_max_id"
        ],
        "additionalProperties": false
      },
      "TruthSocialPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "TruthSocialPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "truth_social"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "visibility": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "account": {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "followers_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "following_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "statuses_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "username",
                  "display_name",
                  "followers_count",
                  "following_count",
                  "statuses_count",
                  "verified"
                ],
                "additionalProperties": false
              },
              "replies_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reblogs_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "favourites_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "text",
              "content",
              "created_at",
              "visibility",
              "account",
              "replies_count",
              "reblogs_count",
              "favourites_count"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "BlueskyProfileQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "user_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "BlueskyProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "bluesky"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "did": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "follows_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "posts_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "did",
              "handle",
              "display_name",
              "avatar",
              "description",
              "followers_count",
              "follows_count",
              "posts_count",
              "created_at",
              "verified"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "BlueskyUserPostsQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "user_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "BlueskyUserPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "bluesky"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "uri": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cid": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "did": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "handle": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "display_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verified": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "did",
                    "handle",
                    "display_name",
                    "avatar",
                    "verified"
                  ],
                  "additionalProperties": false
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reply_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "repost_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "like_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "quote_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "indexed_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "uri",
                "cid",
                "author",
                "text",
                "created_at",
                "reply_count",
                "repost_count",
                "like_count",
                "quote_count",
                "indexed_at"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts",
          "cursor"
        ],
        "additionalProperties": false
      },
      "BlueskyPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "BlueskyPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "bluesky"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "uri": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cid": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "did": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "handle": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "did",
                  "handle",
                  "display_name",
                  "avatar",
                  "verified"
                ],
                "additionalProperties": false
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reply_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "repost_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "like_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "quote_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "indexed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "uri",
              "cid",
              "author",
              "text",
              "created_at",
              "reply_count",
              "repost_count",
              "like_count",
              "quote_count",
              "indexed_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "TwitchProfileQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TwitchProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitch"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_live": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "current_viewers_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "profile_image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "banner_image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_partner": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "handle",
              "display_name",
              "is_live",
              "current_viewers_count",
              "profile_image_url",
              "banner_image_url",
              "description",
              "followers",
              "is_partner"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "TwitchUserVideosQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TwitchUserVideosResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitch"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_live": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "current_viewers_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "profile_image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "banner_image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_partner": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "handle",
              "display_name",
              "is_live",
              "current_viewers_count",
              "profile_image_url",
              "banner_image_url",
              "description",
              "followers",
              "is_partner"
            ],
            "additionalProperties": false
          },
          "videos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "length_seconds": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "view_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "game_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "created_at",
                "length_seconds",
                "view_count",
                "thumbnail_url",
                "game_name"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile",
          "videos"
        ],
        "additionalProperties": false
      },
      "TwitchUserScheduleQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "TwitchUserScheduleResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitch"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "next_segment": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "start_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "start_at"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "segments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "start_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "end_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_cancelled": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "start_at",
                "end_at",
                "is_cancelled"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "next_segment",
          "segments"
        ],
        "additionalProperties": false
      },
      "TwitchClipQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "TwitchClipResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "twitch"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "clip": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "slug": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration_seconds": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "video_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "broadcaster": {
                "type": "object",
                "properties": {
                  "login": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "login",
                  "display_name"
                ],
                "additionalProperties": false
              },
              "game_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "slug",
              "url",
              "title",
              "view_count",
              "duration_seconds",
              "created_at",
              "thumbnail_url",
              "video_url",
              "broadcaster",
              "game_name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "clip"
        ],
        "additionalProperties": false
      },
      "AppleMusicArtistQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "AppleMusicArtistResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "apple_music"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "artist": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artwork_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "editorial_notes": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "top_songs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "title": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "artist_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "duration_ms": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "title",
                    "artist_name",
                    "url",
                    "duration_ms"
                  ],
                  "additionalProperties": false
                }
              },
              "albums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "title": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "track_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "title",
                    "track_count",
                    "url"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "url",
              "artwork_url",
              "editorial_notes",
              "top_songs",
              "albums"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "artist"
        ],
        "additionalProperties": false
      },
      "AppleMusicAlbumQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "AppleMusicAlbumResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "apple_music"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "album": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artist_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artist_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "track_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "release_info": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "title": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "duration_ms": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "track_number": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "title",
                    "duration_ms",
                    "track_number"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "title",
              "artist_name",
              "artist_url",
              "url",
              "track_count",
              "release_info",
              "tracks"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "album"
        ],
        "additionalProperties": false
      },
      "AppleMusicTrackQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "AppleMusicTrackResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "apple_music"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "track": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artist_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration_ms": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "track_number": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "explicit": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "artist_name",
              "url",
              "duration_ms",
              "track_number",
              "explicit"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "track"
        ],
        "additionalProperties": false
      },
      "AppleMusicSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "all",
              "song",
              "album",
              "artist",
              "playlist",
              "station",
              "music_video",
              "radio_episode"
            ]
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "AppleMusicSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "apple_music"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query",
              "type"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "kind": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "artist_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "duration_ms": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "kind",
                "title",
                "artist_name",
                "url",
                "duration_ms"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "SpotifyArtistQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SpotifyArtistResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "artist": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "uri": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "top_tracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uri": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "playcount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "uri",
                    "playcount"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "uri",
              "top_tracks"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "artist"
        ],
        "additionalProperties": false
      },
      "SpotifyTrackQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SpotifyTrackResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "track": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "uri": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration_ms": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "playcount": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "track_number": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "explicit": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artists": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uri": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "uri"
                  ],
                  "additionalProperties": false
                }
              },
              "album": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "uri": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "uri"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "uri",
              "name",
              "duration_ms",
              "playcount",
              "track_number",
              "explicit",
              "artists",
              "album"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "track"
        ],
        "additionalProperties": false
      },
      "SpotifyAlbumQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SpotifyAlbumResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "album": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "uri": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "release_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artists": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uri": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "uri"
                  ],
                  "additionalProperties": false
                }
              },
              "tracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uri": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "duration_ms": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "playcount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "track_number": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "explicit": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "artists": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "uri": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "uri"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "album": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "uri": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "uri"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "uri",
                    "name",
                    "duration_ms",
                    "playcount",
                    "track_number",
                    "explicit",
                    "artists",
                    "album"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "uri",
              "name",
              "type",
              "release_date",
              "label",
              "artists",
              "tracks"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "album"
        ],
        "additionalProperties": false
      },
      "SpotifyPlaylistQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          },
          "cursor": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SpotifyPlaylistResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "playlist": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "uri": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "owner_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "total_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uri": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "duration_ms": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "playcount": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "track_number": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "explicit": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "artists": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "uri": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "uri"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "album": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "uri": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "uri"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "uri",
                    "name",
                    "duration_ms",
                    "playcount",
                    "track_number",
                    "explicit",
                    "artists",
                    "album"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "uri",
              "name",
              "description",
              "owner_name",
              "followers",
              "total_count",
              "tracks"
            ],
            "additionalProperties": false
          },
          "cursor": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "playlist",
          "cursor"
        ],
        "additionalProperties": false
      },
      "SpotifyPodcastQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SpotifyPodcastResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "podcast": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "uri": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "publisher_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "uri",
              "name",
              "description",
              "publisher_name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "podcast"
        ],
        "additionalProperties": false
      },
      "SpotifySearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "SpotifySearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "spotify"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "tracks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "uri": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "duration_ms": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "playcount": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "track_number": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "explicit": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "artists": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "uri": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "uri"
                    ],
                    "additionalProperties": false
                  }
                },
                "album": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "uri": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "uri"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "uri",
                "name",
                "duration_ms",
                "playcount",
                "track_number",
                "explicit",
                "artists",
                "album"
              ],
              "additionalProperties": false
            }
          },
          "artists": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "uri": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "uri"
              ],
              "additionalProperties": false
            }
          },
          "albums": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "uri": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "uri"
              ],
              "additionalProperties": false
            }
          },
          "playlists": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "uri": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "uri"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "tracks",
          "artists",
          "albums",
          "playlists"
        ],
        "additionalProperties": false
      },
      "SoundcloudArtistQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SoundcloudArtistResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "soundcloud"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "artist": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "city": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followings_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "track_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "username",
              "permalink",
              "permalink_url",
              "avatar_url",
              "description",
              "city",
              "country_code",
              "followers_count",
              "followings_count",
              "track_count",
              "verified"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "artist"
        ],
        "additionalProperties": false
      },
      "SoundcloudArtistTracksQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "SoundcloudArtistTracksResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "soundcloud"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "artist": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "city": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followings_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "track_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "username",
              "permalink",
              "permalink_url",
              "avatar_url",
              "description",
              "city",
              "country_code",
              "followers_count",
              "followings_count",
              "track_count",
              "verified"
            ],
            "additionalProperties": false
          },
          "tracks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "artwork_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "duration": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "playback_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "likes_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "genre": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "permalink_url",
                "artwork_url",
                "duration",
                "playback_count",
                "likes_count",
                "genre"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "request_id",
          "artist",
          "tracks",
          "cursor"
        ],
        "additionalProperties": false
      },
      "SoundcloudTrackQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "SoundcloudTrackResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "soundcloud"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "track": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artwork_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "playback_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "likes_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "genre": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "artist": {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "permalink": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "permalink_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "city": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "country_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "followers_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "followings_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "track_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "username",
                  "permalink",
                  "permalink_url",
                  "avatar_url",
                  "description",
                  "city",
                  "country_code",
                  "followers_count",
                  "followings_count",
                  "track_count",
                  "verified"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "title",
              "permalink_url",
              "artwork_url",
              "duration",
              "playback_count",
              "likes_count",
              "genre",
              "artist"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "track"
        ],
        "additionalProperties": false
      },
      "KwaiProfileQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "KwaiProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "kwai"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "handle": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "follower_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "following_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "like_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "public_post_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_private": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "handle",
              "username",
              "avatar_url",
              "verified",
              "follower_count",
              "following_count",
              "like_count",
              "public_post_count",
              "bio",
              "url",
              "is_private"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "KwaiUserPostsQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "KwaiUserPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "kwai"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caption": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "video_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cover_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "view_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "like_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "comment_count": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "handle": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "username": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatar_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verified": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "follower_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "following_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "like_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "public_post_count": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "handle",
                    "username",
                    "avatar_url",
                    "verified",
                    "follower_count",
                    "following_count",
                    "like_count",
                    "public_post_count"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "caption",
                "created_at",
                "video_url",
                "cover_url",
                "view_count",
                "like_count",
                "comment_count",
                "author"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "KwaiPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "KwaiPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "kwai"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "caption": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "video_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "like_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "comment_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "handle": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "follower_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "following_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "like_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "public_post_count": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "handle",
                  "username",
                  "avatar_url",
                  "verified",
                  "follower_count",
                  "following_count",
                  "like_count",
                  "public_post_count"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "url",
              "caption",
              "created_at",
              "video_url",
              "cover_url",
              "view_count",
              "like_count",
              "comment_count",
              "author"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "KickClipQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "KickClipResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "kick"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "clip": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clip_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "views": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "likes": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_mature": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creator": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "slug": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "slug"
                ],
                "additionalProperties": false
              },
              "channel": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "slug": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "slug"
                ],
                "additionalProperties": false
              },
              "category_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "clip_url",
              "thumbnail_url",
              "views",
              "likes",
              "duration",
              "created_at",
              "is_mature",
              "creator",
              "channel",
              "category_name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "clip"
        ],
        "additionalProperties": false
      },
      "SnapchatProfileQuery": {
        "type": "object",
        "properties": {
          "handle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "handle"
        ],
        "additionalProperties": false
      },
      "SnapchatProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "snapchat"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "profile_picture_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "snapcode_image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subscriber_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "has_story": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "username",
              "title",
              "bio",
              "profile_picture_url",
              "snapcode_image_url",
              "subscriber_count",
              "website_url",
              "has_story"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "SnapchatSpotlightQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "SnapchatSpotlightResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "snapchat"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "spotlight": {
            "type": "object",
            "properties": {
              "snap_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "share_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "comment_count": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration_ms": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creator_username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "snap_id",
              "description",
              "view_count",
              "share_count",
              "comment_count",
              "duration_ms",
              "thumbnail_url",
              "content_url",
              "creator_username"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "spotlight"
        ],
        "additionalProperties": false
      },
      "LinkInBioParams": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linktree",
              "komi",
              "pillar",
              "linkbio",
              "linkme"
            ]
          }
        },
        "required": [
          "provider"
        ],
        "additionalProperties": false
      },
      "LinkInBioQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "LinkInBioResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linktree",
              "komi",
              "pillar",
              "linkbio",
              "linkme"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "page": {
            "type": "object",
            "properties": {
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "links": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "icon_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "title",
                    "url",
                    "icon_url"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "display_name",
              "bio",
              "avatar_url",
              "links"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "page"
        ],
        "additionalProperties": false
      },
      "TiktokAdLibrarySearchQuery": {
        "type": "object",
        "properties": {
          "advertiser": {
            "description": "Advertiser account name",
            "type": "string",
            "minLength": 1
          },
          "query": {
            "description": "Free-text keyword search",
            "type": "string",
            "minLength": 1
          },
          "country": {
            "description": "ISO country code (not currently applied -- see docs)",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          }
        },
        "additionalProperties": false
      },
      "TiktokAdLibrarySearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "tiktok_ad_library"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "advertiser": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "advertiser",
              "query",
              "country"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ad_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "advertiser": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "account_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verified": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "account_id",
                    "verified"
                  ],
                  "additionalProperties": false
                },
                "format": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "video",
                        "image",
                        "spark_ad"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "first_shown_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "active",
                        "inactive"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "ad_id",
                "advertiser",
                "format",
                "thumbnail_url",
                "first_shown_at",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "TiktokAdLibraryAdQuery": {
        "type": "object",
        "properties": {
          "ad_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "ad_id"
        ],
        "additionalProperties": false
      },
      "TiktokAdLibraryAdResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "tiktok_ad_library"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "ad": {
            "type": "object",
            "properties": {
              "ad_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "advertiser": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "account_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "account_id",
                  "verified"
                ],
                "additionalProperties": false
              },
              "format": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "video",
                      "image",
                      "spark_ad"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creative": {
                "type": "object",
                "properties": {
                  "video_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "thumbnail_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "landing_page_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "video_url",
                  "thumbnail_url",
                  "landing_page_url"
                ],
                "additionalProperties": false
              },
              "first_shown_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "active",
                      "inactive"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reach_range": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "ad_id",
              "advertiser",
              "format",
              "creative",
              "first_shown_at",
              "status",
              "reach_range"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "ad"
        ],
        "additionalProperties": false
      },
      "GoogleAdLibrarySearchQuery": {
        "type": "object",
        "properties": {
          "advertiser": {
            "description": "Advertiser name or domain",
            "type": "string",
            "minLength": 1
          },
          "query": {
            "description": "Free-text search term -- resolved against advertiser names, not ad content",
            "type": "string",
            "minLength": 1
          },
          "region": {
            "description": "ISO country code",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          }
        },
        "additionalProperties": false
      },
      "GoogleAdLibrarySearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "google_ad_library"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "advertiser": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "region": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "advertiser",
              "query",
              "region"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ad_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "advertiser": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "domain": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verified": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "domain",
                    "verified"
                  ],
                  "additionalProperties": false
                },
                "format": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "text",
                        "image",
                        "video"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "first_shown_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "last_shown_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "regions": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "active",
                        "inactive"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "ad_id",
                "advertiser",
                "format",
                "thumbnail_url",
                "first_shown_at",
                "last_shown_at",
                "regions",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "GoogleAdLibraryAdQuery": {
        "type": "object",
        "properties": {
          "ad_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "ad_id"
        ],
        "additionalProperties": false
      },
      "GoogleAdLibraryAdResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "google_ad_library"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "ad": {
            "type": "object",
            "properties": {
              "ad_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "advertiser": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "domain": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "domain",
                  "verified"
                ],
                "additionalProperties": false
              },
              "format": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "text",
                      "image",
                      "video"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creative": {
                "type": "object",
                "properties": {
                  "headline": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "body": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "image_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "video_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "landing_page_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "headline",
                  "body",
                  "image_url",
                  "video_url",
                  "landing_page_url"
                ],
                "additionalProperties": false
              },
              "first_shown_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_shown_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "regions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "active",
                      "inactive"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "impressions_range": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "ad_id",
              "advertiser",
              "format",
              "creative",
              "first_shown_at",
              "last_shown_at",
              "regions",
              "status",
              "impressions_range"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "ad"
        ],
        "additionalProperties": false
      },
      "LinkedinAdLibrarySearchQuery": {
        "type": "object",
        "properties": {
          "advertiser": {
            "description": "Company Page vanity name or ID",
            "type": "string",
            "minLength": 1
          },
          "query": {
            "description": "Free-text keyword",
            "type": "string",
            "minLength": 1
          },
          "country": {
            "description": "ISO country code",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          }
        },
        "additionalProperties": false
      },
      "LinkedinAdLibrarySearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linkedin_ad_library"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "advertiser": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "advertiser",
              "query",
              "country"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ad_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "advertiser": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "vanity_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verified": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "vanity_name",
                    "verified"
                  ],
                  "additionalProperties": false
                },
                "format": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "text",
                        "image",
                        "video",
                        "carousel",
                        "sponsored_content"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thumbnail_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "first_shown_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "active",
                        "inactive"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "ad_id",
                "advertiser",
                "format",
                "thumbnail_url",
                "first_shown_at",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "LinkedinAdLibraryAdQuery": {
        "type": "object",
        "properties": {
          "ad_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "ad_id"
        ],
        "additionalProperties": false
      },
      "LinkedinAdLibraryAdResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linkedin_ad_library"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "ad": {
            "type": "object",
            "properties": {
              "ad_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "advertiser": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "vanity_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verified": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "vanity_name",
                  "verified"
                ],
                "additionalProperties": false
              },
              "format": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "text",
                      "image",
                      "video",
                      "carousel",
                      "sponsored_content"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creative": {
                "type": "object",
                "properties": {
                  "headline": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "body": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "image_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "video_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "landing_page_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "headline",
                  "body",
                  "image_url",
                  "video_url",
                  "landing_page_url"
                ],
                "additionalProperties": false
              },
              "first_shown_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "active",
                      "inactive"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "impressions_range": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "ad_id",
              "advertiser",
              "format",
              "creative",
              "first_shown_at",
              "status",
              "impressions_range"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "ad"
        ],
        "additionalProperties": false
      },
      "LinkedinCompanyQuery": {
        "type": "object",
        "properties": {
          "vanity_name": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "LinkedinCompanyResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linkedin"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "company": {
            "type": "object",
            "properties": {
              "vanity_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "industry": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "about": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "logo_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "headquarters": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "followers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "employees_range": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "followers",
                  "employees_range"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "vanity_name",
              "name",
              "industry",
              "about",
              "logo_url",
              "cover_url",
              "website",
              "headquarters",
              "counts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "company"
        ],
        "additionalProperties": false
      },
      "LinkedinCompanyPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linkedin"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "text",
                        "image",
                        "video",
                        "article"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "reposts": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "comments",
                    "reposts"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "url",
                "type",
                "text",
                "created_at",
                "stats"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "LinkedinPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "LinkedinPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "linkedin"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "text",
                      "image",
                      "video",
                      "article"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "vanity_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "logo_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "vanity_name",
                  "logo_url"
                ],
                "additionalProperties": false
              },
              "stats": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "comments": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "reposts": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "comments",
                  "reposts"
                ],
                "additionalProperties": false
              },
              "media": {
                "type": "object",
                "properties": {
                  "image_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "video_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "image_url",
                  "video_url"
                ],
                "additionalProperties": false
              },
              "article": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "title": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "url",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "type",
              "text",
              "created_at",
              "author",
              "stats",
              "media",
              "article"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "PinterestProfileQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "PinterestProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "pinterest"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "followers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "following": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "pins": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "boards": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "followers",
                  "following",
                  "pins",
                  "boards"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "username",
              "display_name",
              "bio",
              "avatar_url",
              "website",
              "is_verified",
              "counts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "PinterestPinsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "pinterest"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "pins": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "image_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "link": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "saves": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "saves",
                    "comments"
                  ],
                  "additionalProperties": false
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "title",
                "description",
                "image_url",
                "link",
                "stats",
                "created_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "pins"
        ],
        "additionalProperties": false
      },
      "PinterestPinQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "PinterestPinResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "pinterest"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "pin": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "image_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "link": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stats": {
                "type": "object",
                "properties": {
                  "saves": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "comments": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "saves",
                  "comments"
                ],
                "additionalProperties": false
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "video_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "board": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "display_name",
                  "avatar_url"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "url",
              "title",
              "description",
              "image_url",
              "link",
              "stats",
              "created_at",
              "video_url",
              "board",
              "author"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "pin"
        ],
        "additionalProperties": false
      },
      "PinterestSearchQuery": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "PinterestSearchResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "pinterest"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "query_context": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "image_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "link": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "saves": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "comments": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "saves",
                    "comments"
                  ],
                  "additionalProperties": false
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "title",
                "description",
                "image_url",
                "link",
                "stats",
                "created_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "query_context",
          "results"
        ],
        "additionalProperties": false
      },
      "ThreadsProfileQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "ThreadsProfileResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "threads"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "profile": {
            "type": "object",
            "properties": {
              "username": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bio": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "followers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "followers"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "username",
              "display_name",
              "bio",
              "avatar_url",
              "is_verified",
              "counts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "profile"
        ],
        "additionalProperties": false
      },
      "ThreadsPostsResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "threads"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "posts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "media": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "photo",
                          "video"
                        ]
                      },
                      "url": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                },
                "stats": {
                  "type": "object",
                  "properties": {
                    "likes": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replies": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "reposts": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "likes",
                    "replies",
                    "reposts"
                  ],
                  "additionalProperties": false
                },
                "is_reply": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "text",
                "created_at",
                "media",
                "stats",
                "is_reply"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "provider",
          "request_id",
          "posts"
        ],
        "additionalProperties": false
      },
      "ThreadsPostQuery": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "ThreadsPostResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": [
              "threads"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "post": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "media": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "photo",
                        "video"
                      ]
                    },
                    "url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "url"
                  ],
                  "additionalProperties": false
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "likes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replies": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "reposts": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "likes",
                  "replies",
                  "reposts"
                ],
                "additionalProperties": false
              },
              "is_reply": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "username": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "avatar_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "username",
                  "display_name",
                  "avatar_url"
                ],
                "additionalProperties": false
              },
              "in_reply_to": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "username": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "username"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "url",
              "text",
              "created_at",
              "media",
              "stats",
              "is_reply",
              "author",
              "in_reply_to"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "provider",
          "request_id",
          "post"
        ],
        "additionalProperties": false
      },
      "HackerNewsCommentItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "type": {
            "type": "string",
            "enum": [
              "story",
              "comment",
              "job",
              "poll",
              "pollopt"
            ]
          },
          "by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "time": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dead": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "score": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "descendants": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "kids": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "parent": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "parts": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "poll": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HackerNewsCommentItem"
            }
          }
        },
        "required": [
          "id",
          "type",
          "by",
          "time",
          "created_at",
          "text",
          "dead",
          "deleted",
          "title",
          "url",
          "score",
          "descendants",
          "kids",
          "parent",
          "parts",
          "poll"
        ],
        "additionalProperties": false
      },
      "WorkflowEnvelopeResponse": {
        "type": "object",
        "description": "Common envelope every workflow endpoint (crawl, map, interact, search) returns: request/step metadata plus a kind-specific `result`.",
        "properties": {
          "id": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "crawl",
              "map",
              "interact",
              "search"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "inline"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "partial",
              "failed"
            ]
          },
          "steps": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "result": {
            "type": "object",
            "description": "Kind-specific payload -- see the endpoint's example."
          },
          "diagnostics": {
            "type": "object"
          }
        },
        "required": [
          "id",
          "request_id",
          "kind",
          "mode",
          "status",
          "result"
        ]
      }
    }
  }
}
