# IMF Special Drawing Rights (SDR) Valuation

> IMF Special Drawing Rights (SDR) Valuation is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns the latest IMF SDR valuation including basket currency amounts, exchange rates, USD equivalents, and percentage changes for the five SDR basket currencies.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/sdr-special-drawing-rights?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imf-special-drawing-rights-sdr-valuation-d682113d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vuIHty5d-4SRQbMokf1dy

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 imf-special-drawing-rights-sdr-valuation-d682113d
```

Example prompt: What is the current IMF Special Drawing Rights valuation — give me the SDR to USD rate, all five basket currencies with their exchange rates and today's percentage changes.

## When to prefer this

Use this endpoint when you need the official IMF SDR valuation with all five basket currencies, exchange rates, and percentage changes in a single structured call. Prefer this over scraping the IMF website directly or using general FX APIs that may not carry SDR-specific data or Rule O-1 currency amounts.

## Known failure modes

- IMF data not yet published for the current business day — returns the previous available date
- Network timeout reaching IMF source — may return stale or cached data
- Invalid or unexpected IMF page structure — response may be incomplete
- API returns 402 if payment header is missing or USDC payment fails

## How this service works

IMF Special Drawing Rights (SDR) valuation for the latest IMF business day: the five basket currencies (US dollar, euro, Chinese yuan, Japanese yen, UK pound) with the currency amount under Rule O-1, market exchange rate, US-dollar equivalent and % change; plus the SDR value in US dollars (SDR1 = US$) and the US dollar in SDR (US$1 = SDR).

## Output

A JSON object containing the IMF valuation date, a note on rate conventions, an array of five basket currency entries (each with currency name, amount under Rule O-1, market exchange rate, USD equivalent, and % change), the SDR value in USD (SDR1 = US$X), the USD value in SDR (US$1 = SDRX), the % change in USD-in-SDR, and a source URL and checkedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-10-22",
  "note": "Japanese yen and Chinese yuan rates are currency units per US dollar; the others are US dollars per currency unit.",
  "basket": [
   {
    "amount": 1.0993,
    "currency": "Chinese yuan",
    "changePct": 0.028,
    "exchangeRate": 6.6732,
    "usdEquivalent": 0.164734
   },
   {
    "amount": 0.37379,
    "currency": "Euro",
    "changePct": -0.16,
    "exchangeRate": 1.12145,
    "usdEquivalent": 0.419187
   }
  ],
  "source": "https://www.imf.org/external/np/fin/data/rms_sdrv.aspx",
  "dateText": "Thursday, October 22, 2026",
  "sdrInUsd": 1.35598,
  "usdInSdr": 0.737473,
  "checkedAt": "2026-10-23T09:38:33.078Z",
  "usdInSdrChangePct": 0.01
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imf-special-drawing-rights-sdr-valuation-d682113d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
