{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/osintverse-com/json-schema/osintverse-com-search-bulk-create-request-schema.json",
  "title": "SearchBulkCreateRequest",
  "description": "Request body for creating many searches in one batch (queries × providers).",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/osintverse-com-api-openapi.json#/components/schemas/SearchBulkCreateRequest",
  "properties": {
    "input_type": {
      "type": "string",
      "enum": [
        "email",
        "username",
        "phone",
        "domain",
        "name",
        "image",
        "ip",
        "crypto"
      ],
      "title": "Input Type",
      "description": "Shared input type for every query in the batch."
    },
    "queries": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 50,
      "minItems": 1,
      "title": "Queries",
      "description": "Search values (max 50). Normalized and deduped after validation."
    },
    "providers": {
      "items": {
        "type": "string",
        "enum": [
          "osint-industries",
          "leakradar",
          "leakosintbot",
          "facecheck",
          "picarta",
          "geoseeer",
          "predicta-search",
          "dehashed",
          "whoxy",
          "whoisxml",
          "securitytrails",
          "snusbase",
          "shodan",
          "hunter",
          "builtwith",
          "blockchair",
          "ipqs"
        ]
      },
      "type": "array",
      "minItems": 1,
      "title": "Providers",
      "description": "Providers to run for each query. Cartesian product with queries must be ≤ 100."
    },
    "created_via": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "searchin",
            "graphin",
            "docs",
            "mcp"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Created Via",
      "description": "Web client origin (searchin, graphin, docs, or mcp). Ignored for API keys (always OSINTOne API)."
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "description": "Optional https URL that receives a signed POST for each search in the batch when it completes, fails, or is refunded. The event carries ids, status, and cost, never the query or results. Verify it with the secret from GET /v1/webhooks/secret."
    },
    "premium": {
      "type": "boolean",
      "title": "Premium",
      "description": "Defaults to false. When true, OSINT Industries jobs in the batch include premium modules (+$1.80 each). Ignored for other providers.",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "input_type",
    "queries",
    "providers"
  ]
}