ONS UK GDP Monthly Estimate
ons.stats.gdpRetrieve UK Gross Domestic Product (GDP) monthly estimates from the ONS. Seasonally adjusted index (2016=100) covering total economy (A--T) or specific sectors: Agriculture (A), Manufacturing (C), Construction (F), Index of Services (G-T), Production Industries (B--E). Monthly data from 1997. Default returns total monthly GDP. Use the sector parameter for industry-level breakdowns. Source: ONS dataset gdp-to-four-decimal-places, OGL v3.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of most recent months to return (1–300, default 60). Data is monthly (seasonally adjusted index, 2016=100). | |
| sector | No | ONS SIC sector code for GDP breakdown. Default "A--T" (Total monthly GDP). Examples: "A" (Agriculture), "C" (Manufacturing), "F" (Construction), "G-and-I" (Distribution, Hotels & Restaurants), "B--E" (Production Industries). See ONS API for full list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |