PNUT to GBP exchange rate API
Get the live Peanut the Squirrel to British Pound Sterling (PNUT/GBP) exchange rate and convert PNUT to GBP with one GET request to the Xchanger REST API. Rates refresh every 10 minutes; free plan, no credit card required.
Xchanger quotes every asset against USD and derives the Peanut the Squirrel to British Pound Sterling rate from the two USD rates, refreshed in 10-minute windows. The examples below show the exact requests and the shape of each response; values are illustrative — call the API for a live quote.
Get the PNUT/GBP exchange rate
Uses GET /api/general/convert.
Example request
curl "https://backend-ejsq.onrender.com/api/general/convert?from_symbol=PNUT&from_asset_type=crypto&to_symbol=GBP&to_asset_type=currency&amount=1" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch(
"https://backend-ejsq.onrender.com/api/general/convert?from_symbol=PNUT&from_asset_type=crypto&to_symbol=GBP&to_asset_type=currency&amount=1",
{ headers: { "x-api-key": process.env.XCHANGER_API_KEY } },
);
const body = await res.json();
console.log(body);import os
import requests
res = requests.get(
"https://backend-ejsq.onrender.com/api/general/convert",
params={"from_symbol": "PNUT", "from_asset_type": "crypto", "to_symbol": "GBP", "to_asset_type": "currency", "amount": 1},
headers={"x-api-key": os.environ["XCHANGER_API_KEY"]},
)
print(res.json())Example response (illustrative values)
{
"data": {
"from": "PNUT",
"to": "GBP",
"amount": 1,
"rate": 1.2345,
"result": 1.2345,
"updated": "2026-06-09T12:00:00.000Z"
}
}Convert 100 PNUT to GBP
Uses GET /api/general/convert. Pass precision to round the result; omit it for full precision.
Example request
curl "https://backend-ejsq.onrender.com/api/general/convert?from_symbol=PNUT&from_asset_type=crypto&to_symbol=GBP&to_asset_type=currency&amount=100&precision=2" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch(
"https://backend-ejsq.onrender.com/api/general/convert?from_symbol=PNUT&from_asset_type=crypto&to_symbol=GBP&to_asset_type=currency&amount=100&precision=2",
{ headers: { "x-api-key": process.env.XCHANGER_API_KEY } },
);
const body = await res.json();
console.log(body);import os
import requests
res = requests.get(
"https://backend-ejsq.onrender.com/api/general/convert",
params={"from_symbol": "PNUT", "from_asset_type": "crypto", "to_symbol": "GBP", "to_asset_type": "currency", "amount": 100, "precision": 2},
headers={"x-api-key": os.environ["XCHANGER_API_KEY"]},
)
print(res.json())Example response (illustrative values)
{
"data": {
"from": "PNUT",
"to": "GBP",
"amount": 100,
"rate": 1.2345,
"result": 123.45,
"updated": "2026-06-09T12:00:00.000Z"
}
}Related pairs
Start pulling live rates in minutes
Create your free account, grab an API key, and make your first request today. No credit card required.