---
title: "Documentation — Narwhal API"
description: "Use one key for Economics, FX, Commodities, Yield curves, Prediction markets, Calendars, Markets, and Ownership. Read the docs for REST and MCP."
url: "https://narwhalapi.com/docs"
---

# 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.

- [**Quickstart** Get a key and make your first request.](https://narwhalapi.com/docs/quickstart.md)
- [**Connect an AI agent** Add the MCP server to Claude, Cursor or another MCP client.](https://narwhalapi.com/docs/mcp.md)
- [**API reference** Every endpoint, parameter and response field.](https://narwhalapi.com/docs/api.md)

## Make a request

This request returns the latest US consumer price index. It reads your key from `NARWHAL_API_KEY`. [The quickstart shows how to get one.](https://narwhalapi.com/docs/quickstart.md)

```
curl --request GET \
  --url https://api.narwhalapi.com/v1/economics/USA/cpi \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

## APIs

- [**Economics API** CPI, labour, GDP and trade from official publishers.](https://narwhalapi.com/docs/api/economics.md)
- [**FX API** Current rates, conversion and history.](https://narwhalapi.com/docs/api/fx.md)
- [**Public holidays API** National, regional and observed holidays.](https://narwhalapi.com/docs/api/calendars.md)
- [**Palm oil API** CPO and FFB prices from Indonesia and Malaysia.](https://narwhalapi.com/docs/api/commodities.md)
- [**Spot metals API** Precious metals, copper, WTI and Brent.](https://narwhalapi.com/docs/api/commodities/spot.md)
- [**Economic release calendars** Release dates and every published version.](https://narwhalapi.com/docs/api/economic-calendar.md)
- [**Exchange closures** Closed, early close and late open days by exchange.](https://narwhalapi.com/docs/api/calendars/exchange-closures.md)
- [**Exchange status** Whether an exchange is open at an instant, with the next open and close.](https://narwhalapi.com/docs/api/calendars/exchange-status.md)
- [**Exchange list** Every exchange with a published calendar, its time zone and sessions.](https://narwhalapi.com/docs/api/calendars/exchange-list.md)
- [**Business days** Add business days to a date or count them between two dates.](https://narwhalapi.com/docs/api/calendars/business-days.md)
- [**Calendar systems** Convert a date to the Chinese, Hijri, Hindu and other calendars, and read official Hijri months.](https://narwhalapi.com/docs/api/calendars/dates.md)
- [**Predictions API** Probabilities by topic and event, with history.](https://narwhalapi.com/docs/api/predictions.md)
- [**Stocks API** Prices, history, company events and valuation ratios.](https://narwhalapi.com/docs/api/stocks.md)
- [**Funds API** ETF and fund prices, NAV and distributions.](https://narwhalapi.com/docs/api/funds.md)
- [**Crypto API** Prices and history for crypto pairs.](https://narwhalapi.com/docs/api/crypto.md)
- [**Company calendars API** Dividend and stock split calendars.](https://narwhalapi.com/docs/api/company-calendars.md)
- [**Equity risk premium API** Equity and country risk premiums by country.](https://narwhalapi.com/docs/api/equity-risk-premium.md)
- [**Registrations calendar API** S-1, F-1 and 424B filings by filing day, with the offering terms](https://narwhalapi.com/docs/api/company-calendars/registrations.md)
- [**Insider trades API** Trades and holdings of company insiders from SEC Forms 3, 4 and 5](https://narwhalapi.com/docs/api/insider-trades.md)
- [**Congressional trades API** Trades that members of the US House and Senate report under the STOCK Act](https://narwhalapi.com/docs/api/congressional-trades.md)
- [**Large holders API** Holders of more than 5% of a company, from Schedules 13D and 13G](https://narwhalapi.com/docs/api/large-holders.md)
- [**Filing text and segments API** The text of US filings by item, and segment, product and geography figures](https://narwhalapi.com/docs/api/filing-text.md)
- [**Institutional holders API** Institutions that hold a company and what each institution holds, from Form 13F](https://narwhalapi.com/docs/api/institutional-holders.md)
- [**Fund holdings API** What an ETF or fund holds, and which funds hold a company, from Form N-PORT](https://narwhalapi.com/docs/api/fund-holdings.md)
- [**Company screener API** Find companies by filters on their newest fundamentals, and read line items for up to 10 companies](https://narwhalapi.com/docs/api/company-screener.md)
- [**Short interest API** FINRA short interest of a US stock, latest and by settlement date](https://narwhalapi.com/docs/api/stocks/short-interest.md)
- [**Technical indicators API** Moving averages, RSI, MACD, Bollinger bands, ATR and stochastic of a stock, with the formula of each](https://narwhalapi.com/docs/api/stocks/technicals.md)
- [**Country credit rating API** The sovereign credit rating of a country on Moody's scale, and its default spread](https://narwhalapi.com/docs/api/credit-rating.md)
- [**Country data API** A country profile, an inflation calculator and the ISO 4217 currency list](https://narwhalapi.com/docs/api/country-data.md)
- [**Reference rates API** Overnight reference rates: SOFR and its averages, EFFR, ESTR, SONIA, SARON and TONAR](https://narwhalapi.com/docs/api/reference-rates.md)
- [**Prediction accuracy API** How well prediction markets called what happened, per topic, 1 hour, 1 day and 7 days before the close](https://narwhalapi.com/docs/api/predictions/accuracy.md)
- [**Forecasts API** IMF World Economic Outlook forecasts by country, indicator and edition](https://narwhalapi.com/docs/api/forecasts.md)
- [**Government debt and budget balance API** Government debt and budget balance by country and year, percent of GDP](https://narwhalapi.com/docs/api/government-finance.md)
- [**Remittances and investment API** Remittances received and foreign direct investment inflows by country and year](https://narwhalapi.com/docs/api/remittances-investment.md)
- [**Federal Reserve projections API** Federal Reserve projections of rates, growth, unemployment and inflation by meeting](https://narwhalapi.com/docs/api/fed-projections.md)
- [**US Treasury auctions API** US Treasury auction results and the auctions already announced](https://narwhalapi.com/docs/api/treasury-auctions.md)
- [**Effective exchange rates API** BIS trade-weighted currency indexes, nominal and real](https://narwhalapi.com/docs/api/effective-exchange-rates.md)
- [**Trader positions API** Weekly CFTC positions by trader type in US futures markets](https://narwhalapi.com/docs/api/trader-positions.md)
- [**Inflation expectations API** Get US breakeven rates, the five year, five year forward and the New York Fed survey of expected inflation](https://narwhalapi.com/docs/api/inflation-expectations.md)
- [**Tax rates API** Corporate income tax, VAT and top personal income tax rate of a country](https://narwhalapi.com/docs/api/tax-rates.md)
- [**Trade API** Goods exports and imports by partner and HS product.](https://narwhalapi.com/docs/api/trade.md)
- [**Any series API** World Bank and Statistics Canada series by ID.](https://narwhalapi.com/docs/api/any-series.md)
- [**Filings reference** Statements, filing lists and 5% holder reports.](https://narwhalapi.com/docs/api/filings.md)
- [**Policy rates** Central-bank policy rates, reserves and balance sheets.](https://narwhalapi.com/docs/api/economics/policy-rate.md)
- [**Prices stream** Ended. Read live prices from the REST routes.](https://narwhalapi.com/docs/api/prices-stream.md)

## Account and operations

- [**API keys** Create a key, store it as a secret and send it as a Bearer token.](https://narwhalapi.com/docs/authentication.md)
- [**Errors and credits** Problem responses, retries and request limits.](https://narwhalapi.com/docs/errors.md)
- [**Freshness** How releases are checked, stored and updated.](https://narwhalapi.com/docs/freshness.md)
- [**Versioning** How the API changes and what stays stable.](https://narwhalapi.com/docs/versioning.md)
- [**Changelog** Public product changes.](https://narwhalapi.com/changelog.md)
- [**OpenAPI** The generated schema.](https://api.narwhalapi.com/openapi.json)

Was this page helpful?
