Tokenized asset

$0.006 per call · USDC via x402 · GET /api/rwa-asset

One tokenized real-world asset by id (gold, nvidia, tesla, spy ...): identity, type, image and web slug joined with its onchain market row - price, market cap, 24h volume and change in your currency. Send GET /api/rwa-asset with the required field id and pay $0.006 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, id, symbol and 6 more.

Two cached upstream reads, one answer. Use rwa-list to find the id.

Category: Crypto & onchain data · Tags: crypto rwa tokenized stock commodity market-data profile

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
idstringyesAsset id from rwa-list (gold, nvidia, tesla, ...).
currencystringnovs currency for the market block (default usd).

Example request

curl -i "https://agent402.tools/api/rwa-asset?id=gold&currency=usd"

Without payment this returns HTTP 402 Payment Required with the exact price for rwa-asset; any x402 v2 or MPP client pays it and retries.

Example response

{
  "source": "coingecko",
  "fetchedAt": "2026-09-02T18:50:00.000Z",
  "cached": false,
  "id": "gold",
  "symbol": "XAU",
  "name": "Gold",
  "type": "commodity",
  "image": "https://coin-images.coingecko.com/coins/images/10481/large/logo.png",
  "webSlug": "gold",
  "lastUpdated": "2026-09-02T18:49:00Z",
  "market": {
    "id": "gold",
    "symbol": "XAU",
    "name": "Gold",
    "type": "commodity",
    "image": "https://coin-images.coingecko.com/coins/images/10481/large/logo.png",
    "currency": "usd",
    "price": 4376.6,
    "marketCap": 5219552133,
    "volume24h": 557496353,
    "high24h": 4394.94,
    "low24h": 4289.36,
    "change24h": 42.77,
    "change24hPct": 0.98698,
    "marketCapChange24h": 44135859,
    "marketCapChange24hPct": 0.8528,
    "lastUpdated": "2026-09-02T18:49:00Z"
  }
}
FieldTypeAlways presentIn the example
sourcestringyescoingecko
fetchedAtstringyes2026-09-02T18:50:00.000Z
cachedbooleanyesfalse
idstringyesgold
symbolstringyesXAU
namestringyesGold
typestringyescommodity
imagestringyeshttps://coin-images.coingecko.com/coins/images/10481/large/logo.png
webSlugstringyesgold
lastUpdatedstringyes2026-09-02T18:49:00Z
marketobjectyes16 fields: id, symbol, name, type, image, currency

From an MCP client

catalog.call {
  "slug": "rwa-asset",
  "params": {
    "id": "gold",
    "currency": "usd"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for rwa-asset; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

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/rwa-asset?id=gold&currency=usd");

Related tools

Tokenized asset issuer

$0.006 · GET /api/rwa-issuer

One issuer of tokenized real-world assets by id: aggregate tokenized market cap, 24h cap change and 24h volume, plus eve…

Tokenized asset markets

$0.006 · GET /api/rwa-markets

Market data for tokenized real-world assets - tokenized stocks (Nvidia, Tesla, pre-IPO names), ETFs and commodities like…

Coin profile

$0.008 · GET /api/coin-profile

Full profile of one coin by id: name/symbol, description, categories, contract addresses per platform, links (homepage, …

Tokenized asset issuers

$0.003 · GET /api/rwa-issuers

The issuers behind tokenized real-world assets (Coinbase, Backpack Securities, Ondo, xStocks and the rest): id and name,…

Tokenized assets list

$0.003 · GET /api/rwa-list

Every real-world asset with a tokenized onchain version that CoinGecko tracks: stocks, ETFs and commodities, with id, sy…

Token price by contract address

$0.005 · GET /api/coin-price-by-contract

Live price, market cap, 24h volume and 24h change for ERC-20 / SPL / other chain tokens looked up by CONTRACT ADDRESS on…