Linea
Linea is ConsenSys' ZK-EVM Layer 2 network built on Ethereum, offering low fees, fast finality, and full EVM compatibility. Developers access on-chain data through three complementary API surfaces: a public JSON-RPC endpoint (rpc.linea.build) supporting all standard Ethereum methods plus Linea-specific extensions (linea_estimateGas, linea_getProof), a REST Token API (token-api.linea.build) for ERC-20 token metadata and price history, and the Lineascan block explorer API (Etherscan V2-compatible) for transactions, blocks, addresses, token transfers, event logs, and contract verification across Linea Mainnet (chainId 59144) and Sepolia testnet (chainId 59141).
Linea publishes 6 API contracts indexed on the APIs.io network, including Prices API, Tokens API, and 4 more. Tagged areas include Blockchain, Ethereum, Layer 2, zkEVM, and Web3.
The Linea catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.
Linea’s developer surface includes developer portal, documentation, API reference, getting-started guide, pricing, engineering blog, and 15 more developer resources.
Kin Score
Markets this provider is in provisional
The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.
| Market | Position | Depth | Registered MCP server | Declares compatibility |
|---|---|---|---|---|
| LF Decentralized Trust (Hyperledger) Members and Projects (enterprise blockchain, digital identity, CBDC) | standard | 17.2 (thin) | - | - |
Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.
Standards implemented 3
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 6
Individual APIs this provider publishes, each with its own machine-readable definition.
Linea JSON-RPC API
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...
Linea Explorer API (Lineascan / Blockscout)
Blockchain data APIs for Linea Mainnet backed by two explorer surfaces. The Lineascan (lineascan.build) explorer uses the Etherscan API V2 interface (chain ID 59144) with module...
Linea Prices API
Token price history
Linea Tokens API
ERC-20 token metadata and information
Linea Sepolia Testnet JSON-RPC
Public JSON-RPC endpoint for the Linea Sepolia testnet (chain ID 59141), used for application development, prover-changes testing, and bridge integration before deploying to mai...
Linea SDK
Official TypeScript SDK for interacting with Linea — message-service helpers, bridge claim flows, and L1/L2 utility methods used by app developers and bridge integrators.
Open Collections 2
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
Linea Token Prices API
OPEN COLLECTIONLinea Token Prices Tokens API
OPEN COLLECTIONGraphQL 1
GraphQL schemas published by this provider.
Linea GraphQL API
The Linea GraphQL API is provided by the Blockscout-based block explorer at `explorer.linea.build`. It exposes blockchain data for Linea Mainnet (chain ID 59144) through a Graph...
GRAPHQLLinea API pricing
Not yet checked against Linea's own pricing page. Compiled by API Evangelist on 2026-06-13 from etherscan.io/apis?id=59144; confirm before you rely on a figure. A free plan or tier is listed.
| Plan | Price |
|---|---|
| Public RPC (Free) freemium | Free |
| Token API (Free) freemium | Free |
| Lineascan Explorer API Free freemium | Free |
| Lineascan Explorer API Lite subscription | $49.00 per monthly subscription / month · Free |
| Lineascan Explorer API Standard subscription | $199.00 per monthly subscription / month · Free |
| Lineascan Explorer API Advanced subscription | $299.00 per monthly subscription / month · Free |
| Lineascan Explorer API Professional subscription | $399.00 per monthly subscription / month · Free |
| Lineascan Explorer API Enterprise enterprise | — |
Plan details, limits and sources →
Rate limits
- Public RPC endpoint: unlimited requests per second
- Token API - per second: 2 requests per second
- Token API - per minute: 60 requests per minute
Compiled by API Evangelist, not yet checked against Linea's documentation. All 10 limits →
Pricing Plans 1
Published pricing tiers and plan structures.
Linea Plans
PLANSRate Limits 1
Documented rate limits and quota policies.
Linea Rate Limits
RATE LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
Linea
SLAFinOps 1
Cost, billing, and metering signals for API financial operations.
Linea Finops
FINOPSFeatures 6
Notable capabilities this provider offers.
EVM-compatible JSON-RPC
Full Ethereum JSON-RPC compatibility means existing Hardhat, Foundry, Truffle, ethers.js, viem, and web3.py tooling works unchanged on Linea.
Linea-specific gas estimation
linea_estimateGas returns baseFeePerGas, priorityFeePerGas, and gasLimit including L1 finalization costs, enabling accurate fee budgeting on the ZK rollup.
ERC-4337 bundler endpoint
Built-in account abstraction bundler methods (eth_sendUserOperation, eth_estimateUserOperationGas, Pimlico extensions) available on the public RPC.
Token REST API
Dedicated REST service at token-api.linea.build for ERC-20 token listings, metadata, security scoring, and 24-hour price history without requiring an API key.
Etherscan-compatible explorer API
Lineascan implements the Etherscan API V2 interface, giving access to all standard explorer modules (accounts, transactions, contracts, tokens, logs, stats) via chain ID 59144.
Dual explorer surfaces
Both Lineascan (Etherscan-style) and a Blockscout instance provide redundant explorer APIs with REST and GraphQL options.
Semantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Linea Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
Linea — jsonschema rules
SPECTRALJSON Schema 3
Standalone JSON Schema definitions for this provider's data models.
Examples 3
Example request and response payloads for these APIs.
Security Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Use Cases 6
What developers build with this provider.
DeFi application development
Query token balances, prices, and swap activity to power DEX front-ends, yield dashboards, and portfolio trackers on Linea.
Smart contract deployment and verification
Deploy EVM contracts using standard tooling and verify source code via the Lineascan API for public transparency.
Transaction monitoring
Track address activity, internal transactions, and ERC-20 transfers in real time for wallets, compliance, and analytics.
Gas cost optimization
Use linea_estimateGas to accurately budget L1+L2 costs before submitting transactions, avoiding under-gas failures.
Token analytics
Pull token holder lists, supply data, price history, and security scores to build on-chain analytics and due-diligence tools.
Cross-chain bridge monitoring
Track deposit and withdrawal transactions across the Linea canonical bridge to Ethereum mainnet.
Integrations 6
Pre-built integrations with other platforms and tools.
Infura
Managed Linea RPC nodes with private endpoints and higher rate limits via MetaMask developer services.
Alchemy
Alchemy provides Linea RPC nodes with enhanced APIs, webhooks, and developer tooling.
The Graph
Subgraphs can index Linea events for custom GraphQL queries over protocol data.
Dune Analytics
Linea on-chain data is queryable via Dune for SQL-based analytics and dashboards.
Hardhat and Foundry
Standard EVM development frameworks connect to Linea RPC without modification.
Chainlink and Pyth
Price oracles deployed on Linea provide on-chain price feeds for DeFi protocols.
Resources
Get Started 2
Portal, sign-up, and the first successful call
Documentation 3
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Build 2
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Operate 2
Status, limits, changes, and where to get help
Commercial 3
Pricing, plans, and the legal terms of use
Company 3
The organization behind the API
Other 3
Properties that don't map to a standard resource type
Source (apis.yml)
Linea API — frequently asked questions
Does Linea have an API?
Yes. APIs.io lists 6 APIs from Linea, including Linea JSON-RPC API, Linea Explorer API (Lineascan / Blockscout) and Linea Prices API, and 3 more.
Is there an OpenAPI specification for the Linea API?
Yes. APIs.io indexes 2 OpenAPI specifications for Linea, each linked for download from this page.
How do I authenticate with the Linea API?
Linea uses bearer-token authentication.
How much does the Linea API cost?
APIs.io lists 8 pricing plans for Linea, with each plan's price, limits and inclusions under Pricing on this page.
Is the Linea API ready for AI agents?
Linea has a Kin Score of 41.0 out of 100 (developing) and an Agent Readiness score of 26.5 (agent-aware), scored by API Evangelist on 2026-11-06.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.