Research a niche
research_nicheResearches an Amazon KDP niche for one book type and returns a report_id. Uses 1 research search (not pages). Research searches are separate from pages: trials, Mini and Starter accounts get 3 in total; once paid, Creator gets 30, Professional 100 and Studio 300 a month. Through an API key, spending (pages and research searches) needs a paid Creator plan or higher: trials, Mini and Starter accounts connect through an app (the Connect button) instead, which can spend on any plan or trial. Without a plan, legacy free pages can be used only on colorcraft.ai, and the same goes for the free research searches. Accounts with no plan or trial have no Research. get_account’s research.available says whether this connection can search, and why not. No search is used when the account already holds this report and a new search would show nothing new (already_held: true), when the report has too little data (the search is given back), or when the build fails. Rephrasing a niche counts as a new search; check list_research_history and list_niche_opportunities (both free) first. Reports rarely change within 14 days. KDP reportedly allows only about 2 new titles per format per week, so a few strong niches beat many searches. ColorCraft makes KDP paperback files: hardcover reports come back with format_supported_for_export: false, for reading the market; before making a book from one, check the paperback market with research_niche (format paperback). If status is building or queued, call get_job with job_id until done; then read it with get_niche_report. Needs an idempotency_key: reusing it replays the first answer without searching again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"niche": "<niche>",
"book_type": "<book_type>",
"idempotency_key": "<idempotency_key>"
},
"name": "research_niche"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| niche | Yes | The niche as a shopper would type it on Amazon, e.g. "cozy cottage coloring book". | |
| format | No | Amazon format to research (default paperback; ColorCraft exports paperback only). | |
| book_type | Yes | The kind of book: coloring, storybook, comic or puzzle. | |
| idempotency_key | Yes | A unique label for this search (e.g. a UUID, 8-120 characters). Reuse it, with the same arguments, to retry safely: a repeat never does the work twice and returns the first call’s result as it was then (its text says Replayed, and the result’s _meta has colorcraft/replayed: true and colorcraft/first_called_at, the first call’s time), not the current state; read that with get_job or get_niche_report. The same key with different arguments is refused with idempotency_conflict (a different request needs a new idempotency_key), and so is a repeat after a first call that failed part-way (its message says what to check before a new key); while the first call is still running, a repeat answers busy with retry_after_seconds. A key is remembered per tool and per account: the same key sent to a different tool is a separate request, never a replay of or a conflict with the other tool’s. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| job_id | Yes | ||
| status | Yes | ready: read it with get_niche_report. building or queued: call get_job with job_id. | |
| charged | Yes | Whether this call used one of the account’s research searches. | |
| web_url | Yes | ||
| report_id | Yes | ||
| already_held | Yes | The account already held this report, so no search was used. | |
| next_actions | Yes | Tools that make sense next, in order. research_niche is left out when this connection cannot spend (get_account’s spend_blocked_reason says why). | |
| searches_used | Yes | ||
| searches_limit | Yes | ||
| searches_remaining | Yes | ||
| format_supported_for_export | Yes | False for hardcover: ColorCraft exports KDP paperback files only. |