# TrustLayer Solana Wallet Risk Profile

> TrustLayer Solana Wallet Risk Profile is a paid API for AI agents from api.thetrustlayer.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns a risk/trust profile for a Solana wallet address, including trust score, risk level, activity components, token/NFT counts, and detected program usage.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/solana/So11111111111111111111111111111111111111112
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-thetrustlayer-xyz-6b74f433
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NdQIN3GQLpGXtfp_ksrc2

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 api-thetrustlayer-xyz-6b74f433
```

Example prompt: Can you pull a TrustLayer risk profile for Solana wallet So11111111111111111111111111111111111111112 and tell me the trust score, risk level, and which DeFi programs it's been using?

## When to prefer this

Use this endpoint when you need Solana-specific wallet risk screening with on-chain behavioral analysis, particularly when you need DeFi program interaction breakdowns (Jupiter, Raydium, Meteora), token/NFT counts, and a composite trust score. Prefer over generic blockchain explorers when you need a structured risk/trust score rather than raw transaction data.

## Known failure modes

- Invalid or malformed Solana wallet address returns an error
- Wallet with no on-chain history may return a minimal or null profile
- Network timeout if Helius RPC is slow or unavailable
- Payment failure (x402) if USDC balance is insufficient
- Address not found on solana-mainnet returns empty or error response

## How this service works

Reputation intelligence for the autonomous agent economy. Trust scores, Sybil detection, and cross-chain identity for 130,000+ ERC-8004 agents across 20 chains. Powered by x402 micropayments.

## Output

Returns a JSON object with: wallet address, chain (solana-mainnet), trust score, risk level, detected program usage counts (ATA, SWAP, Jupiter, Raydium, Meteora, unknown, etc.), token and NFT counts, and a unique agent_id for the wallet. The programs map shows interaction frequency across known and unknown Solana programs.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "address": "So11111111111111111111111111111111111111112"
  }
 },
 "output": {
  "type": "object"
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Solana wallet address (32-44 chars)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "solana-mainnet",
  "risk_level": "medium",
  "trust_score": 65
 }
}
```

## More

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