# x402trustlayer.xyz Merchant Trust Score

> x402trustlayer.xyz Merchant Trust Score is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.06/call, status unknown (last checked 2026-10-23).

Returns a trust score and risk assessment for a given merchant to help evaluate their reliability.

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/merchant-trust/score?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402trustlayer-xyz-7abe9967
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uA7TFpaOWeqA0nGIh3kyb

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 x402trustlayer-xyz-7abe9967 -d '<json body>'
```

Example prompt: Can you check the TrustLayer score for merchant ID 'shop-8821' and tell me whether they're considered reliable and allowed to transact?

## When to prefer this

Use this endpoint when you need a real-time, paid trust signal for a specific merchant before authorizing a transaction, onboarding a partner, or assessing fraud risk. Prefer it over manual reputation checks when integrating merchant vetting into automated agent workflows that require a structured allow/deny decision with a human-readable rationale.

## Known failure modes

- Missing required 'input' field returns 400 Bad Request
- Invalid HTTP method (non-GET/HEAD/DELETE) returns validation error
- Unknown or unrecognized merchant identifier may return a low-confidence or null score
- Payment failure (insufficient USDC) results in 402 Payment Required
- Service unavailable or timeout returns 503

## How this service works

68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.

## Output

Returns a JSON object with an 'ok' boolean indicating request success, an 'allowed' boolean indicating whether the merchant passes trust thresholds, and a 'summary' string with a human-readable explanation of the trust assessment and risk factors.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "allowed",
      "summary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Paid response after x402 settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402trustlayer-xyz-7abe9967/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402trustlayer.xyz](https://www.zero.xyz/host/x402trustlayer.xyz/llms.txt)
