# GGWP API Hub – Exchange Rates

> GGWP API Hub – Exchange Rates is a paid API for AI agents from ggwp-ten.vercel.app, paid per call via x402, $0.08519/call, status unknown (last checked 2026-09-15).

Fetches current currency exchange rates for a given base currency or currency pair

## Facts

- Endpoint: POST https://ggwp-ten.vercel.app/api/exchange-rates
- Price: $0.08519/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ggwp-api-hub-exchange-rates-2d1d9cb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4P4fOylPIP6Cd3jSbY_AF

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 ggwp-api-hub-exchange-rates-2d1d9cb9 -d '<json body>'
```

Example prompt: What's the current exchange rate from US dollars to euros right now?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call exchange rate lookup without committing to a subscription, especially in agent workflows already using x402 micropayments on Base chain. It is part of a broader API hub so is convenient if you are already using GGWP for other finance or crypto data needs.

## Known failure modes

- Unsupported currency pair returns an error or empty result
- Invalid input format causes a malformed request error
- Payment failure via x402 protocol results in a 402 response and no data returned
- Rate data temporarily unavailable from underlying provider causes a timeout or error
- Missing required currency fields returns a validation error

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

Returns an object containing exchange rate data for the requested currency pair or base currency, including the current rate value and possibly metadata about the rate source or timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ggwp-api-hub-exchange-rates-2d1d9cb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ggwp-ten.vercel.app](https://www.zero.xyz/host/ggwp-ten.vercel.app/llms.txt)
