Skip to main content
POST
/
api
/
crtsh
/
certificates
/crtsh/certificates
curl --request POST \
  --url https://api.anysite.io/api/crtsh/certificates \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "certificate": 123,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@crtsh_certificate",
    "common_name": "<string>",
    "name_value": [],
    "issuer_name": "<string>",
    "issuer_ca_id": 123,
    "serial_number": "<string>",
    "not_before": "<string>",
    "not_after": "<string>",
    "logged_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
certificate
integer
required

crt.sh certificate id (numeric) or a crt.sh certificate URL

Examples:

987119772

8913351873

"https://crt.sh/?id=987119772"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@crtsh_certificate
common_name
string | null
name_value
string[]
issuer_name
string | null
issuer_ca_id
integer | null
serial_number
string | null
not_before
string | null
not_after
string | null
logged_at
string | null