# NoJunk Crypto Price

> NoJunk Crypto Price is a paid API for AI agents from nojunk-crypto-price.mick8511.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-27).

Returns current USD price, market cap, 24h volume, and 24h change for up to 10 cryptocurrencies by ticker symbol or on-chain contract address, sourced from CoinGecko.

## Facts

- Endpoint: GET https://nojunk-crypto-price.mick8511.workers.dev/price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-crypto-price-bb653fc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1mbrsf-VHOjWtrXXpLMZ1

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 nojunk-crypto-price-bb653fc5
```

Example prompt: What are the current USD prices, market caps, and 24-hour changes for BTC, ETH, and SOL?

## When to prefer this

Choose this endpoint when you need real-time cryptocurrency price data including market cap, volume, and 24h change for mainstream coins by ticker symbol or for any on-chain token by contract address across major EVM chains and Solana. It is particularly useful when you need to query multiple tokens in a single call (up to 10), or when dealing with DeFi tokens not easily found by name. Prefer this over generic market APIs when you need CoinGecko-sourced data with on-chain address support.

## Known failure modes

- Unknown ticker symbol returns entry in 'unknown' array rather than results
- Invalid or unsupported contract address results in empty or unknown response
- Chain parameter missing when using contract address may cause lookup failure
- Exceeding 10 symbols in a single request may result in an error or partial response
- CoinGecko upstream outage may cause stale or failed data
- Malformed query parameters return HTTP 400 or empty result

## How this service works

Current USD price, market cap, 24h volume and 24h change for up to 10 cryptocurrencies by ticker symbol (BTC, ETH, SOL, ...) or for any on-chain token by contract address and chain (ethereum, base, bsc, arbitrum, polygon, optimism, avalanche, solana). Data from CoinGecko.

## Output

A JSON object containing a results array where each entry includes the token's id, name, symbol, queried ticker or address, current USD price, 24h percentage change, market cap in USD, 24h volume in USD, and last updated timestamp. Also includes an 'unknown' array for unresolved queries, the fetch timestamp, and a CoinGecko attribution string.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "bsc",
        "arbitrum",
        "polygon",
        "optimism",
        "avalanche",
        "solana"
       ],
       "type": "string",
       "description": "Chain of the contract address"
      },
      "symbol": {
       "type": "string",
       "description": "Ticker symbol or comma-separated list of up to 10, e.g. BTC or BTC,ETH,SOL"
      },
      "address": {
       "type": "string",
       "description": "On-chain token contract address (use with chain instead of symbol)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "CoinGecko",
  "results": [
   {
    "id": "bitcoin",
    "name": "Bitcoin",
    "query": "BTC",
    "symbol": "BTC",
    "price_usd": 112345.67,
    "last_updated": "2026-10-15T14:02:11.000Z",
    "change_24h_pct": 1.2345,
    "market_cap_usd": 2235000000000,
    "volume_24h_usd": 48200000000
   },
   {
    "id": "ethereum",
    "name": "Ethereum",
    "query": "ETH",
    "symbol": "ETH",
    "price_usd": 4012.34,
    "last_updated": "2026-10-15T14:02:09.000Z",
    "change_24h_pct": -0.4567,
    "market_cap_usd": 484000000000,
    "volume_24h_usd": 31500000000
   }
  ],
  "unknown": [],
  "fetched_at": "2026-10-15T14:02:15.123Z",
  "attribution": "Powered by CoinGecko (https://www.coingecko.com)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-crypto-price-bb653fc5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-crypto-price.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-crypto-price.mick8511.workers.dev/llms.txt)
