NFT metadata, Base
agent-data-tools.revmesh2074.workers.dev/base/nft-metadata
NFT metadata, Base. NFT metadata on Base: the token URI of one ERC-721 token id (tokenURI) and the JSON it points to (name, description, image, attributes), read from data: URIs, https or ipfs:// (through ipfs.io). Strings over 1,000 characters, such as on-chain SVG images, are shortened. Use to show or check what an NFT is; for its owner use base_nft_owner. A token that does not exist is 422, unc
GET
https://agent-data-tools.revmesh2074.workers.dev/base/nft-metadataUptime100% of 1 check 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://agent-data-tools.revmesh2074.workers.dev/base/nft-metadata?contract=0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1&tokenId=1");
console.log(await res.json());Example input
{
"contract": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
"tokenId": "1"
}