# Pinterest Keyword Autocomplete Scraper (`w3crawler/pinterest-keyword-autocomplete-scraper`) Actor

Discover Pinterest search autocomplete suggestions for keywords and locales to support Pinterest SEO, trend research, and content planning.

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

## Pricing

from $2.99 / 1,000 autocomplete suggestions

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Pinterest Keyword Autocomplete Scraper

Discovers Pinterest search autocomplete suggestions for any keyword and locale. Returns the auto-suggested search terms that Pinterest shows to real users when they type in the search box — ideal for Pinterest SEO research, trend identification, and content planning.

### Features

- **Multi-keyword support** — get suggestions for multiple keywords in one run
- **Locale-aware** — supports regional locales (en\_US, en\_GB, fr\_FR, de\_DE, and more)
- **Rich suggestion data** — suggestion text, display name, type, category, image preview
- **Bounded multi-keyword processing** — queries each keyword with a configurable global result limit
- **Cloud-ready** — runs on Apify with scheduling, optional proxy configuration, and webhook support

### Use Cases

- Pinterest SEO keyword research and optimization
- Identifying trending search terms on Pinterest
- Content planning and topic discovery
- Building keyword datasets for Pinterest marketing campaigns

### Input

| Field | Type | Default | Required | Description |
|-------|------|---------|----------|-------------|
| `keywords` | array | `—` | ✓ | List of seed keywords to get autocomplete suggestions for (e.g. `["interior design", "yoga"]`). |
| `locale` | string | `en_US` |  | Pinterest locale for region-specific suggestions (e.g. `en_US`, `en_GB`, `fr_FR`, `de_DE`). |
| `maxItems` | integer | `200` |  | Maximum total suggestions across all keywords. |
| `proxyConfiguration` | object | direct connection |  | Optional proxy settings. Set `useApifyProxy` to `true` when needed. |

### Output

Each suggestion includes:

| Field | Description |
|-------|-------------|
| `inputKeyword` | The original keyword you provided |
| `suggestion` | The autocomplete suggestion (lowercase) |
| `displayText` | Display text as shown by Pinterest |
| `annotation` | Additional annotation or subtitle (when available) |
| `type` | Suggestion type (e.g. `suggestion`, `trending`) |
| `category` | Category context (when available) |
| `imageUrl` | Preview image URL for the suggestion |
| `score` | Relevance score (when available) |
| `resultCount` | Estimated result count for the suggestion |
| `locale` | Locale used for the query |
| `scrapedAt` | ISO 8601 timestamp of scrape |

#### Sample Output

```json
{
  "inputKeyword": "interior design",
  "suggestion": "interior design living room",
  "displayText": "interior design living room",
  "annotation": null,
  "type": "suggestion",
  "category": null,
  "imageUrl": "https://i.pinimg.com/736x/aa/bb/cc.jpg",
  "score": null,
  "resultCount": null,
  "locale": "en_US",
  "scrapedAt": "2026-05-21T10:00:00.000Z"
}
```

### Notes

- **Proxy**: Direct connections are used by default. You can enable Apify Proxy with `proxyConfiguration: { "useApifyProxy": true }`; each record states whether a proxy was actually configured.
- **Suggestion count**: Pinterest typically returns 8–12 autocomplete suggestions per keyword. Actual count depends on search volume.
- **Locale impact**: Different locales return different regional suggestions. Use the locale matching your target audience.
- **Use with Keywords Discovery Tool**: For a broader keyword research campaign, combine this actor with the `pinterest-keywords-discovery-tool` for recursive BFS expansion.

# Changelog

This Actor's version history is a separate document: https://apify.com/w3crawler/pinterest-keyword-autocomplete-scraper/changelog.md

# Actor input Schema

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

List of keywords or phrases to get autocomplete suggestions for.

## `locale` (type: `string`):

Pinterest locale for region-specific suggestions (e.g. en\_US, en\_GB, fr\_FR).

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

Maximum total suggestion records across all input keywords.

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

Optional proxy settings. Direct connections are used by default; enable Apify Proxy when needed.

## `fixtureFile` (type: `string`):

Optional repository-relative JSON fixture containing autocomplete suggestions for deterministic local validation.

## Actor input object example

```json
{
  "keywords": [
    "interior design",
    "yoga",
    "wedding"
  ],
  "locale": "en_US",
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `keyValueStore` (type: `string`):

No description

# 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": [
        "interior design",
        "yoga"
    ],
    "locale": "en_US",
    "maxItems": 200,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/pinterest-keyword-autocomplete-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": [
        "interior design",
        "yoga",
    ],
    "locale": "en_US",
    "maxItems": 200,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/pinterest-keyword-autocomplete-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": [
    "interior design",
    "yoga"
  ],
  "locale": "en_US",
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call w3crawler/pinterest-keyword-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/pinterest-keyword-autocomplete-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/jeFwGHCWCCveQMBqI/builds/wIS22L7iAgn0ZBvvR/openapi.json
