# VIA Router — API Price Comparison

> VIA Router — API Price Comparison is a paid API for AI agents from via-router.floot.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Routes a plain-language intent to a recommended API, service, or product with up to three alternatives, paid per-call via x402 USDC on Base.

## Facts

- Endpoint: POST https://via-router.floot.app/_api/compare_api_prices?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/via-router-api-price-comparison-f74beff3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nvNhbrXk1EHuT84gX82Gl

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 via-router-api-price-comparison-f74beff3 -d '<json body>'
```

Example prompt: I need to find and compare APIs for extracting text from PDFs — can you route my request through VIA and recommend the best option in the services market for US users in English?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to discover and compare APIs or services based on a plain-language intent, especially within a micropayment-native x402 workflow on Base. Prefer it over manual API directories when you want a single recommendation with alternatives returned programmatically, without manually curating options yourself.

## Known failure modes

- Intent too vague or too short (minLength:2 not met) — returns validation error
- Invalid country code (not ISO 3166-1 alpha-2) — returns 400
- Unsupported language code — returns validation error
- x402 payment fails or USDC balance insufficient — call not processed
- No matching services found for intent — alternatives array may be empty
- Market enum mismatch — unrecognized market value rejected

## How this service works

VIA is a paid buyer-side router for AI agents and humans. Compare APIs, services, products and sourced research with x402 USDC payments on Base.

## Output

A JSON object containing the recommended service title and source, up to three alternative options, whether the call was paid, the x402 settlement transaction hash on Base, and the VIA toll amount (typically $0.001 USDC).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "intent": {
   "type": "string",
   "maxLength": 500,
   "minLength": 2,
   "description": "Plain-language request to route"
  },
  "market": {
   "enum": [
    "auto",
    "services",
    "commerce",
    "information",
    "travel"
   ],
   "type": "string"
  },
  "country": {
   "type": "string",
   "pattern": "^[A-Z]{2}$"
  },
  "language": {
   "enum": [
    "en",
    "pt"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "paid": true,
  "intent": "Find a PDF text extractor",
  "settlement": {
   "network": "eip155:8453",
   "transaction": "0x..."
  },
  "viaTollUsd": 0.001,
  "alternatives": [],
  "recommendation": {
   "title": "PDF Text Extractor",
   "source": "Apify Store"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/via-router-api-price-comparison-f74beff3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from via-router.floot.app](https://www.zero.xyz/host/via-router.floot.app/llms.txt)
