https://docs.polygon.technology/docs/develop/network-details/network/
New unified URL (recommended): https://polygon-rpc.com/
Use this new aggregated RPC link to avoid RPC disconnects. You can read more details on this here and here.
Use these alternative RPCs only if the above RPC fails:
https://matic-mainnet.chainstacklabs.com
https://rpc-mainnet.maticvigil.com
https://rpc-mainnet.matic.quiknode.pro
https://matic-mainnet-full-rpc.bwarelabs.com
Public RPCs may have traffic or rate-limits depending on usage. You can sign up for a dedicated free RPC URL at the following:
Alchemy https://www.alchemy.com/
Ankr https://www.ankr.com/
BlockPI https://chains.blockpi.io/#/polygon
Chainstack https://chainstack.com/build-better-with-polygon/
DataHub (Figment) https://datahub.figment.io/
Getblock https://getblock.io/en/
Infura https://infura.io/
MaticVigil https://rpc.maticvigil.com/
Moralis https://moralis.io/
Pocket Network https://www.portal.pokt.network/
QuickNode https://www.quicknode.com/chains/matic