Use when an agent must know it can SELL a Base token before it buys
402.com.tr/api/x402/sellability
Use when an agent must know it can SELL a Base token before it buys: the honeypot check, answered three ways. Security simulation (honeypot, cannot-sell-all, sell/buy tax, pausable transfers), a live transfer simulation we run ourselves from a real holder (does it revert, is it taxed?), and exit liquidity. Returns a hard canSell verdict with reasons. Selling is where rugs hide.
GET
https://402.com.tr/api/x402/sellabilityUptime100% 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://402.com.tr/api/x402/sellability?address=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed&size=5000");
console.log(await res.json());Example input
{
"address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
"size": "5000"
}