# Source: https://docs.streamlit.io/develop/api-reference/caching-and-state/st.experimental_set_query_params

# st.experimental_set_query_params

## Warning

Query param `embed` cannot be set using this method.

## Set the query parameters that are shown in the browser's URL bar.

### Example

To point the user's web browser to something like "http://localhost:8501/?show_map=True&selected=asia&selected=america", you would do the following:

```python
import streamlit as st

st.experimental_set_query_params(
    show_map=True,
    selected=["asia", "america"],
)
```

## Version

Streamlit Version: Version 1.52.0

## Category

### Get started
- [Installation](/get-started/installation)
- [Fundamentals](/get-started/fundamentals)
- [First steps](/get-started/tutorials)

### Develop
- [Concepts](/develop/concepts)
- [API reference](/develop/api-reference)
  - PAGE ELEMENTS
  - [Write and magic](/develop/api-reference/write-magic)
    - [st.write](/develop/api-reference/write-magic/st.write)
    - [st.write_stream](/develop/api-reference/write-magic/st.write_stream)
    - [magic](/develop/api-reference/write-magic/magic)
  - [Text elements](/develop/api-reference/text)
    - [HEADINGS AND BODY](/develop/api-reference/text/headings-body)
    - [st.title](/develop/api-reference/text/st.title)
    - [st.header](/develop/api-reference/text/st.header)
    - [st.subheader](/develop/api-reference/text/st.subheader)
    - [st.markdown](/develop/api-reference/text/st.markdown)
    - [st.badge](/develop/api-reference/text/st.badge)
    - [st.caption](/develop/api-reference/text/st.caption)
    - [st.code](/develop/api-reference/text/st.code)
    - [st.divider](/develop/api-reference/text/st.divider)
    - [st.echo](/develop/api-reference/text/st.echo)
    - [st.latex](/develop/api-reference/text/st.latex)
    - [st.text](/develop/api-reference/text/st.text)
    - [UTILITIES](/develop/api-reference/text/utilities)
      - [st.help](/develop/api-reference/text/st.help)
      - [st.html](/develop/api-reference/text/st.html)
  - [Data elements](/develop/api-reference/data)
    - [st.dataframe](/develop/api-reference/data/st.dataframe)
    - [st.data_editor](/develop/api-reference/data/st.data_editor)
    - [st.column_config](/develop/api-reference/data/st.column_config)
      - [Column](/develop/api-reference/data/st.column_config/st.column_config.column)
      - [Text column](/develop/api-reference/data/st.column_config/st.column_config.textcolumn)
      - [Number column](/develop/api-reference/data/st.column_config/st.column_config.numbercolumn)
      - [Checkbox column](/develop/api-reference/data/st.column_config/st.column_config.checkboxcolumn)
      - [Selectbox column](/develop/api-reference/data/st.column_config/st.column_config.selectboxcolumn)
      - [Multiselect column](/develop/api-reference/data/st.column_config/st.column_config.multiselectcolumn)
      - [Datetime column](/develop/api-reference/data/st.column_config/st.column_config.datetimecolumn)
      - [Date column](/develop/api-reference/data/st.column_config/st.column_config.datecolumn)
      - [Time column](/develop/api-reference/data/st.column_config/st.column_config.timecolumn)
      - [JSON column](/develop/api-reference/data/st.column_config/st.column_config.jsoncolumn)
      - [List column](/develop/api-reference/data/st.column_config/st.column_config.listcolumn)
      - [Link column](/develop/api-reference/data/st.column_config/st.column_config.linkcolumn)
      - [Image column](/develop/api-reference/data/st.column_config/st.column_config.imagecolumn)
      - [Area chart column](/develop/api-reference/data/st.column_config/st.column_config.areachartcolumn)
      - [Line chart column](/develop/api-reference/data/st.column_config/st.column_config.linechartcolumn)
      - [Bar chart column](/develop/api-reference/data/st.column_config/st.column_config.barchartcolumn)
      - [Progress column](/develop/api-reference/data/st.column_config/st.column_config.progresscolumn)
    - [st.table](/develop/api-reference/data/st.table)
    - [st.metric](/develop/api-reference/data/st.metric)
    - [st.json](/develop/api-reference/data/st.json)
    - [st.experimental_data_editor](/develop/api-reference/data/st.experimental_data_editor)
  - [Chart elements](/develop/api-reference/charts)
    - [SIMPLE](/develop/api-reference/charts/simple)
    - [st.area_chart](/develop/api-reference/charts/st.area_chart)
    - [st.bar_chart](/develop/api-reference/charts/st.bar_chart)
    - [st.line_chart](/develop/api-reference/charts/st.line_chart)
    - [st.map](/develop/api-reference/charts/st.map)
    - [st.scatter_chart](/develop/api-reference/charts/st.scatter_chart)
    - [ADVANCED](/develop/api-reference/charts/advanced)
      - [st.altair_chart](/develop/api-reference/charts/st.altair_chart)
      - [st.bokeh_chart](/develop/api-reference/charts/st.bokeh_chart)
      - [st.graphviz_chart](/develop/api-reference/charts/st.graphviz_chart)
      - [st.plotly_chart](/develop/api-reference/charts/st.plotly_chart)
      - [st.pydeck_chart](/develop/api-reference/charts/st.pydeck_chart)
      - [st.pyplot](/develop/api-reference/charts/st.pyplot)
      - [st.vega_lite_chart](/develop/api-reference/charts/st.vega_lite_chart)
  - [Input widgets](/develop/api-reference/widgets)
    - [BUTTONS](/develop/api-reference/widgets/buttons)
    - [st.button](/develop/api-reference/widgets/st.button)
    - [st.download_button](/develop/api-reference/widgets/st.download_button)
    - [st.form_submit_button](https://docs.streamlit.io/develop/api-reference/execution-flow/st.form_submit_button)
    - [st.link_button](/develop/api-reference/widgets/st.link_button)
    - [st.page_link](/develop/api-reference/widgets/st.page_link)
    - [SELECTIONS](/develop/api-reference/widgets/selections)
    - [st.checkbox](/develop/api-reference/widgets/st.checkbox)
    - [st.color_picker](/develop/api-reference/widgets/st.color_picker)
    - [st.feedback](/develop/api-reference/widgets/st.feedback)
    - [st.multiselect](/develop/api-reference/widgets/st.multiselect)
    - [st.pills](/develop/api-reference/widgets/st.pills)
    - [st.radio](/develop/api-reference/widgets/st.radio)
    - [st.segmented_control](/develop/api-reference/widgets/st.segmented_control)
    - [st.selectbox](/develop/api-reference/widgets/st.selectbox)
    - [st.select_slider](/develop/api-reference/widgets/st.select_slider)
    - [st.toggle](/develop/api-reference/widgets/st.toggle)
    - [NUMERIC](/develop/api-reference/widgets/numeric)
    - [st.number_input](/develop/api-reference/widgets/st.number_input)
    - [st.slider](/develop/api-reference/widgets/st.slider)
    - [DATE AND TIME](/develop/api-reference/widgets/date-time)
    - [st.date_input](/develop/api-reference/widgets/st.date_input)
    - [st.datetime_input](/develop/api-reference/widgets/st.datetime_input)
    - [st.time_input](/develop/api-reference/widgets/st.time_input)
    - [TEXT](/develop/api-reference/widgets/text)
    - [st.chat_input](https://docs.streamlit.io/develop/api-reference/chat/st.chat_input)
    - [st.text_area](/develop/api-reference/widgets/st.text_area)
    - [st.text_input](/develop/api-reference/widgets/st.text_input)
    - [MEDIA AND FILES](/develop/api-reference/widgets/media)
      - [st.audio_input](/develop/api-reference/widgets/st.audio_input)
      - [st.camera_input](/develop/api-reference/widgets/st.camera_input)
      - [st.data_editor](https://docs.streamlit.io/develop/api-reference/data/st.data_editor)
      - [st.file_uploader](/develop/api-reference/widgets/st.file_uploader)
  - [Status elements](/develop/api-reference/status)
    - [CALLOUTS](/develop/api-reference/status/calloouts)
    - [st.success](/develop/api-reference/status/st.success)
    - [st.info](/develop/api-reference/status/st.info)
    - [st.warning](/develop/api-reference/status/st.warning)
    - [st.error](/develop/api-reference/status/st.error)
    - [st.exception](/develop/api-reference/status/st.exception)
    - [OTHER](/develop/api-reference/status/other)
    - [st.progress](/develop/api-reference/status/st.progress)
    - [st.spinner](/develop/api-reference/status/st.spinner)
    - [st.status](/develop/api-reference/status/st.status)
    - [st.toast](/develop/api-reference/status/st.toast)
    - [st.balloons](/develop/api-reference/status/st.balloons)
    - [st.snow](/develop/api-reference/status/st.snow)
  - [Chat elements](/develop/api-reference/chat)
    - [st.chat_input](/develop/api-reference/chat/st.chat_input)
    - [st.chat_message](/develop/api-reference/chat/st.chat_message)
    - [st.status](https://docs.streamlit.io/develop/api-reference/status/st.status)
  - [Media elements](/develop/api-reference/media)
    - [st.audio](/develop/api-reference/media/st.audio)
    - [st.image](/develop/api-reference/media/st.image)
    - [st.logo](/develop/api-reference/media/st.logo)
    - [st.pdf](/develop/api-reference/media/st.pdf)
    - [st.video](/develop/api-reference/media/st.video)
  - [Layouts and containers](/develop/api-reference/layout)
    - [st.columns](/develop/api-reference/layout/st.columns)
    - [st.container](/develop/api-reference/layout/st.container)
    - [st.dialog](https://docs.streamlit.io/develop/api-reference/execution-flow/st.dialog)
    - [st.empty](/develop/api-reference/layout/st.empty)
    - [st.expander](/develop/api-reference/layout/st.expander)
    - [st.form](https://docs.streamlit.io/develop/api-reference/execution-flow/st.form)
    - [st.popover](/develop/api-reference/layout/st.popover)
    - [st.sidebar](/develop/api-reference/layout/st.sidebar)
    - [st.space](/develop/api-reference/layout/st.space)
    - [st.tabs](/develop/api-reference/layout/st.tabs)
  - [App testing](/develop/api-reference/app-testing)
    - [Get started](/develop/api-reference/app-testing/get-started)
    - [Beyond the basics](/develop/api-reference/app-testing/beyond-the-basics)
    - [Automate your tests](/develop/api-reference/app-testing/automate-tests)
    - [Example](/develop/api-reference/app-testing/examples)
    - [Cheat sheet](/develop/api-reference/app-testing/cheat-sheet)
  - [Custom components](/develop/api-reference/custom-components)
    - [V2 BACKEND (PYTHON)](/develop/api-reference/custom-components/v2-backend-python)
    - [BidiComponentCallable](/develop/api-reference/custom-components/bidi-component-callable)
    - [component](/develop/api-reference/custom-components/component)
    - [V2 FRONTEND (TYPESCRIPT)](/develop/api-reference/custom-components/v2-frontend-typescript)
    - [component-v2-lib](/develop/api-reference/custom-components/component-v2-lib)
    - [Component](/develop/api-reference/custom-components/component-v2-lib-component)
    - [ComponentArgs](/develop/api-reference/custom-components/component-v2-lib-componentargs)
    - [ComponentState](/develop/api-reference/custom-components/component-v2-lib-componentstate)
    - [OptionalComponentCleanupFunction](/develop/api-reference/custom-components/component-v2-lib-optionalcomponentcleanupfunction)
    - [V1 COMPONENTS](/develop/api-reference/custom-components/v1-components)
    - [declare_component](/develop/api-reference/custom-components/st.components.v1.declare_component)
    - [html](/develop/api-reference/custom-components/st.components.v1.html)
  - [Configuration](/develop/api-reference/configuration)
    - [config.toml](/develop/api-reference/configuration/config.toml)
    - [st.get_option](/develop/api-reference/configuration/st.get_option)
    - [st.set_option](/develop/api-reference/configuration/st.set_option)
    - [st.set_page_config](/develop/api-reference/configuration/st.set_page_config)
  - [TOOLS](/develop/api-reference/tools)
  - [App testing](/develop/api-reference/app-testing)
    - [AppTest](/develop/api-reference/app-testing/st.testing.v1.apptest)
    - [element_tree](/develop/api-reference/app-testing/testing-element-classes)
  - [Command line](/develop/api-reference/cli)
    - [streamlit-cache](/develop/api-reference/cli/cache)
    - [streamlit-config](/develop/api-reference/cli/config)
    - [streamlit-docs](/develop/api-reference/cli/docs)
    - [streamlit-hello](/develop/api-reference/cli/hello)
    - [streamlit-help](/develop/api-reference/cli/help)
    - [streamlit-init](/develop/api-reference/cli/init)
    - [streamlit-run](/develop/api-reference/cli/run)
    - [streamlit-version](/develop/api-reference/cli/version)

### Tutorials
- [Authentication and personalization](/develop/tutorials/authentication)
  - [Google Auth Platform](/develop/tutorials/authentication/google)
  - [Microsoft Entra](/develop/tutorials/authentication/microsoft)
- [Chat and LLM apps](/develop/tutorials/chat-and-llm-apps)
  - [Build a basic LLM chat app](/develop/tutorials/chat-and-llm-apps/build-conversational-apps)
  - [Build an LLM app using LangChain](/develop/tutorials/chat-and-llm-apps/llm-quickstart)
  - [Get chat response feedback](/develop/tutorials/chat-and-llm-apps/chat-response-feedback)
  - [Validate and edit chat responses](/develop/tutorials/chat-and-llm-apps/validate-and-edit-chat-responses)
- [Configuration and theming](/develop/tutorials/configuration-and-theming)
  - [Use external font files](/develop/tutorials/configuration-and-theming/external-fonts)
  - [Use external font files (streamlit<1.50.0)](/develop/tutorials/configuration-and-theming/external-fonts-old)
  - [Use static font files](/develop/tutorials/configuration-and-theming/static-fonts)
  - [Use variable font files](/develop/tutorials/configuration-and-theming/variable-fonts)
- [Connect to data sources](/develop/tutorials/databases)
  - [AWS S3](/develop/tutorials/databases/aws-s3)
  - [BigQuery](/develop/tutorials/databases/bigquery)
  - [Firestore](https://blog.streamlit.io/streamlit-firestore/)
  - [Google Cloud Storage](/develop/tutorials/databases/gcs)
  - [Microsoft SQL Server](/develop/tutorials/databases/mssql)
  - [MongoDB](/develop/tutorials/databases/mongodb)
  - [MySQL](/develop/tutorials/databases/mysql)
  - [Neon](/develop/tutorials/databases/neon)
  - [PostgreSQL](/develop/tutorials/databases/postgresql)
  - [Private Google Sheet](/develop/tutorials/databases/private-gsheet)
  - [Public Google Sheet](/develop/tutorials/databases/public-gsheet)
  - [Snowflake](/develop/tutorials/databases/snowflake)
  - [Supabase](/develop/tutorials/databases/supabase)
  - [Tableau](/develop/tutorials/databases/tableau)
  - [TiDB](/develop/tutorials/databases/tidb)
  - [TigerGraph](/develop/tutorials/databases/tigergraph)
- [Elements](/develop/tutorials/elements)
  - [CHARTS](/develop/tutorials/elements/charts)
  - [Annotate an Altair chart](/develop/tutorials/elements/annotate-an-altair-chart)
  - [DATAFRAMES](/develop/tutorials/elements/dataframes)
  - [Get dataframe row-selections](/develop/tutorials/elements/dataframe-row-selections)
  - [Get dataframe row-selections (streamlit<1.35.0)](/develop/tutorials/elements/dataframe-row-selections-old)
- [Execution flow](/develop/tutorials/execution-flow)
  - [FRAGMENTS](/develop/tutorials/execution-flow/fragments)
  - [Rerun your app from a fragment](/develop/tutorials/execution-flow/trigger-a-full-script-rerun-from-a-fragment)
  - [Create a multiple-container fragment](/develop/tutorials/execution-flow/create-a-multiple-container-fragment)
  - [Start and stop a streaming fragment](/develop/tutorials/execution-flow/start-and-stop-fragment-auto-reruns)
- [Multipage apps](/develop/tutorials/multipage)
  - [Dynamic navigation](/develop/tutorials/multipage/dynamic-navigation)
  - [Build navigation with st.page_link](/develop/tutorials/multipage/st.page_link-nav)

### Quick reference
- [Cheat sheet](/develop/quick-reference/cheat-sheet)
- [Release notes](/develop/quick-reference/release-notes)
  - [2025](/develop/quick-reference/release-notes/2025)
  - [2024](/develop/quick-reference/release-notes/2024)
  - [2023](/develop/quick-reference/release-notes/2023)
  - [2022](/develop/quick-reference/release-notes/2022)
  - [2021](/develop/quick-reference/release-notes/2021)
  - [2020](/develop/quick-reference/release-notes/2020)
  - [2019](/develop/quick-reference/release-notes/2019)
- [Pre-release features](/develop/quick-reference/prerelease)
- [Roadmap](https://roadmap.streamlit.app)

## Category

Develop / API reference / Caching and state / st.experimental_set_query_params

## Version

Streamlit Version: Version 1.52.0

## Category

### Get started
- [Installation](/get-started/installation)
- [Fundamentals](/get-started/fundamentals)
- [First steps](/get-started/tutorials)

### Develop
- [Concepts](/develop/concepts)
- [API reference](/develop/api-reference)
  - PAGE ELEMENTS
  - [Write and magic](/develop/api-reference/write-magic)
    - [st.write](/develop/api-reference/write-magic/st.write)
    - [st.write_stream](/develop/api-reference/write-magic/st.write_stream)
    - [magic](/develop/api-reference/write-magic/magic)
  - [Text elements](/develop/api-reference/text)
    - [HEADINGS AND BODY](/develop/api-reference/text/headings-body)
    - [st.title](/develop/api-reference/text/st.title)
    - [st.header](/develop/api-reference/text/st.header)
    - [st.subheader](/develop/api-reference/text/st.subheader)
    - [st.markdown](/develop/api-reference/text/st.markdown)
    - [st.badge](/develop/api-reference/text/st.badge)
    - [st.caption](/develop/api-reference/text/st.caption)
    - [st.code](/develop/api-reference/text/st.code)
    - [st.divider](/develop/api-reference/text/st.divider)
    - [st.echo](/develop/api-reference/text/st.echo)
    - [st.latex](/develop/api-reference/text/st.latex)
    - [st.text](/develop/api-reference/text/st.text)
    - [UTILITIES](/develop/api-reference/text/utilities)
      - [st.help](/develop/api-reference/text/st.help)
      - [st.html](/develop/api-reference/text/st.html)
  - [Data elements](/develop/api-reference/data)
    - [st.dataframe](/develop/api-reference/data/st.dataframe)
    - [st.data_editor](/develop/api-reference/data/st.data_editor)
    - [st.column_config](/develop/api-reference/data/st.column_config)
      - [Column](/develop/api-reference/data/st.column_config/st.column_config.column)
      - [Text column](/develop/api-reference/data/st.column_config/st.column_config.textcolumn)
      - [Number column](/develop/api-reference/data/st.column_config/st.column_config.numbercolumn)
      - [Checkbox column](/develop/api-reference/data/st.column_config/st.column_config.checkboxcolumn)
      - [Selectbox column](/develop/api-reference/data/st.column_config/st.column_config.selectboxcolumn)
      - [Multiselect column](/develop/api-reference/data/st.column_config/st.column_config.multiselectcolumn)
      - [Datetime column](/develop/api-reference/data/st.column_config/st.column_config.datetimecolumn)
      - [Date column](/develop/api-reference/data/st.column_config/st.column_config.datecolumn)
      - [Time column](/develop/api-reference/data/st.column_config/st.column_config.timecolumn)
      - [JSON column](/develop/api-reference/data/st.column_config/st.column_config.jsoncolumn)
      - [List column](/develop/api-reference/data/st.column_config/st.column_config.listcolumn)
      - [Link column](/develop/api-reference/data/st.column_config/st.column_config.linkcolumn)
      - [Image column](/develop/api-reference/data/st.column_config/st.column_config.imagecolumn)
      - [Area chart column](/develop/api-reference/data/st.column_config/st.column_config.areachartcolumn)
      - [Line chart column](/develop/api-reference/data/st.column_config/st.column_config.linechartcolumn)
      - [Bar chart column](/develop/api-reference/data/st.column_config/st.column_config.barchartcolumn)
      - [Progress column](/develop/api-reference/data/st.column_config/st.column_config.progresscolumn)
    - [st.table](/develop/api-reference/data/st.table)
    - [st.metric](/develop/api-reference/data/st.metric)
    - [st.json](/develop/api-reference/data/st.json)
    - [st.experimental_data_editor](/develop/api-reference/data/st.experimental_data_editor)
  - [Chart elements](/develop/api-reference/charts)
    - [SIMPLE](/develop/api-reference/charts/simple)
    - [st.area_chart](/develop/api-reference/charts/st.area_chart)
    - [st.bar_chart](/develop/api-reference/charts/st.bar_chart)
    - [st.line_chart](/develop/api-reference/charts/st.line_chart)
    - [st.map](/develop/api-reference/charts/st.map)
    - [st.scatter_chart](/develop/api-reference/charts/st.scatter_chart)
    - [ADVANCED](/develop/api-reference/charts/advanced)
      - [st.altair_chart](/develop/api-reference/charts/st.altair_chart)
      - [st.bokeh_chart](/develop/api-reference/charts/st.bokeh_chart)
      - [st.graphviz_chart](/develop/api-reference/charts/st.graphviz_chart)
      - [st.plotly_chart](/develop/api-reference/charts/st.plotly_chart)
      - [st.pydeck_chart](/develop/api-reference/charts/st.pydeck_chart)
      - [st.pyplot](/develop/api-reference/charts/st.pyplot)
      - [st.vega_lite_chart](/develop/api-reference/charts/st.vega_lite_chart)
  - [Input widgets](/develop/api-reference/widgets)
    - [BUTTONS](/develop/api-reference/widgets/buttons)
    - [st.button](/develop/api-reference/widgets/st.button)
    - [st.download_button](/develop/api-reference/widgets/st.download_button)
    - [st.form_submit_button](https://docs.streamlit.io/develop/api-reference/execution-flow/st.form_submit_button)
    - [st.link_button](/develop/api-reference/widgets/st.link_button)
    - [st.page_link](/develop/api-reference/widgets/st.page_link)
    - [SELECTIONS](/develop/api-reference/widgets/selections)
    - [st.checkbox](/develop/api-reference/widgets/st.checkbox)
    - [st.color_picker](/develop/api-reference/widgets/st.color_picker)
    - [st.feedback](/develop/api-reference/widgets/st.feedback)
    - [st.multiselect](/develop/api-reference/widgets/st.multiselect)
    - [st.pills](/develop/api-reference/widgets/st.pills)
    - [st.radio](/develop/api-reference/widgets/st.radio)
    - [st.segmented_control](/develop/api-reference/widgets/st.segmented_control)
    - [st.selectbox](/develop/api-reference/widgets/st.selectbox)
    - [st.select_slider](/develop/api-reference/widgets/st.select_slider)
    - [st.toggle](/develop/api-reference/widgets/st.toggle)
    - [NUMERIC](/develop/api-reference/widgets/numeric)
    - [st.number_input](/develop/api-reference/widgets/st.number_input)
    - [st.slider](/develop/api-reference/widgets/st.slider)
    - [DATE AND TIME](/develop/api-reference/widgets/date-time)
    - [st.date_input](/develop/api-reference/widgets/st.date_input)
    - [st.datetime_input](/develop/api-reference/widgets/st.datetime_input)
    - [st.time_input](/develop/api-reference/widgets/st.time_input)
    - [TEXT](/develop/api-reference/widgets/text)
    - [st.chat_input](https://docs.streamlit.io/develop/api-reference/chat/st.chat_input)
    - [st.text_area](/develop/api-reference/widgets/st.text_area)
    - [st.text_input](/develop/api-reference/widgets/st.text_input)
    - [MEDIA AND FILES](/develop/api-reference/widgets/media)
      - [st.audio_input](/develop/api-reference/widgets/st.audio_input)
      - [st.camera_input](/develop/api-reference/widgets/st.camera_input)
      - [st.data_editor](https://docs.streamlit.io/develop/api-reference/data/st.data_editor)
      - [st.file_uploader](/develop/api-reference/widgets/st.file_uploader)
  - [Status elements](/develop/api-reference/status)
    - [CALLOUTS](/develop/api-reference/status/calloouts)
    - [st.success](/develop/api-reference/status/st.success)
    - [st.info](/develop/api-reference/status/st.info)
    - [st.warning](/develop/api-reference/status/st.warning)
    - [st.error](/develop/api-reference/status/st.error)
    - [st.exception](/develop/api-reference/status/st.exception)
    - [OTHER](/develop/api-reference/status/other)
    - [st.progress](/develop/api-reference/status/st.progress)
    - [st.spinner](/develop/api-reference/status/st.spinner)
    - [st.status](/develop/api-reference/status/st.status)
    - [st.toast](/develop/api-reference/status/st.toast)
    - [st.balloons](/develop/api-reference/status/st.balloons)
    - [st.snow](/develop/api-reference/status/st.snow)
  - [Chat elements](/develop/api-reference/chat)
    - [st.chat_input](/develop/api-reference/chat/st.chat_input)
    - [st.chat_message](/develop/api-reference/chat/st.chat_message)
    - [st.status](https://docs.streamlit.io/develop/api-reference/status/st.status)
  - [Media elements](/develop/api-reference/media)
    - [st.audio](/develop/api-reference/media/st.audio)
    - [st.image](/develop/api-reference/media/st.image)
    - [st.logo](/develop/api-reference/media/st.logo)
    - [st.pdf](/develop/api-reference/media/st.pdf)
    - [st.video](/develop/api-reference/media/st.video)
  - [Layouts and containers](/develop/api-reference/layout)
    - [st.columns](/develop/api-reference/layout/st.columns)
    - [st.container](/develop/api-reference/layout/st.container)
    - [st.dialog](https://docs.streamlit.io/develop/api-reference/execution-flow/st.dialog)
    - [st.empty](/develop/api-reference/layout/st.empty)
    - [st.expander](/develop/api-reference/layout/st.expander)
    - [st.form](https://docs.streamlit.io/develop/api-reference/execution-flow/st.form)
    - [st.popover](/develop/api-reference/layout/st.popover)
    - [st.sidebar](/develop/api-reference/layout/st.sidebar)
    - [st.space](/develop/api-reference/layout/st.space)
    - [st.tabs](/develop/api-reference/layout/st.tabs)
  - [App testing](/develop/api-reference/app-testing)
    - [Get started](/develop/api-reference/app-testing/get-started)
    - [Beyond the basics](/develop/api-reference/app-testing/beyond-the-basics)
    - [Automate your tests](/develop/api-reference/app-testing/automate-tests)
    - [Example](/develop/api-reference/app-testing/examples)
    - [Cheat sheet](/develop/api-reference/app-testing/cheat-sheet)
  - [Custom components](/develop/api-reference/custom-components)
    - [V2 BACKEND (PYTHON)](/develop/api-reference/custom-components/v2-backend-python)
    - [BidiComponentCallable](/develop/api-reference/custom-components/bidi-component-callable)
    - [component](/develop/api-reference/custom-components/component)
    - [V2 FRONTEND (TYPESCRIPT)](/develop/api-reference/custom-components/v2-frontend-typescript)
    - [component-v2-lib](/develop/api-reference/custom-components/component-v2-lib)
    - [Component](/develop/api-reference/custom-components/component-v2-lib-component)
    - [ComponentArgs](/develop/api-reference/custom-components/component-v2-lib-componentargs)
    - [ComponentState](/develop/api-reference/custom-components/component-v2-lib-componentstate)
    - [OptionalComponentCleanupFunction](/develop/api-reference/custom-components/component-v2-lib-optionalcomponentcleanupfunction)
    - [V1 COMPONENTS](/develop/api-reference/custom-components/v1-components)
    - [declare_component](/develop/api-reference/custom-components/st.components.v1.declare_component)
    - [html](/develop/api-reference/custom-components/st.components.v1.html)
  - [Configuration](/develop/api-reference/configuration)
    - [config.toml](/develop/api-reference/configuration/config.toml)
    - [st.get_option](/develop/api-reference/configuration/st.get_option)
    - [st.set_option](/develop/api-reference/configuration/st.set_option)
    - [st.set_page_config](/develop/api-reference/configuration/st.set_page_config)
  - [TOOLS](/develop/api-reference/tools)
  - [App testing](/develop/api-reference/app-testing)
    - [AppTest](/develop/api-reference/app-testing/st.testing.v1.apptest)
    - [element_tree](/develop/api-reference/app-testing/testing-element-classes)
  - [Command line](/develop/api-reference/cli)
    - [streamlit-cache](/develop/api-reference/cli/cache)
    - [streamlit-config](/develop/api-reference/cli/config)
    - [streamlit-docs](/develop/api-reference/cli/docs)
    - [streamlit-hello](/develop/api-reference/cli/hello)
    - [streamlit-help](/develop/api-reference/cli/help)
    - [streamlit-init](/develop/api-reference/cli/init)
    - [streamlit-run](/develop/api-reference/cli/run)
    - [streamlit-version](/develop/api-reference/cli/version)

## Category

Develop / API reference / Caching and state / st.experimental_set_query_params

## Version

Streamlit Version: Version 1.52.0

## Category

### Get started
- [Installation](/get-started/installation)
- [Fundamentals](/get-started/fundamentals)
- [First steps](/get-started/tutorials)

### Develop
- [Concepts](/develop/concepts)
- [API reference](/develop/api-reference)
  - PAGE ELEMENTS
  - [Write and magic](/develop/api-reference/write-magic)
    - [st.write](/develop/api-reference/write-magic/st.write)
    - [st.write_stream](/develop/api-reference/write-magic/st.write_stream)
    - [magic](/develop/api-reference/write-magic/magic)
  - [Text elements](/develop/api-reference/text)
    - [HEADINGS AND BODY](/develop/api-reference/text/headings-body)
    - [st.title](/develop/api-reference/text/st.title)
    - [st.header](/develop/api-reference/text/st.header)
    - [st.subheader](/develop/api-reference/text/st.subheader)
    - [st.markdown](/develop/api-reference/text/st.markdown)
    - [st.badge](/develop/api-reference/text/st.badge)
    - [st.caption](/develop/api-reference/text/st.caption)
    - [st.code](/develop/api-reference/text/st.code)
    - [st.divider](/develop/api-reference/text/st.divider)
    - [st.echo](/develop/api-reference/text/st.echo)
    - [st.latex](/develop/api-reference/text/st.latex)
    - [st.text](/develop/api-reference/text/st.text)
    - [UTILITIES](/develop/api-reference/text/utilities)
      - [st.help](/develop/api-reference/text/st.help)
      - [st.html](/develop/api-reference/text/st.html)
  - [Data elements](/develop/api-reference/data)
    - [st.dataframe](/develop/api-reference/data/st.dataframe)
    - [st.data_editor](/develop/api-reference/data/st.data_editor)
    - [st.column_config](/develop/api-reference/data/st.column_config)
      - [Column](/develop/api-reference/data/st.column_config/st.column_config.column)
      - [Text column](/develop/api-reference/data/st.column_config/st.column_config.textcolumn)
      - [Number column](/develop/api-reference/data/st.column_config/st.column_config.numbercolumn)
      - [Checkbox column](/develop/api-reference/data/st.column_config/st.column_config.checkboxcolumn)
      - [Selectbox column](/develop/api-reference/data/st.column_config/st.column_config.selectboxcolumn)
      - [Multiselect column](/develop/api-reference/data/st.column_config/st.column_config.multiselectcolumn)
      - [Datetime column](/develop/api-reference/data/st.column_config/st.column_config.datetimecolumn)
      - [Date column](/develop/api-reference/data/st.column_config/st.column_config.datecolumn)
      - [Time column](/develop/api-reference/data/st.column_config/st.column_config.timecolumn)
      - [JSON column](/develop/api-reference/data/st.column_config/st.column_config.jsoncolumn)
      - [List column](/develop/api-reference/data/st.column_config/st.column_config.listcolumn)
      - [Link column](/develop/api-reference/data/st.column_config/st.column_config.linkcolumn)
      - [Image column](/develop/api-reference/data/st.column_config/st.column_config.imagecolumn)
      - [Area chart column](/develop/api-reference/data/st.column_config/st.column_config.areachartcolumn)
      - [Line chart column](/develop/api-reference/data/st.column_config/st.column_config.linechartcolumn)
      - [Bar chart column](/develop/api-reference/data/st.column_config/st.column_config.barchartcolumn)
      - [Progress column](/develop/api-reference/data/st.column_config/st.column_config.progresscolumn)
    - [st.table](/develop/api-reference/data/st.table)
    - [st.metric](/develop/api-reference/data/st.metric)
    - [st.json](/develop/api-reference/data/st.json)
    - [st.experimental_data_editor](/develop/api-reference/data/st.experimental_data_editor)
  - [Chart elements](/develop/api-reference/charts)
    - [SIMPLE](/develop/api-reference/charts/simple)
    - [st.area_chart](/develop/api-reference/charts/st.area_chart)
    - [st.bar_chart](/develop/api-reference/charts/st.bar_chart)
    - [st.line_chart](/develop/api-reference/charts/st.line_chart)
    - [st.map](/develop/api-reference/charts/st.map)
    - [st.scatter_chart](/develop/api-reference/charts/st.scatter_chart)
    - [ADVANCED](/develop/api-reference/charts/advanced)
      - [st.altair_chart](/develop/api-reference/charts/st.altair_chart)
      - [st.bokeh_chart](/develop/api-reference/charts/st.bokeh_chart)
      - [st.graphviz_chart](/develop/api-reference/charts/st.graphviz_chart)
      - [st.plotly_chart](/develop/api-reference/charts/st.plotly_chart)
      - [st.pydeck_chart](/develop/api-reference/charts/st.pydeck_chart)
      - [st.pyplot](/develop/api-reference/charts/st.pyplot)
      - [st.vega_lite_chart](/develop/api-reference/charts/st.vega_lite_chart)
  - [Input widgets](/develop/api-reference/widgets)
    - [BUTTONS](/develop/api-reference/widgets/buttons)
    - [st.button](/develop/api-reference/widgets/st.button)
    - [st.download_button](/develop/api-reference/widgets/st.download_button)
    - [st.form_submit_button](https://docs.streamlit.io/develop/api-reference/execution-flow/st.form_submit_button)
    - [st.link_button](/develop/api-reference/widgets/st.link_button)
    - [st.page_link](/develop/api-reference/widgets/st.page_link)
    - [SELECTIONS](/develop/api-reference/widgets/selections)
    - [st.checkbox](/develop/api-reference/widgets/st.checkbox)
    - [st.color_picker](/develop/api-reference/widgets/st.color_picker)
    - [st.feedback](/develop/api-reference/widgets/st.feedback)
    - [st.multiselect](/develop/api-reference/widgets/st.multiselect)
    - [st.pills](/develop/api-reference/widgets/st.pills)
    - [st.radio](/develop/api-reference/widgets/st.radio)
    - [st.segmented_control](/develop/api-reference/widgets/st.segmented_control)
    - [st.selectbox](/develop/api-reference/widgets/st.selectbox)
    - [st.select_slider](/develop/api-reference/widgets/st.select_slider)
    - [st.toggle](/develop/api-reference/widgets/st.toggle)
    - [NUMERIC](/develop/api-reference/widgets/numeric)
    - [st.number_input](