# fly.ai Market Endpoint (pay-per-request)

> fly.ai Market Endpoint (pay-per-request) is a paid API for AI agents from flyai-x402.fly.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Returns a single AI-generated answer for a specific market item, question, or URL lookup, billed per-request via x402 micropayment at $0.05 USDC.

## Facts

- Endpoint: GET https://flyai-x402.fly.dev/market?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fly-ai-market-endpoint-pay-per-request-f2ed3e5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_amIpEfI8ZxeQxZTnphdze

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 fly-ai-market-endpoint-pay-per-request-f2ed3e5a
```

Example prompt: Pull the fly.ai market answer for the listing with slug 'best-etf-2024' — I'm okay paying the per-request fee.

## When to prefer this

Choose this endpoint when you need a single, on-demand AI answer from the fly.ai marketplace and want to pay per-use via x402 micropayments rather than subscribing. Best suited for infrequent or one-off lookups of specific market items identified by an ID, URL, or slug.

## Known failure modes

- Missing or invalid ID/URL/slug returns no result or an error
- Payment failure via x402 blocks the response (402 status if wallet is insufficient)
- Unrecognized slug or ID returns empty or null response
- Network timeout if the fly.dev backend is unavailable
- If none of id, url, or slug is provided the query may return a default or error

## How this service works

Single answers, each paid on its own over x402. Guide: https://www.flyaiworld.com/x402-api.md

## Output

An AI-generated answer or market data payload corresponding to the queried item (by ID, URL, or slug). The response schema is open-ended, so the exact fields returned depend on the specific market item requested.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string"
  },
  "url": {
   "type": "string"
  },
  "slug": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fly-ai-market-endpoint-pay-per-request-f2ed3e5a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flyai-x402.fly.dev](https://www.zero.xyz/host/flyai-x402.fly.dev/llms.txt)
