$0.005
per call · USD Coin on Base
X.509 TLS/SSL certificate inspector — parse fields and SANs, calculate a SHA-256 fingerprint, and check hostname and time validity without trust or revocation claims.
Endpoint
POST https://artifact-inspector.use.x402atlas.com/certificate2
Calls / 30d
1
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://artifact-inspector.use.x402atlas.com/certificate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"at_time": "2024-06-01T12:00:00Z",
"hostname": "api.example.test",
"pem": "-----BEGIN CERTIFICATE-----\nMIIBmDCCAUqgAwIBAgICBAIwBQYDK2VwMEIxJTAjBgNVBAoTHHg0MDJBdGxhcyBT\neW50aGV0aWMgRXhhbXBsZXMxGTAXBgNVBAMTEGFwaS5leGFtcGxlLnRlc3QwHhcN\nMjQwMTAxMDAwMDAwWhcNMzQwMTAxMDAwMDAwWjBCMSUwIwYDVQQKExx4NDAyQXRs\nYXMgU3ludGhldGljIEV4YW1wbGVzMRkwFwYDVQQDExBhcGkuZXhhbXBsZS50ZXN0\nMCowBQYDK2VwAyEAebVWLo/mVPlAeLES6KmLp5AfhTrmlb7X4OORC60ElmSjZDBi\nMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8E\nAjAAMC0GA1UdEQQmMCSCEGFwaS5leGFtcGxlLnRlc3SCEHd3dy5leGFtcGxlLnRl\nc3QwBQYDK2VwA0EAD54hSK5TQKCStJ+erMx4HpqTTAX2eD7eGLZLNwr3DPtfRDfw\no9Lkli6ywIh515laMt/OM2lhcH6qFDZ1prqZDg==\n-----END CERTIFICATE-----\n"
}),
});
const data = await res.json();curl -X POST \
"https://artifact-inspector.use.x402atlas.com/certificate" \
-H "Content-Type: application/json" \
-d '{"at_time":"2024-06-01T12:00:00Z","hostname":"api.example.test","pem":"-----BEGIN CERTIFICATE-----\nMIIBmDCCAUqgAwIBAgICBAIwBQYDK2VwMEIxJTAjBgNVBAoTHHg0MDJBdGxhcyBT\neW50aGV0aWMgRXhhbXBsZXMxGTAXBgNVBAMTEGFwaS5leGFtcGxlLnRlc3QwHhcN\nMjQwMTAxMDAwMDAwWhcNMzQwMTAxMDAwMDAwWjBCMSUwIwYDVQQKExx4NDAyQXRs\nYXMgU3ludGhldGljIEV4YW1wbGVzMRkwFwYDVQQDExBhcGkuZXhhbXBsZS50ZXN0\nMCowBQYDK2VwAyEAebVWLo/mVPlAeLES6KmLp5AfhTrmlb7X4OORC60ElmSjZDBi\nMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8E\nAjAAMC0GA1UdEQQmMCSCEGFwaS5leGFtcGxlLnRlc3SCEHd3dy5leGFtcGxlLnRl\nc3QwBQYDK2VwA0EAD54hSK5TQKCStJ+erMx4HpqTTAX2eD7eGLZLNwr3DPtfRDfw\no9Lkli6ywIh515laMt/OM2lhcH6qFDZ1prqZDg==\n-----END CERTIFICATE-----\n"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"algorithm_version": "x509-certificate-inspect-v1",
"at_time": "2024-06-01T12:00:00Z",
"certificate": {
"constraints": {
"basic_constraints_valid": true,
"is_ca": false,
"max_path_length": -1,
"max_path_length_zero": false
},
"extended_key_usage": [
"server_auth"
],
"fingerprint_sha256": "17:D4:EE:92:E7:8A:61:99:72:9B:A2:F6:27:61:B0:20:ED:29:6A:1F:28:BD:BC:CC:07:35:4E:B2:EC:B9:BC:7D",
"issuer": "CN=api.example.test,O=x402Atlas Synthetic Examples",
"issuer_rdns": [
[
{
"name": "organizationName",
"oid": "2.5.4.10",
"value": "x402Atlas Synthetic Examples"
}
],
[
{
"name": "commonName",
"oid": "2.5.4.3",
"value": "api.example.test"
}
]
],
"key_usage": [
"digital_signature"
],
"not_after": "2034-01-01T00:00:00Z",
"not_before": "2024-01-01T00:00:00Z",
"public_key": {
"algorithm": "Ed25519",
"bits": 256
},
"sans": {
"dns_names": [
"api.example.test",
"www.example.test"
],
"email_addresses": [],
"ip_addresses": [],
"uris": []
},
"serial_hex": "402",
"signature_algorithm": "Ed25519",
"subject": "CN=api.example.test,O=x402Atlas Synthetic Examples",
"subject_rdns": [
[
{
"name": "organizationName",
"oid": "2.5.4.10",
"value": "x402Atlas Synthetic Examples"
}
],
[
{
"name": "commonName",
"oid": "2.5.4.3",
"value": "api.example.test"
}
]
]
},
"hostname": "api.example.test",
"hostname_evaluated": true,
"hostname_matches": true,
"operation": "certificate-inspect",
"time_status": "currently_valid",
"warnings": [
"Parsed structure, validity dates, and hostname comparison do not establish certificate trust, revocation status, key possession, identity, or suitability."
]
}Payment details
0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from Artifact Inspector & similar services
Artifact Inspector · JWT
artifact-inspector.use.x402atlas.com
JSON Web Token (JWT) decoder — parse an unverified compact JWS header and claims and evaluate advisory NumericDate times without signature verification or URL fetching.
Artifact Inspector · JWK
artifact-inspector.use.x402atlas.com
JSON Web Key (JWK) inspector — validate bounded public RSA, EC, or Ed25519 keys and calculate RFC 7638 SHA-256 thumbprints without ownership or trust claims.
Artifact Inspector · File
artifact-inspector.use.x402atlas.com
File type and MIME/media type inspector — identify bounded content by magic bytes and return SHA-256, size, and extension consistency without unpacking, malware scanning, or safety claims.