FMP Node API Documentation
Senate & House Trading Endpoints
The Senate & House Trading endpoints provide access to congressional trading data, allowing you to track stock transactions made by members of Congress. This data is valuable for understanding potential conflicts of interest and market sentiment based on political insider trading.
Available Methods
Method | Endpoint | Description |
---|---|---|
GET | /stable/senate-trades | Get senate trading data for a specific stock symbol |
GET | /stable/senate-latest | Get senate trading RSS feed with pagination |
GET | /stable/senate-trades-by-name | Get senate trading data by senator name |
GET | /stable/house-trades | Get house trading data for a specific stock symbol |
GET | /stable/house-latest | Get house trading RSS feed with pagination |
GET | /stable/house-trades-by-name | Get house trading data by representative name |
Get Senate Trading Data
Retrieve senate trading data for a specific stock symbol.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Stock symbol (e.g., "AAPL", "MSFT", "GOOGL") |
Example Response
Get Senate Trading RSS Feed
Retrieve senate trading data through RSS feed with pagination.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
page | number | Yes | Page number for pagination (0-based) |
limit | number | No | Number of results (default 100) |
Example Response
Get Senate Trading by Name
Retrieve senate trading data for a specific senator by name.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Senator name (e.g., "Jerry", "John") |
Example Response
Get House Trading Data
Retrieve house trading data for a specific stock symbol.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Stock symbol (e.g., "AAPL", "MSFT", "GOOGL") |
Example Response
Get House Trading RSS Feed
Retrieve house trading data through RSS feed with pagination.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
page | number | Yes | Page number for pagination (0-based) |
limit | number | No | Number of results (default 100) |
Example Response
Get House Trading by Name
Retrieve house trading data for a specific representative by name.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Representative name (e.g., "Nancy", "Kevin") |
Example Response
Data Types
SenateTradingResponse
HouseTradingResponse
SenateHouseTradingByNameResponse
Data Guarantees
- All list endpoints always return an array (never undefined). If there are no results, the array will be empty.
- Single-object endpoints always return an object (never undefined). If there is no result, the object will be empty.
- This ensures type safety and a consistent developer experience.
Error Handling
Always check the success property before accessing data:
Rate Limits
Senate and house trading endpoints are subject to FMP's rate limits. For production applications, implement appropriate rate limiting and caching strategies.
Next Steps
Explore other endpoint categories:
- Stock Endpoints - Real-time and historical stock data
- Company Endpoints - Company profiles, executive compensation, and employee data
- Financial Endpoints - Financial statements and ratios
- Market Endpoints - Market indices and sector data
- Calendar Endpoints - Earnings, dividends, and economic calendars
- List Endpoints - Available symbols and instruments
- Examples - Practical code samples
Documentation
Quotes
Information
Resources
Senate & House Trading Endpoints
The Senate & House Trading endpoints provide access to congressional trading data, allowing you to track stock transactions made by members of Congress. This data is valuable for understanding potential conflicts of interest and market sentiment based on political insider trading.
Available Methods
Method | Endpoint | Description |
---|---|---|
GET | /stable/senate-trades | Get senate trading data for a specific stock symbol |
GET | /stable/senate-latest | Get senate trading RSS feed with pagination |
GET | /stable/senate-trades-by-name | Get senate trading data by senator name |
GET | /stable/house-trades | Get house trading data for a specific stock symbol |
GET | /stable/house-latest | Get house trading RSS feed with pagination |
GET | /stable/house-trades-by-name | Get house trading data by representative name |
Get Senate Trading Data
Retrieve senate trading data for a specific stock symbol.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Stock symbol (e.g., "AAPL", "MSFT", "GOOGL") |
Example Response
Get Senate Trading RSS Feed
Retrieve senate trading data through RSS feed with pagination.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
page | number | Yes | Page number for pagination (0-based) |
limit | number | No | Number of results (default 100) |
Example Response
Get Senate Trading by Name
Retrieve senate trading data for a specific senator by name.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Senator name (e.g., "Jerry", "John") |
Example Response
Get House Trading Data
Retrieve house trading data for a specific stock symbol.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | Stock symbol (e.g., "AAPL", "MSFT", "GOOGL") |
Example Response
Get House Trading RSS Feed
Retrieve house trading data through RSS feed with pagination.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
page | number | Yes | Page number for pagination (0-based) |
limit | number | No | Number of results (default 100) |
Example Response
Get House Trading by Name
Retrieve house trading data for a specific representative by name.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Representative name (e.g., "Nancy", "Kevin") |
Example Response
Data Types
SenateTradingResponse
HouseTradingResponse
SenateHouseTradingByNameResponse
Data Guarantees
- All list endpoints always return an array (never undefined). If there are no results, the array will be empty.
- Single-object endpoints always return an object (never undefined). If there is no result, the object will be empty.
- This ensures type safety and a consistent developer experience.
Error Handling
Always check the success property before accessing data:
Rate Limits
Senate and house trading endpoints are subject to FMP's rate limits. For production applications, implement appropriate rate limiting and caching strategies.
Next Steps
Explore other endpoint categories:
- Stock Endpoints - Real-time and historical stock data
- Company Endpoints - Company profiles, executive compensation, and employee data
- Financial Endpoints - Financial statements and ratios
- Market Endpoints - Market indices and sector data
- Calendar Endpoints - Earnings, dividends, and economic calendars
- List Endpoints - Available symbols and instruments
- Examples - Practical code samples