# Synapse API — Linea RPC Endpoint

> Synapse API — Linea RPC Endpoint 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-15).

Provides JSON-RPC access to the Linea blockchain network, enabling on-chain queries and transaction submissions via pay-per-call.

## Facts

- Endpoint: POST https://synapse-api-brown.vercel.app/api/linea/rpc
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-api-linea-rpc-endpoint-1a3fbf67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KgprsGlevXSjbuF0u5Erw

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-rpc-endpoint-1a3fbf67 -d '<json body>'
```

Example prompt: Can you check the current ETH balance for wallet address 0xAbC...123 on the Linea network using an eth_getBalance RPC call?

## When to prefer this

Choose this endpoint when you specifically need to interact with the Linea (ConsenSys zkEVM Layer 2) blockchain and want pay-per-call pricing via x402 without managing your own RPC node or subscription. Ideal for agents needing occasional or low-volume Linea RPC calls without committing to a monthly RPC provider plan.

## Known failure modes

- Invalid RPC method name returns error object with code -32601
- Malformed params array causes parse or invalid params error
- Network congestion may cause timeout or slow response
- Payment failure (402) if USDC balance insufficient
- Linea node unavailability returns 503 or connection error
- Unsupported method returns method not found error

## 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

A standard JSON-RPC response object containing the result field with on-chain data (e.g. balance in wei, block details, transaction receipt, contract return value) or an error object with code and message if the call fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string"
  },
  "params": {
   "type": "array",
   "items": {}
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-api-linea-rpc-endpoint-1a3fbf67/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)
