[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [StubHub event details](https://spiral.ai/integrations/muse-code/stubhub-event-details)

# How to Use StubHub event details in Muse Code

Returns one event’s venue, performers, date and time confirmation flags, and ticket inventory counts. Use it to check a specific event before comparing individual resale offers.

|  |  |
| --- | --- |
| Model | StubHub event details |
| 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 StubHub event details in Muse Code

- Use StubHub event details for an upcoming New York Knicks home game and add its venue and date and time confirmation flags to our event card.
- Use StubHub event details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from StubHub event details and tell me what changed since last week.
- Check StubHub event details and summarize what you find in three bullet points.
- Pull the newest data from StubHub event details and give me the result as a table.

## How to set up StubHub event details in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 StubHub event details**: 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": "stubhub-com/events/event",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds StubHub event details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## StubHub event details tools and prices

- [StubHub · Event](https://spiral.ai/tools/alexandria/stubhub-com/events/event) (Alexandria): $0.00873 per call.

## What can you do with StubHub event details in Muse Code?

Build an event comparison view that puts StubHub venues, schedule confirmation, and resale options beside each other. Use returned data to populate the project’s event cards and offer tables.

### Choose a game for a group outing

Find upcoming Lakers games, check each event’s venue and schedule confirmation, then compare resale offers for four attendees.

### Compare stops on a concert trip

Find Coldplay events, check the returned venues and dates, and compare ticket offers for two people at the shortlisted stops.

### Plan a theater weekend

Find Hamilton performances, check the venue and confirmed schedule for each candidate, and compare available resale sections for the party.

### Build a venue outing shortlist

Find events associated with Madison Square Garden, verify each returned event’s venue, and compare ticket options before choosing an outing.

### Review changes across saved observations

Repeat a Celtics event search, compare event details with earlier observations, and review how the returned resale offers have changed.

### Compare attendance options across home games

Find New York Rangers games, check event inventory counts and schedule confirmation, then compare sections and party-size options across candidate games.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## StubHub event details in other agents

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

## More Muse Code guides

- [State Department travel advisories](https://spiral.ai/integrations/muse-code/state-department-travel-advisories)
- [StubHub event search](https://spiral.ai/integrations/muse-code/stubhub-event-search)
- [State Department destination advisory](https://spiral.ai/integrations/muse-code/state-department-destination-advisory)
- [StubHub ticket listings](https://spiral.ai/integrations/muse-code/stubhub-ticket-listings)
- [State Department country information](https://spiral.ai/integrations/muse-code/state-department-country-information)
- [TickPick event categories](https://spiral.ai/integrations/muse-code/tickpick-event-categories)

## Questions about StubHub event details in Muse Code

**Can Muse Code use StubHub event details?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run StubHub event details like any built-in tool.

**How much does StubHub event details cost in Muse Code?**

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

**Do I need an Alexandria account to use StubHub event details in Muse Code?**

No. Spiral runs StubHub event details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up StubHub event details in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while StubHub event details runs?**

StubHub event details runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**What part of StubHub does this data cover?**

The provider reads anonymous StubHub pages and public resale inventory. It covers event discovery, individual event details, and paginated resale offers with quantity restrictions.

**Is StubHub limited to US events?**

StubHub says it has tickets to live events in over 150 countries. That marketplace reach does not establish that a particular search contains every event in a country.

**How quickly can ticket offers change?**

Sellers can edit listings and change their asking amounts anytime before the tickets sell. A returned offer can therefore change before you revisit it.

**How can I check whether an event’s schedule is confirmed?**

The event details expose separate date and time confirmation flags. Check both when an event’s schedule matters to your plans.

**Why might a ticket offer omit seat information?**

StubHub says a seller may not have had the seat information when listing the tickets. Public listing data can therefore lack exact seats.

