Buyer-controlled x402 recipe

Review a code change with structural and line evidence

Review two caller-supplied source snapshots with deterministic static signals, then optionally inspect exact line additions, removals, and a bounded unified diff. For the complete recipe, each snapshot must be no more than 500,000 characters. Neither step executes code or accesses the network, and each step requires a separate buyer authorization.

2separately authorized steps
$0.06maximum listed total · USDC
eip155:8453Base network
1
$0.05 USDC · separate authorization

Code change review

Compare syntax, complexity, function, and maintainability signals without executing either source snapshot.

POSThttps://apiacre.com/v1/developer/code-change-review

Input template

{
  "before": "$beforeSource",
  "after": "$afterSource",
  "language": "$language",
  "filename": "$filename"
}
Use this result

Inspect result.data.reviewDecision, findings, and functionChanges; continue only when exact line-level evidence is useful.

2
$0.01 USDC · separate authorization

Document diff

Calculate exact line additions, removals, and a bounded unified diff.

POSThttps://apiacre.com/v1/document/diff

Input template

{
  "before": "$beforeSource",
  "after": "$afterSource",
  "context_lines": 3
}
Use this result

Verify result.data.changed and the added/removed counts, then inspect result.data.diff as static caller-supplied evidence; it does not prove runtime correctness or safety.

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.