Raw schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Search query. Supports operators: site:domain.com (domain filter), filetype:pdf (file type), +term (include), -term (exclude), AND/OR/NOT (boolean logic), lang:en (language). Example: \"machine learning (Python OR PyTorch) -TensorFlow filetype:pdf\""
},
"count": {
"default": 10,
"description": "Max results per section",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"freshness": {
"description": "day/week/month/year or YYYY-MM-DDtoYYYY-MM-DD",
"type": "string"
},
"offset": {
"description": "Pagination offset",
"type": "integer",
"minimum": 0,
"maximum": 9
},
"country": {
"description": "Country code",
"type": "string",
"enum": [
"AR",
"AU",
"AT",
"BE",
"BR",
"CA",
"CL",
"DK",
"FI",
"FR",
"DE",
"HK",
"IN",
"ID",
"IT",
"JP",
"KR",
"MY",
"MX",
"NL",
"NZ",
"NO",
"CN",
"PL",
"PT",
"PH",
"RU",
"SA",
"ZA",
"ES",
"SE",
"CH",
"TW",
"TR",
"GB",
"US"
]
},
"safesearch": {
"description": "Filter level",
"type": "string",
"enum": [
"off",
"moderate",
"strict"
]
},
"livecrawl": {
"description": "Live-crawl sections for full content",
"type": "string",
"enum": [
"web",
"news",
"all"
]
},
"livecrawl_formats": {
"description": "Formats for crawled content",
"type": "array",
"items": {
"type": "string",
"enum": [
"html",
"markdown"
]
}
},
"language": {
"default": "EN",
"description": "Language code (BCP 47 format)",
"type": "string",
"enum": [
"AR",
"EU",
"BN",
"BG",
"CA",
"ZH-HANS",
"ZH-HANT",
"HR",
"CS",
"DA",
"NL",
"EN",
"EN-GB",
"ET",
"FI",
"FR",
"GL",
"DE",
"EL",
"GU",
"HE",
"HI",
"HU",
"IS",
"IT",
"JA",
"KN",
"KO",
"LV",
"LT",
"MS",
"ML",
"MR",
"NB",
"PL",
"PT-BR",
"PT-PT",
"PA",
"RO",
"RU",
"SR",
"SK",
"SL",
"ES",
"SV",
"TA",
"TE",
"TH",
"TR",
"UK",
"VI"
]
},
"include_domains": {
"description": "Domains to include in results (up to 500)",
"maxItems": 500,
"type": "array",
"items": {
"type": "string"
}
},
"exclude_domains": {
"description": "Domains to exclude from results (up to 500)",
"maxItems": 500,
"type": "array",
"items": {
"type": "string"
}
},
"boost_domains": {
"description": "Domains to boost in search ranking (up to 500). Can combine with exclude_domains, but cannot combine with include_domains.",
"maxItems": 500,
"type": "array",
"items": {
"type": "string"
}
},
"crawl_timeout": {
"default": 10,
"description": "Crawl timeout in seconds (1-60)",
"type": "integer",
"minimum": 1,
"maximum": 60
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}