Get Certificate Details

The MerkleMap certificate details endpoint allows you to retrieve comprehensive information about a specific SSL/TLS certificate using its SHA256 hash.

Endpoint

https://api.merklemap.com/v1/certificate/:sha256_hash

URL Parameters

  • Name
    sha256_hash
    Type
    string
    Description

    The SHA256 hash of the certificate in hexadecimal format.

Response Format

The response includes detailed certificate information, including the formatted certificate content, X.509 details, issuer information, and certificate transparency logs.

Request Examples

GET
/v1/certificate/:sha256_hash
curl https://api.merklemap.com/v1/certificate/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \
-H "Authorization: Bearer your_api_token_here"

JSON Response

{
    "printed_certificate": "Certificate:\n    Data:\n        Version: 3 (0x2)\n        Serial Number: 123456789...",
    "x509_info": {
        "subject": {
            "common_name": "example.com",
            "organization": "Example Corp",
            "country": "US"
        },
        "issuer": {
            "common_name": "Example CA",
            "organization": "Example CA Corp",
            "country": "US"
        },
        "validity": {
            "not_before": "2024-01-01T00:00:00Z",
            "not_after": "2025-01-01T00:00:00Z"
        }
    },
    "issuer": "Example Certificate Authority",
    "logs": [
        "argon2024",
        "nimbus2024"
    ],
    "is_precertificate": false,
    "raw_certificate_der": "MIIFYjCCBEqgAwIBAgIQd8HszNa..."
}

Error Response

{
    "error": "NotFound",
    "message": "Certificate not found"
}

Was this page helpful?