27,509+ APIs โข x402 crypto payments โข Hermes/OpenAI tool specs โข Built for agents.
GET /api/v1/agent/search/?q=weather&limit=10GET /api/v1/agent/tool/{slug}/spec/GET /api/v1/agent/dynamic-tool/?q=get%20xrp%20pricePOST /api/v1/agent/register/X-API-Key headerA pluggable AI agent engine with 9 specialized micro-actors. Classify any query, route to the best actor, and execute โ all with auto-proxy fallback and quality scoring.
Core Endpoints:
# Classify a query โ returns the best actor slug
GET /api/v1/genius/classify/?q=bitcoin+price
โ {"slug": "crypto-prices", "confidence": 0.94, "quality": 94}
# List all 9 actors
GET /api/v1/genius/actors/
# Run an actor directly
POST /api/v1/genius/actors/crypto-prices/run/
โ Live crypto prices via CoinGecko proxy
# Full chain: classify โ run โ proxy upstream
POST /api/v1/genius/proxy/crypto-prices/call/
# View run history
GET /api/v1/genius/runs/
Actors: catalog-classify ยท crypto-prices ยท data-clean ยท data-convert ยท intel-entity ยท news-rss ยท weather-nws ยท weather-openmeteo ยท web-extract
Base: https://api.inventingenius.com
# Search catalog (returns 402 if no key)
GET /api/v1/agent/search/?q=finance&limit=20&category=crypto
# Tool specs for Hermes / LangChain / OpenAI
GET /api/v1/agent/tools/search/?q=price
GET /api/v1/agent/tool/accuweather/spec/
GET /api/v1/agent/dynamic-tool/?q=fetch%20solana%20price%20and%20convert
# Discovery
GET /api/v1/agent/categories/
GET /api/v1/agent/random/
GET /api/v1/agent/feed.json/
# Payments & Registration (x402 v2.0)
POST /api/v1/agent/register/ # One-step: email + tier โ wallet + tag
POST /api/v1/webhook/create/ # Create XRP invoice
POST /api/v1/webhook/verify/ # Verify tx_hash โ key
# Proxy (recommended)
POST /api/v1/agent/proxy/{slug}/call/
ASTEROID tier: 300 calls/day. No key needed for limited access.
# Example 402 response
{
"error": "API key required",
"protocol": "x402",
"xrp_payment": {
"wallet_address": "r4UHdyL4hp5UTiYMJYLq6M7N3gBswPro2G",
"per_call": {"xrp": 0.5, "fiat": 0.25},
"subscription_tiers": {
"free": {"xrp": 0, "fiat": 0, "calls_per_day": 300},
"basic": {"xrp": 10, "fiat": 9.99, "calls_per_day": 100},
"pro": {"xrp": 30, "fiat": 29.99, "calls_per_day": 1000},
"enterprise": {"xrp": 100, "fiat": 99.99, "calls_per_day": -1}
}
}
}
GET /openapi.json โ Full OpenAPI 3.0 for auto-SDK generation.
GET /llms.txt โ This document optimized for LLMs/agents.
Zero-friction integration โ paste these directly into your terminal.
# Search our 27k+ catalog โ no key needed for free tier curl https://api.inventingenius.com/api/v1/agent/search/?q=weather\&limit=5 # Search with category filter curl https://api.inventingenius.com/api/v1/agent/search/?q=finance\&category=crypto\&limit=10 # Search with quality filter (minimum score 70) curl https://api.inventingenius.com/api/v1/agent/search/?q=translate\&min_quality=70
# Register with a free key (instant, no payment)
curl -X POST -H "Content-Type: application/json" \\
-d '{"email":"your@email.com","tier":"free"}' \\
https://api.inventingenius.com/api/v1/agent/register/
# Response: {"api_key": "your_key_here", "tier": "free", "daily_limit": 300}
# Use your key in subsequent requests
curl -H "X-API-Key: your_key_here" \\
https://api.inventingenius.com/api/v1/agent/search/?q=weather
# Get live crypto prices curl -H "X-API-Key: your_key" \\ https://api.inventingenius.com/api/v1/agent/agent/crypto-prices/ # Get verified quality-scored feed curl -H "X-API-Key: your_key" \\ https://api.inventingenius.com/api/v1/agent/verified-feed/ # Generate Hermes tool spec for any tool curl -H "X-API-Key: your_key" \\ https://api.inventingenius.com/api/v1/agent/dynamic-tool/?q=send+email # Get tool spec for a specific API curl -H "X-API-Key: your_key" \\ https://api.inventingenius.com/api/v1/agent/tool/weather-api/spec/
# Proxy call to any API (auth handled automatically)
curl -X POST -H "X-API-Key: your_key" \\
-H "Content-Type: application/json" \\
-d '{"lat":51.5,"lon":0}' \\
https://api.inventingenius.com/api/v1/agent/proxy/weather-api/call/
# Get proxy status
curl -H "X-API-Key: your_key" \\
https://api.inventingenius.com/api/v1/agent/proxy-status/
Every error includes a machine-readable code for automated handling.
| HTTP | Error Code | Meaning | Action |
|---|---|---|---|
| 400 | PARSE_ERROR | Invalid JSON or request body | Check request format |
| 401 | API_KEY_INVALID | Missing or invalid API key | Register at /api/v1/agent/register/ |
| 402 | INSUFFICIENT_BALANCE | Quota exceeded, balance too low | Wait for reset or upgrade tier |
| 429 | QUOTA_EXCEEDED | Daily call limit hit | Reset at midnight UTC |
| 502 | PROXY_ERROR | Upstream API returned error | Retry โ we log the failure |
| 503 | UPSTREAM_UNAVAILABLE | Source API is down | Wait & retry later |
Every error response includes: status, message, error_code, recommended_next_action, and X-RateLimit-* headers.
Every response includes rate-limit and balance headers for monitoring.
| Header | Description | Example |
|---|---|---|
| X-RateLimit-Limit | Daily call limit for your tier | 300 |
| X-RateLimit-Remaining | Calls remaining today | 287 |
| X-RateLimit-Reset | Unix timestamp for daily reset | 1725360000 |
| X-Balance-Remaining | XRP balance for paid calls | 0.50 |
| X-Subscription-Tier | Your current tier | free |
| X-Upstream-Cache | Proxy cache status | MISS / HIT |
Follow this checklist to integrate smoothly.
POST /api/v1/agent/register/?tier=freeX-API-Key header)X-RateLimit-Remaining before making callserror_code field โ see error taxonomy above/proxy/{slug}/call/) for auth-handled upstream callsDownload the official SKILL.md and your agent can handle x402 payments end-to-end: generate wallets, register, fund via XRPL, submit presigned payments through the t54.ai facilitator, and retry requests โ all with minimal human help.
# Download the bootstrap skill curl -s -o ~/skills/inventingenius-x402-xrpl/SKILL.md https://api.inventingenius.com/api/v1/agent/skill/bootstrap/ # Install for Hermes hermes skills reload # Or for Claude Desktop / Cursor โ just copy the file into your skills directory
Includes: Wallet creation ยท Registration ยท Balance checking ยท Payment via t54.ai facilitator ยท Auto-retry ยท Testnet-first safety ยท Human-in-the-loop funding prompts