Skip to content
Fourohtwo

NFT metadata, Optimism

agent-data-tools.revmesh2074.workers.dev/op/nft-metadata

NFT metadata, Optimism. NFT metadata on Optimism: 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 op_nft_owner. A token that does not exist is 42

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/op/nft-metadata

Uptime100% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/op/nft-metadata?contract=0xC36442b4a4522E871399CD717aBDD847Ab11FE88&tokenId=1");
console.log(await res.json());

Example input

{
  "contract": "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
  "tokenId": "1"
}