SearchQueryInputBody is a JSON Structure definition published by Censys, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-structure/platform-searchqueryinputbody-structure.json",
"name": "SearchQueryInputBody",
"description": "SearchQueryInputBody schema from Censys Platform API",
"type": "object",
"required": [
"query"
],
"additionalProperties": false,
"properties": {
"fields": {
"type": [
"array",
"null"
],
"description": "Specify fields to only return in the response. If you provide fields and omit `host.services.port`, `host.services.transport_protocol`, and `host.services.protocol`, then `matched_services` will not be returned in the response.",
"items": {
"type": "string"
}
},
"page_size": {
"type": [
"integer",
"null"
],
"description": "Number of results to return to per page. The default and maximum is 100.",
"minimum": 0
},
"page_token": {
"type": "string",
"description": "page token for the requested page of search results"
},
"query": {
"type": "string",
"description": "CenQL query string to search upon"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.