factorweave API

Auth-gated REST API for factor / similarity / label data. Authenticate with POST /api/auth/login to get a JWT, then send Authorization: Bearer <token> on every auth-marked endpoint.

📚 The full guides — Getting Started, MCP setup, Vector Methods explained, Tier limits — live at factorweave.com/#docs. This page is the raw endpoint index for tooling. Append ?format=json or send Accept: application/json to get the JSON form.
methodpathauthpurpose
GET/api/healthpublicliveness check
GET/api/statuspublichealth + bundle freshness + DB reachability (returns 503 when degraded — designed for uptime monitors)
GET/api/manifestpublicstatic-bundle metadata (latest_date, ticker_count)
GET/api/configpublicruntime feature flags (paid tiers on/off, etc)
GET/api/docspublicthis endpoint
GET/api/openapi.jsonpublicOpenAPI 3.0 spec — typed schema for LangChain / OpenAI / Anthropic / ChatGPT Actions / autogenerated SDKs
GET/api/docs/swaggerpublicSwagger UI explorer for the API spec
GET/api/demo/{ticker}publicno-auth taste: one ticker, curated factors + 8 cosine look-alikes (powers /explore.html)
GET/api/demo/market-contextpublicno-auth market-regime snapshot: today's SPY-vol regime + VIX/DXY + VX term structure (powers the public Explorer banner)
POST/api/auth/registerpubliccreate an account (gated by ENABLE_REGISTRATION + invite_code)
POST/api/auth/loginpublicexchange email+password for a JWT
POST/api/billing/webhookpublicStripe webhook (signature-validated)
GET/api/auth/meauthcurrent user profile + tier + daily usage
GET/api/features/{ticker}authfeature row(s). Stock/ETF = FREE+; futures (VX, ES, NQ, CL, GC, ZN, …) = PRO+; intraday-derived columns (overnight_ret, intraday_ret, opening-range, VWAP deviation, intraday_rv, late_drift) auto-included for PRO+. No date args = latest. ?date= or ?start_date=&end_date= = historical (last 252 trading days).
GET/api/top?factor=mom&n=25authtop-N by factor (mom, meanrev, comp_score, ...)
GET/api/market-contextauthwhole-universe derived analytics — dispersion, breadth, regime odds + cross-asset (DXY/VIX/VVIX/VIX9D/TNX/XAU/VX z20). FREE = today only; HOBBY+ = 252-day history
GET/api/vx-term-structureHOBBY+VIX futures contango/backwardation: (VX_continuous − VIX) / VIX + 252-day history
GET/api/report-card/{ticker}HOBBY+derived per-ticker digest — snapshot, percentile ranks, risk cluster, regime, unusualness
GET/api/risk-cluster/{ticker}PRO+risk regime a ticker's factor analogues landed in — calm / normal / stressed
GET/api/embedding/{ticker}QUANTthe 32-D regime-aware factor-state embedding vector
GET/api/csv/features?ticker=AAPLauthCSV export
GET/api/vector-search/similar/{ticker}authprecomputed top-K cosine lookalikes
GET/api/labels/{ticker}auth+forward-return labels (PRO+)
GET/api/alerts/rulesauthlist user alert rules
POST/api/alerts/rulesauthcreate alert rule
DELETE/api/alerts/rules/{id}authdelete alert rule
POST/api/push/subscribeauthstore a browser PushSubscription (PWA install + browser alerts)
POST/api/push/unsubscribeauthdrop a stored PushSubscription
POST/api/billing/create-checkoutauthStripe checkout URL for tier upgrade
POST/api/billing/create-portalauthStripe billing portal URL
GET/api/usageauthtoday + month-to-date usage stats
GET/api/recent-activityauthlast 50 API calls by this user
GET/api/me/keysauthlist dev API keys
POST/api/me/keysauthmint a new dev API key (shown once)
DELETE/api/me/keys/{id}authrevoke a dev API key
GET/api/admin/statsadminaggregate dashboard: total users, paid users, calls today/this month, top users
GET/api/admin/recent-activityadminglobal activity feed (last 100 calls across all users)
GET/api/admin/usersadminlist users with daily / monthly usage
POST/api/admin/usersadmincreate a user (bypasses registration gate)
PATCH/api/admin/users/{id}adminchange tier / is_admin / status
GET/api/admin/invitesadminlist outstanding invite codes
POST/api/admin/invitesadminmint invite codes