Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Economic Data → Country

AI-generated

Overview

This node interacts with the Finnhub.io API to retrieve economic data related to countries. It supports both free and premium endpoints, allowing users to access country-specific economic indicators and information. This node is useful for financial analysts, economists, and developers who need to integrate real-time or historical economic data into their workflows or applications.

Use Case Examples

  1. Fetching GDP data for a specific country to analyze economic performance.
  2. Retrieving unemployment rates or inflation data for multiple countries to compare economic conditions.
  3. Accessing premium economic indicators available only to subscribed users for advanced financial analysis.

Properties

Name Meaning
Premium Access Toggle to enable premium Finnhub endpoints based on the user's credential.
Request Options Settings to customize the API request behavior, including batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • countryCode - The ISO code or identifier of the country for which economic data is retrieved.
  • economicIndicators - An object or array containing various economic indicators related to the country, such as GDP, inflation rate, unemployment rate, etc.
  • timestamp - The time at which the economic data was retrieved or is relevant.

Dependencies

  • Finnhub API key credential for authentication to access the API endpoints.

Troubleshooting

  • Ensure the Finnhub API key credential is correctly configured and has the necessary permissions, especially for premium endpoints.
  • If requests fail due to SSL issues, consider enabling the 'Ignore SSL Issues' option, but be aware of the security risks.
  • Batching settings should be configured carefully to avoid hitting API rate limits or causing timeouts.
  • Proxy settings must be accurate if used; incorrect proxy configuration can lead to request failures.
  • Timeouts can occur if the server is slow to respond; increasing the timeout value may help in such cases.

Links

Discussion