Get economic data from the financial calendar: the release time, published value, forecast value, previous value, importance and impact description of macroeconomic indicators for countries around the world, in Chinese and English. Useful for building macro data calendars and release alerts.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Available on these API plans: Startup Standard Professional Enterprise
Response Data
data is an array of economic calendar releases, including published, forecast and previous values. The example shows two records. Actual date coverage and record counts depend on the current response; schedules may be revised.
Numeric fields are raw strings from the data source
published_value,forecast_value,previous_valueandrevised_previous_valueare all strings that keep the data source's original format: they may be numbers, negative numbers, percentages (e.g.,-0.1%), percentage ranges or empty strings, or have leading spaces. The unit may be written incalendar_name. Before calculating, strip the spaces, handle%and empty values, and then convert to numbers.
The time range is filtered by release timeThis endpoint filters by the release time
publish_timestamp; see the table below for what different parameter combinations return. We recommend passing both parameters. Only currently available calendar data can be queried; actual coverage depends on the response and schedules may be revised. There is no fixed one-month or two-month retention guarantee. This endpoint has nointervalorlimitparameter, so the rule in Timestamps and Pagination of deriving the time range frominterval×limitdoes not apply to this endpoint.
| Time Parameters Passed | Data Returned |
|---|---|
Both start_time and end_time | Data with start_time ≤ publish_timestamp < end_time; the start time is included and the end time is excluded |
Only start_time | Data from the start time to now |
Only end_time | All tracked data before the end time |
| Neither | All tracked data up to now |
200 · application/json · See the response example in the right panel.
| Field | Type | Always Returned | Description |
|---|---|---|---|
code | string | Yes | Business status code; "0" means success |
msg | string | No | Result message; not returned on success |
data | array of object | Yes | List of economic data; each element is one release of one indicator |
data[].calendar_name | string | Yes | Indicator name, e.g., 5月批发销售(月率) (“May wholesale sales (MoM)”); the name may include the reporting period and unit, and its language is determined by language |
data[].country_code | string | Yes | Country or region code associated by the data source, e.g., JPN, CAN, USA; not a uniform ISO code |
data[].country_name | string | Yes | Country or region name; its language is determined by language, e.g., 加拿大 (Canada) or Canada |
data[].data_effect | string | Yes | Text description of the data's impact on the market, e.g., 影响较小 (minor impact), 利多加元 (bullish for the Canadian dollar); in English, values such as Minor Impact |
data[].forecast_value | string | Yes | Forecast value, a string in the data source's original format; an empty string when there is no forecast |
data[].revised_previous_value | string | Yes | The data source's previous-value revision field, a string in the data source's original format; mostly an empty string. It is not necessarily the revised previous value; when you need the previous value, use previous_value |
data[].previous_value | string | Yes | Previous value: the value for the previous period, a string in the data source's original format |
data[].publish_timestamp | integer (int64) | Yes | Release or event time, timestamp in milliseconds (UTC); whether it is an exact time is indicated by has_exact_publish_time |
data[].published_value | string | Yes | Published value (the actual value for the current period), a string in the data source's original format |
data[].importance_level | integer | Yes | Importance, with values 1, 2 and 3; the larger the number, the more important |
data[].has_exact_publish_time | integer | Yes | Whether there is a specific release time: 1 means there is a specific time; 2 means there is no specific time, in which case publish_timestamp can only be used as a reference for the date (in financial events and central bank activities, the time of such events is usually 16:05 UTC, i.e., 00:05 Beijing time) |
API Plans
Only the API plans marked Yes in the table below can call this endpoint. For the price of each plan, see API Plans.
| API Plan | Access |
|---|---|
| Hobbyist | ❌ No |
| Startup | ✅ Yes |
| Standard | ✅ Yes |
| Professional | ✅ Yes |
| Enterprise | ✅ Yes |
Use This Endpoint with AI
Pick a task and click Open in ChatGPT or Open in Claude: the AI reads this page first and then gives you the result. You can also click Copy and paste the full prompt into the AI tool you use.
This endpoint provides data through the REST API. Use the prompts above to have AI write the request code. For the tools available through MCP, see CoinGlass MCP.
Use Cases
| Scenario | Description |
|---|---|
| Macro data calendar | List upcoming economic data releases on a dashboard, marked by importance, so you can prepare in advance. |
| Data release alerts | Push alerts before important data releases so traders can adjust their positions and leverage in advance. |
| Surprise analysis | Compare the published value with the forecast and previous values to judge whether the data came in better or worse than expected. |
| Researching the impact of macro data | Align publish_timestamp by time with Pair Price OHLC History to study how crypto prices change before and after releases of a given type of data. |
Related Endpoints
| Endpoint | How It Differs |
|---|---|
| Financial Events | Financial events without numeric values, such as speeches by political leaders and international meetings |
| Central Bank Activities | Speeches by central bank officials, meetings and report releases around the world |
| Newsflashes | Market news and commentary after data releases |
| Bitcoin vs US M2 Supply Growth | Long-term comparison of the Bitcoin price and US money supply |
FAQ
Why is English returned when I omit language?
The default value of language for this endpoint is en, so English is returned when it is omitted; only passing zh returns Chinese, and passing any other value also returns English. Note that the default language of the “Financial Events” and “Central Bank Activities” endpoints is zh, so they return Chinese when it is omitted, unlike this endpoint.
Why can't I find future economic data?
If end_time is omitted, the request time is used. To query future schedules, pass start_time and an explicit future end_time, both in milliseconds; the end is exclusive. Only data currently available to the API can be returned, and schedules may be revised.
How do I convert the numeric fields to numbers?
All four numeric fields are strings that keep the original format: they may be numbers, negative numbers, percentages, percentage ranges or empty strings, or have leading spaces, and the unit may be written in calendar_name. First strip the spaces, handle % and empty values, and then convert to numbers; keep the original text for values that cannot be parsed (we suggest storing the original text and the number in two columns), and skip these values when adding, subtracting or sorting.
When has_exact_publish_time is 2, what time does publish_timestamp represent?
2 means there is no specific release time, and publish_timestamp only indicates roughly which day it falls on. In financial events and central bank activities, the time of such events is usually 16:05 UTC (00:05 Beijing time); when displaying it, we recommend showing “All day” and not treating it as an exact time. 1 means there is a specific time.
Learn More: Financial Calendar and Economic Data
What Are the Published, Forecast and Previous Values?
The published value is the value actually released for the current period; the forecast value is the market's expectation before the release; the previous value is the value for the previous period. The difference between the published value and the forecast value is often called the “surprise”.
Why Does Economic Data Affect Crypto Prices?
Macroeconomic data such as inflation and employment figures changes market expectations for interest rate policy, which in turn affects US dollar liquidity and the performance of risk assets. Crypto price swings tend to widen around the release of important data.
How Do I View Only Important Data?
Filter by importance_level; 3 is the most important tier. You can also use country_code to view only the countries or regions you care about, e.g., USA.
