Convert an amount of a crypto asset to USD using the live Chainlink price on Base
Convert an amount of a crypto asset to USD using the live Chainlink price on Base. Pass ?from=ETH&amount=1.5 (assets: ETH, BTC, SOL, LINK, CBETH, AERO, EUR). Returns the rate used, the feed and its age. Oracle value, not a tradable quote. No cache.
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
oraclepost.higgsfield.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5D005884a1818260D31735101980b0a43d28D968",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"amount": "Amount to convert, e.g. 1.5 (default 1)",
"from": "Asset ticker, e.g. ETH, BTC, SOL, LINK, CBETH, AERO, EUR"
},
"type": "http"
},
"output": {
"example": {
"age_seconds": 41,
"amount": 1.5,
"from": "ETH",
"not_financial_advice": true,
"pair": "ETH-USD",
"rate": 2401.41,
"source": "chainlink",
"usd": 3602.11
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"const": "GET"
},
"queryParams": {
"properties": {
"amount": {
"description": "Amount to convert, e.g. 1.5 (default 1)",
"type": "string"
},
"from": {
"description": "Asset ticker, e.g. ETH, BTC, SOL, LINK, CBETH, AERO, EUR",
"type": "string"
}
},
"required": [
"from",
"amount"
],
"type": "object"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://oraclepost.higgsfield.app/api/premium/convert" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://oraclepost.higgsfield.app/api/premium/convert");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://oraclepost.higgsfield.app/api/premium/convert")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7086.json, and this resource appears in /discovery/resources and /discovery/search.