[DEVELOPERS]
LOPJLB API for developers & AI agents
Programmatic access to quantitative U.S. equity research: market regime, screener data, ticker detail, and signal metrics. Public endpoints require no authentication.
Quick links
- openapi.json — Machine-readable API spec
- llms.txt — Agent navigation index
- api/llms.txt — Endpoint reference
- /.well-known/agent.json — Agent discovery
- pricing.md — Tier limits
Base URL
https://www.lopjlb.com/bff/api/All requests go through the BFF proxy on the web origin. Do not call api.lopjlb.com directly — it requires an internal key.
Public quickstart (no auth)
# Current market regime (HMM) curl -s https://www.lopjlb.com/bff/api/hmm/latest # Search tickers curl -s 'https://www.lopjlb.com/bff/api/bigfive/search?q=AAPL' # Screener preview (top-ranked subset) curl -s https://www.lopjlb.com/bff/api/bigfive/universe-preview # Market pulse (breadth, sectors, regime) curl -s https://www.lopjlb.com/bff/api/market-pulse # Ticker detail (freemium — signals, fundamentals, backtest) curl -s https://www.lopjlb.com/bff/api/bigfive/detail/AAPL
Authentication tiers
| Tier | Scope | How |
|---|---|---|
| public | Regime, search, preview, market pulse | No credentials |
| freemium | Ticker detail, fundamentals, ETF holdings | No credentials (range clamped on sparklines) |
| pro | Full universe, peers, SD50 allocation, chat | WorkOS session + pro entitlement |
| enterprise | API keys, MCP server, webhooks, bulk export | Contact contact@lopjlb.com |
Auth for AI agents (browser session)
Pro endpoints require a WorkOS AuthKit session cookie obtained by signing up at /signup. Agents running in a browser context can use the session cookie after user login. Programmatic API keys for headless agents are available on Enterprise tier.
- Create an account at /signup (email, Google, or Apple)
- Subscribe to Pro at /pricing (7-day free trial)
- Pass the WorkOS session cookie on BFF requests
Webhooks
Pro and Enterprise users can configure outbound webhooks for signal alerts (Slack, Discord, custom URL). See the platform docs for setup instructions.
Enterprise: API keys & MCP
REST API keys and an MCP server for LLM agents are in active development for Enterprise tier. Email contact@lopjlb.com for early access. See MCP server card.
Rate limits
Public endpoints: 120 requests/minute and 10,000 requests/day per IP. Enterprise tiers include higher limits suitable for trading desks.
Repository
See AGENTS.md in the LOPJLB repository for coding-agent instructions when integrating with this codebase.