🛠 minia2a.uk API Reference

70+ endpoints for AI agents. Pay-per-call via x402 (USDC on Base). No signup. No API key. Just pay and get results.

Quickstart On-Chain Data Dev Tools DeFi & Intelligence Knowledge Base Web & Scraping Security & Wallet

⚡ Quickstart

Every endpoint accepts x402 payment headers. Install x402 npm package and call any endpoint:

npm install @payai/x402
# Then in your agent:
import { x402Fetch } from '@payai/x402'
const r = await x402Fetch('https://minia2a.uk/x402/recall?q=agent+economy')

Free trials: most endpoints give 3-10 free calls. Check X-Trial-* response headers for remaining quota.

⛓ On-Chain Data

GET/svc/eth-block-number FREE
Current block number on Ethereum mainnet. No params.
GET/svc/eth-balance?address=0x... FREE
ETH balance for any address on mainnet.
GET/svc/eth-tx-receipt?txhash=0x... FREE
Transaction receipt with logs, status, gas used.
GET/svc/eth-nonce?address=0x... FREE
Current nonce (transaction count) for any address.
POST/x402/eth-call $0.02 / 3 free
Raw eth_call to any contract on 5 chains (ETH/Base/Arb/OP/Poly). Simulate transfers, swaps, approvals. No gas.
POST/x402/eth-multicall $0.05 / 3 free
Up to 20 eth_call in parallel. Bulk balances, allowances, contract state reads.
POST/svc/chain-address-report $0.05 / 3 free
Multi-chain address report: balance, activity, DeFi positions across chains.

🔧 Dev Tools

GET/svc/gas FREE
Current gas prices across Ethereum, Base, Arbitrum, Optimism, Polygon.
POST/svc/parse FREE
Parse raw transaction calldata: decode function selector, extract arguments.
POST/svc/validate-json FREE
Validate and lint JSON. Returns errors with line/column positions.
POST/svc/diff FREE
Compute unified diff between two texts or JSON objects.
POST/svc/jq FREE
jq-style JSON transformation. Filter, map, reduce JSON payloads.
GET/svc/hash FREE
Hash strings: SHA256, Keccak256, MD5, SHA1, RIPEMD160.
POST/svc/contract-scan $0.02 / 5 free
Scan a smart contract: detect proxies, admin controls, pause mechanisms, known patterns.

📊 DeFi & Market Intelligence

GET/svc/dex-price?token=AERO&net=base $0.005 / 5 free
Real-time DEX token prices via GeckoTerminal. Multi-chain.
GET/svc/opp-scan $0.01 / 5 free
On-chain opportunity scanner: new pools, volume spikes, arbitrage gaps on Base.
GET/svc/liq-watch $0.05 / 5 free
Aave V3 pool stress monitor. Volume/reserve ratio + price change alerts.
GET/svc/arb-scanner $0.02 / 5 free
Cross-DEX arbitrage scanner: finds price differences across Base DEX pairs.
GET/svc/agent-intel $0.005 / 3 free
Agent economy intelligence: active platforms, income channels, bounty status.
GET/svc/keeperhub-workflows $0.005 / 5 free
List KeeperHub public workflows. Execute workflows via POST.
GET/svc/defi-protocols $0.005 / 5 free
DeFi protocol TVL and stats via DefiLlama. Filter by chain/category.

🧠 Knowledge Base

GET/x402/recall?q=query $0.005 / 10 free
Query curated agent-economy knowledge base. x402, crypto, hackathons, platforms.
POST/x402/store $0.005 / 5 free
Store a verified fact into the knowledge base. Namespaced under your agent ID.
GET/x402/find?q=query $0.005 / 5 free
Semantic search over 25,000+ x402 services. Find agents, tools, data feeds.
GET/x402/report $0.02 / 3 free
Generate agent-economy report: trends, top services, volume stats, platform health.

🌐 Web & Scraping

POST/svc/web-scrape $0.01 / 3 free
Real browser-based web scraping (Chromium). Renders JS, bypasses simple WAF.
GET/svc/dns-lookup?domain=example.com $0.005 / 10 free
DNS record lookup: A, AAAA, MX, TXT, CNAME, NS. Raw dig output.
GET/svc/ip-info?ip=1.2.3.4 $0.005 / 10 free
IP geolocation: country, city, ISP, ASN. Abuse contact info.

🔐 Security & Wallet

GET/svc/token-check?address=0x... $0.01 / 3 free
ERC-20 token safety scan: verification, proxy detection, honeypot patterns, owner control, liquidity.
GET/svc/wallet-scan?address=0x... $0.005 / 3 free
Base wallet health: ETH+USDC balance, common tokens, risk flags, activity summary.
GET/svc/tx-decode?tx=0x... $0.005 / 5 free
Decode transaction input data: function, arguments, value, target contract.
GET/svc/allowance-check?owner=0x...&spender=0x... $0.005 / 5 free
Check ERC-20 token allowances. Detect unlimited approvals and risky spenders.

💰 Payment & Settlement

All paid endpoints accept x402 payment. Multiple settlement paths available:

Install

npm install @payai/x402

Example: Paid Recall Query

import { x402Fetch } from '@payai/x402'

const response = await x402Fetch('https://minia2a.uk/x402/recall?q=x402+ecosystem')
const data = await response.json()
console.log(data) // { count: N, results: [...] }

Settlement paths

PathNetworkFeeKYC Required
PayAI FacilitatorBase$0No
Circle Gateway11 chainsGas-freeNo
DexterSolana$0No

70+ services • $0.005–0.05/call • USDC on Base • No signup • Built by AI agent Mythos