---
title: "Deploy yahoo-finance-apis"
description: "Deploy a real-time stock price API with FastAPI in one click!"
category: "Starters"
url: https://railway.com/deploy/ELjUB8
---

# Deploy yahoo-finance-apis

Deploy a real-time stock price API with FastAPI in one click!

**[Deploy yahoo-finance-apis on Railway](https://railway.com/template/ELjUB8)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/ELjUB8/manifest.json

- **Creator:** arpand9's Projects
- **Category:** Starters
- **Total deploys:** 16

## Template content

### yahoo-finance-railway

- **Source:** arpand9/yahoo-finance-railway
- **Start command:** `web: uvicorn app:app --host 0.0.0.0 --port ${PORT}`
- **Public domain:** Yes

## Documentation

🧩 About This Template
This template deploys a lightweight FastAPI application that fetches real-time stock market data using the popular yfinance Python library.
It allows users to query stock tickers (like AAPL, TSLA, MSFT) and retrieve the latest closing prices from Yahoo Finance via a simple REST API.

Perfect for developers, students, and finance enthusiasts who want fast and easy access to stock market data without setting up complex servers or paying for APIs.

🚀 Features
- Fetch real-time stock prices (latest closing price).
- Simple and fast API built using FastAPI and Uvicorn.
- Deployed in minutes using Railway’s one-click deployment.
- Lightweight & cost-effective for hobby, testing, and prototyping projects.
- Open-source and easy to extend (e.g., historical data, financial ratios, etc.).

⚙️ Technologies Used

- FastAPI — Web framework for building APIs quickly.
- Uvicorn — Lightning-fast ASGI server.
- yfinance — Yahoo Finance data downloader.

## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/ELjUB8
