Code Monkey home page Code Monkey logo

suvanbanerjee / stock_symbol_lookup_api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17 KB

This is a simple stock symbol or ticker lookup API that converts a company name to a stock symbol. It is build using FastAPI and is free to use (no keys attached :D) moreover it's typo proof, that means you dont have to write the exact name of the company, it will try to find the closest match.

Home Page: https://stock-symbol-lookup-api.onrender.com

License: The Unlicense

Python 100.00%
fastapi python stock-market stock-ticker stock-ticker-symbol stocks-api

stock_symbol_lookup_api's Introduction

Stock ticker lookup API

This is a simple stock symbol or ticker lookup API that converts a company name to a stock symbol. It is build using FastAPI and is free to use (no keys attached :D). moreover it's typo proof, that means you dont have to write the exact name of the company, it will try to find the closest match. (like Apple Inc. and appul will return the same AAPL)

Usage

Simply send a GET request to the following endpoint:

https://stock-symbol-lookup-api.onrender.com/COMPANY_NAME

Where COMPANY_NAME is the name of the company you want to lookup. For example, to lookup the stock symbol for Apple, you would send a GET request to:

https://stock-symbol-lookup-api.onrender.com/apple

The response will be a JSON object with the following format:

{
  "stock_symbol": "AAPL"
}

Caution

This tool is not perfect and may not return the correct stock symbol for all companies. It has a problem of false positives, meaning it may return a stock symbol that is not the one you are looking for. Use at your own risk!

PS: Dont spam and if you like it, consider giving a star to the repo :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.