Trading view

economic calendar API

GET https://api.dataextractorpro.com/economic-calendar/ ⚡ 1 Credit

Gives data on economic calendar

Overview

This API endpoint allows programmatically extracting clean, structured data for Trading view.

Authentication

Include your API key in the request header:

x-api-key: YOUR_API_KEY
Request Parameters
Parameter Type Required Description & Allowed Values Try Parameter
from
from
text Required
Format: YYYY-MM-DD
to
to
text Required
Format: YYYY-MM-DD
countries
countries
text Optional
Can accept values AR, AU, BR, CA, CN, FR, DE, IN, ID, IT, JP, KR, MX, RU, SA, ZA, TR, GB, US, EU. Multiple countries can be added separated by comma
Code Examples

                                
                                
                                
                            
Error Responses
400 Invalid Parameters
One or more required parameters are missing or invalid.
{
    "status": "error",
    "message": "Parameter 'q' is required"
}
401 Unauthorized
Invalid or missing API key in x-api-key header.
{
    "status": "error",
    "message": "Invalid API key"
}
429 Rate Limit / Quota Exceeded
API key usage quota has been exhausted.
{
    "status": "error",
    "message": "Usage limit reached"
}
500 Internal Server Error
An unexpected server error occurred during extraction.
{
    "status": "error",
    "message": "Internal extraction error"
}