# Synapse API — X Layer Token Transfer History

> Synapse API — X Layer Token Transfer History is a paid API for AI agents from synapse-api-brown.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Retrieves token transfer history for a given wallet address on the X Layer blockchain network

## Facts

- Endpoint: POST https://synapse-api-brown.vercel.app/api/xlayer/token/transfers
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-api-x-layer-token-transfer-history-ec36d980
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z2AAls58qcEm9lwketaZA

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 synapse-api-x-layer-token-transfer-history-ec36d980 -d '<json body>'
```

Example prompt: Pull all token transfers for wallet 0xAbC123...789 on X Layer, filtering to contract 0xDef456...012, from block 1000000 to 1500000, sorted ascending, up to 100 results.

## When to prefer this

Use this endpoint when you need on-chain token transfer history specifically on the X Layer network. It supports block-range filtering, contract address filtering, pagination, and sort order, making it suitable for auditing, portfolio tracking, or DeFi analytics on X Layer. Prefer this over generic blockchain explorers when you need programmatic, paginated access with pay-per-call pricing.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Block range too large may result in timeout or truncated response
- Unknown or unsupported contract address returns empty transfers array
- Invalid pageKey causes pagination error
- Missing required owner field results in 400 bad request
- Network congestion or indexer lag may return stale or incomplete data

## How this service works

High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.

## Output

Returns a list of token transfer records for the specified wallet on X Layer, including transaction hashes, block numbers, sender/recipient addresses, token contract addresses, amounts, and pagination metadata for continued queries.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "owner": {
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  },
  "toBlock": {
   "type": "string"
  },
  "maxCount": {
   "type": "number"
  },
  "fromBlock": {
   "type": "string"
  },
  "contractAddresses": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-api-x-layer-token-transfer-history-ec36d980/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from synapse-api-brown.vercel.app](https://www.zero.xyz/host/synapse-api-brown.vercel.app/llms.txt)
