C
$0.001
per call · USD Coin on Base
CoinStats list of all cryptocurrencies with live market data — price, volume, market cap, rank, % changes
Endpoint
GET https://x402.coinstats.app/coins1
Calls / 30d
1
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.coinstats.app/coins", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://x402.coinstats.app/coins?availableSupply%7Eequals=21000000&availableSupply%7EgreaterThan=1000000&availableSupply%7ElessThan=100000&blockchains=ethereum%2Csolana%2Cbinance-smart-chain&categories=defi%2Cmemecoins%2Cgaming&coinIds=bitcoin%2Cethereum%2Csolana&contractAddresses=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48%2C0xdac17f958d2ee523a2206206994597c13d831ec7¤cy=USD&fullyDilutedValuation%7Eequals=1500000000&fullyDilutedValuation%7EgreaterThan=2000000000&fullyDilutedValuation%7ElessThan=500000000&includeRiskScore=true&limit=100&marketCap%7Eequals=500000000&marketCap%7EgreaterThan=1000000000&marketCap%7ElessThan=100000000&name=bitcoin&page=1&priceChange1d%7Eequals=0&priceChange1d%7EgreaterThan=10&priceChange1d%7ElessThan=-5&priceChange1h%7Eequals=0&priceChange1h%7EgreaterThan=5&priceChange1h%7ElessThan=-2&priceChange1m%7Eequals=0&priceChange1m%7EgreaterThan=30&priceChange1m%7ElessThan=-20&priceChange7d%7Eequals=0&priceChange7d%7EgreaterThan=20&priceChange7d%7ElessThan=-10&price%7Eequals=1&price%7EgreaterThan=100&price%7ElessThan=0.01&rank%7Eequals=10&rank%7EgreaterThan=100&rank%7ElessThan=50&riskScore%7Eequals=50&riskScore%7EgreaterThan=70&riskScore%7ElessThan=30&sortBy=rank&sortDir=asc&symbol=BTC&totalSupply%7Eequals=1000000000&totalSupply%7EgreaterThan=10000000&totalSupply%7ElessThan=500000&volume%7Eequals=5000000&volume%7EgreaterThan=10000000&volume%7ElessThan=1000000" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"meta": {
"hasNextPage": true,
"hasPreviousPage": false,
"itemCount": 150,
"limit": 20,
"page": 1,
"pageCount": 8
},
"result": [
{
"availableSupply": 120280000,
"avgChange": 2.14,
"contractAddress": null,
"contractAddresses": [],
"decimals": 18,
"explorers": [
"https://etherscan.io"
],
"fullyDilutedValuation": 322100000000,
"icon": "https://static.coinstats.app/coins/ethereum_32.png",
"id": "ethereum",
"liquidityScore": 88.7,
"marketCap": 322100000000,
"marketCapScore": 92.1,
"name": "Ethereum",
"price": 2680.45,
"priceBtc": 0.062,
"priceChange1d": 1.85,
"priceChange1h": -0.25,
"priceChange1m": 7.21,
"priceChange1w": 3.42,
"rank": 2,
"redditUrl": "https://reddit.com/r/ethereum",
"riskScore": 18.5,
"symbol": "ETH",
"totalSupply": 120280000,
"twitterUrl": "https://twitter.com/ethereum",
"volatilityScore": 38.9,
"volume": 8520000000,
"websiteUrl": "https://ethereum.org"
}
]
}Payment details
Pay to
0x0750a9e669c37fe1a1847e4b8f9e16f07c16162fAsset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Coinstats & similar services
C
Coinstats · Insights Fear AND Greed
x402.coinstats.app
CoinStats current Fear & Greed Index — sentiment score from Extreme Fear (0) to Extreme Greed (100)
GETBaseOther
$0.001 / call10 calls / 30d
C
Coinstats · Currencies
x402.coinstats.app
CoinStats live currency exchange rates for supported fiat pairs
GETBaseOther
$0.001 / call6 calls / 30d
C
Coinstats · Wallet Blockchains
x402.coinstats.app
CoinStats list of supported wallet blockchains and their connectionId identifiers
GETBaseOnchain Data
$0.001 / call6 calls / 30d