跳转至主要内容

Polygon API Endpoints

更新于
2025年11月26日

Quicknode gives you high-performance access to the Polygon blockchain through HTTP and WebSocket (WSS) endpoints. These endpoints are designed for reliability, speed, and real-time data delivery, and provide the foundation for building scalable Web3 applications.

HTTP 端点

Quicknode 的 HTTP 端点提供了功能强大的 JSON-RPC API 访问功能,具备多种性能层级和优化功能,旨在满足不同的应用需求。


https://your-endpoint.quiknode.pro/auth-token/

最适合:


  • Web3 应用程序后端和 API
  • 智能合约的部署与交互
  • 区块链数据查询与分析
  • 开发和测试环境

WebSocket (WSS) 端点

Quicknode 的 WebSocket 端点通过针对不同用例和性能要求进行优化的持久连接,提供实时区块链数据流。


wss://your-endpoint.quiknode.pro/auth-token/

最适合:


  • 需要实时价格数据源的DeFi应用
  • 区块链浏览器和分析仪表盘
  • 交易监控与确认追踪
  • 智能合约事件监听

WebSocket (WSS) 限制

WebSocket 响应存在一定大小限制,该限制可能会发生变化。如果响应可能较大,建议使用 POST 请求。如果响应大小超过限制,将返回错误代码 -32616。

信贷使用情况

Different methods consume different amounts of credits: View Polygon API credit costs →

Flat Rate RPS

Flat Rate RPS is a billing option that provides predictable monthly costs for Polygon endpoints. Instead of metering individual requests and charging with API Credits, you pay a fixed monthly fee based on your configured request capacity. Your bill stays the same each month regardless of actual usage.

You can check the Flat Rate RPS documentation to learn more.

速率限制

速率限制因套餐等级而异:查看详细定价和限制 →

分享此文档