USD price of a chain's native token, no gas data
tools.nythosx.com/v1/price
USD price of a chain's native token, no gas data. Just the native-token USD price (ETH, POL or SOL), sourced from MEXC/Gate.io/Coinbase with the same price feed get_gas_price uses. Use this when you only need the asset price, not fees — get_gas_price and compare_gas_costs already return nativeUsd alongside gas data, so call this instead only to skip the gas lookup (e.g. valuing a wallet balance, n
GET
https://tools.nythosx.com/v1/priceUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://tools.nythosx.com/v1/price?chain=base");
console.log(await res.json());Example input
{
"chain": "base"
}More from NythosX Agent Tools
- tools.nythosx.com/v1/gas/compareWhere is it cheapest to send this transaction right now?. Ranks all 6 supported chains (Base, Ethereum, Arbitrum, Optimism, Polygon, Solana) by USD cost for a transaction type (transfer, USDC transfer or swap) at a speed tier (slow/standard/fast). Returns the ranking, the cheapest chain, and any chains queried in parallel that didn't respond (in failed[]).0.005
- tools.nythosx.com/v1/readConvert any web page into clean, readable Markdown. Fetches a public web page and returns clean Markdown: title, byline, site name, excerpt, word count and article body. Respects robots.txt, blocks private hosts, follows up to five redirects, caps the page at 3 MB. links=true adds outbound links. Not charged on failure: 403 if robots.txt disallows the path, 415 for non-HTML, 422 if no article text0.003
