ValidityPeriod is a JSON Structure definition published by Censys, describing 3 properties. 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-validityperiod-structure.json",
"name": "ValidityPeriod",
"description": "ValidityPeriod schema from Censys Platform API",
"type": "object",
"additionalProperties": false,
"properties": {
"length_seconds": {
"type": "int64",
"description": "The duration of the certificate's validity period, in seconds."
},
"not_after": {
"type": "string",
"description": "An RFC-3339-formatted timestamp after which the certificate is no longer valid."
},
"not_before": {
"type": "string",
"description": "An RFC-3339-formatted timestamp before which the certificate is not valid."
}
}
}
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.