Trust & Integrity API for the x402 Agent Economy. Agent scoring, Sybil detection, prediction market integrity, and verifiable credentials — one API, x402-native on Base.
No API key. No signup. Just curl it.
0–100 score from on-chain data: wallet age, tx count, counterparties, USDC balance, ERC-8004 registration, MolTrust reputation cross-reference.
Traces funding sources via Blockscout. Detects sibling wallets, bot patterns, mass distribution from single funder, dormant wallet reactivation.
Scans Polymarket for volume anomalies, price-volume divergence, wallet concentration, coordinated trading patterns. Real-time feed.
Issue trust scores as W3C VCs — Ed25519 signed (JWS compact), verifiable by anyone, valid 7 days. Portable proof of trust.
Wallet history, tx count, counterparties, funding source. Free, no API key needed. Replaces deprecated Basescan V1.
ETH balance, USDC balance, ERC-8004 IdentityRegistry balanceOf check. Direct on-chain reads.
Active markets, volume data, outcome prices. Batch scanning up to 500 markets per cycle.
ERC-8004 agentId → DID resolution → reputation & credential verification. Cross-references on-chain + off-chain identity.
The score is a weighted composite of on-chain signals. Each component contributes to a 0–100 total.
| Component | Max Points | Data Source | What it measures |
|---|---|---|---|
| Wallet Age | 15 | Blockscout | Time since first transaction on Base |
| Transaction Count | 15 | Blockscout | Total transactions — more = more active |
| Unique Counterparties | 15 | Blockscout | Diversity of interaction partners |
| USDC Balance | 10 | Base RPC | Stablecoin holdings (economic stake) |
| ERC-8004 Registration | 15 | Base RPC | On-chain agent identity (balanceOf > 0) |
| ERC-8004 Reputation | 10 | MolTrust | Reputation score from MolTrust DID system |
| Credential Bonus | +20 | MolTrust | Verified MolTrust DID with active credentials |
| Sybil Penalty | −30 | Blockscout | Deduction for Sybil indicators (cluster detection) |
Base URL: https://api.moltrust.ch/guard
Quick trust score for any Base wallet. Rate-limited to 1 request per 10 minutes per IP. Returns score only (no breakdown).
Full trust score with complete breakdown of all scoring components. No rate limit.
Full score plus raw wallet data: ETH balance, tx count, counterparties, age in seconds, funding source, recent activity, USDC balance, ERC-8004 status, MolTrust DID cross-reference.
Deep Sybil analysis. Traces funding sources, detects wallet clusters, counts sibling wallets from the same funder, checks for bot patterns and dormant reactivation.
Quick integrity check for a Polymarket market by condition ID. Rate-limited.
Full integrity check for a single Polymarket market. Returns anomaly score, volume spike detection, price-volume divergence, and risk assessment.
Top markets with detected anomalies. Returns up to 20 markets sorted by anomaly score. Scans 500 active Polymarket markets per cycle.
Issue a trust score as a W3C Verifiable Credential. Ed25519 signed with JWS compact serialization. Valid for 7 days. Credential includes the full score breakdown.
Verify a MoltGuard credential's Ed25519 signature, expiry, and issuer. Always free — verification should never be gated.
Service information, sample responses for testing, and health check. No authentication required.
All endpoints are free during Early Access. Once the x402 facilitator supports Base mainnet, micropayments activate automatically — no code change needed.
| Endpoint | Price | Rate Limit | Description |
|---|---|---|---|
| /api/agent/score-free | Free | 1 / 10 min | Quick score, no breakdown |
| /api/market/check-free | Free | 1 / 10 min | Quick market check |
| /api/credential/verify | Free | None | Verify any credential |
| /api/agent/score | $0.005 | None | Full score + breakdown |
| /api/agent/detail | $0.01 | None | Score + raw wallet data |
| /api/sybil/scan | $0.01 | None | Deep Sybil analysis |
| /api/market/check | $0.005 | None | Single market integrity |
| /api/market/feed | $0.02 | None | Top anomalies feed |
| /api/credential/issue | $0.05 | None | Issue signed VC |
The x402 facilitator currently only supports Base Sepolia. All paid endpoints return 200 (free) until Base mainnet is added. No code change needed — paywall activates automatically.
Connect via Streamable HTTP at https://api.moltrust.ch/mcp
Get trust score for a Base wallet address
Full score + raw wallet data + signals
Sybil detection with cluster analysis
Single market integrity check
Top markets with anomalies
Issue Ed25519-signed trust credential
Verify credential signature + expiry
Node.js 20, TypeScript, Hono framework, @x402/hono v2.5.0, viem for on-chain reads, @hono/node-server.
Base mainnet (eip155:8453). ERC-8004 IdentityRegistry at 0x8004A1...432. Blockscout for wallet history (free, no key).
Ed25519 via native Node.js crypto. JWS compact serialization. Public key: c0fd9b65...af7f
5-min TTL for scores, Blockscout data, ERC-8004 lookups, MolTrust cross-refs. 1-min TTL for market data.
MoltGuard agent: did:moltrust:b9834b648daa4220
HTTP 402 payment protocol. USDC on Base. Facilitator at x402.org. Paywall activates when Base mainnet is supported.
All endpoints free during Early Access. No signup required.