# Vibes-Coded Currency Convert API

> Vibes-Coded Currency Convert API is a paid API for AI agents from vibes-coded.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts a monetary amount from one currency to another, returning the exchange rate and converted value as of the current date.

## Facts

- Endpoint: POST https://vibes-coded.com/api/v1/outcomes/currency-convert
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-coded-currency-convert-api-ac230328
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4LqTieJJrXAuCm0PrTZ1E

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 vibes-coded-currency-convert-api-ac230328 -d '<json body>'
```

Example prompt: Convert 100 USD to EUR and tell me today's exchange rate and the exact converted amount.

## When to prefer this

Choose this endpoint when your agent needs a quick, pay-per-call currency conversion without a subscription, particularly in USDC-payment-enabled (x402) agent workflows where low per-call cost ($0.01 USDC) matters and you need a structured JSON response with the rate and converted value.

## Known failure modes

- Unsupported currency code returns an error response
- Invalid or missing amount field causes a 400-level error
- Payment not received results in HTTP 402 before conversion is performed
- Stale rate if exchange data provider is delayed
- Network timeout on downstream rate feed

## How this service works

Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.

## Output

Returns a JSON object with ok status, the exchange rate, the as_of date, the original amount, the converted amount, and the source and target currency codes (e.g. {ok: true, rate: 0.92, as_of: '2026-07-24', amount: 100, converted: 92, from_currency: 'USD', to_currency: 'EUR'}).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "rate": 0.92,
  "as_of": "2026-07-24",
  "amount": 100,
  "resource": "currency-convert",
  "converted": 92,
  "to_currency": "EUR",
  "from_currency": "USD"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibes-coded-currency-convert-api-ac230328/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibes-coded.com](https://www.zero.xyz/host/vibes-coded.com/llms.txt)
