A

Artifact Inspector · CSR

by Artifact Inspector

POSTBaseArbitrumPolygon

$0.005

per call · USD Coin on Base

PKCS#10 certificate signing request (CSR) inspector — parse requested identities and public-key metadata, calculate a fingerprint, and check the included self-signature without CA approval claims.

Endpoint

POST https://artifact-inspector.use.x402atlas.com/csr

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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/csr", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "pem": "-----BEGIN CERTIFICATE REQUEST-----\nMIIBCjCBvQIBADBGMSUwIwYDVQQKExx4NDAyQXRsYXMgU3ludGhldGljIEV4YW1w\nbGVzMR0wGwYDVQQDExRzZXJ2aWNlLmV4YW1wbGUudGVzdDAqMAUGAytlcAMhAHm1\nVi6P5lT5QHixEuipi6eQH4U65pW+1+DjkQutBJZkoEQwQgYJKoZIhvcNAQkOMTUw\nMzAxBgNVHREEKjAoghRzZXJ2aWNlLmV4YW1wbGUudGVzdIIQYXBpLmV4YW1wbGUu\ndGVzdDAFBgMrZXADQQBSNLlAOUHeVlbhnQE+VCg5pvxbKEdQYfLO4egstCTlMYDv\neA4dF/Bwz0dTGJt38ORmedOR1Z9gyoFAPWHaMr4M\n-----END CERTIFICATE REQUEST-----\n"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://artifact-inspector.use.x402atlas.com/csr" \
  -H "Content-Type: application/json" \
  -d '{"pem":"-----BEGIN CERTIFICATE REQUEST-----\nMIIBCjCBvQIBADBGMSUwIwYDVQQKExx4NDAyQXRsYXMgU3ludGhldGljIEV4YW1w\nbGVzMR0wGwYDVQQDExRzZXJ2aWNlLmV4YW1wbGUudGVzdDAqMAUGAytlcAMhAHm1\nVi6P5lT5QHixEuipi6eQH4U65pW+1+DjkQutBJZkoEQwQgYJKoZIhvcNAQkOMTUw\nMzAxBgNVHREEKjAoghRzZXJ2aWNlLmV4YW1wbGUudGVzdIIQYXBpLmV4YW1wbGUu\ndGVzdDAFBgMrZXADQQBSNLlAOUHeVlbhnQE+VCg5pvxbKEdQYfLO4egstCTlMYDv\neA4dF/Bwz0dTGJt38ORmedOR1Z9gyoFAPWHaMr4M\n-----END CERTIFICATE REQUEST-----\n"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "algorithm_version": "pkcs10-csr-inspect-v1",
  "csr": {
    "fingerprint_sha256": "A0:99:82:7B:37:CA:52:40:D4:D1:C5:D9:17:DB:70:47:AA:DE:D7:64:CA:48:5E:26:6A:7C:A1:4D:AC:46:87:AA",
    "public_key": {
      "algorithm": "Ed25519",
      "bits": 256
    },
    "requested_extensions": [
      {
        "critical": false,
        "oid": "2.5.29.17"
      }
    ],
    "sans": {
      "dns_names": [
        "service.example.test",
        "api.example.test"
      ],
      "email_addresses": [],
      "ip_addresses": [],
      "uris": []
    },
    "signature_algorithm": "Ed25519",
    "signature_valid": true,
    "subject": "CN=service.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": "service.example.test"
        }
      ]
    ]
  },
  "operation": "csr-inspect",
  "warnings": [
    "A valid CSR self-signature proves only internal possession of the included key, not identity, trust, CA approval, or certificate issuance."
  ]
}

Payment details

Pay to0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from Artifact Inspector & similar services