# AGISHub Currency Converter

> AGISHub Currency Converter is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts a monetary amount from one ISO 4217 currency to another using live daily exchange rates, returning the converted amount and the rate used.

## Facts

- Endpoint: POST https://api.agishub.com/paid/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/agishub-currency-converter-0f8629b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MH9p8uh5SmKeD2Y7ak4pV

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 agishub-currency-converter-0f8629b6 -d '<json body>'
```

Example prompt: Can you convert 250 US dollars to Japanese yen using today's live exchange rate?

## When to prefer this

Choose this endpoint when you need a quick, live currency conversion between two ISO 4217 currencies and want both the converted amount and the exchange rate used. Ideal for agents handling invoicing, travel budgeting, financial calculations, or cross-currency comparisons in real time. Prefer this over static lookup tables or manual rate lookups when accuracy and freshness of the exchange rate matter.

## Known failure modes

- Invalid or unsupported ISO 4217 currency code returns an error
- Amount is missing or non-numeric returns a validation error
- Unsupported currency pair (exotic currencies) may not have a live rate available
- Network or rate-feed outage may cause temporary unavailability
- Amount of zero or negative values may return an error or zero result

## How this service works

Convert an amount between currencies using live daily exchange rates (ISO 4217 codes, e.g. USD, EUR, GBP, JPY). Returns the converted amount and the rate used.

## Output

Returns a JSON object containing the converted monetary amount in the target currency and the exchange rate used for the conversion, based on live daily rates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "amount",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "maxLength": 3,
       "minLength": 3,
       "description": "Target currency ISO 4217 code, e.g. 'EUR', 'JPY'."
      },
      "from": {
       "type": "string",
       "maxLength": 3,
       "minLength": 3,
       "description": "Source currency ISO 4217 code, e.g. 'USD', 'EUR'."
      },
      "amount": {
       "type": "number",
       "description": "The amount of money to convert."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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