Coin profile
GET /api/coin-profileFull profile of one coin by id: name/symbol, description, categories, contract addresses per platform, links (homepage, explorers, repos, social), hashing algorithm, genesis date, and a market snapshot in your currency: price, rank, market cap, fully diluted valuation, 24h volume, ATH/ATL with dates and distance, circulating/total/max supply, 24h/7d/30d/1y change. Send GET /api/coin-profile with the required field coin and pay $0.008 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, id, symbol and 12 more.
One call for the metadata a token-risk or research agent otherwise assembles from five. Cached in-process for 5 minutes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
coin | string | yes | Coin id (bitcoin, ethereum, usd-coin, ...). Use coin-search to resolve a symbol. Also accepted as symbol, id, ticker, asset. |
currency | string | no | vs currency for the market block (default usd). |
Example request
curl -i "https://agent402.tools/api/coin-profile?coin=ethereum¤cy=usd"
Without payment this returns HTTP 402 Payment Required with the exact price for coin-profile; any x402 v2 or MPP client pays it and retries.
Example response
{
"source": "coingecko",
"fetchedAt": "2026-08-22T13:20:00.000Z",
"cached": false,
"id": "ethereum",
"symbol": "ETH",
"name": "Ethereum",
"rank": 2,
"currency": "usd",
"description": "Ethereum is a global, open-source platform for decentralized applications...",
"categories": [
"Smart Contract Platform",
"Layer 1 (L1)"
],
"platforms": [
{
"platform": "ethereum",
"contract": null,
"decimals": null
}
],
"links": {
"homepage": "https://www.ethereum.org/",
"explorers": [
"https://etherscan.io/"
],
"repos": [
"https://github.com/ethereum/go-ethereum"
],
"twitter": "ethereum",
"reddit": "https://www.reddit.com/r/ethereum",
"whitepaper": null
},
"hashingAlgorithm": "Ethash",
"genesisDate": "2015-07-30",
"market": {
"price": 2424.5,
"marketCap": 292876442962,
"fullyDilutedValuation": 292876442962,
"volume24h": 14200000000,
"high24h": 2480.1,
"low24h": 2390.2,
"change24hPct": 1.2,
"change7dPct": -3.1,
"change30dPct": 8.4,
"change1yPct": -12.9,
"ath": 4878.26,
"athDate": "2021-11-10T14:24:19.604Z",
"athChangePct": -50.3,
"atl": 0.432979,
"atlDate": "2015-10-20T00:00:00.000Z",
"circulatingSupply": 120700000,
"totalSupply": 120700000,
"maxSupply": null,
"lastUpdated": "2026-08-22T13:19:00.000Z"
},
"sentimentUpPct": 71.4,
"watchlistUsers": 2200000
}
| Field | Type | Always present | In the example |
|---|---|---|---|
source | string | yes | coingecko |
fetchedAt | string | yes | 2026-08-22T13:20:00.000Z |
cached | boolean | yes | false |
id | string | yes | ethereum |
symbol | string | yes | ETH |
name | string | yes | Ethereum |
rank | number | yes | 2 |
currency | string | yes | usd |
description | string | yes | Ethereum is a global, open-source platform for decentralized applications... |
categories | array of string | yes | 2 items in the example |
platforms | array of objects | yes | 1 item in the example |
links | object | yes | 6 fields: homepage, explorers, repos, twitter, reddit, whitepaper |
hashingAlgorithm | string | yes | Ethash |
genesisDate | string | yes | 2015-07-30 |
market | object | yes | 19 fields: price, marketCap, fullyDilutedValuation, volume24h, high24h, low24h |
sentimentUpPct | number | yes | 71.4 |
watchlistUsers | number | yes | 2200000 |
From an MCP client
catalog.call {
"slug": "coin-profile",
"params": {
"coin": "ethereum",
"currency": "usd"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for coin-profile; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
coinis required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/coin-profile is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/coin-profile?coin=ethereum¤cy=usd");
Related tools
Tokenized asset
GET /api/rwa-assetOne tokenized real-world asset by id (gold, nvidia, tesla, spy ...): identity, type, image and web slug joined with its …
Token price by contract address
GET /api/coin-price-by-contractLive price, market cap, 24h volume and 24h change for ERC-20 / SPL / other chain tokens looked up by CONTRACT ADDRESS on…
Crypto order book
GET /api/crypto-orderbookL2 order-book snapshot for a spot pair: best bid/ask, mid price, spread (absolute + %), and the top N aggregated price l…
DeFi protocol profile
POST /api/defi-protocolProfile of one DeFi protocol by DefiLlama slug (aave-v3, uniswap-v3, lido, morpho-v1...): TVL rank among all protocols, …
NFT metadata lookup
POST /api/nft-metadataResolve the metadata for a single NFT: title, description, image URLs (original + cached CDN), attributes/traits, and th…
Tokenized asset issuer
GET /api/rwa-issuerOne issuer of tokenized real-world assets by id: aggregate tokenized market cap, 24h cap change and 24h volume, plus eve…