Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Base API

Introduction

Base is a Layer 2 network built on top of Ethereum, offering fast and low-cost transactions while maintaining the security of Ethereum. It is optimized for decentralized applications (dApps), making it an attractive platform for DeFi, NFTs, and other blockchain use cases. Base provides developers with a secure, scalable, and interoperable environment for building dApps that leverage the Ethereum ecosystem.

Supported Networks

The Web3 Data API is available for the following Base networks:

  1. Base Mainnet
  2. Base Sepolia Testnet

Network Details

NetworkChain IDEVM Chain
Base Mainnet0x2105 (8453)EvmChain.BASE
Base Sepolia Testnet0x14a34 (84532)EvmChain.BASE_SEPOLIA

Supported APIs

The following APIs are supported for Base:

Wallet API

The Wallet API enables you to interact with wallet data on the Base blockchain.

NFT API

The NFT API allows you to interact with NFT-related data on Base. You can:

Token API

The Token API provides methods for interacting with ERC-20 tokens on Base. Choose from the following actions:

DeFi API

The DeFi API enables interaction with decentralized finance positions and data on Base:

Entity API

The Entity API allows you to interact with various entities on Base, such as exchanges or other organizations:

Price API

Retrieve price data for tokens and NFTs on Base using the Price API:

Blockchain API

The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:


Unlock the Power of Base with Moralis

Curious about how you can leverage the full potential of Base? Check out our Base page to see how Moralis can help you build faster and smarter. With features like easy access to on-chain data, token balances, and NFT management, Moralis simplifies Base development for all kinds of dapps.

Discover more about what you can build on Base with Moralis:
Learn more on our Base page