# VIA Router — Buyer Contract Endpoint

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

Routes an AI agent or human buyer's intent to the best-matching API, service, or product recommendation, paid via x402 USDC on Base.

## Facts

- Endpoint: POST https://via-router.floot.app/_api/buyer_contract?utm_source=zero.xyz
- Price: $0.02/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-buyer-contract-endpoint-2fef9de6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O3KRPywPSP--YrfjIRRIf

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-buyer-contract-endpoint-2fef9de6 -d '<json body>'
```

Example prompt: I need to find and compare the best services for building an AI customer support bot — search for 'AI customer support API' in the services market for the US in English and recommend the top option.

## When to prefer this

Choose this endpoint when an AI agent needs to compare, evaluate, and receive a ranked recommendation across multiple APIs, services, or commercial products — especially when micropayment-gated access via x402 on Base is acceptable. Prefer it over static API directories when you need dynamic, intent-driven routing with a buyer-contract guarantee and sourced research rather than a simple search index.

## Known failure modes

- Payment insufficient or failed — x402 payment not accepted, no result returned
- Intent too vague or too short (minLength:2 not met) — validation error
- Invalid country code (not ISO 3166-1 alpha-2) — schema validation failure
- Unsupported market value (not 'services' or 'commerce') — enum validation error
- No matching results found — empty alternatives array, contract.passed may be false
- Network or Base chain settlement failure — transaction hash missing or error state

## 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

Returns a paid:true confirmation, contract pass/fail, a top recommendation with title, a list of alternative options, and a settlement object containing the Base network transaction hash for the x402 USDC payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "intent": {
   "type": "string",
   "maxLength": 500,
   "minLength": 2
  },
  "market": {
   "enum": [
    "services",
    "commerce"
   ],
   "type": "string"
  },
  "country": {
   "type": "string",
   "pattern": "^[A-Z]{2}$"
  },
  "language": {
   "enum": [
    "en",
    "pt"
   ],
   "type": "string"
  },
  "constraints": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "paid": true,
  "tier": "buyer_contract",
  "contract": {
   "passed": true
  },
  "settlement": {
   "network": "eip155:8453",
   "transaction": "0x..."
  },
  "alternatives": [],
  "recommendation": {
   "title": "Example result"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/via-router-buyer-contract-endpoint-2fef9de6/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)
