GoogleFinance
get/google-finance/historical
Request
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/google-finance/historical
- Auth: API key in header X-API-KEY
Query parameters
symbolstring required
Stock symbol (e.g., AAPL)
exchangestring nullable
Exchange code (e.g., NASDAQ)
rangeinteger nullable
Time range: 1=1d, 2=5d, 3=1m, 4=6m, 5=YTD, 6=1y, 7=5y, 8=max (default: 6)
start_datestring date nullable
Start date for custom range (YYYY-MM-DD)
end_datestring date nullable
End date for custom range (YYYY-MM-DD)
interval'daily' | 'weekly' | 'monthly' | 'null' nullable
Data interval: daily, weekly, monthly (default: daily)
hlstring nullable
Language code (default: en)
glstring nullable
Country code (default: us)
Response
Historical data retrieved successfully
Changes
No recorded changes to this operation across all 3 revisions of this API.