Economic Calendar API: Real-Time Global Macroeconomic Data
Access live economic events and indicators from 100+ countries. Retrieve GDP, CPI, PMI, inflation, employment reports, and central bank decisions through a fast REST API with structured JSON responses.
Updated every 5 minutes • Historical actual vs forecast values • HTTPS + JSON API
Get Free API Key →Why Choose FinanceFlow Economic Calendar API?
FinanceFlowAPI delivers reliable structured macroeconomic event data for 100+ countries to power trading strategies, alerts, and research.
- Near-real-time Economic Calendar: Updates every 5–10 minutes after official announcements, with precise timestamps and verified sources.
- Global Coverage: From the U.S. and EU to APAC and emerging markets, with worldwide macroeconomic event coverage.
- Actionable Fields: Previous, consensus, actual, and impact level for each event.
- Simple Integration: Clean JSON over HTTPS; copy-paste code samples for instant results.
- Plan Ahead: Query up to 60 days forward to prepare for volatility.
Pricing Plans
For detailed pricing, visit FinanceFlowAPI Pricing.
Use Cases for the Economic Calendar API
- Trading Bots: Avoid high-volatility windows or place event-driven orders.
- Investor Dashboards: Show upcoming economic indicators with impact badges.
- Research & Analytics: Compare actual vs. consensus across countries.
- Alerts & Notifications: Push “real-time economic calendar” updates to users.
What Is an Economic Calendar?
An economic calendar API lists scheduled macroeconomic events that can move markets: PMI, GDP, CPI, jobs data, central bank decisions, and speeches. FinanceFlow provides a unified schema for accessing global macroeconomic calendar data with country filters and date ranges.
Economic Calendar API Endpoints
/calendar-catalog — List Supported Countries
Retrieve a list of countries available in the economic events api.
Request Example:
GET https://financeflowapi.com/api/v1/calendar-catalog?api_key=YOUR_API_KEY
Response Example:
{
"success": true,
"code": 200,
"message": "OK",
"meta": {
"timestamp": 1740778132,
"request_id": "67c22a948bc91"
},
"data": [
{"country": "Afghanistan"},
{"country": "Albania"},
...
]
}
Real-World Example: Filter High-Impact Events(Major) Only
Most traders only care about Major and Moderate impact events. Here's how to filter them:
Python with Filtering and Error Handling:
import requests
from datetime import datetime, timedelta
API_KEY = 'your_api_key_here'
base_url = 'https://financeflowapi.com/api/v1/financial-calendar'
# Get events for next 7 days
today = datetime.now().strftime('%Y-%m-%d')
week_ahead = (datetime.now() + timedelta(days=7)).strftime('%Y-%m-%d')
params = {
'api_key': API_KEY,
'country': 'United States',
'date_from': today,
'date_to': week_ahead
}
response = requests.get(base_url, params=params)
if response.status_code == 200:
data = response.json()
# Filter only Major impact events
high_impact = [e for e in data['data'] if e['economicImpact'] == 'Major']
print(f"Found {len(high_impact)} high-impact events this week")
for event in high_impact:
print(f"{event['datetime']}: {event['report_name']} - Previous: {event['previous']}")
else:
print(f"Error {response.status_code}: {response.text}")
JavaScript (Node.js) with Async/Await:
const axios = require('axios');
const API_KEY = 'your_api_key_here';
const url = 'https://financeflowapi.com/api/v1/financial-calendar';
async function getHighImpactEvents(country, days = 7) {
try {
const response = await axios.get(url, {
params: {
api_key: API_KEY,
country: country,
date_from: new Date().toISOString().split('T')[0]
}
});
const highImpact = response.data.data.filter(e => e.economicImpact === 'Major');
console.log(`${highImpact.length} high-impact events for ${country}`);
return highImpact;
} catch (error) {
console.error('API Error:', error.response?.data || error.message);
}
}
getHighImpactEvents('United States');
Financial Calendar API Documentation
Why Developers Trust FinanceFlow
- Structured machine-readable JSON
- Reliable update intervals
- Global macroeconomic coverage
- Simple REST API integration
- Historical actual vs forecast values
Popular Event Types
- PMI (Manufacturing/Services)
- GDP (QoQ/YoY)
- CPI / Inflation
- Unemployment / NFP
- Retail Sales
- Central Bank rate decisions
- Speeches and minutes
- Trade Balance
- Housing data
- Confidence surveys
Frequently Asked Questions
What is the Economic Calendar API?
A real-time economic calendar with global macro events and impact levels for traders and analysts.
How often is data updated?
Events are refreshed every 5-10 minutes to ensure timely and accurate scheduling and results.
Which countries are supported?
100+ countries. Use /calendar-catalog to list them.
Do you provide examples?
Yes, Python and JavaScript samples are provided, with simple HTTP GET + JSON responses.
Can I plan ahead?
Yes. You can query up to 60 days ahead to prepare for macro releases.
Where can I read the docs?
See our GitHub documentation.
Ready to Build with the Economic Calendar API?
Integrate global macroeconomic event data into your apps, trading systems, and dashboards. Explore docs and start in minutes.
Docs: Financial Calendar API on GitHub • Account: Create Account
Start Free Now