code402 / tools / aci-trust-lookup
$0.000999 per call · 20 free calls/day · no signup · pay with card credits or a signed USDC voucher (x402)
Deterministic agent trust scoring and non-custodial unsettled exposure advisory evaluation (ACI-1). Quantifies counterparty grade (T0-T3), historical success rate, and maximum suggested settlement exposure without uncollateralized lending or float.
curl -X POST https://code402.dev/v1/tools/aci-trust-lookup/call \
-H "content-type: application/json" \
-d '{"subject":"0x1111111111111111111111111111111111111111","settled_calls_90d":1500,"settlement_success_rate":0.999,"first_seen_days":120}'
No key needed for the free tier. When the free quota is used up, the API replies HTTP 402 with the exact price — agents sign the x402 voucher and retry; humans buy card credits. Every paid response carries a signed receipt you can verify offline.
| Field | Type | Meaning |
|---|---|---|
subject (required) | string | Agent wallet address (0x...) or canonical ANS identifier (c402:...) to evaluate |
role | string | Agent role: 'payer' or 'seller' (default 'payer') |
settled_calls_90d | number | Number of settled transactions in the past 90 days |
settlement_success_rate | number | Historical settlement success rate 0.0 to 1.0 |
dispute_loss_rate | number | Historical dispute loss rate 0.0 to 1.0 |
first_seen_days | number | Days since first active on-chain settlement |
sponsor_attestations | array | Array of signed sponsorship edges |
Top-level fields: ok, standard, subject, tier, score_bp, unsettled_exposure_hint_minor, evidence, policy_notice, receipt_digest. Paid responses also carry a signed XDR-1 receipt.
Machine-readable catalog: llms-full.txt · MCP manifest · OpenAPI. Operated by JUANA LIMITED (UK Co. No. 14043409). Non-custodial: USDC settles payer→seller directly on Base.