FMP Tools Documentation
FMP Tools Documentation
AI tools for Financial Modeling Prep (FMP) Node API - compatible with Vercel AI SDK, OpenAI Agents, and more.
Overview
FMP Tools provides pre-built AI tools that integrate financial data into your AI applications. Choose your preferred AI framework and get started with real-time financial data in minutes.
Choose Your AI Framework
🚀 Vercel AI SDK (Recommended)
The most popular choice for building AI applications with React and Next.js.
Best for:
- React/Next.js applications
- Streaming responses
- Type-safe tool integration
- Modern web development
Get Started with Vercel AI SDK →
🤖 OpenAI Agents
Perfect for building autonomous AI agents with OpenAI's latest framework.
Best for:
- Autonomous AI agents
- Complex multi-step workflows
- OpenAI ecosystem integration
- Agent-based applications
Get Started with OpenAI Agents →
What You Get
📊 Comprehensive Financial Data
Access to comprehensive financial tools covering:
- Real-time quotes and market data
- Financial statements (balance sheet, income statement, cash flow)
- Key metrics and ratios for financial analysis
- Market performance and sector analysis
- Economic indicators and treasury rates
- ETF holdings and profiles
- Earnings calendars and economic events
- Congressional trading activity and RSS feeds
- Institutional holdings and insider trading
- Stock-specific data (market cap, splits, dividends)
- Company information (profiles, executive compensation, shares float)
🛠️ Easy Integration
- Type-safe interfaces - No need to check FMP documentation
- Pre-built tools - Ready to use with your AI framework
- Flexible selection - Use all tools or pick specific categories
- Error handling - Built-in validation and error management
🔧 Developer Experience
- Zero configuration - Works out of the box
- Comprehensive logging - Debug API calls and responses
- Flexible imports - Import all tools, categories, or individual tools
- Framework agnostic - Works with multiple AI frameworks
Quick Setup
1. Install the Package
2. Get Your API Key
Sign up at Financial Modeling Prep to get your free API key. For extended usage, this link provides a 10% discount on paid plans.
3. Set Environment Variables
4. Choose Your Framework
For Vercel AI SDK:
For OpenAI Agents:
⚠️ Version Requirements:
@openai/agents
: Must be exactly 0.1.0 or 0.1.1zod
: Must be ^3.25.76
Example Use Cases
Financial Analysis Assistant
Create an AI assistant that can analyze stocks, provide financial insights, and answer market questions.
Market Research Bot
Build a bot that tracks market performance, identifies trends, and provides real-time market updates.
Investment Research Tool
Develop a tool that researches companies, analyzes financial statements, and provides investment recommendations.
Economic Data Dashboard
Create an application that monitors economic indicators, treasury rates, and provides economic insights.
Tool Categories
Our tools are organized into logical categories for easy selection:
- Quote Tools - Real-time stock quotes and price data
- Company Tools - Company profiles, executive compensation, and shares float
- Financial Tools - Financial statements, ratios, and growth analysis
- Market Tools - Market performance and trading data
- Economic Tools - Economic indicators and treasury rates
- ETF Tools - ETF profiles and holdings
- Calendar Tools - Earnings and economic calendars
- Congressional Tools - Senate and House trading data with RSS feeds
- Institutional Tools - Institutional holdings
- Insider Tools - Insider trading data
- Stock Tools - Market cap, splits, and dividend history
Next Steps
- Choose your AI framework - Vercel AI SDK or OpenAI Agents
- Explore tool categories - See all available tools
- Check out examples - See practical implementations
- Learn best practices - Build robust applications
- Handle errors gracefully - Comprehensive error management
Need Direct API Access?
If you need more control or want to build custom integrations, use the fmp-node-api
package for direct API access:
Support
- GitHub Repository - Source code and issues
- Financial Modeling Prep - Get free API key (10% discount on paid plans)
- FMP API Documentation - API documentation
- Vercel AI SDK - AI SDK documentation
- OpenAI Agents - OpenAI Agents documentation
Getting Started
Tool Reference
Advanced
FMP Tools Documentation
AI tools for Financial Modeling Prep (FMP) Node API - compatible with Vercel AI SDK, OpenAI Agents, and more.
Overview
FMP Tools provides pre-built AI tools that integrate financial data into your AI applications. Choose your preferred AI framework and get started with real-time financial data in minutes.
Choose Your AI Framework
🚀 Vercel AI SDK (Recommended)
The most popular choice for building AI applications with React and Next.js.
Best for:
- React/Next.js applications
- Streaming responses
- Type-safe tool integration
- Modern web development
Get Started with Vercel AI SDK →
🤖 OpenAI Agents
Perfect for building autonomous AI agents with OpenAI's latest framework.
Best for:
- Autonomous AI agents
- Complex multi-step workflows
- OpenAI ecosystem integration
- Agent-based applications
Get Started with OpenAI Agents →
What You Get
📊 Comprehensive Financial Data
Access to comprehensive financial tools covering:
- Real-time quotes and market data
- Financial statements (balance sheet, income statement, cash flow)
- Key metrics and ratios for financial analysis
- Market performance and sector analysis
- Economic indicators and treasury rates
- ETF holdings and profiles
- Earnings calendars and economic events
- Congressional trading activity and RSS feeds
- Institutional holdings and insider trading
- Stock-specific data (market cap, splits, dividends)
- Company information (profiles, executive compensation, shares float)
🛠️ Easy Integration
- Type-safe interfaces - No need to check FMP documentation
- Pre-built tools - Ready to use with your AI framework
- Flexible selection - Use all tools or pick specific categories
- Error handling - Built-in validation and error management
🔧 Developer Experience
- Zero configuration - Works out of the box
- Comprehensive logging - Debug API calls and responses
- Flexible imports - Import all tools, categories, or individual tools
- Framework agnostic - Works with multiple AI frameworks
Quick Setup
1. Install the Package
2. Get Your API Key
Sign up at Financial Modeling Prep to get your free API key. For extended usage, this link provides a 10% discount on paid plans.
3. Set Environment Variables
4. Choose Your Framework
For Vercel AI SDK:
For OpenAI Agents:
⚠️ Version Requirements:
@openai/agents
: Must be exactly 0.1.0 or 0.1.1zod
: Must be ^3.25.76
Example Use Cases
Financial Analysis Assistant
Create an AI assistant that can analyze stocks, provide financial insights, and answer market questions.
Market Research Bot
Build a bot that tracks market performance, identifies trends, and provides real-time market updates.
Investment Research Tool
Develop a tool that researches companies, analyzes financial statements, and provides investment recommendations.
Economic Data Dashboard
Create an application that monitors economic indicators, treasury rates, and provides economic insights.
Tool Categories
Our tools are organized into logical categories for easy selection:
- Quote Tools - Real-time stock quotes and price data
- Company Tools - Company profiles, executive compensation, and shares float
- Financial Tools - Financial statements, ratios, and growth analysis
- Market Tools - Market performance and trading data
- Economic Tools - Economic indicators and treasury rates
- ETF Tools - ETF profiles and holdings
- Calendar Tools - Earnings and economic calendars
- Congressional Tools - Senate and House trading data with RSS feeds
- Institutional Tools - Institutional holdings
- Insider Tools - Insider trading data
- Stock Tools - Market cap, splits, and dividend history
Next Steps
- Choose your AI framework - Vercel AI SDK or OpenAI Agents
- Explore tool categories - See all available tools
- Check out examples - See practical implementations
- Learn best practices - Build robust applications
- Handle errors gracefully - Comprehensive error management
Need Direct API Access?
If you need more control or want to build custom integrations, use the fmp-node-api
package for direct API access:
Support
- GitHub Repository - Source code and issues
- Financial Modeling Prep - Get free API key (10% discount on paid plans)
- FMP API Documentation - API documentation
- Vercel AI SDK - AI SDK documentation
- OpenAI Agents - OpenAI Agents documentation