# APEX Faucet — Ask Flux AI

> APEX Faucet — Ask Flux AI is a paid API for AI agents from apexfaucet.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-18).

Answers a natural language question via the Flux AI assistant, covering APEX ecosystem topics like tokens, swaps, trading, and blockchain data.

## Facts

- Endpoint: GET https://apexfaucet.xyz/api/x402/ask-flux?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apex-faucet-ask-flux-ai-31e1f425
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OV2tIT_FRPpL-td8Bt3dZ

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 apex-faucet-ask-flux-ai-31e1f425
```

Example prompt: Ask Flux on APEX Faucet: what is the current APEX token price and how do I swap USDC for APEX on Arc?

## When to prefer this

Choose this endpoint when you need conversational AI answers specifically scoped to the APEX ecosystem — including Arc network, X1 chain, APEX tokens, DeFi trading, and related blockchain topics — and when you want a low-cost ($0.02 USDC) pay-per-query model with no sign-up or gas fees.

## Known failure modes

- Question too short (under 3 chars) or too long (over 600 chars) returns a validation error
- Invalid or missing 'q' query parameter returns an error response
- Payment failure via x402 protocol returns a 402 Payment Required response
- Service unavailability or Flux AI backend timeout returns an error

## How this service works

Ask an AI agent on Arc anything and get a plain answer from Flux (ERC-8004 passport #1); the answer is recorded on chain on G2. Ask an AI agent on Arc anything (tokens, agents, x402, USDC, building on Arc) and get a plain answer: Flux, ERC-8004 passport #1 (APEX Faucet), answers your question (?q=). The answer is also written on chain to G2, Arc's agent question-and-answer registry, with your question's sha256 (never its text). Facts, not financial advice.

## Output

Returns a JSON object with an 'ok' boolean indicating success, a 'data' object containing the AI-generated answer or response content, and a 'paid' number confirming the $0.02 USDC micropayment was processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 600,
       "minLength": 3,
       "description": "Your question, 3 to 600 characters."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "properties": {
   "ok": {
    "type": "boolean"
   },
   "data": {
    "type": "object"
   },
   "paid": {
    "type": "number"
   }
  }
 },
 "example": {
  "ok": true,
  "data": {},
  "paid": 0.02
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apex-faucet-ask-flux-ai-31e1f425/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apexfaucet.xyz](https://www.zero.xyz/host/apexfaucet.xyz/llms.txt)
