# BaseBuilder Sentiment - Exchange Rate API

> BaseBuilder Sentiment - Exchange Rate API is a paid API for AI agents from bb-sentiment.vercel.app, paid per call via x402, $0.173987/call, status unknown (last checked 2026-09-13).

Fetches current currency exchange rates via a paid x402 micropayment-gated endpoint hosted on the BaseBuilder Sentiment API hub

## Facts

- Endpoint: POST https://bb-sentiment.vercel.app/api/exchangerate-api
- Price: $0.173987/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-sentiment-exchange-rate-api-1ee8f89a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QFDk0JV1G7_F4KM8byG6W

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-sentiment-exchange-rate-api-1ee8f89a -d '<json body>'
```

Example prompt: Can you look up the current exchange rate from USD to EUR using the BaseBuilder exchange rate API?

## When to prefer this

Choose this endpoint when you need a quick, programmatic lookup of a live currency exchange rate and are operating in an x402 micropayment-enabled environment. It is suitable for lightweight, per-call usage where you do not want to manage a subscription to a dedicated forex data provider.

## Known failure modes

- Missing or invalid currency codes result in an error response
- Payment not attached or insufficient USDC balance triggers a 402 Payment Required response
- Unsupported currency pair returns an error or empty result
- Network or upstream provider outage may result in 503 or timeout
- Malformed POST body causes a 400 Bad Request

## How this service works

BaseBuilder Sentiment API hub - 14 paid endpoints

## Output

Returns the current exchange rate for a given currency pair, typically including the base currency, target currency, and the numerical conversion rate, possibly with a timestamp indicating data freshness.

## More

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