• Verified
  • Free plan

SerpApi Node.js Library

Listed under GitHub repos

SerpApi Node.js Library is an open source Node.js package that sends search queries to the SerpApi backend to scrape results from Google, Bing, Baidu, Yahoo and more than 10 other engines.

Used for

  • search result scraping
  • serpapi client library
  • search api requests

What SerpApi Node.js Library does

google-search-results-nodejs is an MIT-licensed Node.js package that scrapes search results from Google, Bing, Baidu, Yahoo and more than ten other search engines. Requests go to a SerpApi backend rather than scraping directly from the client. The README covers requirements, installation with npm, a quick start query for coffee, supported engines, extra APIs, callback and promise styles, regression tests, error management and a changelog.

The package requires a basic understanding of ES6 and Node 7 or newer with NPM installed. Developers install it from npm, take a secret API key from the SerpApi Dashboard, and send queries to the backend. Results arrive through callbacks by default, with promises also supported, and the repository includes a regression suite run with an exported API key.

Key features

Multi-engine search coverage
Scrapes Google, Bing, Baidu, Yahoo and 10+ more engines, each listed in the supported engines section.
Install through npm
Package installs with npm install google-search-results-nodejs; the project requires Node 7+ and NPM.
Promise and callback support
Calls return through basic callbacks by default, and the library also supports promises for the same requests.
Search Archive API
The first search result returns a search_id, which the Search Archive API uses to retrieve earlier searches.
Account information API
A code snippet in the README prints account information for the holder of the API key.
Location API endpoint
Listed among the extra APIs in the table of contents, alongside the Search Archive and Account endpoints.
Interactive SerpApi Playground
SerpApi provides a Playground for testing the API interactively before writing any code.
Error management approach
The README states SerpApi keeps error management simple, with the backend server handling part of it.
Regression test suite
A regression suite is included in the repository and is run after exporting API_KEY as an environment variable.

How it works

  1. Install the package with npm install google-search-results-nodejs; Node 7+ and NPM are required.
  2. Get a secret API key from the SerpApi Dashboard page.
  3. Call the search endpoint with an engine and a query such as coffee, using that key.
  4. The SerpApi backend performs the scrape and returns the results as JSON.
  5. Handle the response through a callback or a promise.

Plans and pricing

The repository lists no pricing; the package is MIT licensed and queries are handled by a SerpApi backend account.

Integrations and platforms

Works with

  • SerpApi
  • Google
  • Bing
  • Baidu
  • Yahoo
  • Naver
  • HomeDepot
  • AppleStoreApp
  • Replit

Available as

  • API

Repository facts

  • Repositoryserpapi/google-search-results-nodejs
  • LanguageJavaScript
  • Stars95
  • Forks26
  • LicenceMIT
  • Created2018-02-07
  • Last commit2025-12-03
  • Open issues12
  • javascript
  • json
  • nodejs
  • seotools
  • serp
  • serp-api
  • serpapi
  • webscraping

Services and details

  • Does SEO work itself

    Yes
  • Free plan or free tools

    Yes
  • API or MCP server

    Yes

No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.

Compare with other SEO tools:

About the company

Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.