# Agent Rest Stop – Two Quote Minimum

> Agent Rest Stop – Two Quote Minimum is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Accepts two labeled price quotes and returns the smaller (cheaper) one.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/TwoQuoteMin?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-rest-stop-two-quote-minimum-96bded97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aQ051mj2gSW-P6buCF5ci

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-rest-stop-two-quote-minimum-96bded97 -d '<json body>'
```

Example prompt: I have two quotes: 'Vendor Alpha' for $42.50 and 'Vendor Beta' for $38.00 — which one is cheaper?

## When to prefer this

Use this endpoint when you have exactly two labeled price quotes as strings and need a fast, stateless determination of which is smaller, especially in agent pipelines where you want a pay-per-use micro-computation without managing comparison logic yourself.

## Known failure modes

- Missing or non-numeric amount fields cause comparison to fail or return unexpected results
- Both amounts equal — tie-breaking behavior may not be specified
- Malformed string amounts (e.g. currency symbols embedded) may cause parse errors
- Payment of $0.01 USDC required per call; missing payment returns 402 error

## How this service works

Picks the smaller quote.

## Output

Returns the label and amount of whichever of the two input quotes has the smaller numeric value, allowing the caller to immediately act on the cheaper option.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "label_a": {
   "type": "string"
  },
  "label_b": {
   "type": "string"
  },
  "amount_a": {
   "type": "string"
  },
  "amount_b": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-two-quote-minimum-96bded97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-gas-station.agent-gas-station.workers.dev](https://www.zero.xyz/host/agent-gas-station.agent-gas-station.workers.dev/llms.txt)
