Return the NFTs owned by a wallet address on a given network
agent402.tools/api/nft-holdings
Return the NFTs owned by a wallet address on a given network. Each row carries the collection name, contract address, token ID, image URL (where available), and ERC-721 vs ERC-1155 standard. Up to 100 per call - paginate with `pageKey` from the previous response.
POST
https://agent402.tools/api/nft-holdingsUptime100% of 4 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-holdings", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0","network":"base"}),
});
console.log(await res.json());Example input
{
"address": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"network": "base"
}