Northvane API
Stock prices, daily and weekly AI signals, J+1 and J+7 forecasts, AI analysis, market sentiment and your portfolio, in one REST API. Included from the Pro plan for developers, with Enterprise access for companies.
- Bearer auth
- Idempotent refresh jobs
- OpenAPI 3 spec
Overview
The Northvane API gives your code the same market intelligence as the app: live prices, daily and weekly BUY / SELL / HOLD signals with confidence, J+1 and J+7 forecasts, our AI analysis (summary, key levels, opportunities, risks), market sentiment, geopolitical risk, pre-market events, prediction markets and portfolio data. Every endpoint speaks JSON over HTTPS.
Base URL
https://www.northvane.app/api/business/v1Developers on Pro & MAX
API access is included in your subscription. Create a personal API key in Account → API, then read signals, forecasts and your own portfolio from scripts, bots, spreadsheets or dashboards.
Companies (Enterprise)
Company credentials give access to your members' portfolios and predictions, webhooks, embeddable widgets and a sandbox, with rate limits set in your contract. Request Enterprise access.
Actionable signals
Daily and weekly actions, targets, stop losses and confidence
AI analysis
Summary, key levels, opportunities and risks, in English or French
Portfolio
Holdings, watchlist, P&L by currency and personalized signals
Refresh jobs
Idempotent, deduplicated and never billed twice
Plans & limits
One API, three levels of access. The badge next to each endpoint below shows the lowest plan that includes it. On Pro and MAX the API is part of the Northvane subscription: there is no separate API fee.
| Feature | Pro €14/month or €11/month billed yearly | MAX €29/month or €23/month billed yearly | Enterprise Custom company contract |
|---|---|---|---|
| Credential | Personal API key | Personal API key | client_id + client_secret → JWT |
| Rate limit | 15 / minute · 100 / hour | 15 / minute · 100 / hour | Per contract (hourly and daily) |
| Refresh jobs | 10 / day | 30 / day | Per contract (50 / day by default) |
| Batch size | Up to 5 symbols | Up to 20 symbols | Up to 20 symbols |
| Sentiment history | 7 days | 30 days | 30 days |
| Stock prices, signals & forecasts (J+1, J+7) | Included | Included | Included |
| AI analysis (daily & weekly) | Included | Included | Included |
| On-demand AI analysis refresh | Included | Included | Included |
| Refresh jobs (status & results) | Included | Included | Included |
| Portfolio, watchlist & unrealized P&L | Included | Included | Included |
| AI-detected opportunities | Included | Included | Included |
| Market sentiment (latest & history) | Included | Included | Included |
| Geopolitical summary | Included | Included | Included |
| Pre-market events | Included | Included | Included |
| Prediction markets list | Included | Included | Included |
| Fundamentals (read & refresh any stock) | Not included | Included | Included |
| AI scores (0–10) | Not included | Included | Included |
| Trade plan | Not included | Included | Included |
| Medium-term view | Not included | Included | Included |
| Model breakdown | Not included | Included | Included |
| Full geopolitical report | Not included | Included | Included |
| Macro events | Not included | Included | Included |
| Prediction market detail | Not included | Included | Included |
| Company members & their portfolios | Not included | Not included | Included |
| Predictions endpoints | Not included | Not included | Included |
| Webhooks | Not included | Not included | Included |
| Embeddable widgets | Not included | Not included | Included |
| Sandbox | Not included | Not included | Included |
Personal keys refresh the AI analysis of the stocks in their own portfolio or watchlist; companies can refresh any stock. From MAX, fundamentals can be refreshed for any stock.
Locked features
An endpoint your plan does not include answers 403 plan_upgrade_required and names the plan that opens it:
{
"success": false,
"error": "This endpoint requires the MAX API plan (current plan: PRO).",
"code": "plan_upgrade_required",
"details": {
"feature": "fundamentals",
"required_plan": "max",
"current_plan": "pro",
"upgrade_url": "https://www.northvane.app/pricing"
},
"timestamp": "2026-10-14T09:30:12Z",
"request_id": "7f3c9a2e-5b1d-4c8e-9f0a-2d6b8e1c4a70"
}On shared endpoints such as GET /stocks/:symbol, fields your plan does not include are left out of data and listed in meta.locked_fields, so you know the data exists and how to unlock it:
"meta": {
"plan": "pro",
"locked_fields": ["analysis.medium_term", "analysis.ai_passes", "ai_scores", "trade_plan", "fundamentals"],
"upgrade_url": "https://www.northvane.app/pricing"
}Quickstart
Create a key
On a Pro or MAX account, open Account → API, name your key and copy it: it starts with
nv_live_and is shown only once.Check your access
GET/meexport NORTHVANE_API_KEY="nv_live_..." curl -s https://www.northvane.app/api/business/v1/me \ -H "Authorization: Bearer $NORTHVANE_API_KEY"Read a stock
GET/stocks/AAPLcurl -s https://www.northvane.app/api/business/v1/stocks/AAPL \ -H "Authorization: Bearer $NORTHVANE_API_KEY" | jq '.data.analysis.daily'
Authentication
Every request carries one header, whatever the credential:
Authorization: Bearer <credential>Personal API key (Pro & MAX)
- Format:
nv_live_followed by 40 letters and digits. - Created and revoked at www.northvane.app/account/api. The key is shown once, at creation: we only store a hash of it and cannot show it again. Lost it? Revoke it and create another.
- Up to 5 active keys per account (one per app or bot), each with an optional expiry: 30, 90 or 365 days, or never.
- All keys of an account share the same rate limit and refresh quota: they are counted per account, not per key.
- If the account moves below Pro, its keys answer
403 plan_upgrade_requireduntil the subscription is back.
Company token (Enterprise)
Exchange your company's client_id and client_secret for a JWT valid one month with POST /api/business/auth/token, then send it as the Bearer credential. Check a token with POST /api/business/auth/validate. Regenerating your credentials invalidates the tokens issued before.
Company endpoints are gated by the scopes enabled on your contract: stocks, jobs, portfolios, opportunities, sentiment, geopolitical, pre_market, prediction_markets, predictions, webhooks and widgets. A disabled scope answers 403 scope_not_authorized.
Keep credentials server-side. Never ship an API key or a client_secret in a browser, a mobile app or a public repository. Call the API from your backend, and revoke a key the moment it leaks.
Rate limits & headers
| Credential | Windows | Counted |
|---|---|---|
| Personal key (Pro, MAX) | 15 requests per minute and 100 per hour, sliding windows | Per account, shared by all its keys |
| Company token (Enterprise) | Hourly (sliding) and daily (resets at 00:00 UTC), set in your contract | Per company |
Requests refused by the rate limiter (429 rate_limited) do not count: a client that backs off does not extend its own wait. Every other response counts, including 429 refresh_quota_exceeded and 429 refresh_cooldown. Refresh jobs have their own daily quota (see Refresh jobs workflow), which resets at 00:00 UTC. For members of an Enterprise company, refreshes started with a personal key also count against the company's daily quota.
Response headers
| Header | Description |
|---|---|
X-RateLimit-Limit | Size of the tightest window |
X-RateLimit-Remaining | Requests left in that window |
X-RateLimit-Reset | When that window frees up, in Unix seconds |
RateLimit-Policy | Every window, e.g. 15;w=60, 100;w=3600 |
Retry-After | On 429: seconds to wait before retrying |
X-Request-Id | Request identifier, also in meta.request_id. Quote it when you contact support |
{
"success": false,
"error": "Rate limit exceeded: 15 requests per minute. Retry in 23 seconds.",
"code": "rate_limited",
"details": { "window": "minute", "limit": 15, "retry_after": 23 },
"timestamp": "2026-10-14T09:30:12Z",
"request_id": "7f3c9a2e-5b1d-4c8e-9f0a-2d6b8e1c4a70"
}A per-IP safety net also protects the API (for instance, at most 30 refresh requests per minute per IP address); its 429 responses carry no code. Wait and retry with exponential backoff.
Response format
Successful responses wrap the payload in data and describe the call in meta:
{
"success": true,
"data": { },
"meta": {
"api_version": "v1",
"plan": "pro",
"sandbox": false,
"timestamp": "2026-10-14T09:30:12Z",
"request_id": "7f3c9a2e-5b1d-4c8e-9f0a-2d6b8e1c4a70",
"rate_limit": {
"limit_per_minute": 15,
"remaining_minute": 14,
"limit_per_hour": 100,
"remaining_hourly": 93
}
}
}With a company token, meta.rate_limit is { "remaining_daily": …, "remaining_hourly": … }. Errors share one shape:
{
"success": false,
"error": "Human-readable message",
"code": "machine_readable_code",
"details": { },
"timestamp": "2026-10-14T09:30:12Z",
"request_id": "7f3c9a2e-5b1d-4c8e-9f0a-2d6b8e1c4a70"
}- Branch on
code, not onerror: messages may change, codes do not.detailsis present only when there is more to say. - Language: add
?lang=frfor French texts; English is the default. - Symbols are case-insensitive and may contain dots for European listings, e.g.
AI.PAorSAP.DE. - Dates are ISO 8601, in UTC.
- Decimals: values stored at full precision (AI target prices, stop losses, forecast values, growth, opportunity prices) are encoded as JSON strings, e.g.
"target_price": "198.4". Parse them as decimals. - Fields with no value yet are
null; fields your plan does not include are omitted and listed inmeta.locked_fields.
Errors
| HTTP | Code | Meaning |
|---|---|---|
| 400 | missing_parameter | A required parameter is missing (422 for symbols on batch) |
| 401 | missing_token | No Authorization header |
| 401 | invalid_api_key | Personal key unknown, revoked or expired |
| 401 | invalid_token | Company token invalid or expired |
| 403 | plan_upgrade_required | Your plan does not include this feature; details names the plan that does |
| 403 | stock_not_tracked | Personal keys refresh AI analysis only for stocks in their portfolio or watchlist |
| 403 | scope_not_authorized | The company scope for this endpoint is disabled |
| 403 | company_only | Endpoint reserved to company credentials |
| 403 | account_disabled | The account behind the key cannot use the API |
| 403 | api_disabled | API access is disabled for this company |
| 404 | stock_not_found | Unknown symbol |
| 404 | job_not_found | Unknown idempotency key |
| 410 | idempotency_key_expired | The key expired (48 hours after the analysis): ask for a refresh again to get the current key |
| 404 | user_not_found | User is not a member of your company |
| 404 | not_found | Resource or data not available |
| 422 | market_closed | AI analysis refreshes are paused on Saturdays and Sundays |
| 422 | invalid_refresh_type | type must be analysis or fundamentals |
| 422 | batch_too_large | More symbols than your plan's batch size |
| 422 | invalid_status | Unknown status filter on GET /jobs |
| 422 | unprocessable_entity | Validation error (e.g. webhook URL or events) |
| 429 | rate_limited | Rate limit reached; see Retry-After |
| 429 | refresh_quota_exceeded | Daily refresh quota used up; Retry-After points to 00:00 UTC |
| 429 | refresh_cooldown | The last refresh of this stock failed less than 15 minutes ago |
| 500 | internal_error | Unexpected error on our side; quote the request_id |
| 503 | enqueue_failed | The refresh could not be queued; retry in a few minutes |
The two company authentication endpoints (/api/business/auth/*) answer { "success": false, "error": "…" } without a code.
Idempotency keys (server-issued)
A refresh starts real work on our side, so Northvane makes sure the same stock is never refreshed twice for nothing. You don't generate anything: the server issues the idempotency key.
- One key per stock and type, the same for everyone.
POST /stocks/:symbol/refreshreturnsdata.idempotency_key(for exampleidem_3f9c2a7e…). Every client that asks for the same stock and type gets the same key: other bots, other users, other companies. - Created with the job. The key is created when the refresh job starts, or right away when the data is already fresh (it then points to the current data).
- Valid as long as the data is: 48 hours after the AI analysis it points to, 5 days for fundamentals (
expires_at). While it is valid, every refresh request for that stock returns the same key and starts nothing — no quota used. - Read the result with it:
GET /jobs/:idempotency_key, at any time until it expires. Keep the key and share it between your processes instead of asking again. - After expiry (or if its job failed),
GET /jobs/:idempotency_keyanswers410 idempotency_key_expiredand the next refresh request issues a new key.
Retrying a refresh request after a timeout is always safe: you get the key back, nothing is started twice. An Idempotency-Key header sent by a client is ignored.
Refresh jobs workflow
Northvane refreshes analyses on its own schedule. When you need fresher data for a stock, ask for a refresh: you get the stock's idempotency key, then read the result with it. The API does everything it can so that you never pay twice for the same work.
Check freshness (optional)
GET /stocks/:symbolreturnsdata_freshness.analysis_refreshable_atandfundamentals_refreshable_at. Before those instants, a refresh returns the current key withoutcome: "ready": nothing is started.Ask for the refresh and keep the key
POST/stocks/AAPL/refreshcurl -s -X POST https://www.northvane.app/api/business/v1/stocks/AAPL/refresh \ -H "Authorization: Bearer $NORTHVANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type": "analysis"}' # → { "data": { "idempotency_key": "idem_3f9c2a7e…", "outcome": "enqueued", "status": "queued", … } }Read the outcome
Outcome HTTP What happened Quota enqueued202 A new refresh job was started, with a new key 1 used joined202 A job for this stock is already running (started by another client or by the app): you get its key None ready200 The data is less than 48 hours old: you get the current key, nothing is started None simulated202 Sandbox only: nothing is started, idempotency_keyisnullNone Read the result with the key
Call
GET /jobs/:idempotency_keyevery 5 to 10 seconds while it isqueuedorrunning(typically 1 to 3 minutes,progress0 to 100). Oncesucceeded,resultholds the refreshed analysis (or fundamentals), cut to your plan. Companies can subscribe to thejob.completedwebhook instead of polling.Reuse the key
Until
expires_at(48 hours after the analysis), any of your processes — or anyone else holding the key — can read the result again withGET /jobs/:idempotency_key. Ask for a refresh again only after the key has expired.
Guardrails against waste
- One key per stock: server-issued, shared by every client, valid 48 hours after the analysis (5 days for fundamentals). While it is valid, nothing is ever started again for that stock.
- Deduplication: one job per stock and type at a time. Two clients asking at the same moment get the same key, and neither pays twice.
- Tracked stocks: personal keys refresh the AI analysis of the stocks in their own portfolio or watchlist (
403 stock_not_trackedotherwise). - Weekends: no new AI analysis on Saturdays and Sundays while markets are closed (
422 market_closed); a valid key is still returned. - Cooldown: after a failed refresh, the same stock can be retried after 15 minutes (
429 refresh_cooldown, withRetry-After). - Daily quota: 10 jobs per day on Pro, 30 on MAX, per contract on Enterprise. Only
enqueuedcounts; the quota resets at 00:00 UTC and is shown in every refresh response and inGET /me.
Full flow in Python
import os
import time
import requests
BASE_URL = "https://www.northvane.app/api/business/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['NORTHVANE_API_KEY']}"}
def refresh_analysis(symbol):
"""Refresh a stock's AI analysis (or reuse a fresh one) and return it."""
resp = requests.post(
f"{BASE_URL}/stocks/{symbol}/refresh",
headers=HEADERS,
json={"type": "analysis"},
timeout=30,
)
body = resp.json()
if not body["success"]:
raise RuntimeError(f"{body['code']}: {body['error']}")
key = body["data"]["idempotency_key"] # same key for every client, valid 48 h
while True:
job = requests.get(f"{BASE_URL}/jobs/{key}", headers=HEADERS, timeout=30).json()["data"]
if job["status"] == "succeeded":
return job["result"]
if job["status"] == "failed":
raise RuntimeError(job["error"]["code"])
time.sleep(7)
analysis = refresh_analysis("AAPL")
print(analysis["daily"]["action"], analysis["daily"]["target_price"])Full flow in JavaScript
const BASE_URL = "https://www.northvane.app/api/business/v1";
const headers = { Authorization: `Bearer ${process.env.NORTHVANE_API_KEY}` };
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
async function refreshAnalysis(symbol) {
const res = await fetch(`${BASE_URL}/stocks/${encodeURIComponent(symbol)}/refresh`, {
method: "POST",
headers: { ...headers, "Content-Type": "application/json" },
body: JSON.stringify({ type: "analysis" }),
});
const body = await res.json();
if (!body.success) throw new Error(`${body.code}: ${body.error}`);
// Server-issued key: the same for every client, valid 48 h.
const key = body.data.idempotency_key;
for (;;) {
const poll = await fetch(`${BASE_URL}/jobs/${key}`, { headers });
const { data } = await poll.json();
if (data.status === "succeeded") return data.result;
if (data.status === "failed") throw new Error(data.error.code);
await sleep(7000);
}
}
const analysis = await refreshAnalysis("AAPL");
console.log(analysis.daily.action, analysis.daily.target_price);GET /me Pro
Who is calling, with which plan, what is left of the rate limits and of today's refresh quota, and which features the plan opens. Available to every credential, with no scope required.
{
"success": true,
"data": {
"type": "personal",
"plan": "pro",
"account": {
"user_id": 4821,
"email": "you@example.com",
"api_key": {
"id": 12,
"name": "Trading bot",
"prefix": "nv_live_a1B2c3D4…",
"expires_at": "2027-01-12T09:30:00Z",
"created_at": "2026-10-14T09:30:00Z"
}
},
"rate_limits": [
{ "window": "minute", "limit": 15, "used": 1, "remaining": 14, "resets_at": "2026-10-14T09:31:12Z" },
{ "window": "hour", "limit": 100, "used": 7, "remaining": 93, "resets_at": "2026-10-14T10:02:41Z" }
],
"refresh_quota": { "limit": 10, "used": 2, "remaining": 8, "resets_at": "2026-10-15T00:00:00Z" },
"batch_size": 5,
"sentiment_history_days": 7,
"features": [
"market_data", "signals", "forecasts", "analysis", "sentiment", "geopolitical",
"pre_market", "prediction_markets", "portfolio", "opportunities", "jobs", "refresh_analysis"
],
"locked_features": [
"fundamentals", "refresh_fundamentals", "ai_scores", "trade_plan", "model_breakdown",
"medium_term", "geopolitical_full", "macro_events", "prediction_market_details",
"company_members", "predictions", "webhooks", "widgets", "sandbox"
]
},
"meta": { "api_version": "v1", "plan": "pro", "sandbox": false, "...": "..." }
}With a company token, type is company, account is { company_id, name, users_count, sandbox } and the windows are hour and day.
POST /auth/token Enterprise
Exchange company credentials for a JWT valid one month. This endpoint lives outside /v1: https://www.northvane.app/api/business/auth/token.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
client_id | string | Yes | Your company's client ID |
client_secret | string | Yes | Your company's client secret |
curl -s -X POST https://www.northvane.app/api/business/auth/token \
-H "Content-Type: application/json" \
-d '{"client_id": "company_abc123...", "client_secret": "your_secret..."}'{
"success": true,
"token": "eyJhbGciOiJIUzI1NiJ9...",
"token_type": "Bearer",
"expires_in": 2592000,
"expires_at": "2026-11-14T09:30:00Z",
"company": {
"id": 1,
"name": "Your Company",
"rate_limits": { "per_hour": 100, "per_day": 1000 }
}
}POST /auth/validate Enterprise
Check a company token and its remaining requests. Send the token in the Authorization header.
{
"success": true,
"valid": true,
"company": {
"id": 1,
"name": "Your Company",
"api_enabled": true,
"rate_limits": { "per_hour": 100, "per_day": 1000, "remaining_hourly": 95, "remaining_daily": 950 }
}
}GET /stocks/:symbol Pro
Everything about one stock: price, daily and weekly AI analysis, J+1 and J+7 forecasts, growth and data freshness. MAX and Enterprise also receive ai_scores, trade_plan, analysis.medium_term and analysis.ai_passes.
Parameters
| Parameter | In | Description |
|---|---|---|
symbol | path | Ticker, e.g. AAPL, AI.PA, BTC-USD |
lang | query | en (default) or fr |
{
"success": true,
"data": {
"symbol": "AAPL",
"name": "Apple Inc",
"exchange": "NASDAQ",
"country": "US",
"asset_type": "Stock",
"price": {
"current": 195.5, "change_percent": 1.23, "currency": "USD",
"open": 193.1, "high": 196.2, "low": 192.8, "volume": 51234000,
"updated_at": "2026-10-14T13:45:00Z"
},
"analysis": {
"summary": "...",
"complementary": "...",
"daily": {
"action": "BUY",
"target_price": "198.4",
"stop_loss": "191.2",
"confidence_level": "HIGH",
"timeframe": "...",
"price_prediction_up": "199.1",
"price_prediction_down": "193.0",
"events": "...", "key_levels": "...", "opportunities": "...", "risks": "..."
},
"weekly": { "action": "HOLD", "target_price": "201.0", "stop_loss": "188.5", "confidence_level": "MEDIUM", "...": "..." },
"updated_at": "2026-10-14T06:12:00Z"
},
"forecasts": {
"j1": { "price": "197.2", "change_percent": "0.87", "confidence": "78.0", "confidence_level": "MEDIUM", "action": "HOLD", "date": "2026-10-15" },
"j7": { "price": "201.5", "change_percent": "3.07", "confidence": "65.0", "confidence_level": "MEDIUM", "action": "BUY", "date": "2026-10-21" },
"updated_at": "2026-10-14T05:40:00Z"
},
"fundamentals_available": true,
"growth": { "three_months": "4.2", "six_months": "9.8", "one_year": "18.5", "five_years": "210.4" },
"data_freshness": {
"quotation_updated_at": "2026-10-14T13:45:00Z",
"analysis_updated_at": "2026-10-14T06:12:00Z",
"forecast_updated_at": "2026-10-14T05:40:00Z",
"fundamentals_updated_at": "2026-10-11T04:00:00Z",
"needs_refresh": false,
"analysis_refreshable_at": "2026-10-15T06:12:00Z",
"fundamentals_refreshable_at": "2026-10-16T04:00:00Z"
}
},
"meta": {
"plan": "pro",
"locked_fields": ["analysis.medium_term", "analysis.ai_passes", "ai_scores", "trade_plan", "fundamentals"],
"upgrade_url": "https://www.northvane.app/pricing",
"...": "..."
}
}Added on MAX and Enterprise
"ai_scores": {
"overall": 8, "technical": 7, "fundamental": 9, "sentiment": 6, "low_risk": 7,
"date": "2026-10-14"
},
"trade_plan": {
"action": "BUY",
"conviction": 4,
"entries": [ { "level": "beginner", "order_type": "limit", "price": 193.5, "explanation": "..." } ],
"protection": [ { "level": "beginner", "type": "stop_loss", "price": 188.0, "explanation": "..." } ],
"sizing": { "...": "..." }
},
"analysis": {
"medium_term": { "action": "BUY", "reason": "..." },
"ai_passes": {
"quant_direction": "UP", "quant_predicted_price": "198.9", "quant_confidence": 72,
"qual_direction": "UP", "disagreement": false, "disagreement_type": null, "disagreement_reason": null
}
}ai_scores rate the stock from 0 to 10: overall, technical, fundamental, sentiment and low risk. ai_passes breaks the analysis down into its quantitative and qualitative passes, and tells you when they disagree.
GET /stocks/:symbol/analysis Pro
The AI analysis alone: summary, complementary, daily, weekly and updated_at (same shape as data.analysis above), plus medium_term and ai_passes from MAX. Accepts lang. Locked fields are listed in meta.locked_fields.
GET /stocks/:symbol/fundamentals MAX
Fundamental data: valuation ratios, profitability, balance sheet, dividends, scores and intrinsic value estimates. Refreshable on any stock with {"type": "fundamentals"} (fresh for 5 days).
{
"success": true,
"data": {
"company_name": "Apple Inc.",
"sector": "Technology",
"industry": "Consumer Electronics",
"market_cap": 2990000000000,
"beta": 1.21,
"pe_ratio": 30.4,
"peg_ratio": 2.6,
"price_to_book": 45.1,
"roe": 1.47,
"debt_to_equity": 1.8,
"dividend_yield": 0.005,
"scores": { "...": "..." },
"intrinsic_value": { "...": "..." },
"analysis_status": "complete",
"full_analysis_at": "2026-10-11T04:00:00Z"
},
"meta": { "plan": "max", "...": "..." }
}On Pro this endpoint answers 403 plan_upgrade_required.
GET /stocks/batch Pro
Compact data for several stocks in one call: up to 5 symbols on Pro, 20 on MAX and Enterprise. Unknown symbols are listed in meta.not_found instead of failing the whole call.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | string | Yes | Comma-separated tickers, e.g. AAPL,MSFT,AI.PA |
lang | string | No | en or fr |
{
"success": true,
"data": [
{
"symbol": "AAPL",
"name": "Apple Inc",
"exchange": "NASDAQ",
"asset_type": "Stock",
"price": { "current": 195.5, "change_percent": 1.23, "currency": "USD" },
"daily_action": "BUY",
"weekly_action": "HOLD",
"target_price": "198.4",
"stop_loss": "191.2",
"confidence_level": "HIGH",
"forecasts": { "j1": { "...": "..." }, "j7": { "...": "..." }, "updated_at": "2026-10-14T05:40:00Z" },
"analysis_updated_at": "2026-10-14T06:12:00Z"
}
],
"meta": { "not_found": ["XYZ"], "locked_fields": ["..."], "...": "..." }
}MAX and Enterprise also get quant_direction and qual_direction on each row. Too many symbols answers 422 batch_too_large with details.max_symbols.
POST /stocks/:symbol/refresh Pro
Get the stock's idempotency key, issued by the server and shared by every client, and start the refresh job only if the data is older than 48 hours (5 days for fundamentals). See the workflow for the full picture.
Request
| Parameter | In | Required | Description |
|---|---|---|---|
symbol | path | Yes | Ticker |
type | JSON body | No | analysis (default, from Pro) or fundamentals (from MAX) |
{
"success": true,
"data": {
"idempotency_key": "idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"outcome": "enqueued",
"status": "queued",
"symbol": "AAPL",
"type": "analysis",
"expires_at": "2026-10-16T09:30:12Z",
"data_updated_at": null,
"links": { "result": "/api/business/v1/jobs/idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30" },
"job": {
"idempotency_key": "idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"id": "idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"object": "job",
"type": "analysis",
"status": "queued",
"progress": 0,
"symbol": "AAPL",
"error": null,
"created_at": "2026-10-14T09:30:12Z",
"started_at": null,
"finished_at": null,
"expires_at": "2026-10-16T09:30:12Z",
"data_updated_at": null,
"links": {
"self": "/api/business/v1/jobs/idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"result": "/api/business/v1/stocks/AAPL/analysis"
},
"result": null
},
"refresh_quota": { "limit": 10, "used": 3, "remaining": 7, "resets_at": "2026-10-15T00:00:00Z" }
},
"meta": { "...": "..." }
}joined has the same shape, with the running job's key and an unchanged quota. ready (HTTP 200) means the data is already fresh: the key points to it and nothing is started.
{
"success": true,
"data": {
"idempotency_key": "idem_9a41c07d2e6b4f18a3c5d7e9f0b2c4d6",
"outcome": "ready",
"status": "succeeded",
"symbol": "AAPL",
"type": "analysis",
"expires_at": "2026-10-16T06:12:00Z",
"data_updated_at": "2026-10-14T06:12:00Z",
"links": { "result": "/api/business/v1/jobs/idem_9a41c07d2e6b4f18a3c5d7e9f0b2c4d6" },
"job": { "...": "..." },
"refresh_quota": { "limit": 10, "used": 2, "remaining": 8, "resets_at": "2026-10-15T00:00:00Z" }
},
"meta": { "...": "..." }
}Errors
403 stock_not_tracked / plan_upgrade_required / scope_not_authorized · 404 stock_not_found · 422 market_closed / invalid_refresh_type · 429 refresh_quota_exceeded / refresh_cooldown / rate_limited · 503 enqueue_failed.
GET /jobs/:idempotency_key Pro
Status, progress and result behind an idempotency key. The key is shared: any client holding it can read it, and result is cut to the reader's plan. Unknown key: 404 job_not_found. After expires_at (48 hours after the analysis): 410 idempotency_key_expired — ask for a refresh again to get the current key.
{
"success": true,
"data": {
"idempotency_key": "idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"id": "idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"object": "job",
"type": "analysis",
"status": "succeeded",
"progress": 100,
"symbol": "AAPL",
"error": null,
"created_at": "2026-10-14T09:30:12Z",
"started_at": "2026-10-14T09:30:15Z",
"finished_at": "2026-10-14T09:32:04Z",
"expires_at": "2026-10-16T09:32:01Z",
"data_updated_at": "2026-10-14T09:32:01Z",
"links": {
"self": "/api/business/v1/jobs/idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"result": "/api/business/v1/stocks/AAPL/analysis"
},
"result": {
"summary": "...",
"daily": { "action": "BUY", "target_price": "198.9", "...": "..." },
"weekly": { "action": "HOLD", "...": "..." },
"updated_at": "2026-10-14T09:32:01Z"
}
},
"meta": { "...": "..." }
}| Status | Meaning |
|---|---|
queued | Waiting for a worker |
running | In progress; progress goes from 0 to 99 |
succeeded | Data refreshed (or already fresh); result is filled |
failed | error.code is refresh_failed (retry after 15 minutes), expired (the job stopped reporting progress) or enqueue_failed |
GET /jobs Pro
The idempotency keys you received in the last 7 days, newest first, without result.
| Parameter | Type | Description |
|---|---|---|
status | string | queued, running, succeeded or failed |
limit | integer | 1 to 100, default 20 |
GET /portfolio Pro
Your holdings and watchlist with live prices, signals, forecasts, personalized signals and unrealized P&L. Totals are grouped by currency: different currencies are never added together. With a company token, pass ?user_id= or use /users/:user_id/portfolio.
{
"success": true,
"data": {
"user_id": 4821,
"holdings_count": 1,
"watchlist_count": 1,
"totals_by_currency": {
"USD": {
"market_value": 1955.0,
"cost_basis": 1500.0,
"unrealized_pnl": 455.0,
"unrealized_pnl_percent": 30.33,
"positions": 1
}
},
"holdings": [
{
"symbol": "AAPL",
"name": "Apple Inc",
"exchange": "NASDAQ",
"asset_type": "Stock",
"currency": "USD",
"current_price": 195.5,
"change_percent": 1.23,
"price_updated_at": "2026-10-14T13:45:00Z",
"signals": {
"daily_action": "BUY",
"weekly_action": "HOLD",
"confidence_level": "HIGH",
"target_price": "198.4",
"stop_loss": "191.2",
"personalized_signal": "HOLD",
"personalized_signal_reason": "...",
"personalized_signal_at": "2026-10-14T06:30:00Z"
},
"forecasts": { "j1": { "...": "..." }, "j7": { "...": "..." }, "updated_at": "2026-10-14T05:40:00Z" },
"analysis_updated_at": "2026-10-14T06:12:00Z",
"shares": 10.0,
"avg_purchase_price": 150.0,
"market_value": 1955.0,
"cost_basis": 1500.0,
"unrealized_pnl": 455.0,
"unrealized_pnl_percent": 30.33
}
],
"watchlist": [
{
"symbol": "AI.PA",
"name": "Air Liquide",
"currency": "EUR",
"current_price": 172.4,
"signals": { "...": "..." },
"added_at": "2026-09-02T08:10:00Z",
"price_when_added": 165.0,
"change_since_added_percent": 4.48
}
],
"generated_at": "2026-10-14T09:30:12Z"
},
"meta": { "...": "..." }
}GET /users Enterprise
Members of your company, with their holdings and watchlist counts and a link to their portfolio. Scope portfolios.
{
"success": true,
"data": [
{
"id": 123,
"email": "trader@company.com",
"first_name": "Alex",
"last_name": "Martin",
"holdings_count": 8,
"watchlist_count": 3,
"links": { "portfolio": "/api/business/v1/users/123/portfolio" },
"created_at": "2026-03-02T10:00:00Z"
}
],
"meta": { "...": "..." }
}GET /users/:user_id/portfolio Enterprise
A member's portfolio, same shape as GET /portfolio. GET /portfolio?user_id=123 is equivalent. A user outside your company answers 404 user_not_found.
GET /opportunities Pro
AI-detected opportunities: yours with a personal key, your members' with a company token.
| Parameter | Type | Description |
|---|---|---|
user_id | integer | Company only: one member |
sector | string | Filter by sector |
recommendation | string | BUY, SELL or HOLD |
min_confidence | integer | Minimum confidence, 1 to 10 |
limit | integer | 1 to 50, default 50 |
{
"success": true,
"data": [
{
"id": 9812,
"symbol": "NVDA",
"name": "NVIDIA Corp",
"current_price": "131.2",
"target_price": "148.0",
"potential_return": "12.8",
"recommendation": "BUY",
"reason": "...",
"confidence": 8,
"confidence_level": "High",
"sector": "Technology",
"location": "US",
"user_id": 4821,
"status": "active",
"performance": { "price_at_check": null, "price_checked_at": null, "actual_return": null, "hit_target": false },
"created_at": "2026-10-13T07:00:00Z"
}
],
"meta": { "...": "..." }
}GET /sentiment/latest Pro
Latest market sentiment: overall mood, Fear & Greed, VIX, key topics, trending stocks, commodities, alerts, notable events and sectors. Accepts lang.
{
"success": true,
"data": {
"analysis_date": "2026-10-14",
"overall_sentiment": "bullish",
"market_mood": "optimistic",
"importance_level": "high",
"summary": "...",
"fear_greed": { "value": 64, "label": "Greed" },
"vix": { "value": 14.2, "change_percent": -3.5 },
"key_topics": ["..."],
"trending_stocks": ["..."],
"commodities": ["..."],
"market_alerts": ["..."],
"notable_events": ["..."],
"sector_analysis": ["..."]
},
"meta": { "...": "..." }
}GET /sentiment/history Pro
The last N daily sentiment reports, newest first, same shape as /sentiment/latest.
| Parameter | Type | Default | Description |
|---|---|---|---|
days | integer | 7 | 1 to 7 on Pro, 1 to 30 on MAX and Enterprise |
lang | string | en | en or fr |
GET /geopolitical/summary Pro
Compact geopolitical risk: DEFCON-style level, threat level, top 3 risks and executive summary. Accepts lang.
{
"success": true,
"data": {
"analysis_date": "2026-10-14",
"defcon": { "level": 4, "status": "ELEVATED", "emoji": "..." },
"threat_level": { "level": "ELEVATED", "...": "..." },
"top_risks": [ { "...": "..." }, { "...": "..." }, { "...": "..." } ],
"executive_summary": "..."
},
"meta": { "...": "..." }
}GET /geopolitical/current MAX
The full geopolitical report. Accepts lang. It includes:
defcon: level (1–5), name, status, colorthreat_level,risk_sentiment,executive_summaryhotspots,bilateral_tensions,key_events,risk_matrixmarket_implications: sectors at risk and benefiting, commodities and currency impact, recommendationsprediction_markets,diplomatic_calendar,intelligence_notes
GET /pre-market/events Pro
Today's pre-market events: earnings, dividends, corporate actions and price-moving news, with their expected impact.
| Parameter | Type | Description |
|---|---|---|
market | string | us or eu |
{
"success": true,
"data": [
{
"id": 5531,
"event_type": "earnings",
"headline": "...",
"details": "...",
"expected_impact_percent": 2.5,
"sentiment": "positive",
"source": "...",
"market": "us",
"sector_impact": "...",
"publication_date": "2026-10-14",
"created_at": "2026-10-14T11:05:00Z"
}
],
"meta": { "...": "..." }
}GET /pre-market/macro-events MAX
Market-relevant macro events of the last 7 days (central banks, employment, inflation, GDP, conflicts), most severe first, up to 20: category, severity, sentiment, title, description, market expectation, positive and negative effects, affected sectors and regions. Accepts lang.
GET /prediction-markets Pro
Active prediction market events from Polymarket, Kalshi and other platforms, by volume, with their main probability (0–100).
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category |
limit | integer | 1 to 50, default 20 |
{
"success": true,
"data": [
{
"id": 812,
"title": "...",
"category": "economics",
"status": "active",
"source": "polymarket",
"featured": true,
"volume": 1250000.0,
"liquidity": 84000.0,
"markets_count": 4,
"main_probability": 62.0,
"end_date": "2026-12-31T00:00:00Z",
"source_url": "...",
"image_url": "...",
"created_at": "2026-09-20T12:00:00Z"
}
],
"meta": { "...": "..." }
}GET /prediction-markets/:id MAX
One event with its description and every active market: question, current probability, volume, liquidity, open interest, end date and, when the market is listed on two platforms, the other platform's probability.
GET /predictions Enterprise
Signals and price targets for every stock held by your company's members, ready for a trading bot. Scope predictions.
{
"success": true,
"data": {
"company_id": 1,
"users_count": 5,
"total_predictions": 25,
"generated_at": "2026-10-14T09:30:12Z",
"predictions": [
{
"user_id": 123,
"stock": {
"symbol": "AAPL",
"name": "Apple Inc",
"exchange": "NASDAQ",
"asset_type": "Stock",
"current_price": "195.5",
"price_currency": "USD",
"last_updated": "2026-10-14T13:45:00Z"
},
"position": { "shares": "100.0", "avg_purchase_price": "150.0", "current_value": "19550.0" },
"signals": {
"daily_action": "BUY",
"weekly_action": "HOLD",
"personalized_signal": "HOLD",
"confidence_level": "HIGH",
"weekly_confidence_level": "MEDIUM"
},
"forecasts": {
"est_close": { "price": "198.4", "change_percent": "1.48", "confidence": "HIGH" },
"j7": { "price": "201.0", "change_percent": "2.81", "confidence": "MEDIUM" }
}
}
]
},
"meta": { "...": "..." }
}GET /predictions/summary Enterprise
Company-wide overview: unique stocks tracked, count of daily signals by action, and the strongest buy and sell signals.
{
"success": true,
"data": {
"company_id": 1,
"users_count": 5,
"unique_stocks_tracked": 25,
"generated_at": "2026-10-14T09:30:12Z",
"aggregated_signals": { "buy": 8, "sell": 3, "hold": 10, "wait": 4 },
"top_buy_signals": [ { "symbol": "NVDA", "name": "NVIDIA Corp", "current_price": "131.2", "confidence": "HIGH" } ],
"top_sell_signals": [ { "symbol": "META", "name": "Meta Platforms", "current_price": "571.0", "confidence": "MEDIUM" } ]
},
"meta": { "...": "..." }
}GET /predictions/:user_id Enterprise
The same predictions for one member: { user_id, predictions_count, generated_at, predictions }. A user outside your company answers 404 user_not_found.
Legacy endpoints
The original /api/business/predictions, /api/business/predictions/summary and /api/business/predictions/:id still answer for existing integrations, with a top-level timestamp and rate_limit instead of meta. New integrations should use the /v1 endpoints above.
Webhooks Enterprise
Receive events on your server instead of polling. Each delivery is a POST with a JSON body and these headers:
| Header | Value |
|---|---|
X-Northvane-Event | Event name, e.g. job.completed |
X-Northvane-Signature | sha256= followed by the HMAC-SHA256 of the raw body with your webhook secret, in hex |
X-Northvane-Delivery | Unique delivery id (UUID), useful to deduplicate |
Events
| Event | Sent when | Body |
|---|---|---|
sentiment.updated | A new daily sentiment report is ready | { analysis_date, overall_sentiment, market_mood, fear_greed } |
geopolitical.updated | A new geopolitical report is ready | { defcon_level, threat_level, analysis_date, hotspots_count } |
opportunity.new | An opportunity is detected for one of your members | { user_id, symbol, name, recommendation, confidence, sector, target_price, current_price } |
job.completed | A refresh job you started or joined finishes | { event, timestamp, data: { id, type, status, error, symbol, finished_at } } |
The former names geopolitical.alert and opportunity.created are still accepted when you subscribe, and are mapped to geopolitical.updated and opportunity.new.
{
"event": "job.completed",
"timestamp": "2026-10-14T09:32:04Z",
"data": {
"idempotency_key": "idem_3f9c2a7e1b4d4c0f8e6a5b2d9c1e7f30",
"type": "analysis",
"status": "succeeded",
"error": null,
"symbol": "AAPL",
"finished_at": "2026-10-14T09:32:04Z",
"expires_at": "2026-10-16T09:32:01Z"
}
}Verify the signature
Compute the HMAC on the raw request body, before any JSON parsing, and compare in constant time.
import hashlib
import hmac
from flask import Flask, abort, request
app = Flask(__name__)
WEBHOOK_SECRET = "your_webhook_secret"
@app.post("/webhooks/northvane")
def northvane_webhook():
raw = request.get_data() # raw bytes, exactly as sent
expected = "sha256=" + hmac.new(WEBHOOK_SECRET.encode(), raw, hashlib.sha256).hexdigest()
if not hmac.compare_digest(expected, request.headers.get("X-Northvane-Signature", "")):
abort(401)
event = request.headers["X-Northvane-Event"]
payload = request.get_json()
# ... handle the event, ideally in a background job
return "", 204import crypto from "node:crypto";
import express from "express";
const app = express();
app.post("/webhooks/northvane", express.raw({ type: "application/json" }), (req, res) => {
const expected = "sha256=" + crypto
.createHmac("sha256", process.env.NORTHVANE_WEBHOOK_SECRET)
.update(req.body)
.digest("hex");
const received = req.get("X-Northvane-Signature") || "";
const valid = received.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected));
if (!valid) return res.sendStatus(401);
const event = req.get("X-Northvane-Event");
const payload = JSON.parse(req.body);
// ... handle the event
res.sendStatus(204);
});Answer with a 2xx within 10 seconds. Failed deliveries are retried with exponential backoff (about 30 s, 2 min, 8 min, 32 min and 2 h); after 5 consecutive failures the webhook is deactivated.
GET /webhooks Enterprise
Your company's webhooks: id, url, events, active, secret, failure_count, created_at, updated_at.
POST /webhooks Enterprise
Create a webhook. Its signing secret is generated for you and returned in the response.
{
"url": "https://yourapp.com/webhooks/northvane",
"events": ["sentiment.updated", "geopolitical.updated", "opportunity.new", "job.completed"]
}An unknown event or an invalid URL answers 422.
DELETE /webhooks/:id Enterprise
Delete a webhook. Answers { "deleted": true }.
POST /webhooks/:id/test Enterprise
Queue a signed test delivery (event test) to check your endpoint and your signature verification. Body: { "event": "test", "timestamp": "…", "data": { "message": "…", "company_id": 1 } }.
Widgets Enterprise
Embed Northvane intelligence in your website without backend work: include the SDK and add HTML attributes. Widgets render in an iframe, in light or dark theme, in English or French.
Include the SDK
<script src="https://www.northvane.app/sdk/northvane-widgets.js"></script>Add widgets
<!-- Market sentiment -->
<div data-northvane-widget="sentiment"
data-northvane-token="your_client_id"
data-northvane-theme="dark"
data-northvane-lang="en"></div>
<!-- Stock signal (also: stock_analysis) -->
<div data-northvane-widget="stock_signal"
data-northvane-token="your_client_id"
data-northvane-symbol="AAPL"
data-northvane-theme="light"></div>
<!-- Geopolitical risk -->
<div data-northvane-widget="geopolitical"
data-northvane-token="your_client_id"></div>
<!-- A member's opportunities (also: portfolio): requires a user token -->
<div data-northvane-widget="opportunities"
data-northvane-token="your_client_id"
data-northvane-user-token="123:1792000000:signature"></div>User tokens (server-side)
The opportunities and portfolio widgets show one member's data, so they need a user_token signed with your client_secret on your server. Use the expiring form user_id:expires_at:signature, where expires_at is a Unix timestamp in seconds and signature = HMAC-SHA256(client_secret, "user_id:expires_at") in hex: a leaked token stops working once it expires. The older user_id:signature form (HMAC of user_id alone, no expiry) is still accepted.
import hashlib
import hmac
import time
def widget_user_token(user_id, client_secret, ttl_seconds=3600):
expires_at = int(time.time()) + ttl_seconds
message = f"{user_id}:{expires_at}"
signature = hmac.new(client_secret.encode(), message.encode(), hashlib.sha256).hexdigest()
return f"{message}:{signature}"import crypto from "node:crypto";
function widgetUserToken(userId, clientSecret, ttlSeconds = 3600) {
const expiresAt = Math.floor(Date.now() / 1000) + ttlSeconds;
const message = `${userId}:${expiresAt}`;
const signature = crypto.createHmac("sha256", clientSecret).update(message).digest("hex");
return `${message}:${signature}`;
}Allowed domains
Widgets only render on the domains listed in your company's allowed_domains and on their subdomains: yourapp.com also allows app.yourapp.com, but never yourapp.com.example.net. Manage the list in your company settings.
Sandbox Enterprise
Build and test your integration without touching production. Generate sandbox credentials and a sandbox token (valid one month) in your company settings, then use the token exactly like a production one.
- Every response carries
"sandbox": trueinmeta, and sandbox usage is tracked separately. - Market-wide feeds such as sentiment and geopolitical risk return sample data.
- Refresh requests never start a real job: they answer
202with"outcome": "simulated"and"job": null.
{
"success": true,
"data": {
"outcome": "simulated",
"symbol": "AAPL",
"type": "analysis",
"job": null,
"message": "Sandbox mode: no refresh job is started. Use production credentials to refresh data."
},
"meta": { "sandbox": true, "...": "..." }
}Code examples
cURL
BASE=https://www.northvane.app/api/business/v1
AUTH="Authorization: Bearer $NORTHVANE_API_KEY"
# Plan, limits and refresh quota
curl -s "$BASE/me" -H "$AUTH" | jq '.data.refresh_quota'
# Daily signal of one stock
curl -s "$BASE/stocks/AAPL/analysis" -H "$AUTH" | jq '.data.daily.action'
# Several stocks at once
curl -s "$BASE/stocks/batch?symbols=AAPL,MSFT,AI.PA" -H "$AUTH"
# Your portfolio
curl -s "$BASE/portfolio" -H "$AUTH" | jq '.data.totals_by_currency'
# Company token instead of a personal key
TOKEN=$(curl -s -X POST https://www.northvane.app/api/business/auth/token \
-H "Content-Type: application/json" \
-d '{"client_id":"company_abc123...","client_secret":"your_secret..."}' | jq -r '.token')
curl -s "$BASE/users" -H "Authorization: Bearer $TOKEN"Python
import os
import requests
BASE_URL = "https://www.northvane.app/api/business/v1"
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['NORTHVANE_API_KEY']}"
me = session.get(f"{BASE_URL}/me", timeout=30).json()["data"]
print(me["plan"], me["refresh_quota"]["remaining"], "refreshes left today")
batch = session.get(f"{BASE_URL}/stocks/batch", params={"symbols": "AAPL,MSFT,AI.PA"}, timeout=30).json()
for stock in batch["data"]:
print(stock["symbol"], stock["daily_action"], stock["target_price"])
portfolio = session.get(f"{BASE_URL}/portfolio", timeout=30).json()["data"]
for currency, totals in portfolio["totals_by_currency"].items():
print(currency, totals["market_value"], f"{totals['unrealized_pnl_percent']}%")JavaScript
const BASE_URL = "https://www.northvane.app/api/business/v1";
const headers = { Authorization: `Bearer ${process.env.NORTHVANE_API_KEY}` };
async function get(path) {
const res = await fetch(`${BASE_URL}${path}`, { headers });
if (res.status === 429) {
const wait = Number(res.headers.get("Retry-After") || 1);
await new Promise((resolve) => setTimeout(resolve, wait * 1000));
return get(path);
}
const body = await res.json();
if (!body.success) throw new Error(`${body.code}: ${body.error}`);
return body.data;
}
const sentiment = await get("/sentiment/latest");
console.log("Fear & Greed:", sentiment.fear_greed.value);
const stocks = await get("/stocks/batch?symbols=AAPL,MSFT,NVDA");
stocks.forEach((s) => console.log(s.symbol, s.daily_action, s.confidence_level));FAQ
Does Northvane have an API?
Yes. The Northvane API is a REST API that returns JSON at https://www.northvane.app/api/business/v1. It exposes stock prices, daily and weekly AI signals, J+1 and J+7 forecasts, AI analysis, market sentiment, geopolitical risk, pre-market events, prediction markets and your portfolio. The documentation is at https://www.northvane.app/api-docs and the OpenAPI 3 specification at https://www.northvane.app/api/v1/openapi.json.
Which Northvane plan includes API access?
API access is included from the Pro plan (€14/month, or €11/month billed yearly): create a personal API key at https://www.northvane.app/account/api. MAX (€29/month, or €23/month billed yearly) adds fundamentals, AI scores, the trade plan, the medium-term view, the model breakdown, the full geopolitical report, macro events and prediction market detail. Companies use Enterprise access, which adds member portfolios, predictions, webhooks, widgets and a sandbox.
What are the Northvane API rate limits?
Pro and MAX keys allow 15 requests per minute and 100 per hour (sliding windows), counted per account and shared by all its keys; calls refused by the rate limiter itself do not count. Refresh jobs are limited to 10 per day on Pro and 30 on MAX. Enterprise limits are set in the contract. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
How do I refresh data without wasting API calls?
Call POST /stocks/{symbol}/refresh: the server returns the stock's idempotency key, the same for every client and valid 48 hours after the analysis. Read the result with GET /jobs/{idempotency_key}. While the key is valid, asking again returns the same key and starts nothing, so only a genuinely new analysis uses your daily quota.
Is there a sandbox for the Northvane API?
Yes, for Enterprise clients. Sandbox credentials and tokens are available in the company settings. Responses carry meta.sandbox: true, market feeds return sample data and refresh requests are simulated: no real job is ever started.
Does the Northvane API support webhooks?
Yes, for Enterprise clients: sentiment.updated, geopolitical.updated, opportunity.new and job.completed. Every delivery is signed with HMAC-SHA256 in the X-Northvane-Signature header.
Can I use the Northvane API from Python or JavaScript?
Yes. Any HTTP client works: send your key in the Authorization: Bearer header. The documentation has curl, Python (requests) and JavaScript (fetch) examples for the main flows.
Start building
On Pro or MAX, your API key is one click away. For company-wide access, webhooks and widgets, talk to us.
