Keys / Serper

SERPER_API_KEY

The Serper API key your app runs Google searches with.

Expires
the docs don't say
API
none documented; dashboard only

Get it

Create one on serper.dev/api-keys. The steps aren't recorded yet.

Set it

SERPER_API_KEY=...

LangChain's GoogleSerperAPIWrapper and CrewAI's SerperDevTool read it from this variable. Otherwise your app sends it in the X-API-KEY header. Or keep it out of .env with keypin: keypin run -- npm run dev

Replace it

  1. On the API Keys page, create a new key. Don't use Reset for this: it stops the old value at once.
  2. Deploy the new key everywhere that reads SERPER_API_KEY.
  3. Check that searches succeed with the new key. The page has no delete action, so reset the old key to stop its value.

Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.

Sources, checked 2026-11-16