CodeLive

Arc Allowance

Allowance check on Arc, before an app asks for an approval: what owner has already approved to spender for a token (default USDC; add &token=0x...

$0.00115USDC per call · settled on Base · no subscription, no API key

Overview

Allowance check on Arc, before an app asks for an approval: what owner has already approved to spender for a token (default USDC; add &token=0x... for another), in tokens and USD, whether it is unlimited, the owner's balance, whether the spender is a contract and its name if it is one our own code uses on Arc (Uniswap v4 PoolManager, UniversalRouter, Permit2, Circle Gateway Wallet, CCTP TokenMessenger, the launchpad router; never guessed), and risk signals (unlimited to an unknown contract, an approval to a plain wallet, more than the balance). Pass ?owner=0x...&spender=0x.... A non-token or a failed read is refused before payment.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/arc-allowance$0.00115Invoke Arc Allowance (Code) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/arc-allowance

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/arc-allowance
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs