# Pre-populated Input drop down

**URL:** <https://discuss.streamlit.io/t/pre-populated-input-drop-down/8367>\
**Category:** Using Streamlit\
**Created:** [December 29, 2020, 4:11pm UTC](https://discuss.streamlit.io/t/pre-populated-input-drop-down/8367 "2020-12-29T16:11:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IceMan718](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/iceman718/32/4863_2.png) [@IceMan718](https://discuss.streamlit.io/u/IceMan718)\
**Post date:** [December 29, 2020, 4:11pm UTC](https://discuss.streamlit.io/t/pre-populated-input-drop-down/8367/1 "2020-12-29T16:11:04Z")

</div>

Hi everyone,

I am fairly new to python and streamlit…I am trying to create a functionality where users can type in a company ticker or name and the input field dropdown will prepopulate with available options (lets say 5). I am trying to implement the functionality by requesting the api endpoint “search” … ie.

https:[//financialmodelingprep.com/api/v3/search?query=AA&limit=10&exchange=NASDAQ&apikey=demo](https://financialmodelingprep.com/api/v3/search?query=AA&limit=10&exchange=NASDAQ&apikey=demo)

Please let me know if I am approaching this correctly and if so, how can I implement it in streamlit. I understand that I can upload the data in csv and implement it through selectbox but would like to implement a more robust process.

Thank you in advance!!!

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [January 4, 2021, 4:39pm UTC](https://discuss.streamlit.io/t/pre-populated-input-drop-down/8367/2 "2021-01-04T16:39:38Z")

</div>

Hi @IceMan718, welcome to the Streamlit community!

Streamlit doesn’t support this sort of functionality at the moment, as it would be difficult to generically support URLs like you have. However, if you have a massive list in the drop-down, that sort of search is built-in. So a user that types ‘A’ would get all of the ticker symbols starting with ‘A’

Best,  
Randy

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [February 7, 2022, 3:52pm UTC](https://discuss.streamlit.io/t/pre-populated-input-drop-down/8367/3 "2022-02-07T15:52:13Z")

</div>


