SDKs & integrations
Official, zero- or minimal-dependency clients for the serp.cheap API. Each one wraps POST /v1/search
(plus /v1/scrape and /v1/rank) with typed parameters and responses, automatic retries on transient
errors, and pagination helpers. Nine languages, framework integrations for the major web stacks, a CLI,
and an MCP server for AI agents.
Install a language SDK
Section titled “Install a language SDK”npm install @serpcheap/sdkpip install serpcheapgo get github.com/serpcheap/serpcheap-gocargo add serpcheap<dependency> <groupId>cheap.serp</groupId> <artifactId>serpcheap</artifactId> <version>0.2.0</version></dependency>composer require serpcheap/serpcheapgem install serpcheapdotnet add package SerpCheap{:serpcheap, "~> 0.2"}Framework integrations
Section titled “Framework integrations”Drop-in modules that wire the SDK into your framework’s config, DI container and conventions.
| Framework | Language | Install |
|---|---|---|
| Laravel | PHP | composer require serpcheap/laravel |
| Rails | Ruby | gem install serpcheap-rails |
| Django | Python | pip install serpcheap-django |
| FastAPI | Python | pip install serpcheap-fastapi |
| Spring Boot | Java | cheap.serp:serpcheap-spring-boot-starter (Maven) |
| NestJS | Node | npm install @serpcheap/nestjs |
| Next.js | Node | npm install @serpcheap/next |
| ASP.NET Core | .NET | dotnet add package SerpCheap.AspNetCore |
Command line
Section titled “Command line”go install github.com/serpcheap/serpcheap-cli@latest# thenexport SERPCHEAP_API_KEY=your_keyserpcheap search "best running shoes" --gl usLanguage guides
Section titled “Language guides” JavaScript / TypeScript @serpcheap/sdk — Node 18+, zero deps.
Python serpcheap — Python 3.8+, stdlib only.
Go serpcheap-go — Go 1.21+, stdlib only.
Rust serpcheap crate — rustls, blocking client.
Java cheap.serp:serpcheap — Java 11+.
All clients and integrations accept the same search parameters and return the same response shape. Need agent/LLM access instead? See the MCP server.