{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/osintverse-com/json-schema/osintverse-com-search-create-request-schema.json",
  "title": "SearchCreateRequest",
  "description": "Request body for creating a new OSINT search.",
  "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/SearchCreateRequest",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "osint-industries",
        "leakradar",
        "leakosintbot",
        "facecheck",
        "picarta",
        "geoseeer",
        "predicta-search",
        "dehashed",
        "whoxy",
        "whoisxml",
        "securitytrails",
        "snusbase",
        "shodan",
        "hunter",
        "builtwith",
        "blockchair",
        "ipqs"
      ],
      "title": "Provider",
      "description": "OSINT provider identifier."
    },
    "input_type": {
      "type": "string",
      "enum": [
        "email",
        "username",
        "phone",
        "domain",
        "name",
        "image",
        "ip",
        "crypto"
      ],
      "title": "Input Type",
      "description": "Type of query value (email, username, domain, etc.)."
    },
    "query": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "title": "Query",
      "description": "Search value, normalized and validated per input_type."
    },
    "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 when the search 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": "OSINT Industries only. Defaults to false — premium modules are not included. Set true to include Snapchat, TikTok, and similar for an extra $1.80.",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "provider",
    "input_type",
    "query"
  ]
}