Aller au contenu
GET /v1/week

The week ahead from a date

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/economiccalendar-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/economiccalendar-api/v1/week" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/economiccalendar-api/v1/week", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/economiccalendar-api/v1/week");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/economiccalendar-api/v1/week",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "end": "2026-06-14",
        "days": [
            {
                "date": "2026-06-08",
                "count": 1,
                "events": [
                    {
                        "event": "OPEC Meeting",
                        "actual": null,
                        "country": "United States",
                        "previous": null,
                        "time_gmt": "06:00",
                        "consensus": null,
                        "description": "OPEC meetings are attended by representatives from 13 oil-rich nations. They discuss a range of topics regarding energy markets and agree on how much oil they will produce. OPEC is responsible for nearly 40% of the world's oil supply."
                    }
                ]
            },
            {
                "date": "2026-06-09",
                "count": 4,
                "events": [
                    {
                        "event": "CB Employment Trends Index",
                        "actual": "107.01",
                        "country": "United States",
                        "previous": "107.88",
                        "time_gmt": "10:00",
                        "consensus": null,
                        "description": "The eight labor-market indicators listed below aggregated into the Employment Trends Index. </BR>Percentage of respondents who say they find &quot;&quot;Jobs Hard to Get&quot;&quot; (The Conference Board Consumer Confidence Survey).Initial Claims for Unemployment Insurance (U.S. Department of Labor). Percentage of Firms With Positions Not Able to Fill Right Now (National Federation of Independent Business).Number of employees hired by the temporary-help industry (U.S. Bureau of Labor Statistics)"
                    },
                    {
                        "event": "NY Fed 1-Year Consumer Inflation Expectations",
                        "actual": "3.5%",
                        "country": "United States",
                        "previous": "3.6%",
                        "time_gmt": "11:00",
                        "consensus": null,
                        "description": null
                    },
                    {
                        "event": "3-Month Bill Auction",
                        "actual": "3.640%",
                        "country": "United States",
                        "previous": "3.630%",
                        "time_gmt": "11:30",
                        "consensus": null,
                        "description": "The figures displayed in the calendar represent the rate on the Treasury Bill auctioned.<BR/><BR/>U.S. Treasury Bills have maturities of a few days to one year. Governments issue treasuries to borrow money to cover the gap between the amount they receive in taxes and the amount they spend to refinance existing debt and/or to raise capital. The rate on a Treasury Bill represents the return an investor will receive by holding the bill for its entire duration. All bidde
…