---
title: "GetOilStocksAnalysis"
method: GET
path: "/api/economic/v1/get-oil-stocks-analysis"
tags: ["EconomicService"]
---

# GetOilStocksAnalysis

`GET /api/economic/v1/get-oil-stocks-analysis`

## Request

- Base URL: `https://api.worldmonitor.app`
- URL: `https://api.worldmonitor.app/api/economic/v1/get-oil-stocks-analysis`
- Auth: one of:
  - API key in header `X-WorldMonitor-Key`
  - API key in header `X-Api-Key`

GetOilStocksAnalysis retrieves the IEA oil stocks days-of-cover ranking and regional summary.

## Query parameters

- `jmespath` string

## Response `200`

OK

- WorldmonitorEconomicV1GetOilStocksAnalysisResponse: GetOilStocksAnalysisResponse contains the IEA oil stocks days-of-cover analysis.
  - `updatedAt` string: UTC ISO-8601 timestamp when this analysis was written.
  - `dataMonth` string: Data month in YYYY-MM format (source: IEA monthly release).
  - `ieaMembers` WorldmonitorEconomicV1OilStocksAnalysisMember[]
    - `iso2` string: ISO 3166-1 alpha-2 country code.
    - `daysOfCover` integer: Days of supply cover (absent when country is a net exporter or data anomaly).
    - `netExporter` boolean: True when the country is classified as a net exporter by IEA.
    - `belowObligation` boolean: True when days_of_cover < 90 (IEA 90-day obligation threshold).
    - `obligationMet` boolean: True when the 90-day obligation is met (net exporters always true).
    - `rank` integer: Rank within the IEA member ranking (1-indexed, net exporters ranked last).
    - `vsObligation` integer: days_of_cover - 90; absent for net exporters.
  - `belowObligation` string[]
  - `regionalSummary` WorldmonitorEconomicV1OilStocksRegionalSummary: OilStocksRegionalSummary holds regional aggregates for the three IEA regions.
    - `europe` WorldmonitorEconomicV1OilStocksRegionalSummaryEurope: OilStocksRegionalSummaryEurope aggregates days-of-cover for European IEA members.
      - `avgDays` integer: Mean days of cover across non-net-exporter European members.
      - `minDays` integer: Minimum days of cover across non-net-exporter European members.
      - `countBelowObligation` integer: Count of European members below the 90-day obligation.
    - `asiaPacific` WorldmonitorEconomicV1OilStocksRegionalSummaryAsiaPacific: OilStocksRegionalSummaryAsiaPacific aggregates days-of-cover for Asia-Pacific IEA members.
      - `avgDays` integer: Mean days of cover across Asia-Pacific members (AU, JP, KR, NZ).
      - `minDays` integer: Minimum days of cover across Asia-Pacific members.
      - `countBelowObligation` integer: Count of Asia-Pacific members below the 90-day obligation.
    - `northAmerica` WorldmonitorEconomicV1OilStocksRegionalSummaryNorthAmerica: OilStocksRegionalSummaryNorthAmerica aggregates data for North American IEA members.
      - `netExporters` integer: Count of net exporters in North America (CA, MX, US).
      - `avgDays` integer: Average days of cover for non-exporter North American members (if any).
  - `unavailable` boolean: True when upstream seed data is unavailable (fallback result). True when the upstream or seed-backed variant is unavailable; empty payload fields are graceful degradation, not confirmed zero data.

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key.
- `403`: API access requires an active subscription (the API key's subscription is inactive or expired).
- `429`: Rate limit exceeded.
- `503`: Service unavailable. Billing-verification responses include code and X-Billing-Verification; other gateway infrastructure failures use the generic GatewayError shape.
- `default`: Gateway or handler error response.

---

[API](https://skmtc.dev/worldmonitor/apis/worldmonitor-api.md) · [All operations](https://skmtc.dev/worldmonitor/apis/worldmonitor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/worldmonitor/apis/worldmonitor-api/revisions/e3dc8463a5c9?raw)
