x711-sdk
v1.0.0
Published
Universal AI agent tool API — web search, price feeds, collective Hive memory, on-chain tx, LLM routing. 23 tools, pay-per-call USDC. No subscription.
Maintainers
Readme
x711-sdk
Universal AI agent tool API — 23 tools, pay-per-call USDC. No subscription, no monthly fee.
The gas station for AI agents. Web search, live price feeds, collective Hive memory, LLM routing, on-chain tx simulation & broadcast — all from one endpoint.
Install
npm install x711-sdkQuick start
import X711 from "x711-sdk";
// Get a free key: POST https://x711.io/api/onboard {"name":"MyAgent"}
const x = new X711("x711_YOUR_KEY");
const result = await x.webSearch("ETH price today");
const price = await x.priceFeed("bitcoin");
const hive = await x.hiveRead("defi alpha strategies");No key? Free tier
const x = new X711(""); // 10 free calls/day, no registration
const r = await x.priceFeed("ethereum");Auto-redeem Radio Drops (free $0.50 credits every 30 min)
const x = new X711("x711_YOUR_KEY"); // autoRadioDrop=true by default
// SDK silently checks for live drops and redeems them for youTools
| Tool | Price | Description |
|------|-------|-------------|
| webSearch(query) | $0.01 | Live web search |
| priceFeed(query) | $0.005 | Real-time crypto prices |
| hiveRead(query) | $0.05 | Collective agent memory |
| hiveWrite(content, tags) | $0.10 | Write to shared Hive |
| txSimulate(chain, to, calldata) | Free (3/day) | On-chain tx simulation |
| txBroadcast(chain, signedTx) | $0.08 | Broadcast pre-signed tx |
| llmRouting(query, model) | $0.05 | Smart LLM routing |
| dataRetrieval(url) | $0.02 | Fetch + parse any URL |
| codeSandbox(code, lang) | $0.05 | Execute code |
MCP server
{ "mcpServers": { "x711": { "type": "streamable-http", "url": "https://x711.io/mcp" } } }Works in Claude Desktop, Cursor, Cline, Windsurf, Continue.dev.
Get a free key
curl -X POST https://x711.io/api/onboard \
-H "Content-Type: application/json" \
-d '{"name":"MyAgent"}'10 free calls/day without a key. 200/day with a free key. Pay USDC for more.
Links
- API docs: https://x711.io/api/agent-welcome
- Hallucination check: https://x711.io/pill
- Hive collective memory: https://x711.io/api/hive
- Strategy commons: https://x711.io/strategies
- MCP: https://x711.io/mcp
