# BaseBuilder Stocks Forex Rate API

> BaseBuilder Stocks Forex Rate API is a paid API for AI agents from bbx-stocks.vercel.app, paid per call via x402, $0.065184/call, status unknown (last checked 2026-10-09).

Returns the current exchange rate between two currencies via a paid API endpoint

## Facts

- Endpoint: POST https://bbx-stocks.vercel.app/api/forex/rate?utm_source=zero.xyz
- Price: $0.065184/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-stocks-forex-rate-api-1a400671
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9lyz7VyaVCh-POdhZht69

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 basebuilder-stocks-forex-rate-api-1a400671 -d '<json body>'
```

Example prompt: What's the current exchange rate from USD to EUR right now?

## When to prefer this

Choose this endpoint when you need a quick, programmatic lookup of a live forex exchange rate for a specific currency pair, especially within an x402 micropayment-enabled agent workflow where per-call billing at ~$0.065 is acceptable. Suitable for spot rate lookups rather than historical data or bulk batch conversions.

## Known failure modes

- Invalid or unsupported currency code returns an error response
- Payment failure or insufficient USDC balance prevents API access
- Rate limiting or quota exceeded errors
- Network timeout if upstream forex data provider is unavailable
- Malformed request body returns 400-level error

## How this service works

BaseBuilder Stocks API hub - 21 paid endpoints

## Output

Returns the current exchange rate value for the specified currency pair, enabling conversion calculations between the base and quote currencies.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebuilder-stocks-forex-rate-api-1a400671/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bbx-stocks.vercel.app](https://www.zero.xyz/host/bbx-stocks.vercel.app/llms.txt)
