PolygonScan
HomeTwitterKnowledge Base API PRO
PolygonScan
PolygonScan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API Key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Gas Tracker
    • Stats
  • 🏆API PRO
    • PolygonScan API PRO
    • API PRO Endpoints
  • 📖Tutorials
    • Read/Write Smart Contracts
    • Verifying Contracts Programmatically
  • 🔧Misc Tools & Utilities
    • Libraries
    • Plugins
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit PolygonScan.com
Powered by GitBook
On this page
  1. Getting Started

Endpoint URLs

PreviousGetting an API KeyNextAccounts

Last updated 10 months ago

An API key generated on PolygonScan can be used for both and testnet explorers .

Similarly, all endpoints and parameter formatting remain the same across testnet explorers, you are only required to change the relevant API endpoint URL as follows.

Network
URL
Documentation

Mainnet

Testnet

✨
🏗️
Polygon POS Chain mainnet
https://api.polygonscan.com/api
https://docs.polygonscan.com
https://api-amoy.polygonscan.com/api
https://docs.polygonscan.com/v/amoy-polygonscan