Public API
External API for accessing financial data, stock prices, news, and research reports.
All Public API endpoints require authentication via API key.
Getting an API Key
Navigate to Settings > API Keys
Create a new API key with the required scopes
Save the key securely (it's only shown once)
Using the API Key
Include your API key in the X-API-Key header:
curl -H "X-API-Key: ak_your_api_key_here" \
https://api.alpha-lenz.com/api/public/v1/financial/companies
Available Scopes
Full read access to all APIs
Access to financial data APIs
Access to stock price APIs
Default rate limits: 1,000 requests per hour
Custom rate limits can be configured per API key.
Basic Financial API (Twelve Data-style)
Simple and intuitive financial data access:
GET /api/v1/financial-v4/time-series - Historical OHLCV price data
GET /api/v1/financial-v4/profile - Company profile and information
GET /api/v1/financial-v4/fundamentals - Financial ratios and metrics
Note: Basic Financial API supports optional authentication (trial mode available)
GET /financial/companies - List companies
GET /financial/companies/{symbol} - Get company details
GET /financial/companies/{symbol}/financials - Get financial statements
GET /stock/prices/{symbol} - Get current prices
GET /stock/prices/{symbol}/history - Get historical prices
GET /news/articles - List news articles
GET /news/articles/{id} - Get article details
GET /news/articles/{id}/content - Get full content
Error Responses
All errors follow this format:
Common Status Codes
Invalid or missing API key