# Syra CoinGecko Top Gainers & Market Digest

> Syra CoinGecko Top Gainers & Market Digest is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.00108/call, status unknown (last checked 2026-09-13).

Fetches live CoinGecko-sourced top gaining cryptocurrencies with optional LLM narrative enrichment, news bundles, and price predictions

## Facts

- Endpoint: GET https://api.syraa.fun/coingecko
- Price: $0.00108/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/syra-coingecko-top-gainers-market-digest-7a88e2cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pfTiQwn1GpZ9Jq2iNEO5O

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 syra-coingecko-top-gainers-market-digest-7a88e2cf
```

Example prompt: Pull me the top 10 crypto gainers from CoinGecko with a minimum market cap of $5 million, include news bundles, and give me the full LLM narrative enrichment view — use the gainers view.

## When to prefer this

Use this endpoint when you need a ranked list of top crypto gainers sourced from CoinGecko with configurable depth, market cap filters, and optional AI-generated narrative enrichment. Prefer this over raw CoinGecko API calls when you want bundled news/social context and LLM summaries in a single paid call. Best for agents doing crypto market briefings, trading research, or trend monitoring.

## Known failure modes

- Payment not received — returns 402 if USDC micropayment not attached
- Invalid view enum value — unrecognized view parameter ignored or errors
- topN exceeds max of 25 — clamped or rejected
- CoinGecko upstream unavailable — may return 502 or stale data
- minMarketCap too high — may return empty gainers list

## How this service works

Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.

## Output

A JSON object with ok and paid status flags, plus structured data on top gaining tokens including market cap, price change metrics, optional LLM-generated narrative commentary, and optional news/social media headline bundles for each token.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "queryParams": {
      "llm": {
       "type": "boolean",
       "required": false,
       "description": "Enable optional LLM narrative enrichment (default false)"
      },
      "topN": {
       "type": "integer",
       "required": false,
       "description": "Number of top gainers to analyze (default 8, max 25)"
      },
      "view": {
       "type": "string",
       "required": false,
       "description": "View selector: brief | gainers | predictions (default brief)"
      },
      "includeNews": {
       "type": "boolean",
       "required": false,
       "description": "Include news/X bundles (default true)"
      },
      "minMarketCap": {
       "type": "integer",
       "required": false,
       "description": "Minimum market cap USD filter (default 1000000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/syra-coingecko-top-gainers-market-digest-7a88e2cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.syraa.fun](https://www.zero.xyz/host/api.syraa.fun/llms.txt)
