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

Polygon API

Introduction

Polygon is a Layer 2 scaling solution for Ethereum, offering faster transactions with lower fees while still benefiting from Ethereum’s security. Polygon aims to improve the user experience and developer experience by enabling decentralized applications (dapps) to scale efficiently. With a robust ecosystem and a growing set of tools, Polygon has become a popular choice for DeFi, NFTs, and gaming applications.

Supported Networks

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

  1. Polygon Mainnet
  2. Polygon Amoy Testnet

Network Details

NetworkChain IDEVM Chain
Polygon Mainnet0x89 (137)EvmChain.POLYGON
Polygon Amoy0x13882 (80002)EvmChain.POLYGON_AMOY

Supported APIs

The following APIs are supported for Polygon:

Wallet API

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

NFT API

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

Token API

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

DeFi API

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

Entity API

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

Price API

Retrieve price data for tokens and NFTs on Polygon 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 Polygon with Moralis

Curious about how you can leverage the full potential of Polygon? Check out our Polygon 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 Polygon development for all kinds of dapps.

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