Liquid Agent

v1.7.0
ai.liquidagent.api/liquid-agent Checked 3 days ago Published 2 months ago

Money tools for AI agents over x402: USDC bridge to 16 chains, Polymarket data, stocks, USDC gas.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bridge_quote Bridge quote (Base to 16 chains, Arc to Base)

Free. Exact price to move USDC with the Liquid Bridge (Base to Arc, Arbitrum, OP, Polygon, Avalanche, Unichain, Linea, World Chain, Sonic, Monad, Sei, Ink, HyperEVM, XDC, Plume, Codex; or Arc to Base): what you pay, what you receive (exactly `amount`), the fee breakdown and the ETA. No payment, no wallet needed.

ParameterTypeDescription
amount *stringUSDC to RECEIVE on the destination, e.g. "1" or "25.5". Minimum 1.
to *stringChain you receive on: arc, arbitrum, optimism, polygon, avalanche, unichain, linea, world, sonic, monad, sei, ink, hyperevm, xdc, plume, codex (from Base) or base (from Arc).
fromstringChain you pay on. Omit to pick the live route to `to` (Base to any listed chain; Arc to Base).
refstringOptional referrer address: earns 20% of Liquid's fee. Omit if you have none.

bridge_prepare_payment Prepare a bridge payment (x402)

Returns the exact x402 payment request for a bridge (network, asset, payTo contract, amount, EIP-712 domain) and the URL to call. Pay it with your own x402 client: sign one EIP-3009 authorization and repeat the GET with the PAYMENT-SIGNATURE header. You receive exactly `amount` at your own address on the destination. This tool does not pay or sign anything.

ParameterTypeDescription
amount *stringUSDC to RECEIVE on the destination, e.g. "1" or "25.5". Minimum 1.
to *stringChain you receive on: arc, arbitrum, optimism, polygon, avalanche, unichain, linea, world, sonic, monad, sei, ink, hyperevm, xdc, plume, codex (from Base) or base (from Arc).
fromstringChain you pay on. Omit to pick the live route to `to` (Base to any listed chain; Arc to Base).
refstringOptional referrer address: earns 20% of Liquid's fee. Omit if you have none.

bridge_routes Bridge routes

Free. Every Liquid Bridge route with its live price for 1 USDC and whether it is open.

bridge_status Track a bridge

Free. Circle attestation and mint state for a bridge, by its burn transaction hash (returned by the bridge call).

ParameterTypeDescription
burnTx *stringBurn transaction hash from the bridge response.
fromstringSource chain, if known.

bridge_referral_earnings Referral earnings

Free. Unclaimed Liquid Bridge referral earnings for an address on each chain, and how they are paid out. Earn by adding ref=<your address> to bridge calls: 20% of Liquid's fee.

ParameterTypeDescription
address *stringReferrer address.

stocks_basket Tokenized stock basket

Free. The on-chain tokenized US stock index on Base (NVDA, META, AAPL, GOOGL): live prices, fees, how to buy from $1.

stocks_buy_quote Stock basket buy quote

Free. Preview buying the tokenized stock basket: shares you would get and the fee for a USDC amount (USDC 6 decimals: "2000000" = $2).

ParameterTypeDescription
usdc *stringAmount in USDC-6, e.g. "2000000" for $2.

stocks_vault Stock vault state

Free. A basket vault's value (NAV), holdings, current vs target weights and whether it needs rebalancing.

ParameterTypeDescription
address *stringVault address.

stocks_portfolio Stock portfolio of an address

Free. Everything an address owns in the tokenized stock basket: each vault, its shares and current USD value.

ParameterTypeDescription
address *stringWallet address to look up.

stocks_create_vault Open your own stock vault

Free. Opens your own vault for the tokenized US stock basket (NVDA, META, AAPL, GOOGL), controlled only by you. Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds. After it confirms, find the vault with stocks_portfolio.

stocks_set_weights Set your stock allocation

Free. Sets your vault's target allocation across the 4 stocks in basis points (sum 10000), e.g. [4000, 3000, 2000, 1000]. Default is equal weight. Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.

ParameterTypeDescription
vault *stringYour vault address.
weightsBps *array4 weights in basis points summing to 10000, in the basket's constituent order (see stocks_basket).

stocks_buy Buy tokenized stocks with USDC

Free. Invest USDC into your vault from $1 (USDC 6 decimals: "1000000" = $1). Easiest: set usePermit=true with owner, sign the returned typedData off-chain (free), then call again with permitDeadline + permitSignature to get ONE deposit transaction. Without a permit you get two transactions (approve, then deposit). Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.

ParameterTypeDescription
usdc *stringUSDC to invest, 6 decimals, minimum "1000000" ($1).
vault *stringYour vault address.
minSharesstringOptional slippage floor: minimum shares to receive.
ownerstringYour wallet address (required with usePermit).
permitDeadlineintegerDeadline from the permit you signed (second call).
permitSignaturestringYour signature of the permit typedData (second call).
usePermitbooleantrue = return an EIP-2612 permit to sign first (no approve transaction).

stocks_sell Sell (redeem) basket shares

Free. Cash out: redeem basket shares to USDC, or take the raw stock tokens in-kind (works any block, no vault needed, anyone holding shares can sell). Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.

ParameterTypeDescription
shares *stringShares to redeem (18 decimals; see stocks_portfolio).
vault *stringVault whose shares you hold.
inKindbooleantrue = receive the 4 stock tokens instead of USDC.
minUsdcOutstringOptional slippage floor in USDC-6.

stocks_rebalance Rebalance your vault

Free. Brings your vault back to its target weights (check stocks_vault: rebalanceNeeded). Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.

ParameterTypeDescription
vault *stringYour vault address.

stocks_send Send basket shares to anyone

Free. Transfer your tokenized stock basket shares to any wallet or another agent; they can hold, sell or forward them, no vault needed. Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.

ParameterTypeDescription
shares *stringShares to send (18 decimals).
to *stringRecipient address.
vault *stringVault whose shares you hold.

stocks_signals_prepare Prepare a paid signals call ($0.007)

Returns the x402 payment request for basket signals ($0.007 USDC on Base, Polygon or Arc): rebalancing signal, momentum and suggested weights for NVDA/META/AAPL/GOOGL in one call. Pay it with your own x402 client. This tool does not pay.

ParameterTypeDescription
vaultstringOptional vault to tailor the signal to.

polymarket_prepare Prepare a Polymarket price-to-beat call ($0.004)

Returns the x402 payment request for Polymarket crypto Up/Down data (BTC, ETH, SOL, XRP; 5m and 15m; $0.004 USDC on Base, Polygon or Arc): the OFFICIAL price to beat for the live 5m or 15m window (matched to the cent against Polymarket's results), the live Chainlink price and its distance from the price to beat, seconds left, token ids and market prices. Pass start (unix) for a past window's official outcome. First call free: add ?free=1 to the URL for one live answer at no charge (one per agent). Pay it with your own x402 client. This tool does not pay.

ParameterTypeDescription
market *stringWhich market: <asset>-<timeframe>.
startstringOptional unix start of a past window.

polymarket_price_to_beat Polymarket price to beat (paid, $0.004)

PAID over x402 inside this tool call ($0.004 USDC on Base, Polygon or Arc): the OFFICIAL Polymarket price to beat for the live BTC, ETH, SOL or XRP 5m/15m Up/Down window (matched to every decimal against Polymarket), the live Chainlink price and its distance, seconds left, token ids and market prices. Call it once without payment to get the x402 PaymentRequired; your x402 wallet signs it and you call again with the payment in _meta["x402/payment"]. Set free=true for one free answer per agent.

ParameterTypeDescription
market *stringWhich market: <asset>-<timeframe>.
freebooleanUse your one free call (per agent) instead of paying.
startstringOptional unix start of a past window (official outcome).

shop_info Partner shop: what it sells (free)

Free. What the Mint & Marquee partner shop sells (custom 3D printed figurines, statues, keychains, bag tags; soccer, anime, crypto collections), its product count and price range, and how to search it.

ParameterTypeDescription
shopstringWhich partner shop.

web_extract Turn a web page into Markdown (paid, $0.002)

PAID over x402 inside this tool call ($0.002 USDC on Base, Polygon or Arc): turn any public web page into clean Markdown. Built to feed the Website Watcher: search with web_search, extract the page, then scan it with link_check. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
url *stringPublic http(s) URL to turn into Markdown.

rpc_read On-chain reads on Base or Arc (paid, $0.002 flat)

PAID over x402 inside this tool call ($0.002 USDC flat on Base, Polygon or Arc): latest block, native or ERC-20 balance, or a transaction's details. No key, no account. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
op *stringWhat to read: block, balance, or tx.
addressstringWallet address (balance op).
chainstringChain to read (default base).
hashstringTransaction hash (tx op).
tokenstringOptional ERC-20 token address (balance op); omit for native.

malware_scan Malware scan for a file before installing, building, or running it (paid, $0.05)

PAID over x402 inside this tool call ($0.05 USDC on Base or Arc): static PolinRider / Contagious Interview malware scan for a file's text before installing, building, or running it. Returns verdict clean/suspicious/dangerous, a 0-100 score, action allow/review/block, summary, top findings and facts. Static only — the file is never executed, scanned in memory, never stored. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
content *stringFull file text to scan, max 2 MB.
filename *stringFile name, e.g. 'postcss.config.mjs'.

malware_scan_batch Malware scan for a folder of files (paid, $0.05)

PAID over x402 inside this tool call ($0.05 USDC on Base or Arc): static PolinRider / Contagious Interview malware scan for up to 100 files (2 MB each, 10 MB total) in one call, one verdict for the folder. Static only — files are never executed, scanned in memory, never stored. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
files *arrayFiles to scan, each with filename and full text content. Max 100 files, 2 MB each, 10 MB total.

malware_scan_repo Malware scan for a public GitHub repo (paid, $0.05)

PAID over x402 inside this tool call ($0.05 USDC on Base or Arc): static PolinRider / Contagious Interview malware scan for a public GitHub repo (working tree + history) before cloning it for use. Public repos only — no tokens, no private repos, nothing stored. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
repoUrl *stringPublic https://github.com/owner/repo URL.

api_diagnose Diagnose one API endpoint live (paid, $0.50)

PAID over x402 inside this tool call ($0.50 USDC on Base, Polygon or Arc): actually call one API endpoint and return the verdict, failure class, auth diagnostics, response-schema validation, deterministic corrections, and a working example request (curl + JSON). Public endpoints only in v1 — no credentials are accepted. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
url *stringTarget endpoint URL, e.g. 'https://api.example.com/v1/users'.
bodyRequest body for POST/PUT/PATCH.
docsUrlstringOptional OpenAPI spec or docs URL to check against.
headersobjectRequest headers (no credentials in v1).
methodstringHTTP method, default GET.
queryobjectQuery parameters.
specOptional inline OpenAPI spec JSON to check against.

api_test_spec Test a full OpenAPI spec (paid, $2.00)

PAID over x402 inside this tool call ($2.00 USDC on Base, Polygon or Arc): validate an OpenAPI spec (including broken $refs) and probe every endpoint, reporting how many work, which are broken, and by what failure class. Endpoints without sample values are reported as needs-sample-values, not faked. Public endpoints only in v1. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
samplesobjectSample values per endpoint, keyed by 'METHOD /path'.
specInline OpenAPI spec JSON (instead of specUrl).
specUrlstringURL of the OpenAPI spec JSON.

api_audit Audit a full OpenAPI spec (paid, $5.00)

PAID over x402 inside this tool call ($5.00 USDC on Base, Polygon or Arc): everything in api_test_spec, plus auth diagnostics, full response-schema validation, and a corrected working request per endpoint. Public endpoints only in v1. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
samplesobjectSample values per endpoint, keyed by 'METHOD /path'.
specInline OpenAPI spec JSON (instead of specUrl).
specUrlstringURL of the OpenAPI spec JSON.

leads_count Local business leads: how many match (free)

Free. How many local businesses match a category and place, how many have an email at each grade (A/B/C), the top cities, and the exact price of the next page. Run this before leads_search.

ParameterTypeDescription
category *stringBusiness type in plain words: dentist, plumber, hvac, roofing, hair salon, law firm, med spa, restaurant.
bookingstringOnline booking tool: yes, none, vagaro, square_appointments, calendly, booksy, mindbody, acuity, opentable, housecall_pro, jobber, servicetitan, zocdoc.
citystringCity, e.g. Atlanta, Savannah, Macon. Give city, county, zip or near.
countystringCounty, e.g. Gwinnett, Chatham.
emailstringrequired (default), any, or none (phone-only businesses).
hiringbooleanOnly businesses whose site says they are hiring.
limitintegerHow many leads, 1-1,000 (default 3 = $0.09); $0.03 per lead.
minGradestringEmail grade floor (A best). Default C.
nearstringlat,lng to search around.
offsetintegerSkip this many, for the next page.
paymentsstringPayment system on their site: yes, none, square, toast, clover, stripe, paypal.
radiusKmnumberRadius for near, default 5.
samplebooleantrue = 3 free leads to judge quality (3 a day), no payment.
websitestringneeds = no working website (a sales signal).
zipstring5-digit ZIP (a prefix works).

leads_lookup Business lookup: who is this phone number or website? (paid, $0.01)

PAID over x402 inside this tool call ($0.01 USDC on Base or Arc per lookup that finds a business; no match, no charge): give a US phone number or a website and get the local business behind it: name, address, category, the best email graded A/B/C, a contact name when the email shows one, socials and buying signals. A website only matches when it carries the business's own phone number. Call once without payment to get the x402 PaymentRequired, then again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
domainstringOr a website: example.com or https://www.example.com/contact.
phonestringA US phone number, any format: 4043552001, (404) 355-2001, +14043552001. Give phone or domain.

leads_tech Website tech: what a local business site runs on (paid, $0.005)

PAID over x402 inside this tool call ($0.005 USDC on Base or Arc per lookup that finds a verified site; no match, no charge): give a website or a US phone number and get the site platform (WordPress, Wix, Squarespace, Shopify...), online booking tool (Square Appointments, Vagaro, Calendly, Zocdoc...), payment system (Square, Toast, Clover, Stripe...), hiring and socials, read from the business's own verified website. Call once without payment to get the x402 PaymentRequired, then again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
domainstringOr a website: example.com or https://www.example.com/contact.
phonestringA US phone number, any format: 4043552001, (404) 355-2001, +14043552001. Give phone or domain.

stocks_signals Basket signals (paid, $0.007)

PAID over x402 inside this tool call ($0.007 USDC on Base, Polygon or Arc): the whole stock basket's rebalancing signal in one call (returns, volatility, RSI, trend, relative strength and inverse-volatility target weights for NVDA, META, AAPL, GOOGL). Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

ParameterTypeDescription
vaultstringOptional vault to tailor the signal to.

stocks_publish_prepare Prepare a paid portfolio page ($0.01)

Returns the x402 payment request to publish a live, shareable portfolio page for a vault for 24 hours ($0.01 USDC on Base or Polygon). Pay it with your own x402 client. This tool does not pay.

ParameterTypeDescription
vault *stringVault to publish.
labelstringOptional page title.

usdc_balances USDC balances on every chain

Free. USDC balance (and native gas balance) of an address on every CCTP chain at once: Ethereum, Avalanche, OP Mainnet, Arbitrum, Base, Polygon PoS, Unichain, Linea, Sonic, World Chain, Arc. Use it before paying or bridging to see where your money is.

ParameterTypeDescription
address *stringEVM address.

cctp_status Track any Circle CCTP transfer

Free. Status of ANY Circle CCTP v2 USDC transfer (not only Liquid's) by its burn transaction hash: attestation, whether it was minted on the destination, and exactly how to finish a stuck one (receiveMessage with the message and attestation). Chains: Ethereum, Avalanche, OP Mainnet, Arbitrum, Base, Polygon PoS, Unichain, Linea, Sonic, World Chain, Arc.

ParameterTypeDescription
txHash *stringBurn transaction hash on the source chain.
fromstringSource chain, if known (faster).

x402_check x402 debugger

Free. Decode any x402 payment request (from a URL, a PAYMENT-REQUIRED header or a 402 body) into plain English with warnings, and optionally verify a signed payment (PAYMENT-SIGNATURE / X-PAYMENT header) the way a facilitator would: recipient, amount, time window, EIP-712 signature against the token's real domain, nonce reuse and balance. Every failed check comes with the fix.

ParameterTypeDescription
bodyobjectJSON body for a POST url.
methodstringHTTP method for url (default GET).
paymentstringOptional signed payment header value to verify.
requirementstringInstead of url: the PAYMENT-REQUIRED header value (base64) or the 402 JSON body.
urlstringThe paid endpoint URL (https). It is called once, without payment, to read its 402.

payment_readiness Can this wallet pay this endpoint?

Free. One call to know if a wallet can pay an x402 endpoint right now: reads the endpoint's 402, checks the wallet's balance on each accepted network, and if it cannot pay, returns the cheapest fix (e.g. move USDC from the chain where it sits, with the exact bridge_quote arguments).

ParameterTypeDescription
address *stringThe paying wallet.
bodyobjectJSON body for a POST url.
methodstringHTTP method for url (default GET).
requirementstringInstead of url: the PAYMENT-REQUIRED header value (base64) or the 402 JSON body.
urlstringThe paid endpoint URL (https). It is called once, without payment, to read its 402.

gas_sponsor_info Gas sponsor (pay gas in USDC)

Free. How to send a transaction on Base, Polygon or Solana with a wallet that holds USDC but no ETH/POL/SOL: the x402-paid gas sponsor, its price rule (from $0.03) and lanes.

gas_preflight Base transaction preflight (paid, $0.005)

PAID $0.005: simulate an unsigned Base transaction with optional msg.sender. Returns success or a decoded revert, gas estimate and an indicative USDC sponsorship estimate. No signing or broadcast; provider failures are not charged.

ParameterTypeDescription
to *stringContract or wallet to call
datastring0x calldata, up to 16 KiB
fromstringOptional msg.sender
valuestringNative value in wei

gas_batch_preflight Batch Base preflight (paid, $0.005 + $0.002/call)

PAID $0.005 + $0.002 per additional call (1-20, $0.043 maximum): one block and one settlement for a batch of Base calls. Ordered per-call success or revert, aggregate gas and indicative sponsorship estimate.

ParameterTypeDescription
calls *array1-20 calls to simulate

gas_decode Multi-chain transaction decoder (paid, $0.003)

PAID $0.003: decode a transaction and ordered event logs with your ABI on Base, Polygon, Arbitrum, Optimism or Avalanche. Unknown selectors/events retain raw data with decoded:false. Provider failures are not charged.

ParameterTypeDescription
abi *arrayContract ABI, max 250 entries and 128 KiB
chain *integerEVM chain ID: 8453, 137, 42161, 10 or 43114
txHash *stringTransaction hash

chain_logs Decoded EVM event logs (paid, $0.005 per 1,000 blocks)

PAID $0.005 per started 1,000 blocks: retrieve and decode EVM event logs on Base, Polygon, Arbitrum, Optimism or Avalanche. Adaptive chunking, ordered results and raw fallback. Max 10,000 blocks, 100 logs or 1 MiB output.

ParameterTypeDescription
address *stringContract address
chain *integerEVM chain ID: 8453, 137, 42161, 10 or 43114
fromBlock *stringFirst block, inclusive
toBlock *stringLast block, inclusive; at most 10,000 total
abiarrayOptional event ABI for decoding
topicsarrayOptional topic filters

leads_enrich Bulk lead enrichment (paid, $0.01 per match)

PAID $0.01 per input that finds a business; misses are free. Send 1-100 websites or US phone numbers. Each match includes full business details, graded email, contact, socials and website tech. One x402 settlement for the exact hit count.

ParameterTypeDescription
records *array1-100 records, exactly one domain or phone per record, no duplicates

liquid_guide What Liquid Agent offers

Free. Overview of every Liquid Agent service for agents (bridge, stocks, signals, gas sponsor), prices and where the full docs are.