# KDP Backend Keywords — Amazon Keyword Generator (`primesieve/kdp-backend-keywords`) Actor

Generate the 7 backend keywords for your KDP book from seed terms, using Amazon's own search suggestions. Ranked, deduped, ≤50 chars, ready to paste.

- **URL**: https://apify.com/primesieve/kdp-backend-keywords.md
- **Developed by:** [Prime Sieve](https://apify.com/primesieve) (community)
- **Categories:** SEO tools, E-commerce, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $150.00 / 1,000 backend keyword packs

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## KDP Backend Keywords

Generate the 7 backend keywords Amazon KDP asks for — from seed terms, using
Amazon's own search suggestions. Paste the result straight into your KDP
"7 keywords" boxes (50 characters each).

### Why this exists

Every KDP title needs 7 backend keywords (≤50 chars) that determine which
searches your book appears in. Getting them right is the difference between
showing up and staying invisible — but most self-publishers either guess or
leave them empty. This actor turns a seed idea into a ranked, ready-to-paste
set, using the exact suggestion data Amazon shows real shoppers.

### What you get

- A ranked list of keywords (Amazon's own popularity order) — free to view
- The **7 backend keywords**, packed to 50 chars each, deduped, noise-filtered
- Saved to the key-value store as `BACKEND_KEYWORDS` for quick copy-paste

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `seeds` | array\[string] | `["puzzle book"]` | Topics to expand |
| `expansionMode` | choice | `alphabet` | suggestions / alphabet / modifiers / deep |
| `marketplace` | choice | `us` | amazon.com, .co.uk, .ca, .com.au, .de, .fr, .it, .es, .in, .co.jp |
| `maxKeywordsPerSeed` | integer | `200` | Cap per seed (max 3000) |
| `charLimit` | integer | `50` | Backend keyword length cap |

### Output

One dataset item per discovered keyword:

```json
{
  "keyword": "puzzle books for adults",
  "seed": "puzzle book",
  "rank": 1,
  "charCount": 23,
  "fitsBackend": true,
  "marketplace": "us"
}
```

Plus `BACKEND_KEYWORDS` in the key-value store:

```json
{
  "marketplace": "us",
  "keywords": [
    "puzzle books for adults",
    "puzzle book for teens",
    "puzzle books",
    "puzzle book",
    "puzzle books for adults variety packs",
    "puzzle books for seniors",
    "puzzle book age 5-6"
  ]
}
```

### Pricing

Pay-per-event: **$0.15 per backend-keyword package** (one 7-keyword set per seed)

- `apify-actor-start` ($0.05, auto). The full keyword list is free to view;
  you only pay for the paste-ready 7-keyword pack. A run with 3 seeds = **$0.45**,
  against $79 (KDSPY) or $199 (Publisher Rocket) for the same job.

### Notes

- Amazon does not publish search volume. `rank` is the position Amazon itself
  gave the term in its suggestion list — a genuine popularity signal, not a
  modelled number.
- Backend keywords must be ≤50 chars in KDP; the pack respects this.
- No browser needed — uses Amazon's lightweight suggestion endpoint, so runs
  are fast and cheap.

# Actor input Schema

## `seeds` (type: `array`):

Book topics or keywords to expand, e.g. \["puzzle book", "planner", "gratitude journal"].

## `expansionMode` (type: `string`):

suggestions = Amazon's own top suggestions for each seed. alphabet = seed + a-z expansion for long-tail keywords. modifiers = seed + shopping modifiers (best, for adults, for kids, large print…). deep = alphabet + modifiers.

## `marketplace` (type: `string`):

Which country's Amazon to read suggestions from.

## `maxKeywordsPerSeed` (type: `integer`):

Stop expanding a seed after this many unique keywords.

## `charLimit` (type: `integer`):

KDP backend keywords must be <= 50 characters each. Leave at 50.

## Actor input object example

```json
{
  "seeds": [
    "puzzle book"
  ],
  "expansionMode": "alphabet",
  "marketplace": "us",
  "maxKeywordsPerSeed": 200,
  "charLimit": 50
}
```

# Actor output Schema

## `keywords` (type: `string`):

All discovered keywords with rank, char count, and backend fit.

## `backendKeywords` (type: `string`):

The packed 7-keyword set to paste into KDP, in the key-value store.

# 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 = {
    "seeds": [
        "puzzle book"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("primesieve/kdp-backend-keywords").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 = { "seeds": ["puzzle book"] }

# Run the Actor and wait for it to finish
run = client.actor("primesieve/kdp-backend-keywords").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 '{
  "seeds": [
    "puzzle book"
  ]
}' |
apify call primesieve/kdp-backend-keywords --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,primesieve/kdp-backend-keywords"
        }
    }
}

```

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/cYiDUcL75qYO4Igmg/builds/s1bGumF7FRAC76OHf/openapi.json
