CoinMarketCal API
Official examples for the CoinMarketCal API and MCP server.
CoinMarketCal is a crypto events calendar. Each event has a date, the coins it affects, an editorial category, an impact score and the source it comes from. The same data is available through a REST API and an MCP server for AI agents.
Quick start
Every request sends your key in the x-api-key header.
Each event looks like this (fields depend on your plan):
When isEstimated is true, date is a deadline or the end of a window, not an exact day. Show displayedDate to your users (for example Q2 2026 or By 30 May 2026).
Use it from an AI agent (MCP)
The MCP server exposes the read endpoints of the API as tools (list_events, get_event, list_coins, …). Event results include the url of the event page on coinmarketcal.com. It uses the same key and quota as the REST API.
Replace YOUR_API_KEY with your key.
Examples
Data and license
The code in this repository is released under the MIT license. The CoinMarketCal data you access with it is governed by the API Terms of Service.
Support
Questions about the API: [email protected].