81trust / 100

Rwa Asset

by Tokenized asset in Onchain & crypto

x402 APIPassing, checked 40 min ago

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. Two cached upstream reads, one answer. Use rwa-list to find the id.

GET https://agent402.tools/api/rwa-asset

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
181 ms typical, 181 ms slowest 5%
Last check
40 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/rwa-asset?currency=usd&id=gold"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Frwa-asset
const res = await pay("https://agent402.tools/api/rwa-asset?currency=usd&id=gold");
console.log(await res.json());

Example input

{
  "currency": "usd",
  "id": "gold"
}

Example output

{
  "cached": false,
  "fetchedAt": "2026-09-02T18:50:00.000Z",
  "id": "gold",
  "image": "https://coin-images.coingecko.com/coins/images/10481/large/logo.png",
  "lastUpdated": "2026-09-02T18:49:00Z",
  "market": {
    "change24h": 42.77,
    "change24hPct": 0.98698,
    "currency": "usd",
    "high24h": 4394.94,
    "id": "gold",
    "image": "https://coin-images.coingecko.com/coins/images/10481/large/logo.png",
    "lastUpdated": "2026-09-02T18:49:00Z",
    "low24h": 4289.36,
    "marketCap": 5219552133,
    "marketCapChange24h": 44135859,
    "marketCapChange24hPct": 0.8528,
    "name": "Gold",
    "price": 4376.6,
    "symbol": "XAU",
    "type": "commodity",
    "volume24h": 557496353
  },
  "name": "Gold",
  "source": "coingecko",
  "symbol": "XAU",
  "type": "commodity",
  "webSlug": "gold"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
40 min agoPassed402189 ms$0.006
6 h agoPassed402181 ms$0.006