# Linea JSON-RPC API

**Canonical:** https://apis.io/apis/linea/json-rpc-api/  
**Provider:** Linea — https://apis.io/providers/linea/  
**Base URL:** https://rpc.linea.build  
**Documentation:** https://docs.linea.build/api/reference

Linea JSON-RPC API is one of 4 APIs that [Linea](https://apis.io/providers/linea/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include JSON-RPC, Ethereum, Blockchain, ERC-4337, and Account Abstraction. The published artifact set on APIs.io includes API documentation, an API reference, and a getting-started guide.

Standard Ethereum JSON-RPC API plus Linea-specific extensions available at the public endpoint rpc.linea.build. Supports all eth_* methods (eth_blockNumber, eth_getBlockByNumber, eth_sendRawTransaction, eth_call, eth_getLogs, etc.) as well as ERC-4337 account abstraction bundler methods and Linea-specific methods including linea_estimateGas (returns baseFeePerGas, priorityFeePerGas, and gasLimit accounting for L1 verification costs) and linea_getProof. The public endpoint is free but rate-limited; production workloads should use a private node provider such as Infura or Alchemy.

## Machine-readable artifacts (4)

- **Documentation** — https://docs.linea.build/api/reference
- **APIReference** — https://docs.linea.build/api/reference
- **GettingStarted** — https://docs.linea.build/get-started/build/quickstart/deploy
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/linea/refs/heads/main/apis.yml

## Other Linea APIs (3)

- [Linea Explorer API (Lineascan / Blockscout)](https://apis.io/apis/linea/explorer-api/)
- [Linea Prices API](https://apis.io/apis/linea/linea-prices-api/)
- [Linea Tokens API](https://apis.io/apis/linea/linea-tokens-api/)

## Tags

JSON-RPC, Ethereum, Blockchain, ERC-4337, Account Abstraction

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/linea/json-rpc-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/linea/.
