# Synapse API — Linea Transaction History

> Synapse API — Linea Transaction 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 the full transaction history for addresses on the Linea blockchain network, with filtering by block range, address, category, and ordering.

## Facts

- Endpoint: POST https://synapse-api-brown.vercel.app/api/linea/tx/history
- 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-linea-transaction-history-4d0af6de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_--F26EdR3PdhoacXqNXiY

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-linea-transaction-history-4d0af6de -d '<json body>'
```

Example prompt: Pull the last 25 transactions for Linea address 0xAbC...123, sorted newest first, including metadata, and exclude any zero-value transfers.

## When to prefer this

Use this endpoint when you need detailed asset transfer history specifically on the Linea L2 blockchain network. Prefer this over generic Ethereum history endpoints when the target addresses are on Linea. Supports rich filtering by address pair, block range, asset category, and sort order, making it suitable for auditing, analytics, or DeFi agent workflows on Linea.

## Known failure modes

- Invalid or malformed Ethereum address returns an error
- Block range too large may result in timeout or truncated results
- Invalid pageKey causes pagination failure
- Unsupported category value returns an error
- Network outage on Linea RPC causes empty or failed response
- Exceeding maxCount limits may truncate results silently

## 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 paginated list of asset transfer records on the Linea blockchain, including sender, receiver, block number, transaction hash, asset type, value, and optional metadata. A pageKey is included when more results are available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  },
  "toBlock": {
   "type": "string"
  },
  "category": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "maxCount": {
   "type": "number"
  },
  "fromBlock": {
   "type": "string"
  },
  "toAddress": {
   "type": "string"
  },
  "fromAddress": {
   "type": "string"
  },
  "withMetadata": {
   "type": "boolean"
  },
  "excludeZeroValue": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-api-linea-transaction-history-4d0af6de/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)
