# DAI to USD Conversion at Live Price

> DAI to USD Conversion at Live Price is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Converts a specified amount of DAI stablecoin to its equivalent value in US Dollars using the current live exchange rate.

## Facts

- Endpoint: GET https://api.x402node.dev/crypto/convert/dai/usd/dai-usd
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dai-to-usd-conversion-at-live-price-ecd12697
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D405Dayteqy6ZT2XnjLaS

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 dai-to-usd-conversion-at-live-price-ecd12697
```

Example prompt: How much is 250 DAI worth in US dollars right now at the live price?

## When to prefer this

Use this endpoint when you need a quick, live DAI-to-USD conversion with a structured response including the rate source and timestamp. Ideal for DeFi dashboards, portfolio trackers, or any agent workflow needing real-time DAI valuation in USD without building your own price feed integration.

## Known failure modes

- Missing or invalid amount parameter may return an error or default to 1
- External price feed unavailability may cause stale or failed responses
- Non-numeric amount values will likely return a 400-level error
- Rate limiting may occur with excessive calls at $0.004 per call

## How this service works

Convert DAI to USD at live price. Pass ?amount=1 for value in US Dollar. Dai稳定币兑换美元换算。ダイを米ドルに換算。Convertir Dai a dólar. 다이를 달러로 환전. dai to usd, Dai convert.

## Output

Returns a JSON object with the source and destination currency codes (from: 'DAI', to: 'USD'), the live price of DAI in USD, the input amount, the converted result in USD, the data source, and a timestamp (as_of) indicating when the rate was fetched.

## 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": [
      "amount"
     ],
     "properties": {
      "amount": {
       "type": "string",
       "description": "要换算的数量，如 ?amount=1"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dai-to-usd-conversion-at-live-price-ecd12697/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
