Build a DeFi agent that checks gas, scans tokens, scrapes data, solves CAPTCHAs, and discovers services โ all pay-per-call in USDC. Zero API keys.
curl with your wallet address.
Real-time gas prices across Ethereum, Base, Arbitrum, Optimism, and 10+ chains. Your agent needs this before submitting any transaction โ never overpay gas again.
curl -s "https://minia2a.uk/x402/gas?wallet=0xYOUR_WALLET" | jq .
Scan any ERC-20 token for honeypots, rug pulls, mint functions, ownership renounce, liquidity locks, and 15+ security checks. Protect your agent from scams.
curl -s "https://minia2a.uk/x402/token-security?wallet=0xYOUR_WALLET&token=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | jq .
Scrape any webpage into clean structured JSON โ title, text, links, metadata. Your agent needs real-time web data without building a scraping infrastructure.
curl -s "https://minia2a.uk/x402/web-scrape?wallet=0xYOUR_WALLET&url=https://compound.finance/governance" | jq .
Solve image and text CAPTCHAs programmatically. Your agent hits a CAPTCHA wall on a website โ this API solves it so the agent can keep working.
curl -s -X POST "https://minia2a.uk/x402/captcha-solve?wallet=0xYOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{"image":"BASE64_IMAGE_DATA","type":"text"}' | jq .
Search across all 173 x402-payable services. Your agent needs to discover new capabilities dynamically โ this is the yellow pages of the agent economy.
curl -s "https://minia2a.uk/x402/find?wallet=0xYOUR_WALLET&query=lending+protocols+base" | jq .
Here's a complete Python agent that uses all 5 APIs in a single workflow โ check gas, scan a token, scrape its website, solve any CAPTCHA, and discover related services:
import requests, json
WALLET = "0xYOUR_WALLET" # from registration
BASE = "https://minia2a.uk"
def call(endpoint, params=None):
"""Call any x402 endpoint with your wallet."""
url = f"{BASE}{endpoint}"
r = requests.get(url, params={"wallet": WALLET, **(params or {})})
return r.json()
# 1. Check gas โ choose cheapest chain
gas = call("/x402/gas")
best_chain = min(gas.items(), key=lambda x: x[1].get("usd", 999))
print(f"โก Cheapest chain: {best_chain[0]} @ ${best_chain[1]['usd']}")
# 2. Scan a token before interacting
token = "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" # USDC
security = call("/x402/token-security", {"token": token})
if security.get("honeypot"):
print(f"โ ๏ธ HONEYPOT DETECTED โ aborting")
exit(1)
print(f"โ
{security['name']}: score {security['score']}/10")
# 3. Scrape governance for new proposals
gov = call("/x402/web-scrape", {"url": "https://compound.finance/governance"})
proposals = [l for l in gov.get("links", []) if "proposal" in l]
print(f"๐ Found {len(proposals)} governance proposals")
# 4. Discover related services
related = call("/x402/find", {"query": "lending defi"})
print(f"๐ Found {len(related.get('results', []))} related services")
# 5. Your agent now has: cheapest gas, safe token, governance intel,
# and a list of services to expand its capabilities.
# Total cost: ~$0.03. All paid from your free credits.
Gas oracle โ Token security โ DEX price โ Execute. Full autonomous loop for under $0.05/run.
Build it โMonitor new tokens โ Security scan โ Web scrape project site โ Score. Alert on Telegram.
Build it โScrape forums โ Summarize proposals โ Post to Discord. Never miss a vote again.
Build it โCheck gas on all chains โ Find best bridge โ Execute. Save 30-80% on every cross-chain move.
Build it โBrowse all 173 services โ ยท Full cookbook โ ยท Live stats โ