# NanoAPI Solana Transaction Parser

> NanoAPI Solana Transaction Parser is a paid API for AI agents from nanoapi.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-09).

Parses and classifies a Solana transaction by signature, returning structured details including type, source protocol, token transfers, and human-readable description.

## Facts

- Endpoint: POST https://nanoapi.org/sol/tx/parse?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nanoapi-solana-transaction-parser-5556e0e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OHcGG59HPU9HlpRgZTh-4

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 nanoapi-solana-transaction-parser-5556e0e6 -d '<json body>'
```

Example prompt: Can you parse this Solana transaction and tell me what it did — signature 4e3D4xik6FX3g5daWZT8qre71cdcebzVB2ESZwqfygtwQy87fFya8D5W2eNNPyHuHaY9kjDqZFnrvqZ8wXozve8X? I want to know the type, which protocol was involved, and any token transfers.

## When to prefer this

Use this endpoint when you need a structured, human-readable breakdown of a specific Solana transaction by its signature — especially when you want to identify whether it was a swap, transfer, or other DeFi action, which protocol was used (e.g. Jupiter), and what tokens moved. Prefer this over raw RPC calls when you want classification and enrichment without building your own parsing logic. Requires no API key and charges only $0.002 USDC per call via x402.

## Known failure modes

- Invalid or malformed base58 signature returns a validation error
- Transaction not found on-chain returns found:false
- Payment not included or insufficient USDC results in 402 Payment Required
- Network timeout if Solana RPC is slow or unavailable
- Unclassified transaction returns classified:false with partial data

## How this service works

Pay-per-use APIs for AI agents: image processing and Solana data endpoints. $0.001-$0.01 USDC per call on Base or Solana via x402 protocol. No signup or API keys required.

## Output

Returns a JSON object with the transaction signature, whether it was found, its classified type (e.g. SWAP, TRANSFER), source protocol (e.g. JUPITER), a human-readable description, Unix timestamp, fee in lamports, fee payer address, an array of token transfers with mint address and amounts, native SOL transfers, and the list of programs invoked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "signature": {
   "type": "string",
   "pattern": "^[1-9A-HJ-NP-Za-km-z]{87,88}$",
   "description": "Solana transaction signature (base58, 87-88 chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": "{\"signature\":\"4e3D4xik6FX3g5daWZT8qre71cdcebzVB2ESZwqfygtwQy87fFya8D5W2eNNPyHuHaY9kjDqZFnrvqZ8wXozve8X\",\"found\":true,\"type\":\"SWAP\",\"source\":\"JUPITER\",\"description\":\"Swapped 10 USDC for 0.075 SOL via Jupiter\",\"timestamp\":1745012345,\"fee\":5000,\"feePayer\":\"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM\",\"tokenTransfers\":[{\"mint\":\"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\"tokenAmount\":10,\"fromUserAccount\":\"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM\",\"toUserAccount\":\"5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1\"}],\"nativeTransfers\":[],\"programsInvolved\":[\"ComputeBudget111111111111111111111111111111\",\"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4\"],\"classified\":true}"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nanoapi-solana-transaction-parser-5556e0e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nanoapi.org](https://www.zero.xyz/host/nanoapi.org/llms.txt)
