ACI-1 Agent Credit & Trust Rating Lookup
aci-trust-lookupDeterministic 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.
Quickstart & Execution
curl -X POST https://api.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 API key needed for the free daily tier. When daily quota exhausts, the endpoint replies with HTTP 402 Payment Required specifying the exact USDC amount. Machines sign an EIP-3009 transfer on Base L2; human engineers buy card credits. Every paid execution returns a cryptographically signed XDR-1 receipt for zero-knowledge audit trails.
Input Parameters
| Field | Type | Meaning & Constraints |
|---|---|---|
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 |
Response Format
Deterministic JSON payload fields: ok, standard, subject, tier, score_bp, unsettled_exposure_hint_minor, evidence, policy_notice, receipt_digest. Paid responses also carry an offline-verifiable receipt object (XDR-1, secp256k1 signature recoverable to the authorized signer).
Related Conformance Tools
dip-file-dispute pod-verify-delivery csp-commitment-create iso20022-validate iso20022-to-x402-intent iban-check lei-check vat-mod97-check company-number-format swift-bic-check aba-routing-check ein-format-check ifsc-check abn-check gstin-check cnpj-check uscc-check japan-corp-check kra-pin-check rfc-check iso4217-currency-check upi-vpa-check pan-format-check uae-trn-check isin-check sedol-check isbn-check ean13-check luhn-check e164-check pre-disbursement-guard vendor-onboarding-pack rent-deposit-guard rental-listing-risk rental-verdict india-supplier-check china-supplier-check japan-supplier-check latam-supplier-check gulf-supplier-check africa-supplier-check settlement-history-check balance-check erc20-balance tx-activity block-info ofac-sdn-check simulate-spend-sentinel create-ap2-pilot create-b2b-invoice get-b2b-invoice calculate-fx-savings fx-spot-price-oracle quote-3rd-party-insurance bind-insurance-policy list-approved-insurers batch-validate context-distill crypto-ticker instant-json-schema-verifier clean-markdown-scraper