Securely Redirecting...

Connecting to Stripe

Current Account Balance (GBP)

Measures trade in goods and services and income flows.

Category: Economy

API Endpoint

/api/gbp/current_account_balance
Or view detailed, interactive documentation: Open Swagger Docs

Data Source

Primary Source

ONS

Official Series ID

PNL3

Data Format and Properties

Data Frequency

Quarterly

Unit of Measure

Millions of GBP

JSON Response Structure

The endpoint returns a chronological list of observations in JSON format.

[
  {
    "date": "YYYY-MM-DD", 
    "val": 0.00
  },
  {
    "date": "2024-07-01", 
    "val": 4.2 
  },
  // ... history 
]

Request Parameters & Usage

Parameter Required Format Description
start_date YES YYYY-MM-DD The start date for the data retrieval.
end_date NO YYYY-MM-DD The end date for the data retrieval. Defaults to today's date.
api_key CONDITIONAL string Required for non-USD and paid access. USD endpoints are available free without an API key.

Example Usage

To retrieve the Current Account Balance data for GBP starting from the beginning of 2023:

GET https://fxmacrodata.com/api/gbp/current_account_balance?start_date=2023-01-01&end_date=2023-12-31&api_key=YOUR_API_KEY