Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC
Linea website screenshot

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).

agent aware

Real signal across most facets with visible, nameable gaps — the contract exists but is thin, or the portal is good while governance and commercial terms are absent.

Kin Score

API Evangelist profiles Linea the way a machine reads it — 37 machine-readable artifacts across 4 APIs, pulled from the provider's own public surface and indexed so a developer, an analyst, or an AI agent can evaluate it against every other provider on the network.

Every provider in the network is reduced to the same set of machine-readable artifacts — OpenAPI contracts, event specifications, GraphQL schemas, runnable collections, pricing and rate-limit signals, security posture, OAuth scopes, and the agent surfaces (MCP servers and skills) that let software drive the API on its own. We profile them because the interface is the part of a company you can actually inspect: it is a truer signal of what a provider does than any marketing page. From those artifacts we compute the Kin Score — Linea scores 56.1/100 (developing), with a separate agent-readiness read of 39/100 (agent aware). The full breakdown is below, followed by every artifact we hold — each card links through to its machine-readable definition on apis.io.

Kin Score

This is the API Evangelist rating — a single, repeatable read computed from the artifacts on this page. Green fill is points earned; the red track is points possible, so every bar shows earned-versus-possible at a glance.

Kin Score Kin Score How this is scored →
scored 2026-07-27 · rubric v0.5
Composite quality — 56.1/100 · developing
Contract Quality 15.5 / 25
Developer Ergonomics 7.0 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 4.8 / 13
Governance 8.8 / 12
Discoverability 10.0 / 10
Agent readiness — 39/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 15 / 15
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3

How we profile Linea

Each block below is one kind of artifact we hold for Linea. For each we say what it is and why it earns a place in the profile, then list every one we've indexed — capped at two rows, scroll within the panel for the rest.

APIs 4

Each API is captured as its own OpenAPI definition — every operation, parameter, and response. This is the single most useful machine-readable description of what an API does, and it's what lets us score, lint, mock, and generate against it without asking the provider for anything.

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

GraphQL 1

Where a provider ships GraphQL, the schema is the contract. We profile it alongside the REST surface so the whole interface is legible in one place.

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

GRAPHQL

Pricing Plans 1

Pricing is part of the interface. Machine-readable plans tell you what a tier costs and includes before you commit — one of the six things the Kin Score reads for commercial clarity.

Published pricing tiers and plan structures.

Linea Plans

8 plans

PLANS

Rate Limits 1

Rate limits are the difference between a demo that works and a production integration that doesn't fall over. Publishing them is an operational-transparency signal — and a hard requirement for any agent that plans its own throughput.

Documented rate limits and quota policies.

Linea Rate Limits

10 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals let a buyer model the financial operations of an API before it's live. We profile them for the same reason we profile pricing: the money is part of the contract.

Cost, billing, and metering signals for API financial operations.

Linea Finops

FINOPS

Features 6

The notable capabilities this provider advertises, captured as structured features so they can be searched and compared instead of read one landing page at a time.

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 give the data shared meaning across APIs. We profile them because semantics are what let a machine reconcile 'customer' here with 'customer' somewhere else.

JSON-LD contexts and semantic vocabularies used across these APIs.

Linea Context

5 classes · 18 properties

JSON-LD

Spectral Rules 1

Governance rulesets we run against this provider's specs — the automated checks behind parts of the score. Profiling them makes the quality bar explicit and re-runnable, not a matter of opinion.

Linea API Rules

5 rules · 3 warnings

SPECTRAL

JSON Schema 3

Standalone JSON Schema definitions describe the data models behind the API. We profile them so the shapes are validatable on their own — useful long after a single request is forgotten.

Standalone JSON Schema definitions for this provider's data models.

PriceResponse

2 properties

JSON SCHEMA

TokenPage

2 properties

JSON SCHEMA

TokenResponse

10 properties

JSON SCHEMA

Examples 3

Real request and response payloads are what turn a spec from abstract into obvious — and they're one of the twelve things an agent needs to call an API correctly on the first try.

Example request and response payloads for these APIs.

Get Token By Address

3 fields

EXAMPLE

Get Token Prices

3 fields

EXAMPLE

Get Tokens

3 fields

EXAMPLE

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals — the evidence that a provider takes security seriously enough to document it. We profile it because you can't govern what you can't see.

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Linea Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Linea Vulnerability Disclosure

security.txt · contact published

SECURITY

Agentic Access 1

An x-agentic-access contract marks which operations are safe for an agent to run on its own and which need a human in the loop. It is the difference between an API an agent can use and one it can use safely.

Recommended x-agentic-access execution contracts for AI agents.

Linea Agentic Access

4 operations

4 operations · 0 acting

AGENTIC

Use Cases 6

What developers actually build with this provider — captured so the catalogue answers 'what is this for', not just 'what does this expose'.

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 tell you where this provider already fits in a stack.

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

Every other property we hold for Linea — documentation, portals, status pages, policies, and corporate surface — grouped by the job it does, following the integrator's arc from getting started to running in production.

Get Started 2

Portal, sign-up, and the first successful call

Documentation 2

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 1

The organization behind the API

Other 3

Properties that don't map to a standard resource type

← All providers · Data indexed from github.com/api-evangelist/linea · machine-readable index on apis.io