Download the PHP package serpcheap/serpcheap without Composer
On this page you can find all versions of the php package serpcheap/serpcheap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package serpcheap
serpcheap
Official PHP client for the serp.cheap Google Search API — real-time Google SERP data (organic results, ads, knowledge graph, page scraping, rank tracking).
The cheapest Google Search API we know of: $0.0003 per cached search, $0.0006 fresh, no monthly minimum (~10× cheaper than SerpApi).
A thin, dependency-free client built on ext-curl. Works on PHP 7.4 → 8.4.
Install
Quickstart
Get an API key at app.serp.cheap.
Search parameters
The response is a SerpCheap\SearchResponse. JSON camelCase fields are exposed
as public properties:
Multiple pages
Scrape page content with the search
Attach page scraping to a search — each organic result gains content
(markdown) and, when requested, a screenshotUrl (48h presigned URL):
Scrape a single page
Rank tracking
Find where a domain or URL ranks for a keyword:
Client options
Transient failures (429, 503, timeouts, network errors) are retried with
backoff, honoring the API's retry_after_ms. 4xx errors are never retried.
Errors
Every failure throws SerpCheap\SerpCheapException:
Error codes mirror the API taxonomy: invalid_request, missing_api_key,
unknown_api_key, inactive_api_key, account_blocked, insufficient_credits,
rate_limited, request_in_progress, too_many_concurrent_requests,
service_temporarily_unavailable, result_timeout, plus the client-side
client_timeout, network_error, and invalid_response.
License
MIT
All versions of serpcheap with dependencies
ext-curl Version *
ext-json Version *