# AgentRXI Route Matrix

> AgentRXI Route Matrix is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-15).

Computes travel time and distance between up to 50 origin-destination pairs by car, truck, bike, or foot, and identifies the closest pair

## Facts

- Endpoint: GET https://agentrxi.com/v1/route/matrix?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-route-matrix-bb16d539
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gWumfPGegp5pBrH7pVxJT

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 agentrxi-route-matrix-bb16d539
```

Example prompt: What are the driving times and distances from our warehouse at 40.7128,-74.0060 to each of these three customer locations: 34.0522,-118.2437 | 41.8781,-87.6298 | 29.7604,-95.3698 — and which one is closest?

## When to prefer this

Use this endpoint when you need travel time or distance comparisons across multiple origin-destination pairs simultaneously — ideal for dispatching, store finders, or delivery planning. Prefer it over single-route APIs when batch comparison is needed, and over geocoding-only APIs when actual travel time (not straight-line distance) is required. Supports multiple transport modes including car, truck, bike, and foot.

## Known failure modes

- Too many origin-destination pairs exceeding the 50-pair limit
- Invalid coordinate format or unresolvable place name
- Unsupported travel mode value
- Route not found between specified locations (e.g. island with no road access)
- Payment failure or insufficient USDC balance

## How this service works

Travel time and distance matrix between up to 50 origin-destination pairs (places or lat,lon) by car, truck, bike or foot, with the closest pair. For dispatching, store finders and delivery planning.

## Output

Returns a matrix of travel times and distances for each origin-destination pair, along with identification of the closest pair. Each cell typically contains duration (in seconds or minutes) and distance (in meters or kilometers) for the specified travel mode.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "origins",
      "destinations"
     ],
     "properties": {
      "mode": {
       "type": "string"
      },
      "origins": {
       "type": "string",
       "description": "| separated"
      },
      "destinations": {
       "type": "string",
       "description": "| separated"
      }
     }
    }
   },
   "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/agentrxi-route-matrix-bb16d539/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
