Skip to main content

Public API Server

There is a public API server that allows developers to access the Metal network without having to run a node themselves. The public API server is actually several MetalGo nodes behind a load balancer to ensure high availability and high request throughput.

Using the Public API nodes

The public API server is at for Metal Mainnet and for Metal Tahoe Testnet. To access a particular API, just append the relevant API endpoint, as documented here. Namely, use the following end points for each chain respectively:


  • For C-Chain API, the URL is
  • For X-Chain API, the URL is
  • For P-Chain API, the URL is

Note: on Tahoe Testnet, use instead of


  • For C-Chain API, the URL is wss://

Note: on Tahoe Testnet, the URL is wss://

Supported APIs

The public API server supports all the API endpoints that make sense to be available on a public-facing service, including APIs for the X-Chain, P-Chain, C-Chain, and full archival for the Primary Network. However, it does not support Index APIs, which includes the X-Chain API's getAddressTxs method.

For a full list of available APIs see here.


The public API only supports C-Chain websocket API calls for API methods that don't exist on the C-Chain's HTTP API.

The maximum number of blocks to serve per getLogs request is 2048, which is set by api-max-blocks-per-request.

Sticky sessions

Requests to the public API server API are distributed by a load balancer to an individual node. As a result, consecutive requests may go to different nodes. That can cause issues for some use cases. For example, one node may think a given transaction is accepted, while for another node the transaction is still processing. To work around this, you can use 'sticky sessions', as documented here. This allows consecutive API calls to be routed to the same node.


Usage of public API nodes is free and available to everyone without any authentication or authorization. Rate limiting is present, but many of the API calls are cached, and the rate limits are quite high.