MIT Open Source antidrift

anyserp

SERP router with automatic fallback and parallel aggregation. 11 providers. Write once, switch providers without changing code.

Node.js · Python · Go
11 providers
4 search types
auto fallback routing
0 runtime deps
$ npm install @probeo/anyserp

What it does

anyserp wraps 11 SERP providers behind one API. If your primary provider is rate-limited or returns no results, it falls through to the next in your priority list. Parallel aggregation lets you query multiple providers at once and merge results.

Supports web, image, news, and video search types. Output is normalized — same structure regardless of which provider responded.

Usage

Node.js
import { anyserp } from '@probeo/anyserp';

const client = anyserp({ provider: 'serper', apiKey: process.env.SERPER_KEY });

// Web search
const results = await client.search({ q: 'site:example.com accessibility', type: 'web' });

// Parallel aggregation across providers
const agg = await client.aggregate({
  q: 'anymodel npm',
  providers: ['serper', 'brave', 'bing'],
});

// News search with fallback
const news = await client.search({
  q: 'MCP protocol updates',
  type: 'news',
  fallback: ['serpapi', 'google-cse'],
});

Providers

Serper SerpAPI Google CSE Bing Brave DataForSEO SearchAPI ValueSERP ScrapingDog Bright Data SearchCans

Search types

web image news video

Used in Probeo

anyserp was extracted from Probeo, where it runs in production as part of the research pipeline.