# Agent Rest Stop – USD to Sats Quote

> Agent Rest Stop – USD to Sats Quote 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).

Converts a USD amount into a satoshis (sats) quote, returning the USDC value in 6-decimal precision alongside a sats-labeled result.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/UsdSatsQuote?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-usd-to-sats-quote-cb9618b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_32X4SMi6fvPuDGJ7J6rZw

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-usd-to-sats-quote-cb9618b1 -d '<json body>'
```

Example prompt: How many satoshis is $2.50 worth right now? Give me the sats equivalent with the USDC amount shown in 6-decimal precision.

## When to prefer this

Use this endpoint when you need a precise, labeled satoshi quote for a given USD amount — especially useful in agent payment flows, Bitcoin Lightning invoicing, or wallet UIs where you need USDC (6-decimal) and sats values simultaneously. Prefer this over generic currency APIs when you need the sats label format and USDC precision together in a single call.

## Known failure modes

- Missing or malformed 'usd' field returns an error
- Non-numeric string for usd may cause computation failure
- Network or worker timeout may return a 5xx error
- Payment not included or invalid x402 payment header results in 402 Payment Required

## How this service works

USDC in 6 decimals and a sats label.

## Output

Returns the input USD amount expressed as a USDC value with 6 decimal places and the equivalent number of satoshis (sats) with a sats label, enabling dual-currency display or downstream Bitcoin payment calculations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "usd": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-usd-to-sats-quote-cb9618b1/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)
