Skip to main content
Google Search API that returns structured search results including web pages, news, images, and places. Best for real-time web research, fact-checking, and gathering current information from Google’s index. Unlike Brave or Exa, returns Google-specific result formats including knowledge panels and related searches. 6 endpoints available through Lava’s AI Gateway. See the Serper API docs for full documentation.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.

Endpoints

Search the web via Google

POST https://google.serper.dev/search — $0.001 / request
const data = await lava.gateway('https://google.serper.dev/search', { body: {"q":"your search query"} });

Search for images

POST https://google.serper.dev/images — $0.001 / request
const data = await lava.gateway('https://google.serper.dev/images', { body: {"q":"your search query"} });

Search for news articles

POST https://google.serper.dev/news — $0.001 / request
const data = await lava.gateway('https://google.serper.dev/news', { body: {"q":"your search query"} });

Search for places and businesses

POST https://google.serper.dev/places — $0.001 / request
const data = await lava.gateway('https://google.serper.dev/places', { body: {"q":"restaurants near me"} });

Search Google Scholar

POST https://google.serper.dev/scholar — $0.001 / request
const data = await lava.gateway('https://google.serper.dev/scholar', { body: {"q":"machine learning"} });

Get search autocomplete suggestions

POST https://google.serper.dev/autocomplete — $0.001 / request
const data = await lava.gateway('https://google.serper.dev/autocomplete', { body: {"q":"how to"} });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests