# Solana Token Balance Changes Analyzer

> Solana Token Balance Changes Analyzer is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Analyzes Solana token balance changes between before/after states, computing deltas for each token position

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/solana_token_balance_changes/invoke
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-token-balance-changes-analyzer-c129762e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nY_qY7Rqs5JlKetp54V15

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 solana-token-balance-changes-analyzer-c129762e -d '<json body>'
```

Example prompt: Analyze the Solana token balance changes for this data — before the transaction account 0 had 10 tokens and after it has 15, so I need the delta computed: pass this as my request JSON.

## When to prefer this

Choose this endpoint when you need to compute structured before/after token balance deltas specifically on the Solana network from caller-supplied data, rather than fetching live chain data. It is best when you already have the raw balance snapshots and need fast, deterministic delta computation with warnings about data quality issues like decimal inconsistency.

## Known failure modes

- Malformed or invalid request_json string causes parsing failure
- Missing before/after fields in the supplied balance data returns empty or error result
- Inconsistent decimal precision triggers a warning but may still return approximate deltas
- Exceeding the 65536-character maxLength on request_json causes rejection
- Network or payment failure returns non-succeeded status

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing a list of changes, each with 'before', 'after', and 'delta' values per token account key, plus any warnings (e.g. inconsistent decimal usage) and metadata including service_id, evidence_scope, and analyzed_network (solana).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Decimals are used only when supplied consistently."
   ],
   "service_id": "solana_token_balance_changes",
   "analysis_json": "{\"changes\":[{\"after\":\"15\",\"before\":\"10\",\"delta\":\"5\",\"key\":\"0\"}]}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "solana"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "solana_token_balance_changes",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "15000",
   "resultSha256": "3ac088701ef76ab1e302539b07f958fffaa56c4bc16f404f73d04189af3b6015",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-token-balance-changes-analyzer-c129762e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
