文档方法说明

方法说明

本站每个数字是如何生成的、有多新,以及它不能说明什么。

版本 1.0 · 最后审阅于 2026 年 10 月 11 日

价格是如何得出的

本站和 API 中的每个价格都经过相同的四个步骤。

  1. 观察我们从主流交易所读取每个币种的最新价格,并记录看到它的时间。
  2. 检查明显偏离其他价格的数据会被剔除。交易所少于五家时,改为检查价差。
  3. 合并剩余的价格合并为一个美元价格。以 USDT 报价的价格按 USDT 汇率换算。
  4. 标记未更新如果没有及时收到新价格,则保留最后一个价格并标记为未更新。

价格

每个币种有一个美元价格,并附带精确的观察时间。站点和 API 中是同一个价格,所以你在币种页面看到的,就是你的代码收到的。

币种价格24h观察时间状态
BitcoinUS$59,851.89−1.17%2026年11月27日 16:19 UTC未更新
EthereumUS$1,667.62−1.37%2026年11月27日 16:19 UTC未更新
来自行情表的两行,在生成本页时读取。

时效

每个价格都带有 UTC 观察时间。在其时间窗口内未更新的价格,在站点上标记为未更新,在 API 中带有旧的 last_updated_at。未更新的价格仍是我们看到的最后一个价格;我们从不用猜测来填补空缺。

数据超过此时间标记为未更新
最新价格60 秒没有新价格
K线永不;只发布已收盘的K线

K线

  • K线按 UTC 对齐:1分钟、5分钟、15分钟、1小时、4小时和日线。
  • 只发布已收盘的K线。仍在形成中的K线不属于历史数据。
  • 每根K线包含以美元计的开盘价、最高价、最低价和收盘价。
  • 2026 年 11 月 20 日之前的K线来自交易所自己的公开K线历史,以同样的方式合并。尚无历史数据的币种会如实说明,而不是显示空图表。

涨跌

24小时和7天涨跌是将最新价格与其观察时间之前24小时和7天的价格比较。历史数据不足以比较时,站点上显示为“-”,API 中返回 null。

在 API 中

来自 GET /v2/simple/price 的价格在一个对象中包含以上全部内容。

{
  "bitcoin": {
    "usd": 59851.88746,
    "usd_24h_vol": 4515061205,
    "usd_24h_change": -1.1710070943919626,
    "last_updated_at": 1795796369
  }
}
usd
最新美元价格。
usd_24h_vol
24小时成交量,汇总自报告成交量的交易所。无交易所报告时为空。
usd_24h_change
与 last_updated_at 之前24小时的价格相比的涨跌;历史数据不足时为 null。
last_updated_at
我们看到该价格的时间,以 Unix 秒计。

我们不提供的内容

  • 不提供市值和流通量。这些字段返回 null。
  • 不提供链上或去中心化交易所的价格。少于三家交易所的币种有价格,但不进入排名和榜单。
  • 本站任何内容均不构成投资建议,也不构成买卖要约。

查看覆盖哪些币种

更新日志

27 Nov 2026
Fix: when a Google or GitHub sign-in fails, you now come back to the sign-in page in your language, not in English. The follow-up emails about refused calls and unfinished upgrades now say calls, like the rest of coinprice, in every language.
27 Nov 2026
coinprice is also in German, French, Italian and Brazilian Portuguese now, on the same pages, sign-in, dashboard and emails as the other 11 languages. Docs, guides, legal pages and the API itself stay in English.
27 Nov 2026
coinprice is now in 11 languages besides English: Arabic, Spanish, Indonesian, Japanese, Korean, Malay, Polish, Thai, Turkish, Vietnamese and Chinese. The site, the API, price stream and MCP pages, sign-in, the dashboard, the screen where you allow an AI app to use your account, the not-found page and emails follow your language. Docs, guides, legal pages and the API itself stay in English, and English addresses do not change.
27 Nov 2026
From 80% of your monthly calls, REST answers carry X-Quota-Limit, X-Quota-Remaining and X-Quota-Reset. When there is a larger plan, MCP tool answers also carry usage_note with the calls used, that plan's monthly calls and the upgrade link.
26 Nov 2026
Fix: after you cancel a paid plan, Billing now shows the date it ends. Before, it still showed the plan as renewing, with a Cancel plan button.
26 Nov 2026
Account emails are rewritten. The welcome and the first call reminder carry a request you can paste, and the reminder goes in your first week. The 80% and monthly limit warnings say when your calls reset and name the next plan with its starting price. The 80% warning is not sent within 3 days of another of these warnings. The monthly recap and a one-time reminder after 30 quiet days still go only to accounts that ticked the product updates box. When a paid plan ends, the email has a button to restart it.
26 Nov 2026
Follow-up emails: coinprice may now email you if requests are still being refused a few days after you reach the month's limit (at most once in each monthly allowance), or if you start an upgrade and do not finish it (at most once in 30 days). They go only to accounts that ticked the product updates box, and each has an unsubscribe link.
26 Nov 2026
A paid plan now renews on the day you buy it, and its monthly calls reset on that billing day. A yearly plan resets each month on that day too, and a month without that day uses its last day. Free still resets at 00:00 UTC on the 1st. Monthly plans bought before this change keep renewing and resetting on the 1st.
26 Nov 2026
Your dashboard now warns when you use 80% of the month's calls (a yellow banner) and when you reach the limit (red), on every page but Billing, with the next plan and its monthly calls. Billing lists only the paid plans on sale; Cancel plan takes you back to Free, and an older plan you keep shows as discontinued in Your plan. The middle plan now carries the main Upgrade button.
26 Nov 2026
The Billing page in your dashboard now opens on yearly billing when you are on Free. Each plan shows its price per month, rounded up to the next whole dollar, with a Billed yearly or Billed monthly line under it, and the Yearly button says 2 months free. If you already pay for a plan, Billing opens on the period you pay now.
26 Nov 2026
Yearly plans: Starter, Basic and Pro can be paid yearly at ten times the monthly price, two months free. The pricing page opens on Yearly, and you can switch between monthly and yearly on the Billing page.
25 Nov 2026
Two short steps when you sign up. First, how you want to use coinprice. Then your setup prompt, your API key and your plan. You stay on Free, with no card, unless you pick a paid plan, and its payment page opens only when you press the button.
25 Nov 2026
A new dashboard: a new look in dark or light mode with a switch, new API keys, Billing and Usage pages, and a Requests page that lists your recent calls with filters. Usage splits your calls by API, key, client and status.
25 Nov 2026
A Human and Robot switch at the bottom of guides and docs pages shows the page as Markdown in place. Add #robot to a page address to link to that view.
25 Nov 2026
New logo lettering: coinprice in Plus Jakarta Sans, with price in the brand colours.
25 Nov 2026
Guides: where bitcoin hit a record high in local currency in 2026. Every guide now shows the coinprice team as its author, with the date it was updated.
25 Nov 2026
Emails: usage notices are now formatted emails, and new accounts get a welcome, a first-call reminder, a confirmation when a paid plan starts and a monthly usage recap. The recap and a reminder after 30 quiet days go only to accounts that ticked the product updates box, with a one-click unsubscribe.
25 Nov 2026
Dashboard: upgrade, change or cancel your plan and download invoices on the Billing page, and the site header shows Dashboard once you are signed in. Checkout accepts promotion codes, and an upgrade is billed the difference right away.
24 Nov 2026
Charts on the site show one year of daily candles and 24 hours of minute candles. Longer history is in the API with a key.
24 Nov 2026
Price alerts: a signed webhook when a coin crosses a price or moves by a percentage, on the Starter, Basic and Pro plans (5 alerts each). Create them in the dashboard or at /v2/alerts; the routes are not counted as calls.
24 Nov 2026
Real-world assets: a table of tokenized gold and ten tokenized US stocks with price, 24-hour change and volume, each linked to its tokens, plus two guides on reading them through the API.
24 Nov 2026
Terms: the Free plan may be used commercially if it shows a visible link to coinprice.dev. Paid plans need no link, and reselling the data still needs a written Enterprise agreement.
24 Nov 2026
Guides for Google Sheets, Python, JavaScript, switching from CoinGecko, portfolio trackers, trading bots and price alerts. Every page has a Markdown copy, and the stream and MCP pages now list the real plan limits and tools.
24 Nov 2026
Real-world assets: tokenized gold and stocks under /v2/rwas (list, markets, one asset, price history, issuers), priced from their tokens and ordered by 24h volume, plus coin categories: /v2/coins/categories/list and coins/markets?category=.
24 Nov 2026
Fixes: the 24h change shows for every coin, long chart ranges return the newest points, short windows in the past return data, checkout can be retried, and open streams close when a key is revoked or its plan changes.
24 Nov 2026
Prices, charts, the converter and the watchlist read the live API: every coin with a price, with volume and candles.
24 Nov 2026
Plans are Free, Starter $29, Basic $79 and Pro $299, with 50,000 to 10 million calls a month.
11 Oct 2026
First published version of this page.