[android-components](../../index.md) / [mozilla.components.browser.search](../index.md) / [SearchEngine](index.md) / [buildSearchUrl](./build-search-url.md)

# buildSearchUrl

`fun buildSearchUrl(searchTerm: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/search/src/main/java/mozilla/components/browser/search/SearchEngine.kt#L33)

Builds a URL to search for the given search terms with this search engine.

