https://www.brainiac.software/api/v1/network-exposure/cidr-calculate$0.02 USDCCalculate IPv4/IPv6 CIDR details, aggregates and relations
Describe, aggregate or relate CIDR blocks without network access.
Body
Send the JSON body shown in the request example.
Request exampleJSON
{
"operation": "describe",
"cidr": "192.168.10.37/27"
}Response exampleJSON
{
"input": "192.168.10.37/27",
"network": "192.168.10.32/27",
"hostBitsSet": true,
"version": 4,
"netmask": "255.255.255.224",
"hostmask": "0.0.0.31",
"broadcast": "192.168.10.63",
"firstHost": "192.168.10.33",
"lastHost": "192.168.10.62",
"addresses": "32",
"usableHosts": "30",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/cidr-calculate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"operation": "describe",
"cidr": "192.168.10.37/27"
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/ip-list-diff$0.03 USDCDiff two host/service exposure snapshots
Report new, closed and changed services between before and after snapshots.
Body
| Field | Required | Notes |
|---|---|---|
before | Yes | array; Array |
after | Yes | array; Array |
Request exampleJSON
{
"before": [
{
"ip": "198.51.100.10",
"port": 22,
"protocol": "tcp",
"service": "ssh",
"banner": "OpenSSH_8.9p1"
},
{
"ip": "198.51.100.10",
"port": 80,
"protocol": "tcp",
"service": "http",
"banner": "nginx/1.24.0"
},
{
"ip": "198.51.100.11",
"port": 3306,
"protocol": "tcp",
"service": "mysql"
}
],
"after": [
{
"ip": "198.51.100.10",
"port": 22,
"protocol": "tcp",
"service": "ssh",
"banner": "OpenSSH_9.6p1"
},
{
"ip": "198.51.100.10",
"port": 80,
"protocol": "tcp",
"service": "http",
"banner": "nginx/1.24.0"
},
{
"ip": "198.51.100.12",
"port": 3389,
"protocol": "tcp",
"service": "ms-wbt-server"
}
]
}Response exampleJSON
{
"new": [
{
"ip": "198.51.100.12",
"port": 3389,
"protocol": "tcp",
"service": "ms-wbt-server"
}
],
"closed": [
{
"ip": "198.51.100.11",
"port": 3306,
"protocol": "tcp",
"service": "mysql"
}
],
"changed": [
{
"ip": "198.51.100.10",
"port": 22,
"protocol": "tcp",
"fields": {
"banner": [
"OpenSSH_8.9p1",
"OpenSSH_9.6p1"
]
}
}
],
"unchanged": 1,
"newHosts": [
"198.51.100.12"
],
"goneHosts": [
"198.51.100.11"
],
"duplicates": 0,
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/ip-list-diff" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"before": [
{
"ip": "198.51.100.10",
"port": 22,
"protocol": "tcp",
"service": "ssh",
"banner": "OpenSSH_8.9p1"
},
{
"ip": "198.51.100.10",
"port": 80,
"protocol": "tcp",
"service": "http",
"banner": "nginx/1.24.0"
},
{
"ip": "198.51.100.11",
"port": 3306,
"protocol": "tcp",
"service": "mysql"
}
],
"after": [
{
"ip": "198.51.100.10",
"port": 22,
"protocol": "tcp",
"service": "ssh",
"banner": "OpenSSH_9.6p1"
},
{
"ip": "198.51.100.10",
"port": 80,
"protocol": "tcp",
"service": "http",
"banner": "nginx/1.24.0"
},
{
"ip": "198.51.100.12",
"port": 3389,
"protocol": "tcp",
"service": "ms-wbt-server"
}
]
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/service-banner-fingerprint$0.03 USDCFingerprint service banners with Recog
Match banners against vendored Rapid7 Recog fingerprints.
Body
| Field | Required | Notes |
|---|---|---|
items | Yes | array; Array |
Request exampleJSON
{
"items": [
{
"type": "ssh_banner",
"value": "OpenSSH_8.9p1 Ubuntu-3ubuntu0.6"
},
{
"type": "http_server",
"value": "nginx/1.24.0"
},
{
"type": "http_server",
"value": "Apache/2.4.58 (Ubuntu)"
}
]
}Response exampleJSON
{
"results": [
{
"value": "OpenSSH_8.9p1 Ubuntu-3ubuntu0.6",
"matches": [
{
"description": "OpenSSH running on Ubuntu",
"params": {
"service.version": "8.9p1",
"openssh.comment": "Ubuntu-3ubuntu0.6",
"service.vendor": "OpenBSD",
"service.family": "OpenSSH",
"service.product": "OpenSSH",
"service.cpe23": "cpe:/a:openbsd:openssh:8.9p1",
"os.vendor": "Ubuntu",
"os.family": "Linux",
"os.product": "Linux",
"os.certainty": "0.75",
"os.cpe23": "cpe:/o:canonical:ubuntu_linux:-"
}
}
]
},
{
"value": "nginx/1.24.0",
"matches": [
{
"description": "nginx with version info and/or mods",
"params": {
"service.product": "nginx",
"service.family": "nginx",
"service.vendor": "nginx",
"service.version": "1.24.0",
"service.cpe23": "cpe:/a:f5:nginx:1.24.0"
}
}
]
},
"…"
],
"recogRevision": "f1191e24332c51d6a3d98457f64fba8dec340784",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "Rapid7 Recog fingerprints (BSD-2-Clause)",
"url": "https://github.com/rapid7/recog",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/service-banner-fingerprint" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"items": [
{
"type": "ssh_banner",
"value": "OpenSSH_8.9p1 Ubuntu-3ubuntu0.6"
},
{
"type": "http_server",
"value": "nginx/1.24.0"
},
{
"type": "http_server",
"value": "Apache/2.4.58 (Ubuntu)"
}
]
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/cpe-parse-match$0.02 USDCParse CPE strings and match criteria
Unbind CPE 2.2/2.3 names and test version-range criteria.
Body
| Field | Required | Notes |
|---|---|---|
cpe | Yes | string |
criteria | No | array; Default: []; Array |
Request exampleJSON
{
"cpe": "cpe:/a:apache:http_server:2.4.49",
"criteria": [
{
"criteria": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.4.0",
"versionEndExcluding": "2.4.51"
}
]
}Response exampleJSON
{
"wfn": {
"part": "a",
"vendor": "apache",
"product": "http_server",
"version": "2.4.49",
"update": "ANY",
"edition": "ANY",
"language": "ANY",
"sw_edition": "ANY",
"target_sw": "ANY",
"target_hw": "ANY",
"other": "ANY"
},
"formattedString": "cpe:2.3:a:apache:http_server:2.4.49:*:*:*:*:*:*:*",
"uri": "cpe:/a:apache:http_server:2.4.49",
"matches": [
{
"index": 0,
"match": true
}
],
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/cpe-parse-match" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"cpe": "cpe:/a:apache:http_server:2.4.49",
"criteria": [
{
"criteria": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.4.0",
"versionEndExcluding": "2.4.51"
}
]
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/cvss-calculate$0.02 USDCCalculate CVSS v3.1 and v4.0 scores
Validate a CVSS vector and compute base/temporal/environmental or v4 scores.
Body
| Field | Required | Notes |
|---|---|---|
vector | Yes | string |
Request exampleJSON
{
"vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
}Response exampleJSON
{
"version": "4.0",
"valid": true,
"score": 8.1,
"severity": "High",
"nomenclature": "CVSS-BT",
"macroVector": "000220",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "FIRST CVSS v4.0 calculator data (BSD-2-Clause)",
"url": "https://github.com/FIRSTdotorg/cvss-v4-calculator",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/cvss-calculate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/tls-fingerprint-compute$0.03 USDCCompute JA3 and JA4 TLS fingerprints
Derive JA3/JA4 from ClientHello fields without capturing traffic.
Body
| Field | Required | Notes |
|---|---|---|
transport | No | string; One of: tcp, quic, dtls; Default: "tcp" |
legacyVersion | No | integer |
supportedVersions | No | array; Array |
ciphers | No | array; Array |
extensions | No | array; Array |
signatureAlgorithms | No | array; Array |
alpn | No | array; Array |
supportedGroups | No | array; Array |
ecPointFormats | No | array; Array |
clientHelloHex | No | string |
Request exampleJSON
{
"transport": "tcp",
"legacyVersion": 771,
"supportedVersions": [
772,
771
],
"ciphers": [
"1301",
"1302",
"1303",
"c02b",
"c02f",
"c02c",
"c030",
"cca9",
"cca8",
"c013",
"c014",
"009c",
"009d",
"002f",
"0035"
],
"extensions": [
"001b",
"0000",
"0033",
"0010",
"4469",
"0017",
"002d",
"000d",
"0005",
"0023",
"0012",
"002b",
"ff01",
"000b",
"000a",
"0015"
],
"signatureAlgorithms": [
"0403",
"0804",
"0401",
"0503",
"0805",
"0501",
"0806",
"0601"
],
"alpn": [
"h2",
"http/1.1"
],
"supportedGroups": [
29,
23,
24
],
"ecPointFormats": [
0
]
}Response exampleJSON
{
"ja4": "t13d1516h2_8daaf6152771_e5627efa2ab1",
"ja4_r": "t13d1516h2_002f,0035,009c,009d,1301,1302,1303,c013,c014,c02b,c02c,c02f,c030,cca8,cca9_0005,000a,000b,000d,0012,0015,001…",
"ja3": "c000e2caf3a25423f9de6c8a4b12a975",
"ja3String": "771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,27-0-51-16-17513-23-45-13-5-35-18-43-6…",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "FoxIO JA4 (BSD-3-Clause) and Salesforce JA3 (BSD-3-Clause)",
"url": "https://github.com/FoxIO-LLC/ja4",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/tls-fingerprint-compute" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"transport": "tcp",
"legacyVersion": 771,
"supportedVersions": [
772,
771
],
"ciphers": [
"1301",
"1302",
"1303",
"c02b",
"c02f",
"c02c",
"c030",
"cca9",
"cca8",
"c013",
"c014",
"009c",
"009d",
"002f",
"0035"
],
"extensions": [
"001b",
"0000",
"0033",
"0010",
"4469",
"0017",
"002d",
"000d",
"0005",
"0023",
"0012",
"002b",
"ff01",
"000b",
"000a",
"0015"
],
"signatureAlgorithms": [
"0403",
"0804",
"0401",
"0503",
"0805",
"0501",
"0806",
"0601"
],
"alpn": [
"h2",
"http/1.1"
],
"supportedGroups": [
29,
23,
24
],
"ecPointFormats": [
0
]
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/x509-decode$0.03 USDCDecode X.509 certificates and flag weaknesses
Parse PEM/DER certificates and apply NIST/BR validity flags.
Body
| Field | Required | Notes |
|---|---|---|
pem | No | string |
derBase64 | No | string |
now | No | string |
Request exampleJSON
{
"pem": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwTzELMAkGA1UE\nBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2VhcmNoIEdyb3VwMRUwEwYDVQQD\nEwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4WhcNMzUwNjA0MTEwNDM4WjBPMQswCQYDVQQG\nEwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMT\nDElTUkcgUm9vdCBYMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54r\nVygch77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+0TM8ukj1\n3Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6UA5/TR5d8mUgjU+g4r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pFKVK7q4+63SM1N95R1NbdWhscdCb+ZA\nJzVcoyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq4RgqsahD\nYVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9n\nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJ\nm+kXQ99b21/+jh5Xos1AnX5iItreGCc=\n-----END CERTIFICATE-----\n",
"now": "2026-11-14T00:00:00Z"
}Response exampleJSON
{
"certificates": [
{
"subject": "C=US\nO=Internet Security Research Group\nCN=ISRG Root X1",
"issuer": "C=US\nO=Internet Security Research Group\nCN=ISRG Root X1",
"selfSigned": true,
"serialHex": "8210cfb0d240e3594463e0bb63828b00",
"notBefore": "2015-06-04T11:04:38Z",
"notAfter": "2035-06-04T11:04:38Z",
"validity": "valid",
"publicKey": {
"type": "RSA",
"bits": 4096
},
"signatureAlgorithm": "sha256WithRSAEncryption",
"sans": [],
"isCA": true,
"sha256": "96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6",
"sha1": "cabd2a79a1076a31f21d253635cb039d4329a5e8",
"flags": []
}
],
"evaluatedAt": "2026-11-14T00:00:00Z",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "CA/Browser Forum TLS Baseline Requirements v2.3.1 §6.3.2; NIST SP 800-131A Rev. 2",
"url": "https://cabforum.org/working-groups/server/baseline-requirements/",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/x509-decode" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"pem": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwTzELMAkGA1UE\nBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2VhcmNoIEdyb3VwMRUwEwYDVQQD\nEwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4WhcNMzUwNjA0MTEwNDM4WjBPMQswCQYDVQQG\nEwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMT\nDElTUkcgUm9vdCBYMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54r\nVygch77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+0TM8ukj1\n3Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6UA5/TR5d8mUgjU+g4rk8K\nb4Mu0UlXjIB0ttov0DiNewNwIRt18jA8+o+u3dpjq+sWT8KOEUt+zwvo/7V3LvSye0rgTBIlDHCN\nAymg4VMk7BPZ7hm/ELNKjD+Jo2FR3qyHB5T0Y3HsLuJvW5iB4YlcNHlsdu87kGJ55tukmi8mxdAQ\n4Q7e2RCOFvu396j3x+UCB5iPNgiV5+I3lg02dZ77DnKxHZu8A/lJBdiB3QW0KtZB6awBdpUKD9jf\n1b0SHzUvKBds0pjBqAlkd25HN7rOrFleaJ1/ctaJxQZBKT5ZPt0m9STJEadao0xAH0ahmbWnOlFu\nhjuefXKnEgV4We0+UXgVCwOPjdAvBbI+e0ocS3MFEvzG6uBQE3xDk3SzynTnjh8BCNAw1FtxNrQH\nusEwMFxIt4I7mKZ9YIqioymCzLq9gwQbooMDQaHWBfEbwrbwqHyGO0aoSCqI3Haadr8faqU9GY/r\nOPNk3sgrDQoo//fb4hVC1CLQJ13hef4Y53CIrU7m2Ys6xt0nUW7/vGT1M0NPAgMBAAGjQjBAMA4G\nA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBR5tFnme7bl5AFzgAiIyBpY\n9umbbjANBgkqhkiG9w0BAQsFAAOCAgEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL\nubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ3BebYhtF8GaV\n0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KKNFtY2PwByVS5uCbMiogziUwt\nhDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJw\nTdwJx4nLCgdNbOhdjsnvzqvHu7UrTkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nx\ne5AW0wdeRlN8NwdCjNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZA\nJzVcoyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq4RgqsahD\nYVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9n\nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJ\nm+kXQ99b21/+jh5Xos1AnX5iItreGCc=\n-----END CERTIFICATE-----\n",
"now": "2026-11-14T00:00:00Z"
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/csr-decode-validate$0.03 USDCDecode and validate a PKCS#10 CSR
Verify CSR self-signature and check key/SAN policy.
Body
| Field | Required | Notes |
|---|---|---|
csrPem | Yes | string |
policy | No | object; Default: {"minRsaBits":2048,"allowedKeyTypes":["RSA","EC","Ed25519"],"allowedCurves":["P-256","P-384"],"requireSan":true,"cnMustBeInSan":true}; Object |
Request exampleJSON
{
"csrPem": "-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwPTEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tMRQwEgYDVQQK\nDAtFeGFtcGxlIEx0ZDELMAkGA1UEBhMCR0IwggEiMA0GCSqGSIb3DQEBAQUAA4IB\nDwAwggEKAoIBAQCmAp8cymc6Y6IYvRHeNyoS4SukrpAqqwUxQfB93PTIlzM+dBe6\namfdgk72SVECDMMSPPXdBrYccGNopb05lOYrWjhsK1mtDGkPP/WHITp/7lOnZs/h\nYiPccdQW3XQTzyteQTNLBK2VW+RrxsdO4iy32yqN6JSUSFS1V69puX9X+Fk3i7Wj\nDzbo7aQ7vrt0jdt8MfalvHS04jWB9yGR6nih1Lq/rEHYPWEiv482rBQk6aJLXBQI\ncsuFLYZmipXgYcAENZEbuY4YIDVYRXuOnJ2aG3UnqOMyhEee+7x/Qb01hem3j/4+\nbvI6qxJiTqWbATZw9sDtppuT+0ZTC6RG/oQfAgMBAAGgOjA4BgkqhkiG9w0BCQ4x\nKzApMCcGA1UdEQQgMB6CD3d3dy5leGFtcGxlLmNvbYILZXhhbXBsZS5jb20wDQYJ\nKoZIhvcNAQELBQADggEBAB54LHsLSPKhOU0Ocfup3oI6wCjHU/VLM7cfEKb5grRD\n8dHd53Uqjzw/U1/+kzEEDJfjHhQrtOBhTNfB+g+fMON0mmNFfVzCEW+ByMlymqi2\n676YWeWRsYeq9/OoYjZvri/aBrTCcSZkZBekbYmihUJtZWSId0VZSVTfbx9DaYRE\n/PSw/KqE6pgcgg+V42JOsTGSECiiWZ1K1x5vJnwAViy0KheRFFcWF5320cl5Ptll\nEPdlG7O4eVhOD5oNhIKcTBoj61olXde6Rzvon8ZX8w/V3GV8Os+aTDd6pjjR3NAk\nOixP3BoF1J/fZpbJ5R2K54AJbtWdJ+pnBU1CwOmvRZE=\n-----END CERTIFICATE REQUEST-----\n",
"policy": {
"minRsaBits": 2048,
"allowedKeyTypes": [
"RSA",
"EC"
],
"allowedCurves": [
"P-256",
"P-384"
],
"requireSan": true,
"cnMustBeInSan": true,
"allowedDomains": [
"example.com"
]
}
}Response exampleJSON
{
"subject": "CN=www.example.com,O=Example Ltd,C=GB",
"publicKey": {
"type": "RSA",
"bits": 2048
},
"signatureAlgorithm": "sha256WithRSAEncryption",
"signatureValid": true,
"sans": [
"www.example.com",
"example.com"
],
"violations": [],
"pass": true,
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/csr-decode-validate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"csrPem": "-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwPTEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tMRQwEgYDVQQK\nDAtFeGFtcGxlIEx0ZDELMAkGA1UEBhMCR0IwggEiMA0GCSqGSIb3DQEBAQUAA4IB\nDwAwggEKAoIBAQCmAp8cymc6Y6IYvRHeNyoS4SukrpAqqwUxQfB93PTIlzM+dBe6\namfdgk72SVECDMMSPPXdBrYccGNopb05lOYrWjhsK1mtDGkPP/WHITp/7lOnZs/h\nYiPccdQW3XQTzyteQTNLBK2VW+RrxsdO4iy32yqN6JSUSFS1V69puX9X+Fk3i7Wj\nDzbo7aQ7vrt0jdt8MfalvHS04jWB9yGR6nih1Lq/rEHYPWEiv482rBQk6aJLXBQI\ncsuFLYZmipXgYcAENZEbuY4YIDVYRXuOnJ2aG3UnqOMyhEee+7x/Qb01hem3j/4+\nbvI6qxJiTqWbATZw9sDtppuT+0ZTC6RG/oQfAgMBAAGgOjA4BgkqhkiG9w0BCQ4x\nKzApMCcGA1UdEQQgMB6CD3d3dy5leGFtcGxlLmNvbYILZXhhbXBsZS5jb20wDQYJ\nKoZIhvcNAQELBQADggEBAB54LHsLSPKhOU0Ocfup3oI6wCjHU/VLM7cfEKb5grRD\n8dHd53Uqjzw/U1/+kzEEDJfjHhQrtOBhTNfB+g+fMON0mmNFfVzCEW+ByMlymqi2\n676YWeWRsYeq9/OoYjZvri/aBrTCcSZkZBekbYmihUJtZWSId0VZSVTfbx9DaYRE\n/PSw/KqE6pgcgg+V42JOsTGSECiiWZ1K1x5vJnwAViy0KheRFFcWF5320cl5Ptll\nEPdlG7O4eVhOD5oNhIKcTBoj61olXde6Rzvon8ZX8w/V3GV8Os+aTDd6pjjR3NAk\nOixP3BoF1J/fZpbJ5R2K54AJbtWdJ+pnBU1CwOmvRZE=\n-----END CERTIFICATE REQUEST-----\n",
"policy": {
"minRsaBits": 2048,
"allowedKeyTypes": [
"RSA",
"EC"
],
"allowedCurves": [
"P-256",
"P-384"
],
"requireSan": true,
"cnMustBeInSan": true,
"allowedDomains": [
"example.com"
]
}
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/certificate-chain-build$0.04 USDCBuild and verify a certificate chain offline
Chain certificates against the vendored Mozilla root store.
Body
| Field | Required | Notes |
|---|---|---|
certificates | Yes | array; Array |
leafIndex | No | integer |
now | No | string |
Request exampleJSON
{
"certificates": [
"-----BEGIN CERTIFICATE-----\nMIIFBjCCAu6gAwIBAgIRAMISMktwqbSRcdxA9+KFJjwwDQYJKoZIhvcNAQELBQAw\nTzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh\ncmNoIEdyb3VwM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3Ox8BhyaU7UAQ3LeZ7N1X01xxQe4wIAAE3JVLUCiHmZL+\nqoCUtgYIFPgcg350QMUIWgxPXNGEncT921ne7nluI02V8pLUmClqXOsCwULw+PVO\nZCB7qOMxxMBoCUeL2Ll4oMpOSr5pJCpLN3tRA2s6P1KLs9TSrVhOk+7LX28NMUlI\nusQ/nxLJID0RhAeFtPjyOCOscQBA53+NRjSCak7P4A5jX7ppmkcJECL+S0i3kXVU\ny5Me5BbrU8973jZNv/ax6+ZK6TM8jWmimL6of6OrX7ZU6E2WqazzsFrLG3o2kySb\nzlhSgJ81Cl4tv3SbYiYXnJExKQvzf83DYotox3f0fwv7xln1A2ZLplCb0O+l/AK0\nYE0DS2FPxSAHi0iwMfW2nNHJrXcY3LLHD77gRgje4Eveubi2xxa+Nmk/hmhLdIET\niVDFanoCrMVIpQ59XWHkzdFmoHXHBV7oibVjGSO7ULSQ7MJ1Nz51phuDJSgAIU7A\n0zrLnOrAj/dfrlEWRhCvAgbuwLZX1A2sjNjXoPOHbsPiy+lO1KF8/XY7\n-----END CERTIFICATE-----\n"
],
"now": "2026-11-14T00:00:00Z"
}Response exampleJSON
{
"chain": [
{
"subject": "C=US\nO=Let's Encrypt\nCN=R12",
"sha256": "131fce7784016899a5a00203a9efc80f18ebbd75580717edc1553580930836ec"
},
{
"subject": "C=US\nO=Internet Security Research Group\nCN=ISRG Root X1",
"sha256": "96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6",
"source": "mozilla_root_store"
}
],
"trusted": true,
"issues": [],
"rootStore": {
"source": "https://curl.se/ca/cacert.pem",
"mozillaDataAsOf": "2026-11-05T04:12:01Z",
"roots": 118
},
"revocationChecked": false,
"evaluatedAt": "2026-11-14T00:00:00Z",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "Mozilla CA bundle via curl cacert.pem (MPL-2.0)",
"url": "https://curl.se/ca/cacert.pem",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/certificate-chain-build" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"certificates": [
"-----BEGIN CERTIFICATE-----\nMIIFBjCCAu6gAwIBAgIRAMISMktwqbSRcdxA9+KFJjwwDQYJKoZIhvcNAQELBQAw\nTzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh\ncmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjQwMzEzMDAwMDAw\nWhcNMjcwMzEyMjM1OTU5WjAzMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg\nRW5jcnlwdDEMMAoGA1UEAxMDUjEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEA2pgodK2+lP474B7i5Ut1qywSf+2nAzJ+Npfs6DGPpRONC5kuHs0BUT1M\n5ShuCVUxqqUiXXL0LQfCTUA83wEjuXg39RplMjTmhnGdBO+ECFu9AhqZ66YBAJpz\nkG2Pogeg0JfT2kVhgTU9FPnEwF9q3AuWGrCf4yrqvSrWmMebcas7dA8827JgvlpL\nThjp2ypzXIlhZZ7+7Tymy05v5J75AEaz/xlNKmOzjmbGGIVwx1Blbzt05UiDDwhY\nXS0jnV6j/ujbAKHS9OMZTfLuevYnnuXNnC2i8n+cF63vEzc50bTILEHWhsDp7CH4\nWRt/uTp8n1wBnWIEwii9Cq08yhDsGwIDAQABo4H4MIH1MA4GA1UdDwEB/wQEAwIB\nhjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwE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/network-exposure/ssh-key-audit$0.02 USDCFingerprint and audit SSH public keys
Parse OpenSSH public keys, authorized_keys and certificates.
Body
| Field | Required | Notes |
|---|---|---|
keys | Yes | array; Array |
minRsaBits | No | integer; Default: 2048 |
Request exampleJSON
{
"keys": [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8wc0fgZaOfJhN0cBcLRJQ613oAtPc3euqmKSJy7dcR fixture@example"
],
"minRsaBits": 2048
}Response exampleJSON
{
"results": [
{
"type": "ssh-ed25519",
"bits": 256,
"comment": "fixture@example",
"sha256": "SHA256:GqnVTPmakhybRC27iwQ39wDKYgDJNcZJ2egHdce9w24",
"md5": "MD5:8d:8f:4b:82:d3:a4:05:08:61:2c:52:05:fc:45:27:53",
"options": {},
"findings": []
}
],
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/ssh-key-audit" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"keys": [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8wc0fgZaOfJhN0cBcLRJQ613oAtPc3euqmKSJy7dcR fixture@example"
],
"minRsaBits": 2048
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/nmap-xml-summarize$0.03 USDCSummarise Nmap XML or Masscan JSON
Turn scan output into host/service risk summaries.
Body
| Field | Required | Notes |
|---|---|---|
format | Yes | string; One of: nmap_xml, masscan_json |
content | Yes | string |
Request exampleJSON
{
"format": "nmap_xml",
"content": "<nmaprun><host><status state=\"up\"/><address addr=\"198.51.100.10\" addrtype=\"ipv4\"/><ports><port protocol=\"tcp\" portid=\"22\"><state state=\"open\"/><service name=\"ssh\" product=\"OpenSSH\" version=\"8.9p1\"/></port><port protocol=\"tcp\" portid=\"3389\"><state state=\"open\"/><service name=\"ms-wbt-server\"/></port><port protocol=\"tcp\" portid=\"25\"><state state=\"filtered\"/></port></ports></host><host><status state=\"down\"/><address addr=\"198.51.100.11\" addrtype=\"ipv4\"/></host></nmaprun>"
}Response exampleJSON
{
"hostsUp": 1,
"hostsDown": 1,
"openPorts": 2,
"byHost": [
{
"ip": "198.51.100.10",
"open": [
{
"port": 22,
"protocol": "tcp",
"service": "ssh",
"product": "OpenSSH",
"version": "8.9p1",
"riskTier": "medium"
},
{
"port": 3389,
"protocol": "tcp",
"service": "ms-wbt-server",
"riskTier": "critical"
}
],
"filtered": 1
}
],
"byService": {
"ssh": 1,
"ms-wbt-server": 1
},
"riskyServices": [
{
"ip": "198.51.100.10",
"port": 3389,
"riskTier": "critical"
}
],
"skippedHosts": 0,
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/nmap-xml-summarize" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"format": "nmap_xml",
"content": "<nmaprun><host><status state=\"up\"/><address addr=\"198.51.100.10\" addrtype=\"ipv4\"/><ports><port protocol=\"tcp\" portid=\"22\"><state state=\"open\"/><service name=\"ssh\" product=\"OpenSSH\" version=\"8.9p1\"/></port><port protocol=\"tcp\" portid=\"3389\"><state state=\"open\"/><service name=\"ms-wbt-server\"/></port><port protocol=\"tcp\" portid=\"25\"><state state=\"filtered\"/></port></ports></host><host><status state=\"down\"/><address addr=\"198.51.100.11\" addrtype=\"ipv4\"/></host></nmaprun>"
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/port-service-risk-classify$0.02 USDCClassify port/service exposure risk
Name IANA services and assign documented risk tiers.
Body
| Field | Required | Notes |
|---|---|---|
services | Yes | array; Array |
Request exampleJSON
{
"services": [
{
"port": 3389,
"protocol": "tcp"
},
{
"port": 22,
"protocol": "tcp"
},
{
"port": 9200,
"protocol": "tcp",
"bannerHint": "elasticsearch"
},
{
"port": 443,
"protocol": "tcp"
}
]
}Response exampleJSON
{
"results": [
{
"port": 3389,
"protocol": "tcp",
"ianaServiceName": "ms-wbt-server",
"riskTier": "critical",
"rule": "remote_desktop"
},
{
"port": 22,
"protocol": "tcp",
"ianaServiceName": "ssh",
"riskTier": "medium",
"rule": "remote_admin_encrypted"
},
"…"
],
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "IANA Service Name and Transport Protocol Port Number Registry",
"url": "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/port-service-risk-classify" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"services": [
{
"port": 3389,
"protocol": "tcp"
},
{
"port": 22,
"protocol": "tcp"
},
{
"port": 9200,
"protocol": "tcp",
"bannerHint": "elasticsearch"
},
{
"port": 443,
"protocol": "tcp"
}
]
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/firewall-rule-analyze$0.04 USDCAnalyse firewall rules for anomalies
Find shadowed, redundant and overly permissive iptables/nftables/AWS SG rules.
Body
| Field | Required | Notes |
|---|---|---|
format | Yes | string; One of: iptables, nftables, aws_sg |
rules | Yes | — |
sensitivePorts | No | — |
Request exampleJSON
{
"format": "iptables",
"rules": "-A INPUT -p tcp --dport 22 -j ACCEPT\n-A INPUT -p tcp -s 10.0.0.0/8 --dport 22 -j DROP\n-A INPUT -p tcp --dport 80 -j ACCEPT\n-A INPUT -p tcp -s 192.0.2.0/24 --dport 80 -j ACCEPT",
"sensitivePorts": null
}Response exampleJSON
{
"findings": [
{
"rule": 1,
"type": "overly_permissive",
"detail": "tcp/22 from any source",
"severity": "medium"
},
{
"rule": 2,
"type": "shadowed",
"by": 1,
"detail": "never reached: rule 1 matches a superset with a different action"
},
"…"
],
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/firewall-rule-analyze" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"format": "iptables",
"rules": "-A INPUT -p tcp --dport 22 -j ACCEPT\n-A INPUT -p tcp -s 10.0.0.0/8 --dport 22 -j DROP\n-A INPUT -p tcp --dport 80 -j ACCEPT\n-A INPUT -p tcp -s 192.0.2.0/24 --dport 80 -j ACCEPT",
"sensitivePorts": null
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/dns-zone-audit$0.03 USDCAudit a BIND zone file
Flag dangling CNAMEs, wildcards, missing CAA/SPF/DMARC and TTL anomalies.
Body
| Field | Required | Notes |
|---|---|---|
zone | Yes | string |
origin | No | string |
deprovisionedTargets | No | array; Default: []; Array |
minTtl | No | integer; Default: 300 |
maxTtl | No | integer; Default: 604800 |
Request exampleJSON
{
"zone": "$ORIGIN example.com.\n$TTL 3600\n@ IN SOA ns1 hostmaster 2026111401 7200 3600 1209600 300\n@ IN NS ns1\n@ IN MX 10 mail\n@ IN TXT \"v=spf1 mx -all\"\n* IN A 192.0.2.10\nold IN CNAME old-app.azurewebsites.net.\nwww 60 IN CNAME example.com.\nns1 IN A 192.0.2.1\nmail IN A 192.0.2.2",
"deprovisionedTargets": [
"old-app.azurewebsites.net"
],
"minTtl": 300,
"maxTtl": 604800
}Response exampleJSON
{
"origin": "example.com.",
"records": 9,
"findings": [
{
"type": "wildcard_record",
"name": "*.example.com.",
"rrtype": "A"
},
{
"type": "dangling_cname",
"name": "old.example.com.",
"target": "old-app.azurewebsites.net."
},
"…"
],
"spf": {
"present": true,
"record": "v=spf1 mx -all"
},
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/dns-zone-audit" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"zone": "$ORIGIN example.com.\n$TTL 3600\n@ IN SOA ns1 hostmaster 2026111401 7200 3600 1209600 300\n@ IN NS ns1\n@ IN MX 10 mail\n@ IN TXT \"v=spf1 mx -all\"\n* IN A 192.0.2.10\nold IN CNAME old-app.azurewebsites.net.\nwww 60 IN CNAME example.com.\nns1 IN A 192.0.2.1\nmail IN A 192.0.2.2",
"deprovisionedTargets": [
"old-app.azurewebsites.net"
],
"minTtl": 300,
"maxTtl": 604800
}
JSONhttps://www.brainiac.software/api/v1/network-exposure/dnssec-validate-offline$0.04 USDCValidate DNSSEC records offline
Check DNSKEY, DS and RRSIG material without network queries.
Body
| Field | Required | Notes |
|---|---|---|
dnskeys | No | array; Default: []; Array |
ds | No | array; Default: []; Array |
rrset | No | array; Default: []; Array |
rrsigs | No | array; Default: []; Array |
now | No | string |
Request exampleJSON
{
"dnskeys": [
"example.com. 3600 IN DNSKEY 257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4="
],
"ds": [
"example.com. 3600 IN DS 3613 15 2 3aa5ab37efce57f737fc1627013fee07bdf241bd10f3b1964ab55c78e79a304b"
],
"rrset": [
"example.com. 3600 IN MX 10 mail.example.com."
],
"rrsigs": [
"example.com. 3600 IN RRSIG MX 15 2 3600 20150819220000 20150729220000 3613 example.com. oL9krJun7xfBOIWcGHi7mag5/hdZrKWw15jPGrHpjQeRAvTdszaPD+QLs3fx8A4M3e23mRZ9VrbpMngwcrqNAg=="
],
"now": "2015-08-08T02:13:20Z"
}Response exampleJSON
{
"keys": [
{
"keyTag": 3613,
"algorithm": 15,
"algorithmName": "ED25519",
"flags": 257,
"sep": true,
"dsMatch": true,
"dsDigestType": 2
}
],
"signatures": [
{
"covers": "MX",
"keyTag": 3613,
"valid": true,
"inception": "2015-07-29T22:00:00Z",
"expiration": "2015-08-19T22:00:00Z",
"timeValid": true,
"flags": []
}
],
"secure": true,
"evaluatedAt": "2015-08-08T02:13:20Z",
"sources": [
{
"source": "Caller-supplied scan output, banners, certificates, rule sets or zone files processed locally",
"url": "https://www.brainiac.software/api/v1/network-exposure",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Pure computation on caller input: nothing is scanned, resolved or fetched at request time."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/network-exposure/dnssec-validate-offline" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"dnskeys": [
"example.com. 3600 IN DNSKEY 257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4="
],
"ds": [
"example.com. 3600 IN DS 3613 15 2 3aa5ab37efce57f737fc1627013fee07bdf241bd10f3b1964ab55c78e79a304b"
],
"rrset": [
"example.com. 3600 IN MX 10 mail.example.com."
],
"rrsigs": [
"example.com. 3600 IN RRSIG MX 15 2 3600 20150819220000 20150729220000 3613 example.com. oL9krJun7xfBOIWcGHi7mag5/hdZrKWw15jPGrHpjQeRAvTdszaPD+QLs3fx8A4M3e23mRZ9VrbpMngwcrqNAg=="
],
"now": "2015-08-08T02:13:20Z"
}
JSON