[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [AnswerThePublic research collections](https://spiral.ai/integrations/opencode/answerthepublic-research-collections)

# How to Use AnswerThePublic research collections in opencode

Find AnswerThePublic's public research collections, organized around industries and markets, with their keyword counts. Use it to locate a category such as airlines or banks before choosing brands to research.

|  |  |
| --- | --- |
| Model | AnswerThePublic research collections |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with AnswerThePublic research collections in opencode

- Use AnswerThePublic research collections to find the airline research collections, then add their names and keyword counts to our research inventory.
- Use AnswerThePublic research collections to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from AnswerThePublic research collections and tell me what changed since last week.
- Check AnswerThePublic research collections and summarize what you find in three bullet points.
- Pull the newest data from AnswerThePublic research collections and give me the result as a table.

## How to set up AnswerThePublic research collections in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run AnswerThePublic research collections**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "answerthepublic-com/search-suggestions/list_collections",
    "input": {}
  }'
```

Then paste one of the prompts above: opencode finds AnswerThePublic research collections on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## AnswerThePublic research collections tools and prices

- [AnswerThePublic · List collections](https://spiral.ai/tools/alexandria/answerthepublic-com/search-suggestions/list_collections) (Alexandria): $0.00873 per call.

## What can you do with AnswerThePublic research collections in opencode?

Build a content backlog from the brands AnswerThePublic already covers. A coding agent can map the collection catalog, retrieve stored suggestions, and compare audience questions with articles in your project.

### Build a brand FAQ backlog

Locate an industry collection, select a listed brand, and turn its question suggestions into a prioritized FAQ backlog. Keep the original search wording beside each proposed topic.

### Plan comparison articles

Find the relevant industry collection and its available brands, then inspect comparison suggestions for article ideas. Use the returned phrases to choose comparisons worth researching further.

### Prepare an agency pitch

Check whether a prospect's industry and brand have public research before building a pitch. Use its stored questions and comparison phrases to propose specific content assignments.

### Scope research by market

Find collections labeled for the intended market, inspect their brand coverage, and select reports for a content study. Keep country-level research separate when planning regional briefs.

### Check a content library for unanswered questions

Choose covered brands through the catalog, retrieve their question suggestions, and compare those phrases with existing article titles. Produce a review list of questions the content library may not address.

### Maintain an editorial research watchlist

Save the collections and listed brands relevant to an editorial beat, then revisit selected reports. Flag changes in available coverage and stored suggestions without treating each retrieval as newly collected data.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## AnswerThePublic research collections in other agents

- [Amp](https://spiral.ai/integrations/amp/answerthepublic-research-collections)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/answerthepublic-research-collections)
- [Claude](https://spiral.ai/integrations/claude-desktop/answerthepublic-research-collections)
- [Claude Code](https://spiral.ai/integrations/claude-code/answerthepublic-research-collections)
- [Cline](https://spiral.ai/integrations/cline/answerthepublic-research-collections)
- [Codex](https://spiral.ai/integrations/codex/answerthepublic-research-collections)
- [Cursor](https://spiral.ai/integrations/cursor/answerthepublic-research-collections)
- [Devin](https://spiral.ai/integrations/devin/answerthepublic-research-collections)
- [dots](https://spiral.ai/integrations/dots/answerthepublic-research-collections)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/answerthepublic-research-collections)
- [Gemini](https://spiral.ai/integrations/gemini/answerthepublic-research-collections)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/answerthepublic-research-collections)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/answerthepublic-research-collections)
- [goose](https://spiral.ai/integrations/goose/answerthepublic-research-collections)
- [Grok](https://spiral.ai/integrations/grok/answerthepublic-research-collections)
- [Grok Build](https://spiral.ai/integrations/grok-build/answerthepublic-research-collections)
- [Hermes](https://spiral.ai/integrations/hermes/answerthepublic-research-collections)
- [Instinct](https://spiral.ai/integrations/instinct/answerthepublic-research-collections)
- [Manus](https://spiral.ai/integrations/manus/answerthepublic-research-collections)
- [Muse](https://spiral.ai/integrations/muse/answerthepublic-research-collections)
- [Muse Code](https://spiral.ai/integrations/muse-code/answerthepublic-research-collections)
- [n8n](https://spiral.ai/integrations/n8n/answerthepublic-research-collections)
- [Notion](https://spiral.ai/integrations/notion/answerthepublic-research-collections)
- [OpenClaw](https://spiral.ai/integrations/openclaw/answerthepublic-research-collections)
- [Perplexity](https://spiral.ai/integrations/perplexity/answerthepublic-research-collections)
- [Raycast](https://spiral.ai/integrations/raycast/answerthepublic-research-collections)
- [VS Code](https://spiral.ai/integrations/vscode/answerthepublic-research-collections)
- [Windsurf](https://spiral.ai/integrations/windsurf/answerthepublic-research-collections)
- [Zapier](https://spiral.ai/integrations/zapier/answerthepublic-research-collections)

## More opencode guides

- [AnswerThePublic keyword research](https://spiral.ai/integrations/opencode/answerthepublic-keyword-research)
- [Anymail Finder LinkedIn email](https://spiral.ai/integrations/opencode/anymail-finder-linkedin-email)
- [AnswerThePublic collection keywords](https://spiral.ai/integrations/opencode/answerthepublic-collection-keywords)
- [Anymail Finder company email search](https://spiral.ai/integrations/opencode/anymail-finder-company-email-search)
- [Annuaire des Entreprises nearby companies](https://spiral.ai/integrations/opencode/annuaire-des-entreprises-nearby-companies)
- [Anymail Finder decision maker email](https://spiral.ai/integrations/opencode/anymail-finder-decision-maker-email)

## Questions about AnswerThePublic research collections in opencode

**Can opencode use AnswerThePublic research collections?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run AnswerThePublic research collections like any built-in tool.

**How much does AnswerThePublic research collections cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use AnswerThePublic research collections in opencode?**

No. Spiral runs AnswerThePublic research collections on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up AnswerThePublic research collections in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while AnswerThePublic research collections runs?**

AnswerThePublic research collections runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does the public catalog cover any keyword I choose?**

It covers existing brand research, rather than arbitrary new keyword searches. The opened Search Listening Index displayed 106 collections and 14,812 brands tracked; browse the catalog to establish whether your subject is included.

**What kinds of search suggestions does AnswerThePublic organize?**

There are six branches: questions, prepositions, comparisons, related terms, numbers, and alphabetical suggestions. They let you separate audience questions from comparison searches and other wording patterns.

**Are public research reports collected when I retrieve them?**

They are precomputed reports. For example, the opened American Airlines page showed searches discovered on October 1, 2026 and a 30-day update countdown, so a retrieval should not be described as a fresh search.

**Does zero search volume mean nobody searches for a phrase?**

No. AnswerThePublic explains that Google can withhold search volume and cost-per-click data for restricted queries, so zero or unavailable metrics can reflect reporting restrictions.

