X 509 Certificate Decoder PEM DER Offline Batch API
Free tier included · CybersecurityX.509 Certificate Decoder parses PEM or DER certificates into structured JSON — subject/issuer distinguished names (dict, ordered attributes, RFC 4514 string), validity window and status, public key (RSA/EC/Ed25519/Ed448/X25519/X448/DSA), signature algorithm, SANs (DNS/IP/email/URI), key usage, extended key usage, basic constraints, SKI/AKI, OCSP/CA-issuer/CRL URLs, policies, SCT count, self-signed flag, SHA-256/SHA-1 fingerprints, serial in hex. It auto-detects PEM vs DER, tolerates BOM and leading text, and summarizes further certificates in a PEM bundle.
Three endpoints cover different needs: `POST /decode` for single certs, `POST /decode/full` for a richer JSON object (serial, self-signed flag, key algorithm, public key base64 + SHA-256 hash, subject/authority key identifiers, validity window, SAN DNS, issuer DN), and `POST /decode/batch` for up to 100 certificates in one request. `POST /csr-parse` decodes PKCS#10 CSRs (subject, public key, signature algorithm, extensions, fingerprint).
Parsing is offline and stateless — no revocation (CRL/OCSP), no chain/trust validation, no storage. Limits: each cert file up to 5 MB, batch up to 100 files, concurrency capped at 8. Responses are in-memory only and discarded immediately.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | API metadata: name, version, and paths to the interactive docs and health endpoint. |
GET | /health | Liveness probe; returns status "ok" while the process is up. |
POST | /decode | Decode a single X.509 certificate (PEM or DER, auto-detected) into JSON: subject/issuer DN, validity, public key, SANs, fingerprint. |
POST | /decode/full | Decode an X.509 certificate into a richer JSON object including serial number, self-signed flag, key algorithm, public key (base64), public key SHA-256 hash, subject/authority key identifiers, validity window, SAN DNS entries and issuer DN. |
POST | /decode/batch | Decode up to 100 X.509 certificates (PEM or DER) in one request. Returns a list of decoded objects with the same fields as /decode/full. |
POST | /csr-parse | Decode a certificate signing request: subject, public key, signature algorithm, extensions, fingerprint. |
Quick start
curl -X POST "https://certview.p.rapidapi.com/decode" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: certview.p.rapidapi.com" \
-F "file=@cert.pem"
FAQ
Does the API perform revocation or trust validation?
No. It only parses certificate structure. There are no CRL/OCSP checks, no chain validation, and no trust store lookups.
What file formats are supported?
PEM and DER for certificates, PEM and DER for CSRs. Format is auto-detected. BOM and leading text before PEM headers are tolerated.
What are the size and batch limits?
Each certificate file is limited to 5 MB, each CSR to 1 MB. Batch decoding accepts up to 100 certificate files per request. Concurrency is capped at 8 simultaneous parses.
Is any data stored or logged?
No. Certificates and CSRs are parsed in-memory and discarded immediately. The service is stateless and offline — no external network calls are made during parsing.
Try X 509 Certificate Decoder PEM DER Offline Batch free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI