# GetDigitalCraft DeFi Token Prices

> GetDigitalCraft DeFi Token Prices is a paid API for AI agents from x402render-u5vwpxpyua-uc.a.run.app, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-13).

Fetches current token prices for one or more tokens by contract address (chain:address) or CoinGecko ID (coingecko:id)

## Facts

- Endpoint: GET https://x402render-u5vwpxpyua-uc.a.run.app/defi-prices
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/getdigitalcraft-defi-token-prices-ab50541a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MqNIlp5U6ZszJcrT1kr4r

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 getdigitalcraft-defi-token-prices-ab50541a
```

Example prompt: What are the current prices for these tokens: ethereum:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and coingecko:solana?

## When to prefer this

Use this endpoint when you need real-time token prices for one or multiple tokens identified by on-chain contract address (with chain prefix) or CoinGecko ID, especially in multi-chain DeFi contexts. Prefer this over general crypto price APIs when you have contract addresses rather than ticker symbols, or when you need to batch multiple tokens across chains in a single call.

## Known failure modes

- Invalid or unrecognized contract address returns no price data for that token
- Unsupported chain prefix causes lookup failure
- CoinGecko ID not found returns empty or error for that asset
- Rate limiting or upstream data provider outage may return stale or missing prices
- Malformed input format (missing colon separator) may result in a parsing error

## How this service works

Current token prices by contract address or coingecko id, several at once. Accepts chain:address or coingecko:id

## Output

Returns current market prices for each requested token, keyed by the input identifier (chain:address or coingecko:id format). Multiple tokens can be queried in a single call.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/getdigitalcraft-defi-token-prices-ab50541a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402render-u5vwpxpyua-uc.a.run.app](https://www.zero.xyz/host/x402render-u5vwpxpyua-uc.a.run.app/llms.txt)
