At a glance
The FX example compares Narwhal REST with the independent yfinance Python library. This page is published by Narwhal.
| Requirement | Narwhal API | Yahoo Finance |
|---|---|---|
| Free tier | ✓ $10 free every month, no card | Not published as an API |
| Cheapest paid plan | Top-ups from $5; $2 to $10 per 1,000 calls | Not published |
| Update speed | Dataset schedule; timestamps retained | Not published |
| History | Full history for every account; available records only | Not published as an API |
| Coverage | Economics, FX, holidays and published commodities | Consumer finance website |
| Interfaces | REST and MCP; WebSocket not published | Public data API not published |
| SDKs | ✓ Official Python and TypeScript SDKs | Independent yfinance library |
| Commercial use on free tier | ✓ Commercial apps; resale needs a custom agreement | ✗ Automated collection needs permission |
Price at your usage
Yahoo does not publish a public market-data API plan.
| Requests per month | Narwhal API | Yahoo Finance |
|---|---|---|
| 1,000 | $2.00 at $2 per 1,000 calls | Not published |
| 10,000 | $20.00 at $2 per 1,000 calls | Not published |
| 100,000 | $200.00 at $2 per 1,000 calls | Not published |
Switch in a few minutes
Read September 2026 euro to dollar history
Yahoo Finance
import yfinance as yf
# Change: library call to REST
print(yf.Ticker("EURUSD=X").history(
start="2026-09-01",
end="2026-10-01",
))Narwhal API
# Change: URL and key
url="https://api.narwhalapi.com"
url="$url/v1/fx/rates/EUR/observations"
curl --get \
"$url" \
--data-urlencode "currencies=USD" \
--data-urlencode "start_date=2026-09-01" \
--data-urlencode "end_date=2026-09-30" \
--data-urlencode "limit=100" \
-H "Authorization: Bearer YOUR_API_KEY"Why teams switch
Start building for free
Every Narwhal account gets $10 free every month, and commercial apps are allowed. Use that credit for a dashboard, scheduled data fetches or an agent integration. Add a top-up from $5 as usage grows, with the same account and authentication.
Connect your app and your agent
REST and hosted MCP reach the same data through one account. Your application can fetch JSON while an agent uses the hosted tools, with every call charged once against the shared credit balance. One balance makes the combined workload straightforward to budget.
Connect country data
Narwhal's economics catalogue spans 215 countries, with a coverage table for each indicator. Country and indicator paths organize requests around the data your application uses. Combine observations with FX, public holidays and release dates to build country dashboards through the same account.
When they are the better pick
Yahoo Finance is the better pick for browsing financial information on a ready-made consumer website. You can consult its pages without building a data interface or maintaining a backend. The independent yfinance library suits the research and educational workflows described by its project; its code licence does not grant rights to Yahoo's data. Yahoo's terms require permission for automated collection.
Questions
Is there a free Yahoo Finance alternative?
Yes. Narwhal gives every account $10 free every month, with commercial app use and both REST and hosted MCP access. Use Narwhal for FX history, country indicators and calendars from a documented API.
Do both FX examples cover the same dates?
Both examples request September 2026. yfinance excludes the end date, so its request ends on October 1; Narwhal includes the end date, so its request ends on September 30. The Python library call becomes a standard HTTP request with bearer authentication, explicit currencies and a page limit.
What changes in my application?
Replace the request URL and authentication, then map the JSON response into your application's fields. The examples use standard fetch in JavaScript and requests in Python, so integration fits an ordinary HTTP client. Keep your key on the server and carry the response's units, dates and missing values into your display or calculations.
What happens when Narwhal credit runs out?
The credit balance is shared by REST and MCP calls. When it reaches zero the API returns HTTP 402 `insufficient_credits`, and you cannot be charged more than your balance. Free credit does not carry over; paid credit expires 12 months after your last top-up.
Reviewed: