# SerpAPI Alternative – Google, Bing & 16 More Search Engines (`trysmartapi/serpapi-alternative-google-search`) Actor

From $0.29 per 1,000 searches. Google, Bing, YouTube, Maps, News, Amazon and 12 more engines with the same JSON layout as SerpAPI (organic results, ads, People Also Ask, pagination). No SerpAPI account needed.

- **URL**: https://apify.com/trysmartapi/serpapi-alternative-google-search.md
- **Developed by:** [Smart API](https://apify.com/trysmartapi) (community)
- **Categories:** SEO tools, Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 157 total users, 156 monthly users, 98.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.29 / 1,000 search results pages

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SerpAPI Alternative – Google, Bing & 16 More Search Engines

> **18 search engines with the same JSON layout as SerpAPI: Google, Bing, YouTube, Google Maps, News, Shopping, Amazon and more, up to 80× cheaper. No SerpAPI account, no monthly plan, no API key to manage.**

This **SerpAPI alternative** returns real-time search results from **18 engines** in **the same JSON layout as SerpAPI**: organic results, ads, People Also Ask, related searches, knowledge graph, local results, videos, products, jobs and pagination. Your existing SerpAPI parsing code keeps working; you only change where the request goes.

- ✅ **$0.29 per 1,000 searches on every engine.** Pay per results page, with no subscription and no minimum.
- ✅ **18 engines, using SerpAPI's engine names**: `google`, `google_news`, `google_images`, `google_videos`, `google_maps`, `google_shopping`, `google_jobs`, `google_scholar`, `google_play`, `bing`, `duckduckgo`, `yahoo`, `yandex`, `baidu`, `youtube`, `amazon`, `ebay`, `walmart`.
- ✅ **SerpAPI-compatible JSON**: `organic_results`, `related_questions`, `ads`, `knowledge_graph`, `local_results`, `video_results`, `shopping_results`, `jobs_results` and the rest.
- ✅ **SerpAPI parameters**: `location`, `gl`, `hl`, `google_domain`, `device`, `num`, `safe`, `tbs`, plus any engine-specific parameter.
- ✅ **Pagination is handled for you.** Set *Pages per query* and the Actor follows the next pages.
- ✅ **You never pay for failures.** Failed queries come back as `#error` rows and are not charged.
- ✅ **Flat CSV mode**: one row per result, ready for Excel or Google Sheets.

### Supported engines

| Engine (`engine`) | What you get | Main result list |
|---|---|---|
| `google` | Google web search | `organic_results` |
| `google_news` | Google News | `news_results` |
| `google_images` | Google Images | `images_results` |
| `google_videos` | Google Videos | `video_results` |
| `google_maps` | Google Maps places | `local_results` |
| `google_shopping` | Google Shopping products | `shopping_results` |
| `google_jobs` | Google Jobs listings | `jobs_results` |
| `google_scholar` | Google Scholar papers | `organic_results` |
| `google_play` | Google Play apps | `organic_results` (sections) |
| `bing` | Bing web search | `organic_results` |
| `duckduckgo` | DuckDuckGo | `organic_results` |
| `yahoo` | Yahoo search | `organic_results` |
| `yandex` | Yandex search | `organic_results` |
| `baidu` | Baidu search | `organic_results` |
| `youtube` | YouTube videos, channels, shorts | `video_results` |
| `amazon` | Amazon products | `organic_results` |
| `ebay` | eBay listings | `organic_results` |
| `walmart` | Walmart products | `organic_results` |

Each query you type is sent as the engine's own query parameter (`q`, `search_query` for YouTube, `k` for Amazon, `_nkw` for eBay, `query` for Walmart, `p` for Yahoo, `text` for Yandex), so you never need to remember which.

***

### How much cheaper is it?

Price per 1,000 searches (one results page each, any engine), as published on 2026-10-30:

| Option | Price per 1,000 searches |
|---|---|
| **This Actor** | **$0.29** |
| SerpAPI Starter plan ($25 / 1,000 searches) | $25.00 |
| SerpAPI Production plan ($150 / 15,000) | $10.00 |
| SerpAPI Cloud 5M plan ($11,475 / 5M) | $2.30 |
| Google Search Results Scraper (Apify Store) | from $1.80 |
| Other SERP scrapers on the Apify Store | $0.45 – $5.00 |

Sources: [serpapi.com/pricing](https://serpapi.com/pricing) and the Actors' own Apify Store pages, read on 2026-10-30. Prices change; check the current figures before you decide.

There is no monthly commitment. You pay only for the pages you fetch, and Apify's free plan credit covers your first tests.

***

### Quick start

1. Pick a **Search engine** (Google by default).
2. Type one or more searches in **Search queries**, one per line.
3. Optionally set **Location**, **Country (gl)** and **Language (hl)** (Google engines and YouTube).
4. Choose **Pages per query** (each page is one charged search).
5. Click **Start**. Results appear in the **Output** tab, ready to export as JSON, CSV, Excel or HTML.

#### Input examples

```json
{ "engine": "youtube", "queries": ["lofi music"], "outputMode": "organic" }
```

```json
{ "engine": "amazon", "queries": ["usb c cable"], "extraParams": { "amazon_domain": "amazon.co.uk" } }
```

```json
{ "engine": "google_maps", "queries": ["pizza"], "extraParams": { "ll": "@40.7455096,-74.0083012,14z" } }
```

```json
{
    "queries": ["best coffee in new york", "site:reddit.com espresso machine"],
    "maxPagesPerQuery": 2,
    "gl": "us",
    "hl": "en",
    "location": "New York, New York, United States",
    "outputMode": "page"
}
```

#### Input reference

| Field | Type | Description |
|---|---|---|
| `engine` | string | One of the 18 engines above (default `google`). |
| `queries` | array of strings | **Required.** One search per item, sent as the engine's query parameter. Google operators (`site:`, `intitle:`, quotes) work. |
| `maxPagesPerQuery` | integer 1–10 | Result pages per query (default 1). Each page is one charged search. |
| `outputMode` | `page` | `organic` | `page` (default) gives one row per page with the full SerpAPI-style JSON. `organic` gives one flat row per result from the engine's main list (see the table above). |
| `location` | string | Google engines. Origin of the search, e.g. `Austin, Texas, United States`. |
| `gl` | string | Google engines and YouTube. Country code (default `us`). |
| `hl` | string | Google engines and YouTube. Language code (default `en`). |
| `google_domain` | string | e.g. `google.co.uk`. |
| `device` | `desktop` | `mobile` | `tablet` | Device to emulate. |
| `num` | integer | Results per page. Google may return fewer. Still one charged search. |
| `safe` | `active` | `off` | SafeSearch. |
| `tbs` | string | Advanced filters, e.g. `qdr:w` (past week). |
| `extraParams` | object | Any other SerpAPI parameter for the chosen engine, e.g. `{"start": 10}` (Google), `{"cc": "US"}` (Bing), `{"amazon_domain": "amazon.co.uk"}` (Amazon), `{"ll": "@40.74,-74.00,14z"}` (Google Maps). `api_key`, `engine`, `page_token`, `output`, `no_cache` and `async` are not allowed. |

***

### Output

#### Full page mode (default)

One dataset item per results page, in SerpAPI's layout, plus `query`, `page` and `requestId`:

```json
{
    "query": "best coffee in new york",
    "page": 1,
    "requestId": "6721c0e5b3f1a2c4d5e6f708",
    "search_parameters": { "engine": "google", "q": "best coffee in new york", "gl": "us", "hl": "en" },
    "search_information": { "total_results": 412000000, "time_taken_displayed": 0.41 },
    "organic_results": [
        {
            "position": 1,
            "title": "The 20 Best Coffee Shops in NYC",
            "link": "https://example.com/best-coffee-nyc",
            "displayed_link": "https://example.com › best-coffee-nyc",
            "snippet": "From Brooklyn roasters to Manhattan espresso bars…"
        }
    ],
    "related_questions": [{ "question": "What is the most famous coffee in New York?" }],
    "serpapi_pagination": { "current": 1, "next": "…" }
}
```

#### Results mode (flat rows)

One flat row per result from the engine's main list, with every field SerpAPI returns for it, plus:

| Field | Description |
|---|---|
| `query` | The search you asked for |
| `engine` | The engine used |
| `page` | Results page number |
| `position` | Rank on the page (numbered for you when the engine has none) |
| `section` | Google Play only: the section the app was listed in |
| `requestId` | Reference to quote if you contact support |

#### What differs from SerpAPI

- SerpAPI's own account fields (`search_metadata`, `serpapi_link`) are not included. Use `requestId` instead.
- `serpapi_pagination` is not included. The Actor follows the next pages for you; to get more, raise **Pages per query**.
- Google sometimes returns `/goto?url=…` redirect links instead of the destination in `organic_results[].link`. SerpAPI returns them the same way.

***

### Migrating from SerpAPI

Your parameters map one to one. Instead of

```bash
curl "https://serpapi.com/search.json?engine=youtube&search_query=lofi&api_key=YOUR_SERPAPI_KEY"
```

run the Actor with `{"engine": "youtube", "queries": ["lofi"]}` and read the same JSON from the dataset. `engine` takes SerpAPI's engine names.

#### JavaScript (apify-client)

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('trysmartapi/serpapi-alternative-google-search').call({
    queries: ['coffee'],
    gl: 'us',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].organic_results);
```

#### Python (apify-client)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("trysmartapi/serpapi-alternative-google-search").call(run_input={"queries": ["coffee"], "gl": "us"})
for page in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(page["organic_results"][0]["link"])
```

#### One HTTP call (run and get results)

```bash
curl -X POST "https://api.apify.com/v2/acts/trysmartapi~serpapi-alternative-google-search/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["coffee"], "gl": "us"}'
```

***

### Errors, retries and what you pay for

- **Temporary problems** (busy service, timeouts, rate limits) are retried automatically with backoff.
- **A bad query** (for example an invalid parameter) fails only that query. It appears as a row with `"#error": true`, a `code` and a `message`, and the other queries continue.
- **You are charged only for result pages you receive.** Error rows are free.
- **The run status says what happened**, e.g. "48 of 50 items succeeded, 2 failed (see #error rows)". A summary is saved as `OUTPUT` in the run's key-value store.
- **A maximum charge per run** set in Apify is respected. The Actor stops cleanly before going over it.

| Code | Meaning | What to do |
|---|---|---|
| `UPSTREAM_ERROR` | The search engine refused the query (see `message`), e.g. a parameter that engine does not accept | Fix the parameter |
| `INVALID_INPUT` | The input for this item is invalid | Fix the input |
| `NO_CAPACITY`, `UPSTREAM_FAILED` | Temporarily busy after retries | Run again later |

### Pricing

Pay per event: **$0.29 per 1,000 searches** ($0.00029 per results page). Nothing else is charged per result; Apify's usual platform terms apply.

### FAQ

**Is this the official SerpAPI Actor?**
No. It is an independent alternative that returns results in a SerpAPI-compatible layout.

**Do I need a SerpAPI or Google API key?**
No. Just run the Actor.

**Which search engines are supported?**
The 18 in the table above. Every engine costs the same: $0.29 per 1,000 results pages.

**How fresh are the results?**
Results are fetched live. Identical searches made shortly after each other may be served from a short-lived cache.

**Can I use it from LangChain, n8n, Make or Zapier?**
Yes. Use Apify's integrations or call the Actor through the Apify API as shown above.

***

*Not affiliated with SerpAPI; the name is used only to describe compatibility. Google, Bing, YouTube, Amazon, eBay, Walmart and the other engine names are trademarks of their owners.*

# Actor input Schema

## `engine` (type: `string`):

Same engine names as SerpAPI. Every engine is one charged search per results page.

## `queries` (type: `array`):

One search per line, exactly as you would type it. Sent as the engine's own query parameter (q, search_query for YouTube, k for Amazon, \_nkw for eBay, query for Walmart, p for Yahoo, text for Yandex).

## `maxPagesPerQuery` (type: `integer`):

How many result pages to fetch for each query. Each page is one charged search.

## `outputMode` (type: `string`):

Full page: one row per results page with the complete SerpAPI-style JSON. Results only: one flat row per result from the engine's main list (organic_results, video_results, news_results, local_results, shopping_results...), ideal for CSV.

## `location` (type: `string`):

Google engines only. Where the search should originate, e.g. "Austin, Texas, United States".

## `gl` (type: `string`):

Google engines and YouTube. Two-letter country code, e.g. us, gb, in, de.

## `hl` (type: `string`):

Google engines and YouTube. Two-letter interface language, e.g. en, es, fr.

## `google_domain` (type: `string`):

Google engines only. e.g. google.com, google.co.uk, google.de.

## `device` (type: `string`):

Google engines only. Device to emulate.

## `num` (type: `integer`):

Google engines only. How many results Google returns per page. Still one charged search per page.

## `safe` (type: `string`):

Google engines only. Filter adult content.

## `tbs` (type: `string`):

Google engines only. Google tbs value, e.g. qdr:w for the past week.

## `extraParams` (type: `object`):

Any other SerpAPI parameter for the chosen engine, e.g. {"start": 10} for Google, {"cc": "US"} for Bing, {"amazon_domain": "amazon.co.uk"} for Amazon, {"ll": "@40.7455096,-74.0083012,14z"} for Google Maps. Passed through unchanged.

## Actor input object example

```json
{
  "engine": "google",
  "queries": [
    "best coffee in new york"
  ],
  "maxPagesPerQuery": 1,
  "outputMode": "page",
  "gl": "us",
  "hl": "en",
  "device": "desktop"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per results page in SerpAPI's JSON layout (or one flat row per result in results mode), for the chosen engine. Failed queries are rows with #error: true and are not charged. Export as JSON, CSV, Excel or XML.

## `runSummary` (type: `string`):

succeeded, failed and unprocessed item counts, stoppedReason (null, budget, capacity or fatal) and charged events.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "engine": "google",
    "queries": [
        "best coffee in new york"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("trysmartapi/serpapi-alternative-google-search").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "engine": "google",
    "queries": ["best coffee in new york"],
}

# Run the Actor and wait for it to finish
run = client.actor("trysmartapi/serpapi-alternative-google-search").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "engine": "google",
  "queries": [
    "best coffee in new york"
  ]
}' |
apify call trysmartapi/serpapi-alternative-google-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,trysmartapi/serpapi-alternative-google-search"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/AgDD1rfu3fS61N2z7/builds/TszoV0u3HE7dPA3U4/openapi.json
