DataForSEO icon

DataForSEO

DataForSEO

Overview

The DataForSEO - SERP: Get Finance Quote operation fetches detailed financial quote data for a specified stock ticker symbol from Google Finance via the DataForSEO API. This node is useful for retrieving up-to-date market information such as price, volume, and historical graph data for publicly traded stocks or securities.

Typical use cases include:

  • Integrating real-time stock quotes into dashboards or reports.
  • Automating financial data retrieval for investment analysis.
  • Monitoring specific stock performance over different time windows.

For example, you can input the ticker symbol "AAPL" to get Apple's current stock quote along with historical price data for the last day, month, or year.

Properties

Name Meaning
Keyword (Ticker or Stock Symbol) The ticker symbol of the publicly traded stock or security to query (e.g., "AAPL" for Apple).
Location Full name of the search engine location to target (e.g., "United States"). Supported locations are listed in DataForSEO docs.
Language Full name of the search engine language to use (e.g., "English"). Supported languages are listed in DataForSEO docs.
Window Time window for the finance quote graph data. Options: Empty, 1D, 5D, 1M, 6M, YTD, 1Y, 5Y, MAX. Default is "1D".

Output

The node outputs an array of JSON objects containing the financial quote data retrieved from the API. The structure typically includes:

  • Current stock price and related metrics.
  • Historical price data points according to the selected time window.
  • Additional metadata about the stock and market.

If binary data were involved (e.g., charts or images), it would be summarized here, but this node focuses on JSON financial data only.

Dependencies

  • Requires an active DataForSEO API key credential configured in n8n.
  • Internet access to call the DataForSEO v3 API endpoint at https://api.dataforseo.com/v3.
  • Proper configuration of the node's resource as "SERP" and operation as "Get Finance Quote".

Troubleshooting

  • Common issues:

    • Invalid or missing ticker symbol will result in no data or error responses.
    • Incorrect or unsupported location/language values may cause API errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "Something went wrong": Generic error if the operation function is not found or misconfigured.
    • API authentication errors indicate invalid or missing API credentials.
    • Validation errors if required parameters like keyword, location, or language are empty.
  • Resolutions:

    • Verify ticker symbols against supported exchanges.
    • Use supported location and language names as per DataForSEO documentation.
    • Ensure API credentials are correctly set up in n8n.
    • Check network connectivity and API service status.

Links and References

Discussion