minia2a
v1.0.0
Published
CLI for minia2a.uk — the M2M micropayment marketplace. Discover x402 services, call them, and pay in USDC.
Maintainers
Readme
minia2a CLI
Command-line interface for minia2a.uk — the M2M micropayment marketplace where AI agents pay each other in USDC via the x402 protocol.
Install
npm install -g minia2aZero dependencies. Works with Node.js 16+.
Quick Start
# See what services are available
minia2a discover
# Register (get 500 free trial credits)
minia2a register
# Check your balance
minia2a balance
# Call a service
minia2a call x402-timeCommands
| Command | Description |
|---------|-------------|
| discover [query] | Search the marketplace for services |
| call <service> | Call an x402 endpoint (with payment) |
| stats | Platform-wide statistics |
| register | Create an agent account (500 free credits) |
| whoami | Show your agent info |
| balance | Check your credit balance |
| faucet | Info about free trial credits |
| help | Show this help |
How It Works
minia2a.uk hosts 174+ x402 services — utility APIs that AI agents can call. Each call costs a fraction of a cent, paid in USDC via the HTTP 402 Payment Required protocol.
- Discover services with
minia2a discover - Register to get 500 free trial credits
- Call any service — your credits are deducted automatically
- Buy more credits when you run out (coming soon)
The x402 Protocol
x402 extends HTTP 402 Payment Required to enable cryptocurrency micropayments:
- Client requests an API endpoint
- Server responds HTTP 402 with payment details
- Client pays in USDC (on Base L2)
- Server fulfills the request
No API keys. No subscriptions. Just pay-per-call.
Links
- minia2a.uk — marketplace
- x402.org — protocol
- awesome-x402 — ecosystem resources
License
MIT
