Who owns this NFT
agent402.tools/api/erc721-owner
Who owns this NFT? Calls ownerOf(tokenId) on any ERC-721 contract on Ethereum, Base, Polygon, Arbitrum, or Optimism. Complements nft-holdings (which lists a WALLET's NFTs) - this answers by TOKEN. Keyless multi-endpoint failover.
GET
https://agent402.tools/api/erc721-ownerUptime100% of 2 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/erc721-owner?network=ethereum&tokenId=0xaf2caa1c2ca1d027f1ac823b529d0a67cd144264b2789fa2ea4d63a67c7103cc&contract=0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85");
console.log(await res.json());Example input
{
"network": "ethereum",
"tokenId": "0xaf2caa1c2ca1d027f1ac823b529d0a67cd144264b2789fa2ea4d63a67c7103cc",
"contract": "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"
}