# DAI Token Price Lookup

> DAI Token Price Lookup is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the current price of the DAI stablecoin aggregated from multiple data sources

## Facts

- Endpoint: GET https://api.web3identity.com/api/price/dai
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-b4e6e255
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__jCGbBENm9TCzaov4bNj9

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 api-web3identity-com-b4e6e255
```

Example prompt: What is the current price of DAI right now — pull it from the web3identity aggregated price feed?

## When to prefer this

Use this endpoint when you need a real-time, aggregated DAI stablecoin price from multiple sources rather than a single exchange feed, especially in DeFi or Web3 agent workflows where DAI valuation accuracy matters. Prefer this over single-source price feeds when reliability through aggregation is important.

## Known failure modes

- Token not found or unsupported — endpoint may return an error or empty response
- Upstream aggregator data unavailability causing stale or missing price
- Payment failure (402) if x402 payment header is not included or insufficient
- Network timeout if multiple price sources are slow to respond

## How this service works

Get current token price from multiple aggregated sources

## Output

Returns a JSON object containing the current DAI price as a number, the token symbol ('DAI'), the currency denomination (e.g. 'USD'), and the 24-hour price change percentage.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "price": {
       "type": "number"
      },
      "token": {
       "type": "string"
      },
      "currency": {
       "type": "string"
      },
      "change24h": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

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