Skip to content
Fourohtwo

scraplingdata.xyz/v1/lookup/allowance

ERC-20 allowance(owner, spender) for a token contract on one chain (default ethereum). Public RPC only. $0.001

BasePolygonArbitrumSolanaBNB ChainAnswering
GEThttps://scraplingdata.xyz/v1/lookup/allowance

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://scraplingdata.xyz/v1/lookup/allowance?chain=ethereum&contract=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3");
console.log(await res.json());

Example input

{
  "chain": "ethereum",
  "contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "owner": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
}

More from Scrapling x402 Data Store