# Stellar Token Price (Aggregated)

> Stellar Token Price (Aggregated) is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.010000/call, status unknown (last checked 2026-09-14).

Returns the current price of the Stellar (XLM) token aggregated from multiple data sources, including 24-hour price change

## Facts

- Endpoint: GET https://api.web3identity.com/api/price/stellar
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-ca063ec9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3n1fMoKBIyT8Q_pW9Ie-8

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-ca063ec9
```

Example prompt: What is the current price of Stellar (XLM) right now, including how much it has changed in the last 24 hours?

## When to prefer this

Use this endpoint when you specifically need the current price of Stellar (XLM) and want confidence from multi-source aggregation rather than a single exchange feed. Prefer this over generic market data APIs when building Web3 identity or DeFi applications on the Stellar ecosystem, or when you need the 24h change alongside the price in a single call.

## Known failure modes

- Token price data temporarily unavailable from aggregated sources — may return 503 or empty response
- Payment not fulfilled (x402 payment required) — returns 402 if USDC payment not attached
- Invalid or unsupported token path — returns 404 if the endpoint path is incorrect
- Stale or delayed data if upstream aggregators are lagging

## How this service works

Get current token price from multiple aggregated sources

## Output

Returns a JSON object with the token's current price as a number, the token symbol (XLM), the currency (likely USD), and the 24-hour percentage price change — all sourced by aggregating multiple crypto data providers.

## 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-ca063ec9/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)
