Resolve the metadata for a single NFT
agent402.tools/api/nft-metadata
Resolve the metadata for a single NFT: title, description, image URLs (original + cached CDN), attributes/traits, and the standard (ERC-721 vs ERC-1155). Useful when you have a contract+tokenId and need the display data without re-fetching the whole collection.
POST
https://agent402.tools/api/nft-metadataUptime100% of 3 checks in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/nft-metadata", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"network":"ethereum","tokenId":"1","contract":"0xed5af388653567af2f388e6224dc7c4b3241c544"}),
});
console.log(await res.json());Example input
{
"network": "ethereum",
"tokenId": "1",
"contract": "0xed5af388653567af2f388e6224dc7c4b3241c544"
}