{"uid":"cap_58Cz9z-h--CAcg3WJZEuw","slug":"ns-goods-agent-trust-score-103f8e46","name":"NS Goods Agent Trust Score","description":"Cross-chain ERC-8004 trust score for one (chain, agent) pair — signed JSON with transparent component breakdown (value_avg / client_breadth / volume / recency), per-chain context, and methodology link. USDC pay-per-call on Base mainnet.","url":"https://trust.nsgoods.org/agent-trust","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["agent"],"properties":{"agent":{"type":"string","description":"ERC-8004 agentId (uint256), e.g. 25975."},"chain":{"type":"string","description":"one of ['base', 'bsc', 'ethereum', 'mantle', 'polygon']; default ethereum."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","agent_id","result"],"properties":{"chain":{"type":"string"},"result":{"type":"object"},"agent_id":{"type":"integer"},"methodology":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"agent":"25975","chain":"ethereum"}}},"response":{"chain":"ethereum","result":{"chain":"ethereum","score":null,"inputs":{"revoked_count":0,"feedback_count":0,"distinct_clients":0,"latest_block_seen":25314759,"min_distinct_clients_required":3},"status":"insufficient_data — fewer than 3 distinct clients have left feedback","weights":{"volume":0.15,"recency":0.15,"value_avg":0.5,"client_breadth":0.2},"agent_id":25975,"components":{},"methodology":"https://trust.nsgoods.org/methodology"},"sources":{"identity_registry":"0x8004A169FB4a3325136EB29fA0ceB6D2e539a432","reputation_registry":"0x8004BAa17C55a88189AE136b182e5fdA19dE9b63"},"agent_id":25975,"signature":"0xb5c8633e65c5a0cdf95761913e1d717d0956b8bf41fcee586d2ac2af1763ad032b6a7346face237775fa39872598a09dc994ce59fb9776d0b8d728d11e0b48da1c","signed_by":"0x5e63d01d6A266BC17f577B80199a2a07B15053C7","disclaimer":"Read-only on-chain analytics over ERC-8004 Identity/Reputation registries on multiple EVM chains. Informational only — not investment, employment, or counterparty advice. Score reflects observed on-chain feedback only; absence of evidence is not evidence of trustworthiness. See methodology link for the scoring math.","methodology":"https://trust.nsgoods.org/methodology","generated_at":"2026-06-18T06:43:13.155280+00:00","wired_chains":["base","bsc","ethereum","mantle","polygon"]}},"exampleRequest":{"agent":"25975","chain":"ethereum"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rcKHVMt0vy0X600wel9tB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a cross-chain ERC-8004 trust score for a given on-chain agent, with signed JSON breakdown of value_avg, client_breadth, volume, and recency components.","exampleAgentPrompt":"Can you pull up the ERC-8004 trust score for agent 25975 on Ethereum — I need the full component breakdown including value_avg, client_breadth, volume, and recency?","exampleUseCases":[{"title":"Vet DeFi agent before interacting","prompt":"Before I let this DeFi agent manage my liquidity positions, can you check its trust score on Base mainnet and tell me how it ranks on client_breadth and recency? I want to make sure it has a solid track record before I hand over any control."},{"title":"Compare agent trust across chains","prompt":"I'm evaluating the same agent on both Polygon and BSC — can you pull the ERC-8004 trust score for agent 12345 on each chain and give me a side-by-side breakdown of the value_avg and volume components so I can see where it performs best?"},{"title":"Flag low-trust agents in marketplace","prompt":"We're building a marketplace and want to automatically flag any on-chain agent with a suspiciously low trust score — can you fetch the signed trust breakdown for agent 7842 on Mantle and highlight which components like recency or client_breadth are dragging the score down?"}],"resultDescription":"A signed JSON object containing the chain name, agent_id (integer), a result object with component scores (value_avg, client_breadth, volume, recency), per-chain context, and a link to the scoring methodology.","failureModes":["Missing or invalid agentId returns a 400 or error response","Unknown chain name returns an error or defaults to ethereum","Agent not found on specified chain returns empty or zero-score result","Payment failure (insufficient USDC or wrong network) blocks the call","Non-GET method returns 405 Method Not Allowed"],"whenToPreferThis":"Use this endpoint when you need a transparent, cryptographically signed trust signal for an ERC-8004 on-chain agent across Base, BSC, Ethereum, Mantle, or Polygon — especially when you need a decomposed breakdown of the score rather than a single opaque number, and when you require per-chain context for multi-chain agent evaluation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:39:04.090Z","isFirstParty":false}