Narwhal API documentation
One key for every Narwhal API, over REST and MCP.
Narwhal serves economic indicators, FX rates, commodity prices, public holidays and company data through one REST API and one MCP server. The same key works for all of them.
Make one request first, then pick the API you need.
Make a request
This request returns the latest US consumer price index. It reads your key from NARWHAL_. The quickstart shows how to get one.
curl --request GET \
--url https://api.narwhalapi.com/v1/economics/USA/cpi \
--header "Authorization: Bearer $NARWHAL_API_KEY"APIs
- Economics APICPI, labour, GDP and trade from official publishers.
- FX APICurrent rates, conversion and history.
- Public holidays APINational, regional and observed holidays.
- Palm oil APICPO and FFB prices from Indonesia and Malaysia.
- Spot metals APIPrecious metals, copper, WTI and Brent.
- Economic release calendarsRelease dates and every published version.
- Exchange closuresClosed, early close and late open days by exchange.
- Exchange statusWhether an exchange is open at an instant, with the next open and close.
- Exchange listEvery exchange with a published calendar, its time zone and sessions.
- Business daysAdd business days to a date or count them between two dates.
- Calendar systemsConvert a date to the Chinese, Hijri, Hindu and other calendars, and read official Hijri months.
- Predictions APIProbabilities by topic and event, with history.
- Stocks APIPrices, history, company events and valuation ratios.
- Funds APIETF and fund prices, NAV and distributions.
- Crypto APIPrices and history for crypto pairs.
- Company calendars APIDividend and stock split calendars.
- Equity risk premium APIEquity and country risk premiums by country.
- Registrations calendar APIS-1, F-1 and 424B filings by filing day, with the offering terms
- Insider trades APITrades and holdings of company insiders from SEC Forms 3, 4 and 5
- Congressional trades APITrades that members of the US House and Senate report under the STOCK Act
- Large holders APIHolders of more than 5% of a company, from Schedules 13D and 13G
- Filing text and segments APIThe text of US filings by item, and segment, product and geography figures
- Institutional holders APIInstitutions that hold a company and what each institution holds, from Form 13F
- Fund holdings APIWhat an ETF or fund holds, and which funds hold a company, from Form N-PORT
- Company screener APIFind companies by filters on their newest fundamentals, and read line items for up to 10 companies
- Short interest APIFINRA short interest of a US stock, latest and by settlement date
- Technical indicators APIMoving averages, RSI, MACD, Bollinger bands, ATR and stochastic of a stock, with the formula of each
- Country credit rating APIThe sovereign credit rating of a country on Moody's scale, and its default spread
- Country data APIA country profile, an inflation calculator and the ISO 4217 currency list
- Reference rates APIOvernight reference rates: SOFR and its averages, EFFR, ESTR, SONIA, SARON and TONAR
- Prediction accuracy APIHow well prediction markets called what happened, per topic, 1 hour, 1 day and 7 days before the close
- Forecasts APIIMF World Economic Outlook forecasts by country, indicator and edition
- Government debt and budget balance APIGovernment debt and budget balance by country and year, percent of GDP
- Remittances and investment APIRemittances received and foreign direct investment inflows by country and year
- Federal Reserve projections APIFederal Reserve projections of rates, growth, unemployment and inflation by meeting
- US Treasury auctions APIUS Treasury auction results and the auctions already announced
- Effective exchange rates APIBIS trade-weighted currency indexes, nominal and real
- Trader positions APIWeekly CFTC positions by trader type in US futures markets
- Inflation expectations APIGet US breakeven rates, the five year, five year forward and the New York Fed survey of expected inflation
- Tax rates APICorporate income tax, VAT and top personal income tax rate of a country
- Trade APIGoods exports and imports by partner and HS product.
- Any series APIWorld Bank and Statistics Canada series by ID.
- Filings referenceStatements, filing lists and 5% holder reports.
- Policy ratesCentral-bank policy rates, reserves and balance sheets.
- Prices streamEnded. Read live prices from the REST routes.
Account and operations
- API keysCreate a key, store it as a secret and send it as a Bearer token.
- Errors and creditsProblem responses, retries and request limits.
- FreshnessHow releases are checked, stored and updated.
- VersioningHow the API changes and what stays stable.
- ChangelogPublic product changes.
- OpenAPIThe generated schema.
Was this page helpful?