# SerpApi JavaScript — card for AI agents

Official client for SerpApi search results.

Category: SDKs for hosted services · npm package `serpapi` · latest version 2.2.1 (checked 2026-11-01)
Install: `npm install serpapi`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 30.3 (#4026 of all tools, 250 of 287 in its category)
- Downloads last week: 176,453 (as of 2026-11-24), +18.2% over 4 weeks
- GitHub stars: 104 (as of 2026-11-24)
- Last push: 2026-11-09

## Often used with
dotenv 63.6%, Axios 54.5%, jsdom 54.5%, Zod 72.7%, OpenAI 45.5%, AI SDK 45.5%

## Links
- AgentGid page: https://agentgid.com/tools/serpapi-npm/
- Homepage: https://github.com/serpapi/serpapi-javascript#readme
- Repository: https://github.com/serpapi/serpapi-javascript

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
