
Stock Recent Data
Pricing
$9.00/month + usage

Stock Recent Data
The Stock Recent Data (Investing.com) actor is a powerful tool designed to fetch recent stock market data from Investing.com for any specified stock symbol across multiple countries.
0.0 (0)
Pricing
$9.00/month + usage
0
Total users
1
Monthly users
1
Runs succeeded
>99%
Last modified
4 days ago
Stock Recent Data (Investing.com) - Actor Documentation
Overview
The Stock Recent Data (Investing.com) actor is a powerful tool designed to fetch recent stock market data from Investing.com for any specified stock symbol across multiple countries. This actor provides comprehensive historical stock data including price movements, trading volumes, and other essential market metrics.
Features
- Multi-Country Support: Fetch stock data from 46+ countries including major markets like US, UK, Germany, Japan, China, and more
- Flexible Data Intervals: Choose from Daily, Weekly, or Monthly data intervals
- Customizable Ordering: Get data in ascending (oldest first) or descending (newest first) order
- JSON Output: Returns structured JSON data for easy integration
- Comprehensive Data: Includes open, high, low, close prices, volume, and currency information
- Error Handling: Robust error handling with detailed logging
- Summary Statistics: Automatically calculates average, min, max values and volume statistics
Input Parameters
Required Parameters
- stockSymbol (string, required)
- Stock symbol to retrieve data for (e.g., 'AAPL', 'BBVA', 'MSFT')
- Must be 1-10 characters long
- Example:
"AAPL"
Optional Parameters
-
country (string, optional)
- The country where the stock is listed
- Default:
"united states"
- Supported countries include:
- United States, United Kingdom, Germany, France, Italy, Spain
- Japan, China, South Korea, India, Australia, Canada
- Brazil, Mexico, Argentina, Chile, Colombia, Peru
- And many more (46+ countries total)
-
order (string, optional)
- Controls the chronological order of returned data
- Options:
"ascending"
,"asc"
,"descending"
,"desc"
- Default:
"ascending"
"ascending"
: Oldest data first"descending"
: Newest data first
-
interval (string, optional)
- Time interval for the historical data
- Options:
"Daily"
,"Weekly"
,"Monthly"
- Default:
"Daily"
Example Input
{"stockSymbol": "AAPL","country": "united states","order": "ascending","interval": "Daily"}
Output Structure
The actor returns a comprehensive dataset with the following structure:
Main Output Object
{"stock": "aapl","country": "united states","stock_symbol": "AAPL","as_json": true,"order": "ascending","interval": "Daily","retrieved_at": "2025-07-08T12:20:06.605899","data_format": "recent_data","has_data": true,"recent_data": {"name": "Apple","recent": [// Array of historical data points]},"total_records": 19,"latest_date": "07/07/2025","latest_close": 209.95,"latest_volume": 50228984,"currency": "USD","stock_name": "Apple"}
Historical Data Points
Each data point in the recent_data.recent
array contains:
{"date": "07/07/2025","open": 212.68,"high": 216.23,"low": 208.8,"close": 209.95,"volume": 50228984,"currency": "USD"}
Field Descriptions
- stock: Normalized stock symbol (lowercase)
- country: Country where the stock is listed
- stock_symbol: Original stock symbol (uppercase)
- as_json: Always
true
(data format indicator) - order: Data ordering preference
- interval: Data interval (Daily/Weekly/Monthly)
- retrieved_at: Timestamp when data was fetched
- data_format: Always
"recent_data"
- has_data: Boolean indicating if data was successfully retrieved
- recent_data: Object containing stock name and historical data array
- total_records: Number of historical data points retrieved
- latest_date: Date of the most recent data point
- latest_close: Most recent closing price
- latest_volume: Most recent trading volume
- currency: Currency of the stock prices
- stock_name: Full company name
Statistical Data (when available)
The output may also include calculated statistics:
- avg_close: Average closing price across all data points
- min_close: Minimum closing price
- max_close: Maximum closing price
- avg_volume: Average trading volume
- total_volume: Total trading volume across all data points
Usage Examples
Basic Usage
{"stockSymbol": "AAPL"}
Advanced Usage
{"stockSymbol": "BBVA","country": "spain","order": "descending","interval": "Weekly"}
Multiple Market Example
{"stockSymbol": "SONY","country": "japan","order": "ascending","interval": "Daily"}
Error Handling
The actor includes comprehensive error handling for various scenarios:
- Validation Errors: Invalid input parameters
- IO Errors: Network or data access issues
- Runtime Errors: Unexpected execution problems
- Connection Errors: Network connectivity issues
- File Not Found: Missing data or resources
When errors occur, the actor will:
- Log detailed error information
- Return an error response with
has_data: false
- Include error details in the
error
field
Performance Considerations
- The actor processes data efficiently and returns results quickly
- Large datasets are handled with appropriate memory management
- Network requests are optimized for reliability
- Data is cached appropriately to improve performance
Integration Tips
- Check
has_data
field: Always verify this boolean before processing the data - Handle different intervals: Be aware that Weekly/Monthly data will have fewer data points
- Currency awareness: Check the
currency
field for proper price interpretation - Date formatting: Dates are returned in DD/MM/YYYY format
- Volume data: Volume numbers are provided as integers (actual share count)
Supported Countries
The actor supports stock data from these countries:
Major Markets: United States, United Kingdom, Germany, France, Italy, Spain, Japan, China, South Korea, India, Australia, Canada
European Markets: Netherlands, Belgium, Portugal, Austria, Switzerland, Norway, Sweden, Denmark, Finland, Poland, Czech Republic, Hungary, Greece, Turkey, Russia
Asian Markets: Malaysia, Singapore, Thailand, Indonesia, Philippines, Vietnam, Taiwan, Hong Kong
Americas: Brazil, Mexico, Argentina, Chile, Colombia, Peru
Other Markets: South Africa, Israel, Saudi Arabia, United Arab Emirates, New Zealand
Data Freshness
The actor fetches the most recent available data from Investing.com. The freshness of data depends on:
- Market hours and trading sessions
- Weekend and holiday schedules
- Exchange-specific data availability
- Real-time vs. delayed data policies
Limitations
- Data availability depends on Investing.com's coverage
- Some stocks may not be available in all countries
- Historical data depth varies by stock and market
- Real-time data may have delays depending on exchange policies
Support
If you have any questions or encounter any issues, please consult the Apify documentation or reach out to us through one of the following channels:
- Verify input parameters match the schema requirements
- Check the Apify platform documentation
- Review the actor logs for detailed error messages
- Telegram: @pintoflow
- Apify Platform: You can also contact us directly through this platform.