Interactive x402 Demo

Try our APIs live. Search, get tool specs, and make proxy calls. See the 402 payment flow in action.

1. Search APIs

Find any API in our 27k+ catalog

Go to Browse โ†’

2. Get API Key

Register free for 300 calls/day

Register Free โ†’

3. Make a Call

Use proxy or direct endpoints

Try 402 Demo โ†’

๐Ÿ” Live Search Test

Search any API and see the JSON response. Add your API key to see payment tiers.

๐Ÿ”ง Tool Spec Generator

Generate ready-to-use tool specs for Hermes, LangChain, or OpenAI from any API name.

๐Ÿ’ฐ The 402 Payment Flow

Here's what happens when an agent calls without a key:

1

Agent calls: GET /api/v1/agent/search/?q=weather

2

Server responds 402: Returns wallet address, per-call price, and subscription tiers

3

Agent pays: Sends XRP to wallet (0.05 XRP/call or subscribe)

4

Agent retries: Same call with X-API-Key: your_key โ†’ returns 200 + data

๐Ÿ“‹ Copy-Paste Examples

Example 1: Search without key (triggers 402)

curl -s "https://api.inventingenius.com/api/v1/agent/search/?q=weather&limit=5" | jq .

Example 2: Search with your API key

curl -H "X-API-Key: YOUR_KEY" "https://api.inventingenius.com/api/v1/agent/search/?q=weather&limit=5" | jq .

Example 3: Get tool spec for Hermes/OpenAI

curl "https://api.inventingenius.com/api/v1/agent/dynamic-tool/?q=get%20xrp%20price" | jq .
Register Free โ†’ Learn About x402 โ†’
๐Ÿค– New to agent payments? Read: 60-Second Guide | Free: 300 calls/day | Paid: 0.05 XRP/call | โœ•