BizKitHub
DokumentacjaEksplorator APIVikitron/api/v1/vikitron/ssl-certificate-checker
getVikitronPubliczne API v1

/api/v1/vikitron/ssl-certificate-checker

Returns the most recently observed SSL/TLS certificate for the given domain. Cached responses (5 min fresh + 1 h SWR) skip the TLS handshake entirely. If no certificate has ever been scanned OR ?force=true is passed, a fresh handshake is performed (uncached).

vikitrongetApiV1VikitronSsl-certificate-checker

Parametry

2 w query

Parametry query

· 2
domainstringWymagane

Domain name to check.

Przykładexample.com
forcestringOpcjonalne

Set to "true" to bypass the cache and trigger a fresh fetch.

Przykładtrue

Schemat odpowiedzi

1 udokumentowany kod statusu

200SukcesSSL certificate check result.
successbooleanWymagane

Whether the certificate was successfully retrieved.

certificateobjectOpcjonalne

SSL certificate details.

subjectCommonNamestringWymagane

Certificate subject CN.

Przykład*.example.com
validFromDate | string | string | numberWymagane

Certificate validity start date.

Jedna z 4 opcji:
Wariant 1
Date

Certificate validity start date.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
validToDate | string | string | numberWymagane

Certificate validity end date.

Jedna z 4 opcji:
Wariant 1
Date

Certificate validity end date.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
issuerCountrystringWymagane

Issuer country code.

PrzykładUS
issuerOrganizationstringWymagane

Issuer organization name.

PrzykładLet's Encrypt
issuerOrganizationalUnitstring | nullWymagane

Issuer organizational unit.

issuerCommonNamestringWymagane

Issuer common name.

PrzykładR3
serialNumberstringWymagane

Certificate serial number.

fingerprintstringWymagane

Certificate SHA-1 fingerprint.

Przykład odpowiedzi

application/json
{
  "success": false,
  "certificate": {
    "subjectCommonName": "*.example.com",
    "issuerCountry": "US",
    "issuerOrganization": "Let's Encrypt",
    "issuerCommonName": "R3",
    "serialNumber": "example_serialNumber",
    "fingerprint": "example_fingerprint"
  }
}

Przykład żądania

GET /api/v1/vikitron/ssl-certificate-checker

get
curl -X GET "https://api.bizkithub.com/api/v1/vikitron/ssl-certificate-checker?domain=example.com&force=true" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API