Logo
New RPC users get 35% off their first monthView the offer
QuickNode
QuickNode6 min read

QuickNode API: A Practical Guide to RPC Access

A practical guide to the QuickNode API, covering RPC endpoint access, authentication, network support, and key considerations for developers.

TL;DR

The QuickNode API provides HTTP and WebSocket RPC endpoints for interacting with supported blockchains. This guide explains how to obtain and use endpoints, authenticate requests, and evaluate factors like network coverage, pricing, and performance.

What Is the QuickNode API?

The QuickNode API is a managed Remote Procedure Call (RPC) service that lets applications communicate with blockchain networks without running their own nodes. It supports a range of networks, including Ethereum, Solana, Polygon, and others, and provides HTTP and WebSocket endpoints for reading blockchain data and submitting transactions.

Unlike a generic API with fixed REST endpoints, the QuickNode API exposes standard JSON-RPC methods per blockchain. Developers send requests to a network-specific endpoint URL, and QuickNode routes them to nodes that are maintained and scaled by the provider.

  • Managed RPC access to multiple blockchains
  • HTTP and WebSocket endpoint support
  • Standard JSON-RPC methods per network
  • Dashboard for endpoint management and usage monitoring

How to Get a QuickNode RPC Endpoint

To use the QuickNode API, you typically create an account, log in to the QuickNode dashboard, and create an endpoint for the blockchain network you want to access. The dashboard provides the endpoint URL, which may include an API key or token for authentication.

Endpoint URLs are network-specific. For example, an Ethereum mainnet endpoint differs from a Solana mainnet endpoint. You can create multiple endpoints for different networks or environments, and manage them from the dashboard.

  • Sign up or log in at the QuickNode website
  • Create a new endpoint and select the desired blockchain network
  • Copy the generated RPC URL from the dashboard
  • Use the URL in your application’s RPC client configuration

Using the QuickNode API: Endpoint Examples

QuickNode endpoints follow a pattern that includes a subdomain, network identifier, and an API key or token. The exact format can vary by network and endpoint type, so always use the URL provided in your dashboard.

Below are illustrative examples of how a QuickNode RPC URL might look. Replace the placeholder values with your actual endpoint details.

# Example HTTP endpoint (illustrative)
https://example.solana-mainnet.quiknode.pro/1234567890abcdef/

# Example WebSocket endpoint (illustrative)
wss://example.solana-mainnet.quiknode.pro/1234567890abcdef/

Authentication and Security

QuickNode endpoints typically embed an API key or token in the URL path. This means the endpoint URL itself acts as a credential, so it should be treated as sensitive information. Avoid exposing it in client-side code or public repositories.

For production applications, consider using environment variables or a secrets manager to store endpoint URLs. QuickNode may also offer additional security features such as allowlists or JWT authentication, depending on the plan and network; check the dashboard and documentation for current options.

  • Keep endpoint URLs confidential
  • Use environment variables or secret storage
  • Review available security features in the dashboard
  • Rotate keys if an endpoint is compromised

Supported Networks and Methods

The QuickNode API supports a growing list of blockchain networks. Each network exposes its own set of JSON-RPC methods, which generally follow the standard methods defined by the respective protocol. For example, Ethereum endpoints support methods like eth_blockNumber and eth_getBalance, while Solana endpoints support methods like getSlot and getBalance.

Because supported networks and methods can change, refer to the QuickNode documentation or dashboard for the most current list. Some networks may have add-ons or enhanced APIs for specific use cases.

  • Ethereum, Solana, Polygon, and many other networks
  • Standard JSON-RPC methods per chain
  • Possible add-ons for enhanced functionality
  • Check documentation for current network support

Pricing and Plans

QuickNode offers tiered pricing plans that typically differ by request volume, number of endpoints, and access to advanced features. Pricing can change, and exact costs depend on the selected plan and any add-ons.

For current pricing details, visit the QuickNode website or contact their sales team. When evaluating costs, consider your expected request volume, the need for WebSocket connections, and any premium features required for your application.

  • Plans vary by request volume and features
  • Check the official website for current pricing
  • Consider WebSocket and add-on requirements
  • Evaluate based on expected usage

Performance and Reliability Considerations

QuickNode manages infrastructure to provide reliable RPC access, but performance can vary based on network conditions, endpoint location, and plan tier. For latency-sensitive applications, consider using endpoints in regions close to your users or infrastructure.

It is good practice to implement retry logic and error handling in your application, as with any external service. QuickNode may provide status pages and monitoring tools to help you track endpoint health.

  • Choose endpoint regions strategically
  • Implement retries and fallbacks
  • Monitor endpoint health via dashboard or status page
  • Test performance under expected load

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started