
Free Stock Market API Key for Developers and AI Agents: What You Get in 2026
What a free stock API key actually returns in 2026: prices, chart history, fundamentals, news and social sentiment and the SentiSense Score on about 1,000 US stocks, full data on 11 sample companies for the endpoints that are otherwise PRO, a preview everywhere else, and 1,000 requests a month at 30 a minute. How a developer gets the key in a browser, how an AI agent gets one in a single command, and why every call needs one. Every response shape shown was returned to a free key on November 4, 2026.
A free SentiSense API key returns stock prices, chart history, fundamentals, news and social sentiment and the SentiSense Score for about 1,000 US stocks, plus full data on 11 sample companies for the endpoints that are otherwise PRO: company KPIs, analyst ratings, insider and 13F filings, congressional trades, earnings analysis and options. Every other company answers those endpoints with a preview. The key costs nothing, allows 1,000 requests a month at 30 a minute, and a coding agent can get one with a single command.
This post answers the four questions people type when they search for a free stock API: what the key returns, whether there is a version with no key, how to get one, and how to call it from Python. For a comparison across providers, see the best stock data APIs in 2026 and the best market data APIs for AI agents.
What does a free stock API key actually return?
| On a free key | Scope |
|---|---|
| Stock prices (15-minute delayed), daily chart history, fundamentals | Every covered stock |
| News and social sentiment, the SentiSense Score, mention volume | Every covered stock |
| Market Mood, the stories feed, the stock and ETF screener, the earnings calendar | Market-wide |
| Company KPIs, analyst consensus and rating changes, insider Form 4 trades, 13F holders, congressional filings, earnings summaries and what changed in the filings, AI insights, the full options dossier | Full on the 11 sample companies; a preview on every other covered stock |
The preview is a real slice of the record: the newest five insider trades, the top five 13F holders, the analyst price-target band without the rating counts. Every endpoint in that last row answers inside one envelope, so a client branches on two fields. This is what a free key received for Tesla's company KPIs on November 4, 2026, trimmed to its shape:
{
"isPreview": false,
"sampleCompany": true,
"data": {
"ticker": "TSLA",
"kpis": [
{ "id": "...", "name": "...", "unit": "...", "values": [ { "period": "...", "date": "...", "value": 0, "isEstimate": false } ] }
]
}
}
sampleCompany: true means the full record, served because the company is one of the sample companies. The same call for Apple on the same key returned the preview envelope, with the list of sample companies inside it:
{
"isPreview": true,
"previewReason": "PRO_REQUIRED",
"upgrade": { "plan": "PRO", "sampleTickers": ["TSLA", "MSFT", "..."] },
"data": { "ticker": "AAPL", "kpis": [] }
}
Read the list from upgrade.sampleTickers rather than hard-coding it. Sentiment, the Score and the market-wide endpoints answer every ticker the same way on every tier.
Is there a free stock API with no key?
Not here. Every SentiSense call carries a key in the X-SentiSense-API-Key header, and a request without one answers 401 api_key_required. What is free is the key, and getting one takes a browser visit or a single keyless call. The libraries that need no key read a website's internal endpoints, with no published rate limit and no error contract; the yfinance alternative for AI agents covers where that breaks and when it is still the right tool.
How do I get a free stock market API key?
In a browser: create a free account at app.sentisense.ai/get-api-key. No card. The key starts with ss_live_ and lives in Settings, Developer Console.
In a terminal, with no account:
npx sentisense init
# or, without the CLI:
curl -X POST https://app.sentisense.ai/api/v1/keys/provision
The call needs no key. It returns a working temporary key, its limits and a keep link. The key works for 72 hours at tighter limits than a free account; every data endpoint answers it the way it answers a free key, sample companies included, and account endpoints stay closed. The keep link works for 14 days: open it, sign in or create a free account, and the same key string moves onto the account at the Free tier's limits, so nothing in the project changes. Details and error codes are on the keys for coding agents page.
The first call is the usual header:
curl -H "X-SentiSense-API-Key: $SENTISENSE_API_KEY" \
"https://app.sentisense.ai/api/v1/stocks/TSLA/kpis"
How do I call a free stock API from Python?
pip install sentisense, then:
import os
from sentisense import SentiSenseClient
client = SentiSenseClient(api_key=os.environ["SENTISENSE_API_KEY"])
kpis = client.get_company_kpis("TSLA") # a sample company: the full series on a free key
trades = client.get_insider_trades("AAPL") # any other company: a preview on a free key
score = client.get_metrics("AAPL", metric_type="sentisense_score") # full on every covered stock
for name, result in (("TSLA KPIs", kpis), ("AAPL insiders", trades)):
if result.is_preview:
print(name, "is a preview; the sample companies are", result.upgrade["sampleTickers"])
elif result.sample_company:
print(name, "is full data: a sample company")
Run on a free key on November 4, 2026, the first line printed full data and the second printed the preview with the eleven tickers. Tier-gated methods return a PreviewResult: the payload in .data, plus .is_preview, .sample_company and .total_count. The Node SDK (npm install sentisense) carries the same fields as isPreview, sampleCompany and totalCount. More scripts: Python stock sentiment examples.
Why would an AI agent choose this API?
When an agent picks a data source in the middle of a task, the API treats it as a user in its own right.
- It reads the whole API from one file. The reference is served at
sentisense.ai/skill.md, the index atsentisense.ai/llms.txt, and every docs page as plain markdown atsentisense.ai/docs/api/<page>.md. - It gets its own key. The provision call above is the contract database and hosting platforms adopted for agents: the agent provisions, the person keeps.
- It can tell what it received.
isPreview,sampleCompanyandupgradeon the body;X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reseton every response, so a loop paces itself instead of discovering the ceiling in a 429. - It installs the workflows.
npx skills add SentiSenseApp/skillsadds read-only agent skills to Claude Code, Cursor, Codex, Gemini or OpenClaw. - The person it works for needs no code. The MCP connector signs in with OAuth from Claude, Claude Code, Codex, ChatGPT and Grok, with no key to paste, and is listed in Claude's connector directory.
What are the free limits, and what does PRO add?
Free is 1,000 requests a month at 30 a minute, with 20 story reads, 10 deep AI summaries and 10 full options dossiers a month; a sample company's dossier does not spend that allowance, and every call, sample company or not, counts against the monthly 1,000. PRO removes the monthly cap, raises the rate limit to 300 a minute and returns the full record for every covered company. PRO is $15 a month list, or $6.75 a month with the code FALL26, 55% off for life.
Get a free API key → and make the Tesla call above in the same minute.
FAQ
Is there a free stock market API with no key? Every SentiSense call carries a key in the X-SentiSense-API-Key header; a request without one answers 401 api_key_required. The key itself is free: a person gets one at app.sentisense.ai/get-api-key with no card, and a coding agent gets a temporary one with a single keyless call, POST /api/v1/keys/provision, or npx sentisense init.
What does a free stock API key return? Stock prices, chart history and fundamentals, news and social sentiment and the SentiSense Score for about 1,000 US stocks, Market Mood, the stories feed, the screener and the earnings calendar, plus full company KPIs, analyst ratings, insider trades, 13F holders, congressional filings, earnings analysis, AI insights and the options dossier on 11 sample companies. Every other company answers those endpoints with a preview marked isPreview: true. Limits: 1,000 requests a month at 30 a minute.
How do I get a free stock API key for Python? Create a free account at app.sentisense.ai/get-api-key and copy the key, or run npx sentisense init for a temporary key with no account. Then pip install sentisense and pass the key to SentiSenseClient. Tier-gated calls return a PreviewResult with is_preview, sample_company and the payload in .data.
Can an AI agent get a stock API key by itself? Yes. One POST to https://app.sentisense.ai/api/v1/keys/provision, with no key, returns a working temporary key, its limits and a keep link. The agent uses the key at once and hands the keep link to the person it works for; that person signs in or creates a free account, and the same key string moves onto the account at the Free tier's limits. Until it is kept, the key works for 72 hours and account endpoints stay closed.
Every response shape above was returned to a free key on November 4, 2026; limits and prices are as the API docs and pricing page stated them that day. Data is provided for research and education, not investment advice.