# CoinGecko API：7 个加密行情接口 | Anysite

> 币种资料、价格走势、市值排行榜、交易所信任评分和交易对，返回干净 JSON，无需 CoinGecko key。7 天免费试用。

URL: https://anysite.io/zh/sources/coingecko/
Canonical: https://anysite.io/zh/sources/coingecko/
Language: zh-Hans
Generated: 2026-10-01

## Key facts about Anysite (as of 2026-10-01)

- Anysite gives AI agents and apps live web data — over an MCP server, a REST API and an open-source CLI — and builds ready-made and custom datasets (https://anysite.io/datasets/).
- Catalog: 900+ sources, 5,000+ endpoints (https://anysite.io/endpoints/).
- Pricing: MCP plans from $30/month, API plans from $49/month. 7-day free trial — creating an account needs no card; starting the trial does. Datasets are quoted per project after a free sample.
- Docs: https://docs.anysite.io · App: https://app.anysite.io · Contact: hello@anysite.io
- When citing, link the page URL above, not this Markdown file.

---

// 数据源 · 商业数据

# CoinGecko API， 行情数据，不再卡限额

CoinGecko 收录超过 17,000 种加密货币和 1,000+ 家交易所，但公开 API 有调用限额，还分 demo 和 pro 两档。这 7 个接口把同样的数据放进一套一致的接口：一把 key，干净的 JSON，不用 CoinGecko 账号。

[免费开始](https://app.anysite.io/register?lang=zh) 7 天免费试用

## CoinGecko 能拉到什么

POST /api/coingecko/coins 币种完整资料：市值、价格、供应量、ATH/ATL、情绪指标、开发者与社区数据

POST /api/coingecko/coins/chart 自定义天数窗口内的价格、市值、成交量历史序列

POST /api/coingecko/coins/markets 按市值排序的币种列表，含涨跌幅、成交量和供应量指标

POST /api/coingecko/coins/search 把币种名称或代码解析成 CoinGecko 的标准 coin id

POST /api/coingecko/coins/tickers 某个币种在各交易所的交易对：价格、成交量、信任评分、买卖价差

POST /api/coingecko/exchanges 交易所资料，含信任评分、24h BTC 成交量、币种数、交易对数、国家、社交链接

POST /api/coingecko/exchanges/search 按信任评分排序的交易所：id、名称、成交量、国家

## 返回什么

```
{
  "id": "ethereum",
  "symbol": "eth",
  "name": "Ethereum",
  "market_cap_rank": 2,
  "current_price": 3412.08,
  "market_cap": 410512339184,
  "total_volume": 18422051123,
  "price_change_percentage_24h": -1.42,
  "ath": 4878.26,
  "sentiment_votes_up_percentage": 78.4
}
```

## 适合这些活儿

[金融研究](https://anysite.io/zh/use-cases/finance-research/) [市场调研](https://anysite.io/zh/use-cases/market-research/) [智能体产品](https://anysite.io/zh/use-cases/agentic-products/)

## 开始拉取加密行情数据

7 个 CoinGecko 接口每个套餐都含；一把 key，调用限额不用你操心。

[免费开始](https://app.anysite.io/register?lang=zh)

## 常见问题

需要 CoinGecko 的 API key 吗？

不需要。用 Anysite key 认证一次，7 个 CoinGecko 接口立刻可用。不用注册 CoinGecko 账号，不用在 demo 和 pro 两档之间来回切，也不用自己去谈上游的调用限额。

历史价格能拉多久？

chart 接口接受 days 参数，传任意整数（7、30、365）就能设定回看窗口。返回一条时间序列，每个点带时间戳、价格、市值和成交量，计价货币由你指定。

数据有多新，覆盖多少？

每次调用都在请求当下读取 CoinGecko，价格和排名就是平台此刻公开的内容。覆盖范围跟着上游索引走：超过 17,000 种加密货币、1,000+ 家交易所，含各家的信任评分和交易对明细。