# DDG FX Rate Lookup

> DDG FX Rate Lookup is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Returns a foreign exchange rate between two currencies via a machine-payable (x402 USDC) POST endpoint.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/fx-rate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-fx-rate-lookup-461c7be8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7hw0BBtvQjDQ4vF5YzD5b

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 ddg-fx-rate-lookup-461c7be8 -d '<json body>'
```

Example prompt: What's the current exchange rate from USD to EUR? I need the live FX rate right now.

## When to prefer this

Choose this endpoint when your AI agent needs a programmatic, machine-payable FX rate lookup with no OAuth setup and pay-per-call economics via x402 USDC micropayments. Ideal for agents operating autonomously in agentic workflows that need to pay for data without a human-managed API key subscription. Best for low-volume or on-demand FX lookups where a $0.01/call cost is acceptable.

## Known failure modes

- Payment not received or invalid x402 payment header — endpoint returns 402 Payment Required
- Unsupported currency pair — may return an error or empty result
- Malformed request body — missing required fields returns 400 Bad Request
- Provider data unavailable — upstream FX data source may be temporarily unreachable
- Network timeout — if the upstream rate provider is slow, response may be delayed

## How this service works

DDG agent-payable service request

## Output

A JSON response containing the exchange rate result (e.g. {ok: true} plus rate data) for the requested currency pair, returned after successful x402 USDC micropayment of $0.01.

## 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"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-fx-rate-lookup-461c7be8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
