How to Use BBB business search in opencode
Returns matching BBB businesses with grades, accreditation flags, addresses, phone numbers, and profile links, up to 15 per page. Use it to identify the right business before examining its full record.
Prompts to try with BBB business search in opencode
Copy an example into opencode, or ask in your own words.
Use BBB business search to find movers near Miami, Florida, and add their names, addresses, and profile links to my personal comparison page.
Use BBB business search to find roofers near Denver, Colorado, and organize the returned business names and accreditation flags in a table.
Use BBB business search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from BBB business search and tell me what changed since last week.
Check BBB business search and summarize what you find in three bullet points.
How to set up BBB business search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run BBB business search
One request; the result comes back by polling or a webhook.
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": "bbb-business-profiles-ratings-complaint/businesses/search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: opencode finds BBB business search on Spiral, shows the price and runs it.
BBB business search providers and prices
Spiral runs BBB business search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 100 | 1 | Results page, 1 to 100 (15 results per page). |
| Sort | Relevance, Distance, Rating, AToZ, or ZToA | Relevance | Result order. |
| Country | us or ca | us | Which BBB site to search. |
Every API field of BBB business profiles · Business search is on its tool page: open its card above.
What can you do with BBB business search in opencode?
Build a personal contractor comparison that links each business to its BBB record. A coding agent can organize returned grades, complaint details, or customer feedback in your project's comparison view.
Choose a moving company
Find movers near Miami, confirm each business's identity, and compare grades, complaint histories, customer reviews, and published responses before booking.
Check a roofer before a deposit
Locate Denver roofing businesses, review their BBB records, and read complaints and reviews for issues to ask about before signing.
Compare internet providers
Match providers to their BBB profiles and compare published billing disputes, customer feedback, business replies, and complaint totals before switching.
Research a home warranty
Identify warranty providers and read their profiles, complaints, and reviews to prepare questions about repairs, service delays, and dispute handling.
Refresh a personal contractor shortlist
Revisit matching businesses and their profiles before making a final choice, checking for changed grades, accreditation details, or alerts.
More on BBB business search and opencode
Overview
BBB business search in other agents
Questions about BBB business search in opencode
Can opencode use BBB business search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run BBB business search like any built-in tool.
How much does BBB business search cost in opencode?
$0.001746 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 BBB business search in opencode?
No. Spiral runs BBB business search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up BBB business search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while BBB business search runs?
BBB business search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Which businesses can these endpoints cover?
The endpoints cover BBB records in the United States and Canada. BBB publishes profiles for both accredited and non-accredited businesses.
How fresh is a BBB rating?
BBB says ratings update automatically as new information reaches it. The update trigger is new information, rather than a stated daily or weekly publication schedule.
How much complaint history does BBB publish?
BBB says complaints appear on profiles for three years from filing. For businesses with many complaints, it may publish only a representative sample of complaint text and disclose the percentage shown.
Does a BBB letter grade include customer review stars?
Customer reviews do not enter BBB's letter-grade calculation. Keep the customer star average separate from the business's BBB grade.
Does BBB guarantee that customer reviews are accurate?
BBB verifies marketplace interactions before publication, but says it cannot guarantee any individual review's accuracy or truthfulness.
Start using BBB business search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


