Stocklet API & Webhooks
Your stock alerts. Your infrastructure.
Create ticker-based alerts, query market-wide feeds, and receive the events that matter at your own webhook endpoint.
Choose an event. Copy the integration.
import { Stocklet } from "stocklet";
const client = new Stocklet({
apiKey: process.env.STOCKLET_API_KEY,
});
const alert = await client.alerts.create({
type: "price_change",
ticker: "AAPL",
enabled: true,
conditions: {
"mode": "target_price",
"direction": "above",
"value": 250
},
});
await client.webhooks.create({
url: "https://your-app.example/webhooks/stocklet",
types: ["price_change"],
alert_ids: [alert.id],
});{
"id": "evt_price_change_01",
"type": "price_change",
"created_at": "2026-11-08T14:30:00Z",
"ticker": "AAPL",
"data": {
"price": 250.12,
"currency": "USD",
"previous_close": 244.5,
"change_percent": 2.3
},
"alert_id": "alt_price_change_01"
}Configure your alerts
Choose a ticker and define the conditions. Create, retrieve, update, or disable your rules through the API.
Alert managementQuery the bigger picture
Pull breaking news, insider trades, and more across supported stocks. Filter by ticker when you need to focus.
Market-wide feedsLet the events come to you
Receive a signed HTTP POST when your alerts match. Connect the signals directly to your own workflow.
Webhook deliverySix signals.
Built for your stack.
From price movements to company announcements.
The same authentication, predictable responses,
and a dedicated endpoint for every alert type.
Price Changes
Your price level. Your percentage move. A signal when the condition is met.
/alerts/price-changesInsider Trades
Follow publicly disclosed buying, selling, and option exercises.
/alerts/insider-tradesEarnings
Keep earnings releases, conference calls, and transcripts in view.
/alerts/earningsPress Releases
Official company announcements, delivered as structured events.
/alerts/press-releasesBreaking News
Stay close to the stories that matter to the stocks you follow.
/alerts/breaking-newsAnalyst Ratings
Track upgrades, downgrades, initiations, and price target changes.
/alerts/analyst-ratingsSet the rule.
We’ll send the signal.
No need to keep polling for your alerts. Register an endpoint and receive the matching event as a structured JSON message.
- 1Create a breaking news alert for AAPL
- 2Connect your HTTPS webhook endpoint
- 3Receive a signed POST when news matches
{
"id": "evt_breaking_news_01",
"type": "breaking_news",
"created_at": "2026-11-08T14:30:00Z",
"ticker": "AAPL",
"data": {
"headline": "Example company expands its manufacturing capacity",
"publisher": "Example News",
"url": "https://example.com/news/manufacturing-expansion",
"published_at": "2026-11-08T14:30:00Z"
},
"alert_id": "alt_breaking_news_01"
}EXPLORE THE DATA
Market feed endpoints
Choose a feed. Explore the data. Make it part of your workflow.
The latest market-moving headlines across supported stocks.
Live feedLoading breaking news…
The largest publicly disclosed insider transactions in the past 14 days.
Live feed| Company | Ticker | Position | Name | Transaction | Shares | Value (USD) | Filed |
|---|---|---|---|---|---|---|---|
Anthropic | ANT | President | Amodei Daniela | Sell | 3,4 Mio. | 280,4 Mio. $ | |
Anthropic | ANT | CEO | Amodei Dario | Sell | 3,4 Mio. | 280,4 Mio. $ | |
Palantir | PLTR | Director | THIEL PETER | Buy | 850,1 Tsd. | 122,3 Mio. $ | |
Palantir | PLTR | See Remarks | Sankar Shyam | Sell | 384,7 Tsd. | 64,9 Mio. $ | |
Palantir | PLTR | See Remarks | Sankar Shyam | Sell | 300 Tsd. | 48 Mio. $ |
Largest disclosed transactions in the past 14 days, ordered by USD value. Feed refreshes every minute.
The latest reported earnings alongside EPS and revenue estimates.
Live feedLoading earnings...
The latest analyst ratings and price target changes.
Live feedLoading analyst ratings...
Official announcements, straight from company newsrooms.
Sample data| Company | Ticker | Headline | Publisher | Published |
|---|---|---|---|---|
Apple Inc. | AAPL | Apple expands renewable energy partnerships across its supply chain | Apple Newsroom | |
Microsoft Corporation | MSFT | Microsoft announces new cloud infrastructure investment in Europe | Microsoft News Center | |
NVIDIA Corporation | NVDA | NVIDIA introduces new tools for enterprise AI deployment | NVIDIA Newsroom | |
Amazon.com, Inc. | AMZN | Amazon opens next-generation fulfillment center | About Amazon | |
Tesla, Inc. | TSLA | Tesla announces expansion of energy storage manufacturing | Tesla Investor Relations |
Illustrative events and figures. Live data will be available once this feed is connected.
https://v2.api.stocklet.app/api/v2/feed/breaking-newsBuilt to fit your workflow.
Understand the building blocks before you connect your first integration.
What is the difference between an alert and a feed?
An alert is a rule you create for a ticker. A feed is a list of market events you can query across supported stocks, with or without your own alerts. Your alert event history only contains events that matched your rules.
Can I retrieve all breaking news or insider trades?
Yes. Query the breaking-news or insider-trades feed without a ticker to retrieve events across supported stocks. Add a ticker to focus on one company. Both support time filters and cursor pagination.
What does a webhook deliver?
A webhook sends a JSON message when one of your enabled alerts matches an event. Subscribe to alert types or specific alert IDs. Market-wide feeds are available through the HTTP API; they are not webhook subscriptions.
How do I authenticate?
Send your API key in the Authorization header as a Bearer token. Use it from your server and keep it out of browser code and public repositories. Contact support@stocklet.app for API access.
How should I handle webhook deliveries?
Verify the signature, acknowledge with a 2xx response within ten seconds, then process the event asynchronously. Failed deliveries are retried. Deduplicate by event ID because the same event can be delivered more than once.