Lambda Finance

Developer Resources

API Documentation

Integrate Lambda Finance data directly into your applications via REST APIs, or use Claude Desktop and Claude Code with our MCP server for AI-powered financial analysis.

Quick Start

1

Get Your API Key

Sign in and generate an API key from your dashboard.

2

Configure Your Client

Add the Lambda Finance MCP server to your Claude configuration.

3

Start Querying

Ask Claude about stocks, earnings, news, and financial data.

Claude Desktop Configuration
{
  "mcpServers": {
    "lambda-finance": {
      "type": "streamable-http",
      "url": "https://www.lambdafin.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Available Endpoints

10 powerful tools for financial data analysis. Click "View Example" to see request and response formats.

All (10)Query (5)Analysis (2)Utility (2)Screening (1)
get_metrics Query

Get financial metrics for up to 5 stock symbols including price, P/E ratio, EPS, market cap, and more.

Parameters

NameTypeRequiredDescription
symbolsList[str] Yes Stock tickers (max 5)
get_earnings_call Query

Retrieve earnings call transcripts for a specific company and quarter.

Parameters

NameTypeRequiredDescription
symbolstr Yes Stock ticker symbol
yearint Yes Fiscal year
quarterint Yes Fiscal quarter (1-4)
get_news Query

Fetch recent news articles for a specific ticker or date range.

Parameters

NameTypeRequiredDescription
symbolstr No Stock ticker symbol
from_datestr No Start date (YYYY-MM-DD)
to_datestr No End date (YYYY-MM-DD)
limitint No Max articles to return (default: 10)
get_financial_statement Query

Retrieve income statement, balance sheet, or cash flow statement data.

Parameters

NameTypeRequiredDescription
symbolstr Yes Stock ticker symbol
statement_typesList[str] Yes Types: income, balance, cashflow
yearint No Specific fiscal year
periodstr No annual or quarterly
search_news Query

Search news articles by keyword or topic across all sources.

Parameters

NameTypeRequiredDescription
querystr Yes Search keywords or phrase
from_datestr No Start date (YYYY-MM-DD)
limitint No Max articles to return (default: 20)
get_vertical_analysis Analysis

Perform common-size financial analysis, expressing line items as percentages.

Parameters

NameTypeRequiredDescription
symbolstr Yes Stock ticker symbol
statement_typestr Yes income, balance, or cashflow
yearsint No Number of years to analyze (default: 3)
make_graph Analysis

Generate time-series chart data for visualization purposes.

Parameters

NameTypeRequiredDescription
symbolstr Yes Stock ticker symbol
metricsList[str] Yes Metrics to chart (e.g., revenue, netIncome)
periodstr No annual or quarterly
yearsint No Number of years of data
get_statement_variables Utility

List all available metrics and variables for financial statements.

Parameters

NameTypeRequiredDescription
statement_typestr No Filter by statement type
screen_stocks Screening

Filter and screen stocks based on multiple financial criteria.

Parameters

NameTypeRequiredDescription
filtersDict Yes Filter criteria (e.g., marketCap, peRatio)
sort_bystr No Field to sort results by
limitint No Max results to return (default: 50)
get_screening_fields Utility

List all available fields that can be used for stock screening.

Authentication

All API requests require authentication via an API key. Include your key in the X-API-Key header with each request.

curl -X POST https://www.lambdafin.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"method": "get_metrics", "params": {"symbols": ["AAPL"]}}'