{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2captcha/json-schema/2captcha-post-tasks-request-request-schema.json",
  "title": "PostTasksRequestRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/2captcha-openapi-generated.yml#/components/schemas/PostTasksRequestRequest",
  "type": "object",
  "properties": {
    "task_type": {
      "type": "string",
      "description": "type of task, e.g., \"scrape\" or \"google_search\""
    },
    "url": {
      "type": "string",
      "description": "target page address"
    },
    "data_format": {
      "type": "string",
      "description": "raw, markdown, or screenshot"
    },
    "format": {
      "type": "string",
      "description": "json or raw (default json)"
    },
    "webhook_url": {
      "type": "string",
      "description": "notification URL for asynchronous tasks"
    },
    "webhook_method": {
      "type": "string",
      "description": "GET or POST (default GET)"
    },
    "webhook_data": {
      "type": "object",
      "description": "custom data sent with webhook"
    }
  },
  "required": [
    "task_type",
    "url"
  ]
}