← minia2a.uk · Blog · Register
Your AI agent is smart — but it's locked out of the real world. It can't check live gas prices, scrape a competitor's page, verify an email, or solve a captcha. Those capabilities exist as APIs, but someone has to pay for them.
minia2a.uk solves this: a marketplace where AI agents discover, buy, and use paid APIs — autonomously, with USDC micropayments on Base L2. Every API costs $0.005–$0.05 per call. Your agent gets a wallet, a budget, and pays as it goes.
| Service | What It Returns | Cost |
|---|---|---|
x402/gas | Live gas prices across Ethereum, Base, Arbitrum, Optimism, Polygon | 0.5¢ |
x402/web-scrape | Fetch and parse any webpage — HTML, text, metadata | 1¢ |
x402/token-security | Honeypot check, ownership analysis, liquidity scan for any ERC-20 | 1¢ |
x402/captcha-solve | Solve image/text captchas automatically | 1¢ |
x402/email-verify | Validate email addresses — syntax, domain, MX, disposable check | 1¢ |
x402/funding-rate | Perpetual funding rates across major CEXs/DEXs | 1¢ |
x402/sentiment | Sentiment analysis on any text input | 1¢ |
x402/summarize | Summarize long text — articles, docs, transcripts | 1¢ |
1 Register to get 500 free credits (= $2.50, ~50–500 free API calls). A wallet is created automatically — save the private key!
curl -X POST https://minia2a.uk/api/v1/register-simple \
-H "content-type: application/json" \
-d '{"name":"my-agent"}'
Response:
{
"wallet": "0xf16F...", // Your agent's wallet address
"privateKey": "0x...", // Save this — not shown again!
"credits": 500, // $2.50 in free credits
"message": "Agent registered successfully"
}
import requests
WALLET = "0xf16F..." # Your agent's wallet
# Get live Ethereum gas prices
r = requests.get("https://minia2a.uk/x402/gas", params={"wallet": WALLET})
print(r.json())
# → {"chain":"ethereum","slow":12,"normal":16,"fast":22,"baseFee":15.2,...}
# Scrape a webpage
r = requests.get("https://minia2a.uk/x402/web-scrape", params={
"wallet": WALLET,
"url": "https://news.ycombinator.com"
})
data = r.json()
print(data["title"], data["text"][:200])
# Scan a token for security risks
r = requests.get("https://minia2a.uk/x402/token-security", params={
"wallet": WALLET,
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" # USDC
})
print(r.json())
# → {"isHoneypot":false,"hasOwner":true,"liquidityLocked":true,...}
const WALLET = "0xf16F..."; // Your agent's wallet
// Get gas prices
const gas = await fetch(`https://minia2a.uk/x402/gas?wallet=${WALLET}`);
console.log(await gas.json());
// Scrape a webpage
const scrape = await fetch(
`https://minia2a.uk/x402/web-scrape?wallet=${WALLET}&url=https://example.com`
);
const data = await scrape.json();
console.log(data.title, data.text?.slice(0, 200));
// Verify an email
const verify = await fetch(
`https://minia2a.uk/x402/email-verify?wallet=${WALLET}[email protected]`
);
console.log(await verify.json());
# Every endpoint follows the same pattern:
GET https://minia2a.uk/x402/{service}?wallet=YOUR_WALLET¶m1=value1¶m2=value2
# Credits are deducted automatically. No auth headers. No API keys.
Here's a real example: a DeFi research agent that uses minia2a to gather data before making a decision.
import requests
import json
WALLET = "0xf16F..."
class DefiResearchAgent:
"""Agent that uses minia2a APIs to research tokens before trading."""
def check_token_safety(self, address):
"""Scan a token for honeypots, ownership risks, liquidity."""
r = requests.get("https://minia2a.uk/x402/token-security", params={
"wallet": WALLET, "address": address
})
return r.json()
def get_gas_prices(self):
"""Get live gas across 5 chains to choose cheapest."""
r = requests.get("https://minia2a.uk/x402/gas", params={"wallet": WALLET})
return r.json()
def get_funding_rates(self):
"""Check perpetual funding rates for sentiment signal."""
r = requests.get("https://minia2a.uk/x402/funding-rate", params={"wallet": WALLET})
return r.json()
def research_token(self, address):
"""Full research pipeline — ~3¢ total cost."""
safety = self.check_token_safety(address)
if safety.get("isHoneypot"):
return {"verdict": "REJECT", "reason": "honeypot detected"}
gas = self.get_gas_prices()
funding = self.get_funding_rates()
return {
"verdict": "PASS" if safety.get("liquidityLocked") else "CAUTION",
"safety": safety,
"cheapest_chain": min(gas.items(), key=lambda x: x[1].get("fast", 999)) if isinstance(gas, dict) else "unknown",
"market_sentiment": "bullish" if funding.get("avg_rate", 0) > 0.01 else "neutral"
}
# Run it
agent = DefiResearchAgent()
result = agent.research_token("0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48")
print(json.dumps(result, indent=2))
curl "https://minia2a.uk/api/my-credits?wallet=0xf16F..."
# → {"wallet":"0xf16F...","credits":485,"creditsSpent":15,"creditsRemaining":485}
Or in code:
def get_credits(wallet):
r = requests.get(f"https://minia2a.uk/api/my-credits?wallet={wallet}")
return r.json()["creditsRemaining"]
print(f"Credits left: {get_credits(WALLET)}") # → Credits left: 485
When your 500 free credits are exhausted, the API returns 402 Payment Required with payment instructions. Send USDC on Base to refill:
# 1. Try to call an endpoint (credits exhausted)
curl "https://minia2a.uk/x402/gas?wallet=0xf16F..."
# → HTTP 402 {"error":"Payment Required","required":"0.5 USDC","recipient":"0xf16F..."}
# 2. Send USDC on Base to the recipient address via x402 payment header
# 3. Credits auto-refill proportional to USDC sent (1 USDC = 200 credits)
# 4. Retry the call — it now succeeds
# Or check the payment guide:
# https://minia2a.uk/x402-help.html
| Item | Value |
|---|---|
| 1 credit | $0.005 USD |
| Free trial | 500 credits ($2.50) |
| Typical API call | 1–10 credits ($0.005–$0.05) |
| Free calls from trial | 50–500 calls |
| Payment method | USDC on Base L2 |
| Settlement time | ~2 seconds |
from langchain.tools import tool
@tool
def get_gas_prices() -> str:
"""Get live Ethereum gas prices across chains."""
import requests
r = requests.get("https://minia2a.uk/x402/gas", params={"wallet": WALLET})
return json.dumps(r.json())
# Add to your agent's tools
agent = create_react_agent(llm, [get_gas_prices, ...])
from crewai import Tool
minia2a_gas_tool = Tool(
name="GetGasPrices",
description="Get live gas prices across Ethereum, Base, Arbitrum",
func=lambda: requests.get(
"https://minia2a.uk/x402/gas", params={"wallet": WALLET}
).json()
)
import json, requests
from agents import Agent, function_tool
@function_tool
def get_gas_prices() -> str:
"""Get live Ethereum gas prices."""
r = requests.get("https://minia2a.uk/x402/gas", params={"wallet": WALLET})
return json.dumps(r.json())
agent = Agent(name="DeFi Researcher", tools=[get_gas_prices])
🚀 Ready to build?
Resources: AGENTS.md · x402 Payment Guide · MCP Integration · GitHub Demo Repo
minia2a.uk — The Stripe for AI Agents. 174 services, USDC on Base, zero KYC.
Questions? Open an issue on GitHub.