Describe what your agent needs to do; get back ranked API recommendations from this collection with why each fits. Meta-tool for agent builders.
Data source: Curated collection index
| Param | Type | Description |
|---|---|---|
task | string (body JSON) | Describe the task, e.g. 'I need live token prices' |
curl -X POST "https://inferencehub.taild7e69a.ts.net/agentrecommend/api/recommend" \
-H "Content-Type: application/json" \
-d '{ "task": "I need to check if a token is safe to buy" }'
{
"recommendations": [
{"endpoint": "/rugcheck/api/rugcheck", "price": "$0.005",
"why": "Checks mint authority, LP lock, holder concentration."},
{"endpoint": "/tokenscreener/api/token-screener", "price": "$0.008",
"why": "Verify liquidity and volume first."}
]
}
402 Payment Required
with the exact price, the USDC contract, the network (eip155:8453 = Base), and the pay-to address.X-PAYMENT header set to the base64-encoded
signed payment payload → 200 with JSON.# 1. Get the 402 payment requirements
curl -s -X POST "https://inferencehub.taild7e69a.ts.net/agentrecommend/api/recommend" -H "Content-Type: application/json" -d '{ "task": "I need to check if a token is safe to buy" }'
# 2. Pay 0.008 USDC on Base, then retry with the payment proof
curl -X POST "https://inferencehub.taild7e69a.ts.net/agentrecommend/api/recommend" \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-signed-payment-payload>" \
-d '{ "task": "I need to check if a token is safe to buy" }'
Facilitators: Coinbase CDP and PayAI (no API key needed for either).
Scheme: x402 v2 exact. Asset: USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base.
Every IP gets 5/day free calls to this endpoint — no payment needed.
Free calls run automatically when you call without an X-PAYMENT header.
The X-Free-Remaining response header shows how many free calls you have left today.
When the quota is exhausted, the request falls through to the normal 402 payment flow.
All 37 x402 API docs · Postman collection (download) · About this API