FMP
Jul 8, 2025 6:15 PM - Sanzhi Kobzhan
Image credit: stock price widget
Are you building a finance website or blog using Wix, and want to show real-time stock prices like Apple, Tesla, or Google? In this step-by-step guide, you'll learn how to create a scrolling stock ticker widget in Wix using FMP's Stock Quote API endpoint, without exposing your secret API key to the public.
Even if you don't have coding experience, don't worry — I'll walk you through everything.
How to get real-time stock data
How to store your API key safely in Wix
How to embed a custom stock ticker in your website
How to fetch data securely without showing your API key
Your custom API key from FMP
Basic access to your site's Wix Editor and Velo Dev Mode
After signing in, go to your Dashboard
Copy your API Key — you'll use this in Wix, but don't share it publicly
This step keeps your key hidden from the public.
In Wix Editor, turn on Dev Mode as shown in the below image
Click on Backend → Secrets Manager
Click + New Secret
Name: FMP_API_KEY
Value: paste your real API key here
Click Save
Your API key is now safe. Only Wix backend code can access it.
In the Backend section, right-click → Add New Web Module as shown in the below image
Name it news.jsw
Paste this code inside:
This code fetches stock prices securely using your hidden API key.
Go to the page where you want the stock ticker
Click Add (+) → Embed Code → HTML Embed
Paste this HTML code (you can style it however you like):
Click Page Code in the editor
Paste this code:
Shows live stock prices
Works beautifully on desktop and mobile
Keeps your API key secure
This is how it should look:
With this simple and secure method, you can now display real-time stock prices on your Wix website without exposing your API key. It's a great way to enhance your site and provide live financial insights to your visitors.
Nov 22, 2024 5:08 AM - Parth Sanghvi
Fundamental analysis is one of the most essential tools for investors and analysts alike, helping them assess the intrinsic value of a stock, company, or even an entire market. It focuses on the financial health and economic position of a company, often using key data such as earnings, expenses, ass...
Dec 22, 2024 7:59 AM - Sanzhi Kobzhan
When it comes to cutting-edge software and data analytics, Palantir Technologies (NYSE: PLTR) is often front and center. But for many investors, it’s important to consider alternative or complementary stocks in the same sector that may offer robust growth potential. As PLTR looks expensive (overvalu...
Dec 30, 2024 4:32 AM - Sanzhi Kobzhan
Are you curious about how professional investors decide whether a stock might be one of the best undervalued stocks to buy now? One of the most popular tools is the Discounted Cash Flow (DCF) model. In this article, I’ll walk you through a DCF step by step. By the end, you’ll see how the Advanced DC...