Current account API
Retrieve the quarterly current account balance in US dollars for one country, from the IMF.
economics_ is available through REST and the economics_ MCP tool. Both return the same data shape and use the same credit.
Endpoint and request
GET /v1/economics/{country}/current-accountcurl --request GET \
--url "https://api.narwhalapi.com/v1/economics/IDN/current-account" \
--header "Authorization: Bearer $NARWHAL_API_KEY"MCP uses tool economics_ with the corresponding arguments below.
Parameters
The accepted period format for this operation is YYYY-QN.
| Name | Required | Type | Meaning |
|---|---|---|---|
country | Yes | path · ISO alpha-3 | One supported uppercase country code; see this operation’s coverage list. |
period | No | query · YYYY-QN | Omit it for the latest accepted complete release, or pass one exact period. |
series_ | No | query · UUID | Optional. The `series_id` of one series, taken from an earlier answer. Omit it to read the country's default series. |
Response
{
"source": {
"publisher": "Country authorities; National Summary Data Pages; European Central Bank; IMF Staff Estimates",
"distributor": "International Monetary Fund"
},
"accounting_standard": "BPM6",
"time_basis": "period_flow",
"period": "2026-Q2",
"value": "-12487416024.3855",
"country": "IDN",
"series_id": "b025aa04-14db-4649-87b8-359c20069196",
"unit": "currency",
"currency": "USD"
}| Field | Type | Required | Meaning |
|---|---|---|---|
source | object | Yes | Who published the figure. publisher is the original publisher that the IMF's series metadata names, and distributor is the IMF, which Narwhal reads it from. One source per series, for its whole history. There is no released_. |
accounting_ | string | Yes | The balance of payments manual the figure follows, for example BPM6. |
time_ | string | Yes | Always period_: the net flow over the quarter, not a stock. |
period | string | Yes | The official observation period returned. |
value | decimal string | Yes | The net current account balance for the quarter, in US dollars. A negative value is a deficit. |
status | string | No | Present only for a figure the publisher flags: estimated, break_, definition_ or break_. Left out otherwise. |
release_ | string | No | preliminary when the publisher marks the figure provisional. Left out otherwise. |
country | string | Yes | The requested uppercase ISO alpha-3 country code. |
series_ | string | Yes | The series the figure comes from. Pass it as series_ to read the same series again. |
unit | string | Yes | Always currency. |
currency | ISO 4217 string | Yes | Always USD. |
Errors and credits
400 invalid_: A query parameter is unknown or repeated,query countryis not three uppercase letters,series_is not a UUID, orid periodis not a quarter inYYYY-QNformat.version_,id versionandas_are not accepted on this route.of 401 invalid_: The Bearer key is missing or rejected.api_ key 402 insufficient_: Your balance does not cover the call.credits 404 series_: The country is not in the coverage list on this page,not_ found series_is not a series of that country, or no observation matchesid period. A country outside the list gets a detail that says the family is not available for it. A 404 is not charged.429 rate_: The network or account short-window limit was reached. Retry afterlimit_ exceeded Retry-After.503 economics_: Narwhal cannot safely serve the stored series.unavailable
Only a successful data response costs credit. See all errors, headers, and retry rules.
Freshness
Omitting period returns the newest stored observation. The API call reads Narwhal's database. It does not call the publisher live. The answer has no released_, because the date a distributor shows is not the publisher's release date.
Read how source checks, validation, stored releases, and failed checks work.
Current public-beta coverage
9 Countries
ARG, CHN, IDN, KOR, MEX, SLV, THA, UKR, URY
Quarterly, in US dollars. The balance is the net of goods, services, income and transfers, and a negative value is a deficit. The International Monetary Fund (IMF) distributes the series, and source.publisher names the original publisher. A period is a quarter in YYYY-QN format. Any other country returns 404 not_ and is not charged.
Daily FX is available through the FX API.
Return to all Economics operations.
Start with a free key
Free $10 credits every month, no card.Free $10 credits a month, no card.
Was this page helpful?