text: Skip to main contentğŸ¦œï¸�ğŸ”— LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API WrapperDuckDuckGo SearchFile System ToolsGolden QueryGoogle PlacesGoogle SearchGoogle Serper APIGradio ToolsGraphQL toolhuggingface_toolsHuman as a toolIFTTT WebHooksLemon AI NLP Workflow AutomationMetaphor SearchOpenWeatherMap APIPubMed ToolRequestsSceneXplainSearch ToolsSearxNG Search APISerpAPITwilioWikipediaWolfram AlphaYouTubeSearchToolZapier Natural Language Actions APIVector storesGrouped by providerIntegrationsToolsSerpAPIOn this pageSerpAPIThis notebook goes over how to use the SerpAPI component to search the web.from langchain.utilities import SerpAPIWrappersearch = SerpAPIWrapper()search.run("Obama's first name?")    'Barack Hussein Obama II'Custom Parametersâ€‹You can also customize the SerpAPI wrapper with arbitrary parameters. For example, in the below example we will use bing instead of google.params = {    "engine": "bing",    "gl": "us",    "hl": "en",}search = SerpAPIWrapper(params=params)search.run("Obama's first name?")    'Barack Hussein Obama II is an American politician who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American presiâ€¦New content will be added above the current area of focus upon selectionBarack Hussein Obama II is an