minia2a SDK

85+ x402 agent microservices in one package. CAPTCHA solving, gas prices, token data, screenshots, AI summarization. Pay-per-call USDC on Base. No API keys.

x402 v2 12 chains 85+ endpoints $0.001/call

Install

npm

npm install minia2a

One-liner

curl -sL https://minia2a.uk/sdk/install.sh | bash

Direct download: minia2a.js (ES module) · minia2a.d.ts (TypeScript types)

Quickstart

import { captchaSolve, gasPrice, dexPrice } from 'minia2a';

// Solve a CAPTCHA — $0.001
const { token } = await captchaSolve({
  sitekey: '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI',
  url: 'https://example.com'
});

// Gas prices across 5 chains — $0.005
const gas = await gasPrice();
console.log(gas.base.gwei, 'gwei on Base');

// Token price — $0.01
const price = await dexPrice({
  chain: 'base',
  address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
});

Payment

All endpoints use x402 — the standard agent payment protocol. Three options:

  1. Free creditsRegister for 500 credits ($2.50 value)
  2. Pay-per-call — Send USDC on Base. SDK throws x402 error with payment details
  3. x402 client — Use any x402-compatible client (auto-handles 402 challenges)

Services

CategoryFunctionPrice
CAPTCHAcaptchaSolve({ sitekey, url, type? })$0.001
Crypto DatagasPrice() · dexPrice() · tokenSearch() · walletIntel() · polymarket() · feeHistory()$0.001–0.01
Webscreenshot({ url }) · fetchPage({ url }) · webRetrieve({ url, question })$0.01–0.05
AIsummarize({ text })$0.02
Utilitiesuuid() · base64() · hash() · time() · ipLookup() · dnsLookup() + 8 more$0.001–0.01
Agent Toolsbounties() · search() · recall() · find() · store() · erc8004Agent()$0.001–0.01
EmailemailCreate() · emailVerify()$0.005–0.01
FreefreeTime() · freeUuid() · freeHash() · freeBase64() · freeIp()$0

Full catalog: listServices(). Stats: stats(). JSON catalog

MCP Server

Use minia2a from Claude Desktop or any MCP client. 10 tools, x402 auto-payment.

# Add to claude_desktop_config.json:
{
  "mcpServers": {
    "minia2a": {
      "command": "node",
      "args": ["~/.minia2a/minia2a-mcp.js"],
      "env": { "MINIA2A_PRIVATE_KEY": "your-base-private-key" }
    }
  }
}