# SOL/USD Price Feed (DefiLlama)

> SOL/USD Price Feed (DefiLlama) is a paid API for AI agents from x402-seller-0ay3.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the current Solana (SOL) price in USD sourced from DefiLlama, with confidence score and timestamp.

## Facts

- Endpoint: GET https://x402-seller-0ay3.onrender.com/api/price/sol-usd
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sol-usd-price-feed-defillama-28453b97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sxEGW5IewTVF3trYY0Zvs

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 sol-usd-price-feed-defillama-28453b97
```

Example prompt: What's the current price of SOL in USD right now? Pull it from DefiLlama so I get the confidence score too.

## When to prefer this

Choose this endpoint when you need a quick, no-parameter SOL/USD price lookup with a built-in confidence score sourced from DefiLlama. It is ideal for agents that need a single authoritative DeFi-native price (not exchange-specific) for Solana. For multi-token or non-SOL price queries, use the sibling multi-token endpoint on the same host.

## Known failure modes

- DefiLlama upstream unavailable — stale or missing price data returned
- Payment failure — 402 response if USDC payment is not attached or insufficient
- Network timeout from the Render.com host — may return 503 during cold starts
- Price confidence below expected threshold during low-liquidity periods

## How this service works

Current SOL (Solana) price in USD, source DefiLlama. No parameters.

## Output

A JSON object containing the SOL symbol, current price in USD (e.g. 145.32), a confidence score (0–1), the DefiLlama source URL, and an ISO timestamp of when the price was fetched.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "https://coins.llama.fi",
  "symbol": "SOL",
  "price_usd": 145.32,
  "confidence": 0.99,
  "fetched_at": "2026-09-01T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sol-usd-price-feed-defillama-28453b97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-0ay3.onrender.com](https://www.zero.xyz/host/x402-seller-0ay3.onrender.com/llms.txt)
