# Agent Trust Layer Smart Router

> Agent Trust Layer Smart Router is a paid API for AI agents from agent-trust-layer.agent-trust-layer.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns ranked API providers for a given task using technical probes and payer-signed transaction outcome data

## Facts

- Endpoint: GET https://agent-trust-layer.agent-trust-layer.workers.dev/route
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-trust-layer-smart-router-cc3ce9ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SLvqnRV2zHRR1YoCyGDs5

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 agent-trust-layer-smart-router-cc3ce9ac
```

Example prompt: Which providers are best ranked for handling natural language translation tasks right now — give me the top options with their reliability scores based on live probes and actual payment outcomes.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically select the best provider for a task at runtime, especially when reliability and payment-verified track records matter more than static configuration. Prefer over manual provider selection or static routing tables when operating in agentic, multi-provider environments where trust and uptime signals are critical.

## Known failure modes

- Missing or too-short 'task' query parameter returns a 400 validation error
- No providers found for the specified task returns an empty or minimal ranked list
- Upstream probe failures may result in incomplete scoring data for some providers
- x402 payment challenge failure if USDC payment is not correctly submitted before routing
- Rate limiting or quota exhaustion returns a 429 or 402 error

## How this service works

Ranked verified providers for a task (smart router)

## Output

An ordered list of providers for the specified task, ranked by a composite score derived from live technical probes (availability, latency, HTTP status) and payer-signed Base USDC delivery outcomes, helping the agent select the most trustworthy and performant option.

## 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": [
      "task"
     ],
     "properties": {
      "task": {
       "type": "string",
       "minLength": 2,
       "description": "Capability or task for which to rank providers"
      }
     }
    }
   },
   "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/agent-trust-layer-smart-router-cc3ce9ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-trust-layer.agent-trust-layer.workers.dev](https://www.zero.xyz/host/agent-trust-layer.agent-trust-layer.workers.dev/llms.txt)
