Admin API REST API: V0 Chains | Quicknode
v0/chains REST API Endpoint
Returns a list of chains.
Updated on
Jun 26, 2026
Parameters
This method does not accept any parameters
Returns
data
array
An array of data which contains the following fields:
slug
string
A short, unique identifier for the blockchain networknetworks
array
An array of networksslug
string
A short, unique identifier for the specific networkname
string
The name of the specific network
error
string
An error message if any issue occurs
Request
Curl
curl -X 'GET' \
'https://api.quicknode.com/v0/chains' \
-H 'accept: application/json' \
-H 'x-api-key: YOUR_API_KEY'
JavaScript
const myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("x-api-key", "YOUR_API_KEY");
const requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow"
};
fetch("https://api.quicknode.com/v0/chains", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Python
import requests
url = "https://api.quicknode.com/v0/chains"
payload = {}
headers = {
'accept': 'application/json',
'x-api-key': 'YOUR_API_KEY',
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Ruby
require "uri"
require "net/http"
url = URI("https://api.quicknode.com/v0/chains")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["x-api-key"] = "YOUR_API_KEY"
response = https.request(request)
puts response.read_body
Rust
use quicknode_sdk::{QuicknodeSdk, SdkFullConfig};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let qn = QuicknodeSdk::new(&SdkFullConfig::builder().api_key("YOUR_API_KEY").build())?;
let response = qn.admin.list_chains().await?;
println!("{:?}", response);
Ok(())
}
Quicknode CLI
qn chain list -o json