# NS Goods Agent Trust Score

> NS Goods Agent Trust Score is a paid API for AI agents from trust.nsgoods.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

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.

## Facts

- Endpoint: GET https://trust.nsgoods.org/agent-trust
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ns-goods-agent-trust-score-103f8e46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_58Cz9z-h--CAcg3WJZEuw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ns-goods-agent-trust-score-103f8e46
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "agent": "25975",
   "chain": "ethereum"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ns-goods-agent-trust-score-103f8e46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trust.nsgoods.org](https://www.zero.xyz/host/trust.nsgoods.org/llms.txt)
