29+ Endpoints | 11 Data Sources | Free Tier: 500 calls/day
500 free calls/day. No credit card required.
Free plan includes 500 requests/day Setup in 30 seconds
// GET /api/v1/stocks/AAPL
{
"symbol": "AAPL",
"price": 189.84,
"change": +2.35,
"change_pct": +1.25,
"volume": 52_341_200,
"market_cap": "2.94T",
"ai_sentiment": {
"score": 0.82,
"signal": "bullish",
"confidence": 0.91
}
}
Trusted Data Sources
Get real-time stock prices, crypto data, forex rates, and economic indicators with a simple Python requests call. No complex SDKs needed.
import requests
# Get your free API key at marketlens.dev
API_KEY = "mk_live_your_key_here"
BASE_URL = "https://marketlens-api.loca.lt"
# Fetch Apple stock price
resp = requests.get(
f"{BASE_URL}/api/v1/stocks/AAPL",
headers={"Authorization": f"Bearer {API_KEY}"}
)
stock = resp.json()
print(f"AAPL: ${stock['data']['price']}")
# Fetch crypto prices
crypto = requests.get(
f"{BASE_URL}/api/v1/crypto/prices",
headers={"Authorization": f"Bearer {API_KEY}"}
).json()
print(f"BTC: ${crypto['data']['bitcoin']['usd']}")
# Fetch forex rates
forex = requests.get(
f"{BASE_URL}/api/v1/forex/rates",
headers={"Authorization": f"Bearer {API_KEY}"}
).json()
print(f"EUR/USD: {forex['data']['EUR']}")
169+
API Endpoints
35
Data Categories
99.9%
Uptime SLA
<200ms
Response Time
Powered by 10+ data sources · Alpha Vantage · CoinGecko · World Bank · FRED · Frankfurter · Alternative.me
Trusted by developers at
From zero to live market data in under a minute.
Create your account in 30 seconds. No credit card required.
Instantly receive your API key. 500 free requests per day.
Stocks, crypto, news, and economic data — all in one API call.
Stop juggling multiple data providers. MarketLens aggregates, normalizes, and enriches market data from 50+ sources.
One endpoint for stocks, crypto, forex, news, and economic data. Consistent response format across all asset classes.
AI-powered sentiment analysis, trend detection, and market signals. Get actionable intelligence, not just raw data.
Sub-second latency via REST and WebSocket. Stream live quotes, trades, and order book updates from 50+ exchanges.
Simple, flat-rate plans. No per-symbol fees, no surprise charges. Know exactly what you'll pay every month.
See how MarketLens simplifies your market data workflow.
# Stock data (Alpha Vantage)
stock = requests.get("https://alphavantage.co/query",
params={"function": "GLOBAL_QUOTE", "symbol": "AAPL",
"apikey": AV_KEY})
# Crypto data (CoinGecko)
crypto = requests.get("https://api.coingecko.com/api/v3/simple/price",
params={"ids": "bitcoin", "vs_currencies": "usd"})
# News (NewsAPI)
news = requests.get("https://newsapi.org/v2/everything",
params={"q": "AAPL", "apiKey": NEWS_KEY})
# Economic data (FRED)
gdp = requests.get("https://api.stlouisfed.org/fred/series",
params={"series_id": "GDP", "api_key": FRED_KEY})
# 4 different keys, 4 response formats
# Each has different rate limits, auth, errors...
# All market data with ONE API key
headers = {"X-API-Key": "ml_sk_your_key"}
stock = requests.get(
"https://api.marketlens.dev/api/v1/stocks/AAPL",
headers=headers)
crypto = requests.get(
"https://api.marketlens.dev/api/v1/crypto/bitcoin",
headers=headers)
news = requests.get(
"https://api.marketlens.dev/api/v1/news?symbol=AAPL",
headers=headers)
gdp = requests.get(
"https://api.marketlens.dev/api/v1/economic/GDP",
headers=headers)
# 1 key. 1 format. Consistent errors.
# All responses: {"status":"ok","data":{...}}
Simple REST API with clean JSON responses. Here's what a real request looks like.
# Fetch real-time stock data
$ curl -H "Authorization: Bearer mk_live_..." \
https://api.marketlens.dev/api/v1/stocks/AAPL
# Fetch crypto prices
$ curl -H "Authorization: Bearer mk_live_..." \
https://api.marketlens.dev/api/v1/crypto/BTC
# Get AI market sentiment
$ curl -H "Authorization: Bearer mk_live_..." \
https://api.marketlens.dev/api/v1/ai/sentiment?symbol=AAPL
{
"symbol": "AAPL",
"name": "Apple Inc.",
"exchange": "NASDAQ",
"price": 189.84,
"open": 187.49,
"high": 190.21,
"low": 186.92,
"change": +2.35,
"change_percent": +1.25,
"volume": 52341200,
"market_cap": 2940000000000,
"pe_ratio": 31.2,
"52w_high": 199.62,
"52w_low": 164.08,
"ai_sentiment": {
"score": 0.82,
"signal": "bullish",
"confidence": 0.91,
"news_analyzed": 147
},
"updated_at": "2026-03-13T15:30:00Z"
}
Hit our real API right from your browser. No signup required.
Select an endpoint and click "Try It" to see live data.
Real data from our API, updating in real time. No mock data, no placeholders.
/api/v1/stocks/quote/AAPL
Apple Stock Quote
Loading...
/api/v1/crypto/prices
Crypto Prices (BTC)
Loading...
/api/v1/forex/rates
Forex Rates (EUR/USD)
Loading...
Fetched live from our API right now. Not cached. Not fake.
via /api/v1/crypto/prices
via /api/v1/forex/rates
This is live data from our API, fetched right now. Not a mockup.
AAPL
--
--
MSFT
--
--
GOOGL
--
--
BTC
--
--
Copy this snippet and run it in your terminal. No API key needed for the free demo endpoint.
# Fetch live AAPL stock data
$ curl https://api.marketlens.dev/api/v1/stocks/AAPL
# Or use Python
import requests
r = requests.get("https://api.marketlens.dev/api/v1/stocks/AAPL")
print(r.json())
# Or JavaScript
const res = await fetch("https://api.marketlens.dev/api/v1/stocks/AAPL")
const data = await res.json()
console.log(data)
Fetching live data...
This response was fetched live from our API just now
Free plan includes 500 requests/day
Start free. Scale when you're ready. No hidden fees, no per-symbol charges.
Perfect for prototyping and personal projects.
For indie developers and growing startups.
For growing teams and production apps.
Unlimited access with custom SLA.
Everything you need to evaluate. Upgrade when you're ready.
$0/mo
$29/mo
or $14.50 with FOUNDER507-day free trial included
Join thousands of fintech developers building with MarketLens.
"Replaced 3 separate API subscriptions with MarketLens. Saving $200/mo and the AI sentiment feature is a game-changer for our trading signals."
Marcus Rivera
CTO, FinTrack Pro
"The free tier is actually usable -- 500 calls/day is enough to build and test my portfolio tracker. Best free stock API I've found."
Alex Kowalski
Indie Developer
"Historical data quality is excellent and the unified schema means I spend less time on data cleaning and more on alpha generation."
Sarah Kim
Quant Researcher, Vertex Capital
Compare the top financial data APIs side by side.
| MarketLens | Alpha Vantage | Polygon.io | IEX Cloud | |
|---|---|---|---|---|
| Pricing | Free / $29 / $99 | $49.99/mo | $29/mo | $19/mo |
| Endpoints | 222+ | ~50 | ~30 | ~40 |
| Rate Limits | 500 calls/day (free) | 75 calls/min | Unlimited (paid) | 50k msg credits/mo |
| Crypto | ✓ Full | Limited | Add-on | ✗ |
| Forex | ✓ Full | ✓ | ✓ | ✗ |
| News / AI | ✓ Built-in | ✗ | News only | Basic |
| Get Started | Free API Key | Credit card required | Credit card required | Credit card required |
Clean, RESTful endpoints. Comprehensive coverage of stocks, crypto, news, and economic data.
Connect your trading account for live portfolio tracking with our trusted partners.
Advanced charting and technical analysis. Connect for real-time portfolio visualization.
Learn moreLow-cost trading on 150+ global markets. Connect for live portfolio tracking and execution.
Learn moreCommission-free API-first trading. Build algorithmic strategies with MarketLens data.
Learn moreNo signup required. Click "Try it" to see live data from our API.
Three commands. That's all it takes.
# 1. Get your free API key
curl -X POST https://api.marketlens.dev/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "password": "yourpassword"}'
# 2. Get stock data
curl https://api.marketlens.dev/api/v1/stocks/AAPL/history \
-H "X-API-Key: your_key_here"
# 3. Get crypto prices
curl https://api.marketlens.dev/api/v1/crypto/bitcoin
Join thousands of developers building with MarketLens. Get instant access with 500 free requests/day.
Trusted by startups, fintechs, and enterprise teams building the next generation of financial applications.
As Featured In
Trusted by teams at