Early Access — All Endpoints Free

MoltGuard

Trust & Integrity API for the x402 Agent Economy. Agent scoring, Sybil detection, prediction market integrity, and verifiable credentials — one API, x402-native on Base.

Try it right now

No API key. No signup. Just curl it.

# Agent Trust Score (free tier, 1 req / 10 min) curl https://api.moltrust.ch/guard/api/agent/score-free/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 # → { "score": 38, "wallet": "0xd8dA...", "_meta": { ... } } # Sybil Detection curl https://api.moltrust.ch/guard/api/sybil/scan/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 # Market Integrity Feed (top anomalies) curl https://api.moltrust.ch/guard/api/market/feed # All endpoints info curl https://api.moltrust.ch/guard/api/info

Four trust primitives in one API

📊

Agent Trust Score

0–100 score from on-chain data: wallet age, tx count, counterparties, USDC balance, ERC-8004 registration, MolTrust reputation cross-reference.

🛡️

Sybil Detection

Traces funding sources via Blockscout. Detects sibling wallets, bot patterns, mass distribution from single funder, dormant wallet reactivation.

📈

Market Integrity

Scans Polymarket for volume anomalies, price-volume divergence, wallet concentration, coordinated trading patterns. Real-time feed.

Verifiable Credentials

Issue trust scores as W3C VCs — Ed25519 signed (JWS compact), verifiable by anyone, valid 7 days. Portable proof of trust.

Data flow

Blockscout API
Base RPC
Polymarket Gamma
MolTrust API
↓ ↓ ↓ ↓
MoltGuard Engine
Scoring · Sybil Analysis · Market Checks · VC Signing
REST API
MCP Tools
x402 Paywall

Blockscout

Wallet history, tx count, counterparties, funding source. Free, no API key needed. Replaces deprecated Basescan V1.

Base RPC

ETH balance, USDC balance, ERC-8004 IdentityRegistry balanceOf check. Direct on-chain reads.

Polymarket Gamma

Active markets, volume data, outcome prices. Batch scanning up to 500 markets per cycle.

MolTrust

ERC-8004 agentId → DID resolution → reputation & credential verification. Cross-references on-chain + off-chain identity.

How the Trust Score works

The score is a weighted composite of on-chain signals. Each component contributes to a 0–100 total.

ComponentMax PointsData SourceWhat it measures
Wallet Age15BlockscoutTime since first transaction on Base
Transaction Count15BlockscoutTotal transactions — more = more active
Unique Counterparties15BlockscoutDiversity of interaction partners
USDC Balance10Base RPCStablecoin holdings (economic stake)
ERC-8004 Registration15Base RPCOn-chain agent identity (balanceOf > 0)
ERC-8004 Reputation10MolTrustReputation score from MolTrust DID system
Credential Bonus+20MolTrustVerified MolTrust DID with active credentials
Sybil Penalty−30BlockscoutDeduction for Sybil indicators (cluster detection)
// Example breakdown for Vitalik's wallet { "score": 38, "breakdown": { "walletAge": 15, // 938 days → max "txCount": 10, // 36,151 txs → 10/15 "counterparties": 15, // 224 unique → max "usdcBalance": 0, // $14.52 → low tier "erc8004Registration": 0, // not registered "erc8004Reputation": 0, // no MolTrust DID "sybilPenalty": -2, // minor cluster flag "credentialBonus": 0 // no credentials } }

Endpoints

Base URL: https://api.moltrust.ch/guard

GET /api/agent/score-free/:address FREE (1/10min)

Quick trust score for any Base wallet. Rate-limited to 1 request per 10 minutes per IP. Returns score only (no breakdown).

Parameters

:addressstringBase wallet address (0x...)
curl https://api.moltrust.ch/guard/api/agent/score-free/0xd8dA...96045 { "wallet": "0xd8dA...", "score": 38, "_meta": { ... } }
GET /api/agent/score/:address $0.005

Full trust score with complete breakdown of all scoring components. No rate limit.

{ "score": 38, "breakdown": { "walletAge": 15, "txCount": 10, ... } }
GET /api/agent/detail/:address $0.01

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.

{ "score": 38, "breakdown": { ... }, "signals": { "walletAgeDays": 938.4, "txCount": 36151, "uniqueCounterparties": 224, "usdcBalance": "14.52", "erc8004Registered": false, "fundingSource": "0x3c95...", "sybilScore": 0.1, "moltrustDid": null }, "walletData": { "balance": "0.0709...", ... } }
GET /api/sybil/scan/:address $0.01

Deep Sybil analysis. Traces funding sources, detects wallet clusters, counts sibling wallets from the same funder, checks for bot patterns and dormant reactivation.

{ "wallet": "0xd8dA...", "sybilScore": 0, "confidence": "low", "indicators": { "walletAgeDays": 938.4, "txCount": 36151, "patternMatch": ["funder_mass_distribution"] }, "cluster": { "detected": true, "estimatedSize": 40, "fundingSource": "0x3c95...", "siblingWallets": 40 }, "recommendation": "LOW RISK: No significant Sybil indicators." }
GET /api/market/check-free/:id FREE (1/10min)

Quick integrity check for a Polymarket market by condition ID. Rate-limited.

GET /api/market/check/:id $0.005

Full integrity check for a single Polymarket market. Returns anomaly score, volume spike detection, price-volume divergence, and risk assessment.

{ "marketId": "566229", "marketQuestion": "Will Atletico Madrid win La Liga?", "anomalyScore": 55, "signals": { "volumeSpike": true, "volumeChange24h": 8315323, "priceVolumeDiv": true }, "assessment": "MEDIUM RISK: Unusual patterns detected." }
GET /api/market/feed $0.02

Top markets with detected anomalies. Returns up to 20 markets sorted by anomaly score. Scans 500 active Polymarket markets per cycle.

POST /api/credential/issue $0.05

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.

Body (JSON)

addressstringBase wallet address to issue credential for
POST /api/credential/verify FREE

Verify a MoltGuard credential's Ed25519 signature, expiry, and issuer. Always free — verification should never be gated.

Body (JSON)

credentialobjectThe full VC object including proof.jws
GET /api/info, /api/agent/sample, /api/market/sample, /health FREE

Service information, sample responses for testing, and health check. No authentication required.

x402 micropayments on Base

All endpoints are free during Early Access. Once the x402 facilitator supports Base mainnet, micropayments activate automatically — no code change needed.

EndpointPriceRate LimitDescription
/api/agent/score-freeFree1 / 10 minQuick score, no breakdown
/api/market/check-freeFree1 / 10 minQuick market check
/api/credential/verifyFreeNoneVerify any credential
/api/agent/score$0.005NoneFull score + breakdown
/api/agent/detail$0.01NoneScore + raw wallet data
/api/sybil/scan$0.01NoneDeep Sybil analysis
/api/market/check$0.005NoneSingle market integrity
/api/market/feed$0.02NoneTop anomalies feed
/api/credential/issue$0.05NoneIssue signed VC
🟢
Early Access: All endpoints free

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.

7 MoltGuard tools for AI assistants

Connect via Streamable HTTP at https://api.moltrust.ch/mcp

moltguard_score

Get trust score for a Base wallet address

moltguard_detail

Full score + raw wallet data + signals

moltguard_sybil

Sybil detection with cluster analysis

moltguard_market

Single market integrity check

moltguard_feed

Top markets with anomalies

moltguard_credential_issue

Issue Ed25519-signed trust credential

moltguard_credential_verify

Verify credential signature + expiry

// Claude Desktop config (claude_desktop_config.json) { "mcpServers": { "moltrust": { "transport": { "type": "streamable-http", "url": "https://api.moltrust.ch/mcp" } } } }

Under the hood

Stack

Node.js 20, TypeScript, Hono framework, @x402/hono v2.5.0, viem for on-chain reads, @hono/node-server.

Network

Base mainnet (eip155:8453). ERC-8004 IdentityRegistry at 0x8004A1...432. Blockscout for wallet history (free, no key).

Signing

Ed25519 via native Node.js crypto. JWS compact serialization. Public key: c0fd9b65...af7f

Caching

5-min TTL for scores, Blockscout data, ERC-8004 lookups, MolTrust cross-refs. 1-min TTL for market data.

DID

MoltGuard agent: did:moltrust:b9834b648daa4220

x402 Protocol

HTTP 402 payment protocol. USDC on Base. Facilitator at x402.org. Paywall activates when Base mainnet is supported.

Start checking trust now

All endpoints free during Early Access. No signup required.

Open MoltGuard API → MCP Server ← Back to MolTrust