# Cinderwright API Hub – Currency Conversion

> Cinderwright API Hub – Currency Conversion is a paid API for AI agents from api.ideafactorylab.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts an amount from one currency to another and returns the exchange rate and converted value

## Facts

- Endpoint: GET https://api.ideafactorylab.org/x402/currency
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cinderwright-api-hub-currency-conversion-ff46f167
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WMeDrRqO1wCytWLaq_Qku

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 cinderwright-api-hub-currency-conversion-ff46f167
```

Example prompt: How much is 250 US dollars in euros right now? Convert USD to EUR for me.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use currency conversion without committing to a subscription-based forex API. It is ideal for AI agents that only occasionally need exchange rate lookups, or for pipelines that handle multicurrency financial data at low volume. The $0.001 per call pricing makes it cost-effective for sporadic use.

## Known failure modes

- Invalid or unsupported currency code returns an error
- Missing required 'from' or 'to' query parameters returns a 400 bad request
- Insufficient USDC credit on API key returns a 402 Payment Required
- Network or upstream exchange rate provider outage may return 503

## How this service works

900+ pay-per-use data services for AI agents. One key unlocks weather, finance, geolocation, GitHub stats, DNS, Wikipedia, science, health, food, sports, music, trivia and more. No subscriptions, no per-service API keys. Generate a free trial key with $0.10 credit in one POST request, no wallet required.

## Output

Returns a JSON object containing the source currency code (from), target currency code (to), the exchange rate (rate), the original amount, and the converted amount — e.g. {from: 'USD', to: 'EUR', rate: 0.877, amount: 100, converted: 87.73}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target currency code"
      },
      "from": {
       "type": "string",
       "description": "Source currency code"
      },
      "amount": {
       "type": "number",
       "description": "Amount to convert"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "EUR",
  "from": "USD",
  "rate": 0.877,
  "amount": 100,
  "converted": 87.73
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cinderwright-api-hub-currency-conversion-ff46f167/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ideafactorylab.org](https://www.zero.xyz/host/api.ideafactorylab.org/llms.txt)
