FMP Node API Documentation
Quote Endpoints
The Quote Endpoints provide unified access to real-time quotes, historical data, and intraday data for all asset types including stocks, cryptocurrencies, forex pairs, commodities, and ETFs. This unified approach simplifies your code by using the same methods regardless of asset type.
Available Methods
Method | Endpoint | Description |
---|---|---|
GET | /quote/{symbol} | Get real-time quote for any asset type |
GET | /quote/{symbol1},{symbol2},... | Get multiple quotes at once |
GET | /historical-price-full/{symbol} | Get historical price data for any asset type |
GET | /historical-chart/{interval}/{symbol} | Get intraday data with various intervals |
Supported Asset Types
The unified quote endpoints work with all major asset types:
- Stocks:
AAPL
,MSFT
,GOOGL
, etc. - Cryptocurrencies:
BTCUSD
,ETHUSD
,ADAUSD
, etc. - Forex Pairs:
EURUSD
,GBPUSD
,USDJPY
, etc. - Commodities:
ZOUSX
(Gold),ZOUSX
(Silver), etc. - ETFs:
SPY
,QQQ
,VTI
, etc.
Get Quote
Retrieve real-time quote data for any asset type. The response structure is consistent across all asset types.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Asset symbol (e.g., "AAPL", "BTCUSD", "EURUSD") |
Example Response
Examples for Different Asset Types
Get Multiple Quotes
Retrieve quotes for multiple symbols in a single request.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbols | string[] | Yes | Array of asset symbols |
Example Response
Get Historical Data
Retrieve historical price data for any asset type with flexible date ranges.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Asset symbol |
from | string | No | Start date (YYYY-MM-DD format) |
to | string | No | End date (YYYY-MM-DD format) |
Example Response
Get Intraday Data
Retrieve intraday price data with various time intervals.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Asset symbol |
interval | string | Yes | Time interval: "1min", "5min", "15min", "30min", "1hour", "4hour" |
from | string | No | Start date (YYYY-MM-DD format) |
to | string | No | End date (YYYY-MM-DD format) |
Example Response
Migration from Legacy Endpoints
The unified quote endpoints replace the separate quote methods in individual endpoint classes. The legacy methods are deprecated and will be removed in version 0.1.0.
Before (Deprecated)
After (Recommended)
TypeScript Support
The quote endpoints include full TypeScript support with unified types:
Error Handling
Handle errors consistently across all asset types:
Rate Limiting
The quote endpoints respect FMP's rate limits. For high-frequency trading applications, consider implementing your own rate limiting strategy.
Examples
Portfolio Tracker
Price Alert System
Historical Analysis
Ready to get started? Check out the Getting Started Guide or explore other API endpoints.
Documentation
Quotes
Information
Resources
Quote Endpoints
The Quote Endpoints provide unified access to real-time quotes, historical data, and intraday data for all asset types including stocks, cryptocurrencies, forex pairs, commodities, and ETFs. This unified approach simplifies your code by using the same methods regardless of asset type.
Available Methods
Method | Endpoint | Description |
---|---|---|
GET | /quote/{symbol} | Get real-time quote for any asset type |
GET | /quote/{symbol1},{symbol2},... | Get multiple quotes at once |
GET | /historical-price-full/{symbol} | Get historical price data for any asset type |
GET | /historical-chart/{interval}/{symbol} | Get intraday data with various intervals |
Supported Asset Types
The unified quote endpoints work with all major asset types:
- Stocks:
AAPL
,MSFT
,GOOGL
, etc. - Cryptocurrencies:
BTCUSD
,ETHUSD
,ADAUSD
, etc. - Forex Pairs:
EURUSD
,GBPUSD
,USDJPY
, etc. - Commodities:
ZOUSX
(Gold),ZOUSX
(Silver), etc. - ETFs:
SPY
,QQQ
,VTI
, etc.
Get Quote
Retrieve real-time quote data for any asset type. The response structure is consistent across all asset types.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Asset symbol (e.g., "AAPL", "BTCUSD", "EURUSD") |
Example Response
Examples for Different Asset Types
Get Multiple Quotes
Retrieve quotes for multiple symbols in a single request.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbols | string[] | Yes | Array of asset symbols |
Example Response
Get Historical Data
Retrieve historical price data for any asset type with flexible date ranges.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Asset symbol |
from | string | No | Start date (YYYY-MM-DD format) |
to | string | No | End date (YYYY-MM-DD format) |
Example Response
Get Intraday Data
Retrieve intraday price data with various time intervals.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Asset symbol |
interval | string | Yes | Time interval: "1min", "5min", "15min", "30min", "1hour", "4hour" |
from | string | No | Start date (YYYY-MM-DD format) |
to | string | No | End date (YYYY-MM-DD format) |
Example Response
Migration from Legacy Endpoints
The unified quote endpoints replace the separate quote methods in individual endpoint classes. The legacy methods are deprecated and will be removed in version 0.1.0.
Before (Deprecated)
After (Recommended)
TypeScript Support
The quote endpoints include full TypeScript support with unified types:
Error Handling
Handle errors consistently across all asset types:
Rate Limiting
The quote endpoints respect FMP's rate limits. For high-frequency trading applications, consider implementing your own rate limiting strategy.
Examples
Portfolio Tracker
Price Alert System
Historical Analysis
Ready to get started? Check out the Getting Started Guide or explore other API endpoints.