AlternativeQuery is a JSON Structure definition published by Censys, describing 2 properties, of which 2 are 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-alternativequery-structure.json",
"name": "AlternativeQuery",
"description": "AlternativeQuery schema from Censys Platform API",
"type": "object",
"required": [
"query",
"targets"
],
"additionalProperties": false,
"properties": {
"query": {
"type": "string",
"description": "An alternative query that may be used."
},
"targets": {
"type": [
"array",
"null"
],
"description": "The types of Platform data records (host, cert, and web) that can be targeted by the alternative query.",
"items": {
"type": "string",
"enum": [
"host",
"web",
"cert",
"unknown"
]
}
}
}
}
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.