# Stride20k Crypto Price API

> Stride20k Crypto Price API is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the current USD price and confidence score for any cryptocurrency by CoinGecko coin ID, sourced from DefiLlama

## Facts

- Endpoint: GET https://gateway.stride20k.com/crypto/price/%7BcoinId%7D
- 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/stride20k-crypto-price-api-59c4f031
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PrKrDrl3h5lOBXPRlPJYR

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 stride20k-crypto-price-api-59c4f031
```

Example prompt: What's the current USD price of Bitcoin? Use the CoinGecko ID 'coingecko:bitcoin' and tell me the confidence score too.

## When to prefer this

Choose this endpoint when you need a normalized, schema-stable crypto price feed with confidence scoring paid per-call via USDC (x402), with no API key setup. It's ideal for agents that need to pay programmatically per lookup rather than maintain subscriptions, and when DefiLlama-sourced pricing is acceptable.

## Known failure modes

- Unknown or misspelled coinId returns an error or ok:false
- Coin not tracked by DefiLlama may return no data
- Network timeouts from upstream source may delay or fail the response
- Payment failure via x402 (insufficient USDC) results in 402 Payment Required

## How this service works

Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.

## Output

A JSON object with ok:true, the coin's current USD price, symbol, coinId, a confidence score (0–1), and a sourceTimestamp. The meta block includes whether the result was cached, the data source (e.g. 'defillama'), and the fetch timestamp.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "coinId": "coingecko:bitcoin",
   "symbol": "BTC",
   "priceUsd": 62397.99,
   "confidence": 0.99,
   "sourceTimestamp": 1783132624
  },
  "meta": {
   "cached": false,
   "source": "defillama",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/crypto/price/:coinId"
 }
}
```

## More

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