open source · MIT license

OpenSERP, the free self-hosted SERP API for Google, Bing, Yandex & more.

OpenSERP gives developers a totally free open-source SERP API they can run on their own infrastructure. Collect structured Google, Bing, Yandex, Baidu, DuckDuckGo and Ecosia results, then move the same search-data workflow to OpenSERP Cloud when you want a managed API.

GoogleBingYandexBaiduDuckDuckGoEcosia
- GitHub stars6 search enginesMIT licenseGo powered

One request, structured results across every engine

The same response shape works for Google, Bing, Yandex, Baidu, DuckDuckGo, and megasearch. Use it in your app, pipeline, or LLM prompt.

Single-engine search with full result envelope.
curl 'http://127.0.0.1:7000/google/search?text=open+source+serp+api&limit=10'
{
  "meta": {
    "engines_failed": [],
    "request_id": "019eb88e-d8ec-7c66-b50a-b8ff662a9db6",
    "requested_at": "2026-06-11T21:20:29Z",
    "took_ms": 1201,
    "version": "2.1"
  },
  "pagination": {
    "has_more": true,
    "next_start": 10,
    "page": 1
  },
  "query": {
    "engines_requested": [
      "google"
    ],
    "text": "open source serp api"
  },
  "results": [
    {
      "classification": {
        "content_type": "webpage",
        "source_hint": "code_repository"
      },
      "display_url": "github.com › karust › openserp",
      "domain": "github.com",
      "domain_info": {
        "category": "",
        "sld": "github",
        "tld": "com"
      },
      "engine": "google",
      "favicon": "https://github.com/favicon.ico",
      "id": "s_c84e44351617d71f",
      "position": {
        "absolute": 1
      },
      "rank": 1,
      "snippet": "OpenSERP is a free, open-source API and CLI for accessing normalized search engine results from Google, Yandex, Baidu, Bing, DuckDuckGo, and Ecosia.",
      "title": "karust/openserp: Open-source SERP API for AI, SEO & ...",
      "type": "organic",
      "url": "https://github.com/karust/openserp"
    },
    {
      "classification": {
        "content_type": "webpage",
        "source_hint": "social_forum"
      },
      "display_url": "reddit.com › r › LocalLLaMA › comments › 1c62wmz › ...",
      "domain": "reddit.com",
      "domain_info": {
        "category": "forum",
        "sld": "reddit",
        "tld": "com"
      },
      "engine": "google",
      "favicon": "https://reddit.com/favicon.ico",
      "id": "s_4e18eaf95d083f7e",
      "position": {
        "absolute": 2
      },
      "rank": 2,
      "snippet": "They're not entirely free but at least they offer a solid free plan for Google SERP scraping. You get 1,000 free API credits with Scrapingbee.",
      "title": "Serp Alternative: Google result scrape- Hopefully free",
      "type": "organic",
      "url": "https://www.reddit.com/r/LocalLLaMA/comments/1c62wmz/serp_alternative_google_result_scrape_hopefully"
    }
  ],
  "serp_features": []
}

The free, open-source SERP API for every major engine

OpenSERP handles browser automation, multi-engine parsing, and retry logic so you don't have to. MIT-licensed, production-ready, and a true open-source alternative to paid SERP API providers.

REST API server

Start a local REST server with one Docker command. Query any engine from your app, script, or pipeline in seconds.

Structured output

Consistent JSON with titles, URLs, snippets, ranks, and SERP features such as AI summaries, answer boxes, people-also-ask, and related searches.

Completely free

MIT-licensed with no API keys, no rate limits, and no vendor lock-in. Deploy on any infrastructure you already run.

From solo developers to data-heavy teams

OpenSERP fits any workflow that needs reliable, programmatic search access. From quick prototypes to production-grade data pipelines.

Developers & product teams

Integrate live SERP data into apps, dashboards, or AI agents with a small REST API and minimal setup.

SEO teams & agencies

Track rankings, monitor competitors, and inspect SERP features such as AI summaries, answer boxes, people-also-ask, and related searches.

Research & AI pipelines

Ground LLM responses and retrieval workflows on live, multi-engine search results.

Skip the ops. Use OpenSERP Cloud.

Managed endpoint, no infrastructure to run. Join now and get access in minutes with free starter credits.

OpenSERP common questions

Short answers to what developers ask before adopting a SERP API. See the docs for the long version.

Is OpenSERP really free?

Yes. OpenSERP is MIT-licensed open-source software. Self-host it with one Docker command and you pay nothing: no API keys, no per-query fees, no rate limits beyond what your own machine allows. OpenSERP Cloud is the optional managed version with pay-as-you-go pricing.

Is OpenSERP a free alternative to SerpApi, Serper, or Scale SERP?

OpenSERP is the open-source alternative to paid SERP API providers. You get structured results for Google, Bing, Yandex, Baidu, DuckDuckGo, and Ecosia from one REST endpoint, without subscription fees or vendor lock-in. Use the OSS version free, or use OpenSERP Cloud when you do not want to run the infrastructure.

Which search engines does the SERP API support?

Google, Bing, Yandex, Baidu, DuckDuckGo, and Ecosia for web and image search. Cloud also exposes multi-engine megasearch endpoints that query several engines in one call.

How do I self-host OpenSERP?

Use the Docker image or Go binary to start a local REST server. Full installation commands and configuration details live in the docs.

Do I need an API key to use OpenSERP?

No key is needed for the open-source self-hosted version. OpenSERP Cloud uses bearer-token API keys (osk_live_…) so we can meter usage and bill credits per successful response.

What output format does OpenSERP return?

JSON by default, with Markdown, TXT, and NDJSON output options when you request them. The JSON shape stays consistent across engines: titles, URLs, snippets, rank, and best-effort SERP features such as AI summaries, answer boxes, people-also-ask, and related searches.

Start with OSS. Scale with Cloud.

OpenSERP OSS is free and production-ready today. Cloud is the managed path when you do not want to run the infrastructure.

Available now

OpenSERP OSS

Free · MIT License

  • Full source code on GitHub
  • Self-hosted on your infrastructure
  • No rate limits or API keys
  • Go binary & Docker image
  • 6 search engines out of the box
Open access

OpenSERP Cloud

Managed · Free credits to start

  • Managed API endpoint, no infrastructure to run
  • Free starter credits when you join
  • Pay-as-you-go credits, no subscription
  • Multi-engine, image & megasearch endpoints
  • Official hosted path built on OpenSERP OSS

Join now and get an invite within minutes. Start with free credits, no card required.