the402 endpoint detail

← All endpoints

apiacre.com developer code-metrics

https://apiacre.com/v1/developer/code-metrics

answers 402

Measure caller-supplied source code with Python AST analysis or a deterministic lexical fallback, including per-function complexity, a SHA-256 fingerprint, density ratios, syntax status, and actionable maintainability signals without retaining or forwarding the code.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.03
Network
base
Pay to
0xa0BFa4f07281c9b248DC3AED2217836BcA24869B
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
149 ms
Payment options
2 usable of 2
Last checked
2026-09-06T01:12:35.982Z (33d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapiacre.com%2Fv1%2Fdeveloper%2Fcode-metrics"