# HubVibe Route & Traffic Time

> HubVibe Route & Traffic Time is a paid API for AI agents from hubvibe-io.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-03).

Returns travel time (with and without live traffic), traffic delay, distance, and route details between two places using the Google Routes API.

## Facts

- Endpoint: POST https://hubvibe-io.com/work/traffic/route?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hubvibe-route-traffic-time-60f5c290
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mZCmJGJOQ-GY7hYB6qRf4

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 hubvibe-route-traffic-time-60f5c290 -d '<json body>'
```

Example prompt: How long will it take to drive from downtown Chicago to O'Hare Airport this Friday at 5pm with live traffic? I want to see both the traffic and no-traffic estimates.

## When to prefer this

Use this endpoint when you need live traffic-aware travel time and distance between two arbitrary places (addresses, place names, or coordinates) and want structured output including both traffic and no-traffic durations plus the delay delta. Prefer this over static map distance tools when real-time traffic conditions matter, or when you need localized human-readable route text and warnings.

## Known failure modes

- Unresolvable origin or destination returns an error (ambiguous place name or geocoding failure)
- departure_time in the past causes a validation error
- Traffic data unavailable for non-DRIVE/TWO_WHEELER travel modes (traffic parameter ignored)
- Invalid RFC 3339 format for departure_time returns a schema validation error
- Google Routes API quota exceeded or service outage results in a 5xx error

## How this service works

Travel time with live traffic between two places, from the Google Routes API at call time: duration with traffic, duration without, the delay, distance, route description, warnings and advisories. Places as addresses, names or 'lat,lng'. Use it for ETAs, delivery windows and trip planning. Input: origin, destination; optional travel_mode, departure_time, traffic.

## Output

Returns duration with live traffic, duration without traffic, the delay between the two, total distance, a human-readable route description, localized text labels, and any warnings or advisories — all sourced from the Google Routes API at the time of the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "origin": {
   "type": "string",
   "maxLength": 300,
   "minLength": 1
  },
  "traffic": {
   "enum": [
    "aware",
    "optimal",
    "none"
   ],
   "type": "string"
  },
  "language": {
   "type": "string",
   "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
   "maxLength": 35
  },
  "destination": {
   "type": "string",
   "maxLength": 300,
   "minLength": 1
  },
  "travel_mode": {
   "enum": [
    "DRIVE",
    "TWO_WHEELER",
    "WALK",
    "BICYCLE",
    "TRANSIT"
   ],
   "type": "string"
  },
  "departure_time": {
   "type": "string",
   "format": "date-time"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "as_of": "2026-09-27T16:30:00Z",
   "origin": "Ferry Building, San Francisco, CA",
   "source": "google-routes",
   "traffic": "aware",
   "advisory": {},
   "warnings": [],
   "checked_at": "2026-09-26T18:00:00Z",
   "description": "I-80 E and I-580 E",
   "destination": "Oakland City Hall, Oakland, CA",
   "travel_mode": "DRIVE",
   "delay_seconds": -129,
   "distance_text": "17.0 km",
   "duration_text": "19 mins",
   "departure_time": "2026-09-27T16:30:00Z",
   "distance_meters": 17011,
   "duration_seconds": 1152,
   "static_duration_text": "21 mins",
   "static_duration_seconds": 1281
  },
  "status": "ok",
  "worker": "traffic.route",
  "price_usd": 0.1,
  "provenance": {
   "steps": [
    {
     "ms": 312,
     "ok": true,
     "step": "quote",
     "reason": "provider_timeout",
     "provider": "coinbase-advanced-trade-public"
    }
   ],
   "attempts": 1,
   "elapsed_ms": 340,
   "providers_used": [
    "coinbase-advanced-trade-public"
   ]
  },
  "receipt_id": "rcpt_9f1c2b3a4d5e6f70",
  "attribution": [
   {
    "url": "https://translate.google.com",
    "text": "Translated by Google"
   }
  ],
  "receipt_url": "/work/receipts/rcpt_9f1c2b3a4d5e6f70"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hubvibe-route-traffic-time-60f5c290/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hubvibe-io.com](https://www.zero.xyz/host/hubvibe-io.com/llms.txt)
