Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/base-l2-json-rpc-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Base JSON RPC API
version: 1.0.0
description: Standard Ethereum JSON-RPC interface for the Base network, Coinbase's Ethereum Layer 2 built on the OP Stack and part of the Optimism Superchain. All calls are HTTP POST with a JSON-RPC 2.0 payload. The public endpoints are rate-limited and not recommended for production; teams typically front them with Alchemy, QuickNode, Infura, Coinbase Developer Platform, or self-hosted op-geth + op-node. Flashblocks endpoints provide preconfirmed block data with lower latency.
contact:
name: Base Documentation
url: https://docs.base.org/chain/network-information
servers:
- url: https://mainnet.base.org
description: Base Mainnet (chain ID 8453)
- url: https://mainnet-preconf.base.org
description: Base Mainnet Flashblocks (preconfirmations)
- url: https://sepolia.base.org
description: Base Sepolia testnet (chain ID 84532)
- url: https://sepolia-preconf.base.org
description: Base Sepolia Flashblocks (preconfirmations)
tags:
- name: JSON-RPC
description: Ethereum JSON-RPC 2.0 endpoint
paths:
/:
post:
tags:
- JSON-RPC
summary: JSON-RPC 2.0 request
description: Single endpoint that accepts any JSON-RPC 2.0 request. Supports the standard Ethereum namespaces (`eth_*`, `net_*`, `web3_*`) plus Optimism-specific extensions for fee estimation and L1 messaging. Batched requests (JSON arrays of request objects) are also supported.
requestBody:
required: true
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/JsonRpcRequest'
- type: array
items:
$ref: '#/components/schemas/JsonRpcRequest'
examples:
eth_blockNumber:
summary: Get the latest block number
value:
jsonrpc: '2.0'
id: 1
method: eth_blockNumber
params: []
eth_chainId:
summary: Get the chain ID
value:
jsonrpc: '2.0'
id: 1
method: eth_chainId
params: []
eth_getBalance:
summary: Get an account balance at the latest block
value:
jsonrpc: '2.0'
id: 1
method: eth_getBalance
params:
- '0x0000000000000000000000000000000000000000'
- latest
eth_call:
summary: Execute a read-only contract call
value:
jsonrpc: '2.0'
id: 1
method: eth_call
params:
- to: '0x0000000000000000000000000000000000000000'
data: 0x
- latest
eth_sendRawTransaction:
summary: Submit a signed transaction
value:
jsonrpc: '2.0'
id: 1
method: eth_sendRawTransaction
params:
- 0x...
responses:
'200':
description: JSON-RPC response (or array of responses for batched calls)
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/JsonRpcResponse'
- type: array
items:
$ref: '#/components/schemas/JsonRpcResponse'
'429':
description: Rate limit exceeded
5XX:
description: Upstream node error
components:
schemas:
JsonRpcError:
type: object
required:
- code
- message
properties:
code:
type: integer
message:
type: string
data:
description: Optional error data.
JsonRpcResponse:
type: object
required:
- jsonrpc
- id
properties:
jsonrpc:
type: string
const: '2.0'
id:
oneOf:
- type: string
- type: integer
- type: 'null'
result:
description: Method-specific result; present on success.
error:
$ref: '#/components/schemas/JsonRpcError'
JsonRpcRequest:
type: object
required:
- jsonrpc
- method
properties:
jsonrpc:
type: string
const: '2.0'
id:
oneOf:
- type: string
- type: integer
- type: 'null'
method:
type: string
description: JSON-RPC method name. Standard Ethereum methods include `eth_blockNumber`, `eth_chainId`, `eth_getBalance`, `eth_getTransactionByHash`, `eth_getTransactionReceipt`, `eth_call`, `eth_estimateGas`, `eth_sendRawTransaction`, `eth_getLogs`, `eth_getBlockByNumber`, `net_version`, `web3_clientVersion`.
params:
oneOf:
- type: array
- type: object