# Ebay Autocomplete Keyword Scraper (`real-estate-api/ebay-autocomplete-keyword-scraper`) Actor

This Actor collects public search autocomplete suggestions from eBay based on seed keywords. It extracts keyword suggestions, seed terms, marketplace regions, and ranking positions to support e-commerce keyword research, listing title optimization, and product trend analysis

- **URL**: https://apify.com/real-estate-api/ebay-autocomplete-keyword-scraper.md
- **Developed by:** [real-estate-api](https://apify.com/real-estate-api) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### eBay Autocomplete Keyword Scraper — eBay Search Suggestions and SEO Keyword Research

![eBay Autocomplete Keyword Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/ebay-autocomplete-keyword-scraper-cover.png)

### Overview

eBay Autocomplete Keyword Scraper collects search keyword suggestions from eBay based on user-provided seed keywords.

Enter one or more keywords, select a collection mode, choose an eBay marketplace, and set the maximum number of results. The actor returns structured keyword data with detailed keyword characteristics, search intent signals, query information, and SEO-related classifications.

### Features

- **Keyword suggestions:** Collect autocomplete suggestions for multiple seed keywords.
- **Alphabet expansion:** Discover long-tail keyword variations using letters A–Z and numbers 0–9.
- **Marketplace selection:** Collect suggestions for different eBay marketplaces using their site IDs.
- **Custom result limit:** Control the maximum number of collected suggestions.
- **Keyword analysis:** Retrieve keyword length, word count, unique word count, and average word length.
- **Keyword structure:** Identify first words, last words, and keyword classifications.
- **Seed matching:** Analyze how suggested keywords relate to their original seed terms.
- **SEO estimates:** Retrieve search intent, intent signals, and commercial modifiers.
- **Question analysis:** Identify question-based keywords and their question types.
- **Keyword characteristics:** Detect numbers, special characters, uppercase text, and normalized duplicates.
- **Structured dataset:** Receive detailed keyword records suitable for research and analysis.
- **Multiple export formats:** Export collected results in JSON, CSV, Excel, and other supported dataset formats.

### Collection Modes

| Mode | Description |
|---|---|
| `suggest` | Collect eBay autocomplete suggestions for the provided seed keywords. |
| Alphabet expansion | Extend keyword discovery by combining each seed keyword with trailing letters A–Z and digits 0–9. |

Alphabet expansion helps discover additional long-tail search phrases related to the original keywords.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | String | Yes | `suggest` | Selects the keyword collection mode. |
| `keywords` | Array | Yes | None | List of seed keywords used to collect autocomplete suggestions. |
| `siteId` | Integer | No | `0` | Selects the eBay marketplace. The default value `0` represents the US marketplace. |
| `maxItems` | Integer | No | `50` | Maximum number of successful keyword records to collect. The maximum supported limit is 1,000. |
| `requestDelaySecs` | Number | No | `1` | Delay in seconds between collection requests. |

### Example Input

```json
{
    "mode": "suggest",
    "keywords": [
        "python"
    ],
    "siteId": 0,
    "maxItems": 50,
    "requestDelaySecs": 1
}
```

### What Data Does This Actor Extract?

The actor returns structured keyword records organized into several categories.

#### Original Data

| Field | Description |
|---|---|
| `seed` | Original keyword provided for the suggestion search. |
| `suggestion` | Keyword phrase suggested by eBay autocomplete. |
| `position` | Position of the suggestion in the returned results. |

#### Query Details

| Field | Description |
|---|---|
| `query_used` | Actual search query used to generate the suggestion. |
| `query_type` | Classification of the query used to discover the keyword. |
| `expansion_suffix` | Alphabetical or numerical suffix used during keyword expansion. |
| `site_id` | eBay marketplace identifier used for the collection. |

#### Keyword Size

| Field | Description |
|---|---|
| `keyword_length` | Total character length of the suggested keyword. |
| `word_count` | Total number of words in the suggested keyword. |
| `unique_word_count` | Number of unique words in the suggested keyword. |
| `average_word_length` | Average character length of the words in the keyword. |

#### Keyword Structure

| Field | Description |
|---|---|
| `first_word` | First word of the suggested keyword phrase. |
| `last_word` | Last word of the suggested keyword phrase. |
| `keyword_type` | Classification of the suggested keyword. |

#### Seed Matching

| Field | Description |
|---|---|
| `contains_seed` | Indicates whether the suggested keyword contains the original seed keyword. |
| `seed_match_type` | Classification of how the suggestion matches the seed keyword. |
| `starts_with_seed` | Indicates whether the suggestion starts with the original seed keyword. |
| `ends_with_seed` | Indicates whether the suggestion ends with the original seed keyword. |

#### SEO Estimates

| Field | Description |
|---|---|
| `search_intent` | Search intent classification associated with the keyword. |
| `intent_signal` | Signal used to identify the keyword's search intent. |
| `commercial_modifier` | Indicates or identifies commercial modifiers within the keyword. |

#### Question Analysis

| Field | Description |
|---|---|
| `question_keyword` | Indicates whether the keyword is question-based. |
| `question_type` | Classification of the question when the keyword is question-based. |

#### Other Characteristics

| Field | Description |
|---|---|
| `has_number` | Indicates whether the keyword contains numerical characters. |
| `has_special_character` | Indicates whether the keyword contains special characters. |
| `is_uppercase` | Indicates whether the keyword is written in uppercase. |
| `is_duplicate_case_normalized` | Indicates whether the keyword is a duplicate after case normalization. |

#### Collection Information

| Field | Description |
|---|---|
| `scraped_at` | Date and time when the keyword was collected. |

### Example Output

```json
{
    "seed": "python",
    "suggestion": "python programming book",
    "position": 1,
    "query_used": "python",
    "query_type": "suggest",
    "expansion_suffix": null,
    "site_id": 0,
    "keyword_length": 22,
    "word_count": 3,
    "unique_word_count": 3,
    "average_word_length": 6.67,
    "first_word": "python",
    "last_word": "book",
    "keyword_type": "long_tail",
    "contains_seed": true,
    "seed_match_type": "exact",
    "starts_with_seed": true,
    "ends_with_seed": false,
    "search_intent": "commercial",
    "intent_signal": "book",
    "commercial_modifier": "book",
    "question_keyword": false,
    "question_type": null,
    "has_number": false,
    "has_special_character": false,
    "is_uppercase": false,
    "is_duplicate_case_normalized": false,
    "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Use Cases

- **eBay keyword research:** Discover search phrases buyers use when looking for products.
- **Long-tail keyword discovery:** Find additional keyword variations using alphabet expansion.
- **Product research:** Identify related product search terms and keyword opportunities.
- **Marketplace comparison:** Research keyword suggestions across different eBay marketplaces.
- **SEO optimization:** Find relevant search phrases for improving product titles and descriptions.
- **Search intent analysis:** Organize keyword ideas according to their search intent.
- **Commercial keyword research:** Identify product-oriented and purchase-related search modifiers.
- **Question keyword research:** Discover question-based search phrases.
- **Keyword analysis:** Examine keyword structure, length, word count, and seed matching.
- **Scheduled research:** Refresh keyword datasets regularly using Apify schedules.

### Working with Your Dataset

Once the actor finishes running, you can access the collected keyword records in the Apify dataset.

Export your results in supported formats, including:

- JSON
- CSV
- Excel

Use the collected records for product research, keyword analysis, marketplace comparisons, SEO planning, and further data processing.

### FAQ

**What information does this actor collect?**

It collects eBay autocomplete suggestions along with keyword characteristics, search intent signals, question classifications, seed matching information, and query details.

**Can I search using multiple keywords?**

Yes. You can provide multiple seed keywords in the `keywords` input field.

**What is alphabet expansion?**

Alphabet expansion combines seed keywords with trailing letters A–Z and numbers 0–9 to discover additional long-tail search suggestions.

**Can I select a specific eBay marketplace?**

Yes. Use the `siteId` parameter to select the marketplace you want to research. The default value is `0` for the US marketplace.

**Can I control the number of results?**

Yes. Use `maxItems` to set your desired collection limit, up to 1,000 successful records per run.

**Does the actor provide keyword analysis?**

Yes. The dataset includes keyword length, word count, unique word count, average word length, keyword structure, seed matching, and other keyword characteristics.

**Does it include search intent information?**

Yes. The output includes search intent, intent signals, and commercial modifiers.

**Can I identify question-based keywords?**

Yes. The output includes `question_keyword` and `question_type` fields.

**What export formats are available?**

You can export your dataset in JSON, CSV, Excel, and other supported Apify dataset formats.

**Can I run keyword research automatically?**

Yes. You can configure Apify schedules to run the actor periodically and refresh your keyword dataset.

### Disclaimer

This actor is an independent tool and is not officially affiliated with, endorsed by, sponsored by, or associated with eBay or its owners. It collects publicly available keyword suggestions. Users are responsible for ensuring that their use of the collected information complies with applicable laws and relevant terms.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

## `keywords` (type: `array`):

Seed keywords

## `expandAlphabet` (type: `boolean`):

Also query 'seed a'..'seed z'

## `siteId` (type: `integer`):

eBay site id (0=US,3=UK,77=DE)

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "suggest",
  "keywords": [
    "python"
  ],
  "expandAlphabet": false,
  "siteId": 0,
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "keywords": [
        "python"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("real-estate-api/ebay-autocomplete-keyword-scraper").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 = { "keywords": ["python"] }

# Run the Actor and wait for it to finish
run = client.actor("real-estate-api/ebay-autocomplete-keyword-scraper").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 '{
  "keywords": [
    "python"
  ]
}' |
apify call real-estate-api/ebay-autocomplete-keyword-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,real-estate-api/ebay-autocomplete-keyword-scraper"
        }
    }
}
```

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/pnbRuje9SLcekwjgg/builds/lLtY4UO1DEQ4W6bpj/openapi.json
