[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Fresha salon and spa search](https://spiral.ai/integrations/opencode/fresha-salon-and-spa-search)

# How to Use Fresha salon and spa search in opencode

Returns matching Fresha venues, with available service start times when a date is requested. Use it to shortlist businesses offering a treatment or find openings before reading individual venue details.

|  |  |
| --- | --- |
| Model | Fresha salon and spa search |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Fresha salon and spa search in opencode

- Use Fresha salon and spa search to find massage venues near Manhattan and render the returned venue names in my personal comparison view.
- Use Fresha salon and spa search for haircut appointments in London tomorrow afternoon and display the available service start times in my project.
- Use Fresha salon and spa search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Fresha salon and spa search and tell me what changed since last week.
- Check Fresha salon and spa search and summarize what you find in three bullet points.

## How to set up Fresha salon and spa search 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 Fresha salon and spa search**: 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": "fresha-com/venues/search_venues",
    "input": {
      "latitude": -90,
      "longitude": -180,
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Fresha salon and spa search on Spiral, shows the price and runs it.

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

## Fresha salon and spa search tools and prices

- [Fresha · Search venues](https://spiral.ai/tools/alexandria/fresha-com/venues/search_venues) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Free text: a treatment (`massage`), business type or venue name. Pass this and/or treatment_id. |
| cursor |  | — | next_cursor from the previous page. |
| has_deals |  | — | Only venues with deals. Default false. |
| page_size | 1 to 20 | — | Venues per page, 1-20 (default 20). |
| availability_date |  | — | Venue-local date, YYYY-MM-DD. Adds each matching service's available start times for that day and keeps only venues with availability. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| fresha_verified_only |  | — | Only Fresha-verified venues. Default false. |

## What can you do with Fresha salon and spa search in opencode?

Build a personal treatment comparison view using Fresha's treatment matches, venue results, and public menus. A coding agent can adapt the returned records to your project's interface and show approximate service durations clearly.

### Find the right kind of haircut

Resolve a treatment such as dry haircut, find venues offering it, and read their menus to distinguish it from a cut with a blow-dry.

### Identify the correct salon

Match a business name, inspect the venue search results, and read the selected venue's details before choosing a similarly named salon.

### Compare massage treatments

Resolve a specific massage treatment, discover venues offering it, and compare their published service names and approximate durations.

### Plan a treatment during a trip

Identify the treatment you want, shortlist Fresha venues near your destination, and check service menus and opening hours against your itinerary.

### Find an appointment in a free afternoon

Search for venues with available service start times on your chosen day, then inspect the treatment details and approximate duration.

## Overview

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

## Fresha salon and spa search in other agents

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

## More opencode guides

- [Fresha professional search](https://spiral.ai/integrations/opencode/fresha-professional-search)
- [Fresha treatment and venue lookup](https://spiral.ai/integrations/opencode/fresha-treatment-and-venue-lookup)
- [Fresha professional profile](https://spiral.ai/integrations/opencode/fresha-professional-profile)
- [Fresha venue details](https://spiral.ai/integrations/opencode/fresha-venue-details)
- [Floor & Decor store search](https://spiral.ai/integrations/opencode/floor-decor-store-search)
- [GO Transit Union departures](https://spiral.ai/integrations/opencode/go-transit-union-departures)

## Questions about Fresha salon and spa search in opencode

**Can opencode use Fresha salon and spa search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fresha salon and spa search like any built-in tool.

**How much does Fresha salon and spa search 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 Fresha salon and spa search in opencode?**

No. Spiral runs Fresha salon and spa 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 Fresha salon and spa search in opencode?**

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

**Does opencode wait while Fresha salon and spa search runs?**

Fresha salon and spa search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What kinds of businesses can I find on Fresha?**

The documented venue discovery covers salons, spas, and other Fresha marketplace venues by treatment and location. The data comes from Fresha's public marketplace.

**How fresh is appointment availability?**

Fresha describes its displayed availability as real time, based on each business's calendar and scheduled shifts. Available start times therefore depend on the business's current schedule.

**Are service durations exact?**

Fresha explicitly describes service-menu durations as approximate. They are useful for comparing treatments, but should not be presented as guaranteed completion times.

**Who can leave a Fresha review?**

Fresha publishes reviews for appointments that went ahead. Its review policy gives clients seven days after completing their appointment to submit a review.

**Who maintains the business information?**

Businesses are responsible for keeping their published listing content accurate, complete, and current, including services and staff availability. The listing is business-maintained information.

