Buyer-controlled x402 recipeCreate a schema for code-quality telemetry
Calculate deterministic code metrics, then infer a JSON Schema that consumers can use for build reports, dashboards, or regression history.
2separately authorized steps
$0.05maximum listed total · USDC
eip155:8453 + solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdppayment networks
1$0.025 USDC · separate authorization
Code metrics
Measure lines, complexity, functions, and maintainability signals.
POSThttps://apiacre.com/v1/developer/code-metrics
Input template
{
"code": "$sourceCode",
"language": "$language"
}
Use this resultWrap result.data in an array and serialize it for the next step.
2$0.025 USDC · separate authorization
JSON Schema generator
Infer a reusable schema for one or more metric records.
POSThttps://apiacre.com/v1/data/schema
Input template
{
"content": "$json([step1.result.data])",
"format": "json"
}
Use this resultUse result.data.schema to validate future metric snapshots.
You stay in control. Each step is an independent API call. Inspect its HTTP 402 challenge, authorize no more than the displayed price, verify the result, and continue only when the output is suitable. The listed total is not a bundle charge.