$0.05
per call · USD Coin on Base
Compare caller-supplied before and after source snapshots without execution or network access, returning source fingerprints, syntax regressions, structural deltas, function-level changes, and bounded review findings.
Endpoint
POST https://apiacre.com/v1/developer/code-change-review3
Calls / 30d
2
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
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://apiacre.com/v1/developer/code-change-review", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"after": "def invoice_total(items, discount=0):\n subtotal = sum(...",
"before": "def invoice_total(items):\n return sum(item[\"price\"] fo...",
"filename": "billing.py",
"language": "python"
}),
});
const data = await res.json();curl -X POST \
"https://apiacre.com/v1/developer/code-change-review" \
-H "Content-Type: application/json" \
-d '{"after":"def invoice_total(items, discount=0):\n subtotal = sum(...","before":"def invoice_total(items):\n return sum(item[\"price\"] fo...","filename":"billing.py","language":"python"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"after": {
"classes": 0,
"functions": 1,
"lines": {
"blank": 0,
"code": 5,
"comments": 0,
"total": 5
},
"source": {
"characters": 194,
"sha256": "f37990278fe5bda7fdae643ec96f54997271ed3992cefdd5f407736c2...",
"utf8Bytes": 194
}
},
"analysis": {
"limitations": [
"Static heuristics do not prove runtime behavior, correctn...",
"Function-level deltas are complete only when both Python ...",
"Renamed functions appear as one removal and one addition."
],
"method": "two deterministic code-metrics snapshots plus Python func...",
"version": "apiacre-code-change-review/1"
},
"attentionLevel": "medium",
"attentionScore": 2,
"before": {
"classes": 0,
"functions": 1,
"lines": {
"blank": 0,
"code": 2,
"comments": 0,
"total": 2
},
"source": {
"characters": 74,
"sha256": "69316f24997a9cbf73019f697f3f2373e39da67d1835885998775037c...",
"utf8Bytes": 74
}
},
"changed": true,
"execution": {
"codeExecuted": false,
"networkAccessed": false
},
"filename": "billing.py",
"findings": [
{
"evidence": {
"added": 1
},
"id": "new-work-markers",
"message": "The change adds TODO, FIXME, HACK, or XXX markers.",
"severity": "low"
}
],
"functionChanges": {
"added": [],
"addedCount": 0,
"changedCount": 1,
"removedCount": 0
},
"language": "python",
"reviewDecision": "review",
"summary": {
"classDelta": 0,
"codeLineDelta": 3,
"functionDelta": 0,
"lineDelta": 3
}
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [
{
"method": "POST",
"reason": "Inspect exact line additions, removals, and a bounded uni...",
"service": "document.diff",
"title": "Document diff"
}
],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "developer.code-change-review",
"version": "1"
}Payment details
0xa0bfa4f07281c9b248dc3aed2217836bca24869bUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from API Acre & similar services
API Acre · Crypto Base Network Status
apiacre.com
Read the latest Base mainnet block and a bounded EIP-1559 fee history in one RPC batch, including gas utilization and priority-fee percentile samples.
API Acre · WEB Metadata
apiacre.com
Extract webpage metadata from one public URL: page title, meta description, canonical URL, headings, hreflang, icons, feeds, Open Graph, Twitter Cards, and JSON-LD Schema.org types, with redirect and response provenance plus privacy-safe, publisher-asserted Organization facts with field evidence.
API Acre · Data Schema
apiacre.com
Create and generate a nested JSON Schema Draft 2020-12 contract by inferring field types and required fields from representative JSON, CSV, TSV, JSON Lines, or YAML records, with equivalent CSV/TSV numeric and null inference, input evidence, and non-enforcing observed bounds.