Overview
Gene-FinancialIntelligence requires configuring API keys for the tools that use third-party financial data services. This guide walks you through signing up for free API keys, configuring them in Feluda Vault, and verifying that your setup is working correctly.
Important: Two tools work without any API keys at all. The Frankfurter API tools (frankfurterRates and frankfurterRate) give you immediate access to exchange rate data from 84 central banks covering 201 currencies. You can start using the gene right away with no configuration.
API Keys Required
The following five API keys are used by Gene-FinancialIntelligence. All are free:
| Secret Name | Service | Sign Up URL | Free Tier Limits |
|---|---|---|---|
OPENEXCHANGE_API_KEY |
OpenExchangeRates | https://openexchangerates.org/signup | 1,000 requests/month |
EXCHANGERATE_API_KEY |
ExchangeRate-API | https://exchangerate-api.com/signup | 1,500 requests/month |
ALPHA_VANTAGE_KEY |
Alpha Vantage | https://www.alphavantage.co/support/#api-key | 5 requests/minute, 500/day |
FINNHUB_API_KEY |
Finnhub | https://finnhub.io/register | 60 requests/minute |
CURRENCYAPI_KEY |
CurrencyAPI | https://currencyapi.com/signup | 300 requests/month |
No-API-Key Option: Frankfurter
The Frankfurter API requires no API key and is completely free. It provides:
- Exchange rates for 201 currencies
- Data from 84 central banks
- Historical rates back to 1948
- No rate limits (requests are rate-limited to prevent abuse, but no monthly caps)
You can start using Gene-FinancialIntelligence immediately with the Frankfurter tools.
Step 1: Sign Up for API Keys (Optional)
Skip this step if you only want to use the Frankfurter tools.
OPENEXCHANGE_API_KEY (OpenExchangeRates)
- Go to https://openexchangerates.org/signup
- Create a free account
- Once logged in, navigate to your dashboard
- Your API key will be displayed in the "API Keys" section
- Copy the key for use in Feluda Vault
EXCHANGERATE_API_KEY (ExchangeRate-API)
- Go to https://exchangerate-api.com/signup
- Sign up for a free account
- Once logged in, your API key will be displayed on the dashboard
- Copy the key for use in Feluda Vault
ALPHA_VANTAGE_KEY (Alpha Vantage)
- Go to https://www.alphavantage.co/support/#api-key
- Enter your email address and complete the form
- You'll receive an email with your API key
- Copy the key for use in Feluda Vault
FINNHUB_API_KEY (Finnhub)
- Go to https://finnhub.io/register
- Create a free account
- Once logged in, navigate to your dashboard
- Your API key will be displayed in the "API Keys" section
- Copy the key for use in Feluda Vault
CURRENCYAPI_KEY (CurrencyAPI)
- Go to https://currencyapi.com/signup
- Create a free account
- Once logged in, navigate to your dashboard
- Your API key will be displayed in the "API Keys" section
- Copy the key for use in Feluda Vault
Step 2: Configure Secrets in Feluda Vault
Once you have the API keys, configure them in Feluda Vault.
Method 1: Through Feluda Desktop Application
- Open the Feluda Desktop Application
- Navigate to the Vault section
- Click "Add Secret"
- For each secret, add the following key-value pairs:
| Secret Name | Value |
|---|---|
OPENEXCHANGE_API_KEY |
Your OpenExchangeRates API key |
EXCHANGERATE_API_KEY |
Your ExchangeRate-API key |
ALPHA_VANTAGE_KEY |
Your Alpha Vantage API key |
FINNHUB_API_KEY |
Your Finnhub API key |
CURRENCYAPI_KEY |
Your CurrencyAPI key |
- Save each secret after adding it
Method 2: Using the Gene Builder Tool
When you deploy Gene-FinancialIntelligence, the secrets are automatically detected and listed in the Vault. You can configure them through the Feluda UI.
Step 3: Verify Your Configuration
Test Tools Without API Keys (Immediate Access)
These tools work immediately after deployment:
-
frankfurterRate
- Run:
tool:frankfurterRatewithbase=USD,quote=EUR - Expected: Real exchange rate for USD/EUR
- Run:
-
frankfurterRates
- Run:
tool:frankfurterRateswithbase=USD - Expected: Exchange rates for USD against all currencies
- Run:
-
forexAnalyst (Prompt)
- Run:
prompt:forexAnalystwithbase=USD,quote=EUR,period=30d - Expected: Guided forex analysis workflow
- Run:
Test Tools With API Keys
-
stockQuote (requires ALPHA_VANTAGE_KEY)
- Run:
tool:stockQuotewithsymbol=AAPL - Expected: Real-time stock data for Apple
- Run:
-
companyOverview (requires ALPHA_VANTAGE_KEY)
- Run:
tool:companyOverviewwithsymbol=AAPL - Expected: Company fundamentals for Apple
- Run:
-
exchangeRate (requires OPENEXCHANGE_API_KEY)
- Run:
tool:exchangeRatewithbase=USD - Expected: Exchange rates for USD
- Run:
-
currencyConvert (requires EXCHANGERATE_API_KEY)
- Run:
tool:currencyConvertwithfrom=USD,to=EUR,amount=100 - Expected: Converted amount
- Run:
-
stockSearch (requires FINNHUB_API_KEY)
- Run:
tool:stockSearchwithquery=Apple - Expected: List of matching stocks
- Run:
-
marketNews (requires FINNHUB_API_KEY)
- Run:
tool:marketNewswithcategory=general - Expected: Latest market headlines
- Run:
-
currencyRates (requires CURRENCYAPI_KEY)
- Run:
tool:currencyRateswithbase=USD - Expected: Currency rates
- Run:
Troubleshooting
Tool Returns "Secret Not Configured"
This means the API key is not set in Feluda Vault.
- Check that you've added the secret to Vault
- Verify the secret name matches exactly (e.g.,
ALPHA_VANTAGE_KEY) - Restart Feluda after adding secrets
Tool Returns HTTP 401 or 403 Error
This means the API key is invalid or expired.
- Verify you copied the correct API key
- Check if the API key has expired
- Regenerate the key if necessary
Tool Returns HTTP 429 (Too Many Requests)
This means you've exceeded the rate limit for the free tier.
- Wait for the rate limit window to reset
- Consider upgrading to a paid tier if you need higher limits
- Use Frankfurter tools for currency data (no rate limits)
Tool Returns HTTP 404 (Not Found)
This is a normal response when:
- A stock symbol doesn't exist (stockQuote)
- A currency pair is not supported
Next Steps
Once your API keys are configured, you can:
- Use the AI prompts —
marketAnalyst,currencyStrategist,investmentAdvisor, andforexAnalyst— for guided financial analysis - Integrate the tools into your investment research workflows
- Create RunFlows that automate common analysis patterns
- Explore the Frankfurter tools for historical currency analysis
Start immediately by using the Frankfurter tools. You don't need any API keys to begin accessing exchange rate data. Configure only the keys you need and add more later.
Frequently Asked Questions
- How long does it take to configure Gene-FinancialIntelligence?
- The complete setup process typically takes 15-20 minutes. This includes signing up for five free API keys, configuring them in Feluda Vault, and verifying that the tools are working correctly. The Frankfurter tools work immediately without any configuration.
- Do I need all five API keys for the gene to work?
- No. Only the tools that require specific API keys need those keys configured. The Frankfurter tools (frankfurterRates and frankfurterRate) work without any API keys at all. You can start using the gene immediately with currency data and configure only the keys you need later.
- What happens if I exceed the rate limit on a free API tier?
- When you exceed a rate limit, the API will return a 429 (Too Many Requests) status code. The tools will display this as an error message. Most free tiers reset hourly or daily. Consider spreading your requests across different services or upgrading to a paid tier if you need higher limits.
- Can I use these APIs in a production environment?
- Yes, all the APIs used by Gene-FinancialIntelligence are designed for production use. They are industry-standard services used by thousands of companies and investors. The free tiers have rate limits that are suitable for individual users and small teams.
- How do I know if my API key is working correctly?
- The easiest way to verify an API key is to run the corresponding tool. For example, run the stockQuote tool with AAPL. If the key is configured correctly, you'll get stock data. If it fails, you'll see a clear error message explaining the issue.