{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-tls-certificates-and-hostnames-requested-validity-schema.json",
"title": "tls-certificates-and-hostnames_requested_validity",
"description": "The number of days for which the certificate should be valid.",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cloudflare-certificates-api-openapi.yml#/components/schemas/tls-certificates-and-hostnames_requested_validity",
"type": "number",
"enum": [
7,
30,
90,
365,
730,
1095,
5475
],
"default": 5475
}
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.