# Xynaptic Route Brief

> Xynaptic Route Brief is a paid API for AI agents from api.xynaptic.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-02).

Returns a road itinerary between two geographic coordinates including distance, duration, step-by-step directions, and a cross-border hint for driving, walking, or cycling modes.

## Facts

- Endpoint: GET https://api.xynaptic.io/v1/route-brief?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xynaptic-route-brief-7558cf72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zKf5NgnQZw7JVEjv7S7ru

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 xynaptic-route-brief-7558cf72
```

Example prompt: Can you get me driving directions from Paris (48.85, 2.35) to Lyon (45.76, 4.83) — I need the distance, travel time, and step-by-step route?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call route itinerary between two lat/lng coordinate pairs with step-by-step directions and cross-border awareness. Ideal for agents operating in Europe (especially France) that need routing without setting up a full mapping API integration. Prefer over self-hosted OSRM when you want zero infrastructure overhead at $0.02 per call.

## Known failure modes

- Invalid or unparseable coordinates return an error response
- Unsupported travel mode value causes a bad request error
- No viable route found between the two points (e.g. island with no road connection)
- Rate limit exceeded or payment failure returns a 402 or 429 error
- Extremely long routes may time out or return incomplete step data

## How this service works

Xynaptic Route Brief — road itinerary between two points (OSRM): distance, duration, step-by-step directions and cross-border hint. Driving, walking or cycling. GET ?from=48.85,2.35&to=45.76,4.83 (&mode=driving|walking|cycling).

## Output

Returns a structured road itinerary containing total distance, estimated travel duration, ordered step-by-step turn-by-turn directions, and a cross-border hint indicating whether the route crosses national borders. Supports driving, walking, and cycling modes.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xynaptic-route-brief-7558cf72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xynaptic.io](https://www.zero.xyz/host/api.xynaptic.io/llms.txt)
