# x711.io Refuel API

> x711.io Refuel API is a paid API for AI agents from x711.io, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-17).

Invokes one of 30 native tools (web search, onchain analysis, AI, social, wallet, code sandbox, etc.) via a single unified endpoint on Base, with x402 micropayment handling.

## Facts

- Endpoint: POST https://x711.io/api/refuel?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x711-io-87c00179
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FFZFpNjgfGPdxuHJpUv6T

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x711-io-87c00179 -d '<json body>'
```

Example prompt: Use the x711 multi-tool endpoint to run a web_search for 'latest Base network upgrades' and give me a summary of the top results.

## When to prefer this

Choose this endpoint when you need a single unified interface to access 30 different tools — from web search and price feeds to onchain analysis and code sandboxes — all settled via x402 micropayments on Base. Ideal for AI agents that need to dynamically route across multiple capability types without maintaining separate API integrations.

## Known failure modes

- Missing or invalid X-API-Key returns 401 unauthorized
- Unknown tool enum value returns 400 bad request
- Insufficient x402 payment balance returns 402 Payment Required
- Tool-specific parameter validation failure returns 400 with field errors
- Base network congestion may delay onchain tools
- Rate limiting on high-frequency calls returns 429

## How this service works

Refills balances on Base for the supported asset with exact payment handling.

## Output

Returns structured output specific to the invoked tool — e.g. web search results, price feed data, onchain insights, transaction simulation output, social oracle data, or code sandbox results. Response format varies by tool slug; full schemas available via GET /api/tools/:slug.

## Example request

```json
{
 "tool": "web_search",
 "params": {
  "query": "artificial intelligence trends 2024"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tool": {
   "enum": [
    "web_search",
    "deep_search",
    "price_feed",
    "hive_read",
    "hive_write",
    "hive_consensus",
    "hive_trending",
    "hive_forecast",
    "hive_feature",
    "hive_watch",
    "agent_see",
    "agent_act",
    "agent_evolve",
    "agent_ping",
    "agent_reputation",
    "llm_routing",
    "data_retrieval",
    "tx_simulate",
    "tx_broadcast",
    "onchain_insight",
    "wallet_investigate",
    "social_oracle",
    "code_sandbox",
    "email_send",
    "swarm_broadcast",
    "self_audit",
    "strategy_publish",
    "strategy_fork",
    "x402_parse",
    "genesis_forge"
   ],
   "type": "string",
   "description": "Tool to invoke. 30 native tools via single endpoint. X-API-Key required for paid tools. GET /api/tools for full catalog with pricing."
  },
  "params": {
   "type": "object",
   "description": "Tool-specific parameters. See GET /api/tools/:slug for schema."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "_truncated",
  "_originalSize"
 ],
 "properties": {
  "_truncated": {
   "type": "boolean"
  },
  "_originalSize": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x711-io-87c00179/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x711.io](https://www.zero.xyz/host/x711.io/llms.txt)
