# 2s Crypto Trending Coins

> 2s Crypto Trending Coins is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-15).

Returns a list of currently trending cryptocurrencies with price and market cap rank data, sourced from CoinGecko.

## Facts

- Endpoint: GET https://2s.io/api/crypto/trending
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-crypto-trending-coins-51edaa90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_riGPqpIamYtNhBrWQt5mj

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 2s-crypto-trending-coins-51edaa90
```

Example prompt: What cryptocurrencies are trending right now? Give me their names, symbols, USD prices, and market cap rankings.

## When to prefer this

Use this endpoint when you need a quick, real-time snapshot of which cryptocurrencies are currently trending globally, with price and market cap rank, without needing authentication or API key management. Prefer this over building a direct CoinGecko integration when you want pay-per-call simplicity via USDC microtransaction.

## Known failure modes

- CoinGecko upstream outage causes empty or error response
- Price data may be stale if CoinGecko feed is delayed
- No input filtering supported — returns global trending list only, not customizable by category or time window
- Response priceUsd typed as integer may lose sub-dollar precision for micro-cap coins

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

A JSON object with an 'ok' boolean, an 'items' array of trending coins (each with id, name, symbol, priceUsd, and marketCapRank), a total count, and a source attribution object crediting CoinGecko with a license URL.

## Example request

```json
{
 "properties": "name,symbol,current_price,market_cap_rank"
}
```

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-crypto-trending-coins-51edaa90/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
