[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Upspring Meta ad listings](https://spiral.ai/integrations/opencode/upspring-meta-ad-listings)

# How to Use Upspring Meta ad listings in opencode

Upspring Meta ad listings returns ads selected by brand or category, with hooks and creative labels. Use it to inspect a competitor's current ads or collect category examples without starting with a text search.

|  |  |
| --- | --- |
| Model | Upspring Meta ad listings |
| Available through | Alexandria |
| Category | SEO |
| Price | Up to $0.087295 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Upspring Meta ad listings in opencode

- Use Upspring Meta ad listings to retrieve current MUD/WTR ads available in the corpus and build a table showing opening hooks and creative labels.
- Use Upspring Meta ad listings to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Upspring Meta ad listings and tell me what changed since last week.
- Check Upspring Meta ad listings and summarize what you find in three bullet points.
- Pull the newest data from Upspring Meta ad listings and give me the result as a table.

## How to set up Upspring Meta ad listings 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 Upspring Meta ad listings**: 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": "upspring/ads/browse",
    "input": {
      "limit": 1
    }
  }'
```

Then paste one of the prompts above: opencode finds Upspring Meta ad listings on Spiral, shows the price and runs it.

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

## Upspring Meta ad listings tools and prices

- [Upspring · Browse ads](https://spiral.ai/tools/alexandria/upspring/ads/browse) (Alexandria): Up to $0.087295 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 100 | — | Ads per page, 1 to 100 (1 to 50 with include=descriptors). Default 25. |
| cursor |  | — | meta.next_cursor from the previous page, verbatim. Send the same filters with it; a cursor replayed with changed filters is refused. |
| funnel |  | — | Only ads with this funnel id (OR across values). Ids from taxonomy/vertical's dimensions. |
| include |  | — | Comma-separated: descriptors adds synopsis and long_form narration per ad (token-heavy); media adds durable {video_url, image_url, thumbnail_url, width, height}. |
| persona |  | — | Only ads with this persona id (OR across values). Ids from taxonomy/vertical's dimensions. |
| category |  | — | One category id within a vertical, from taxonomy/verticals. |

## What can you do with Upspring Meta ad listings in opencode?

Build a creative research view that puts Meta ad hooks, offers, and category patterns beside your project's campaign briefs. A coding agent can turn Upspring results into tables and attach detailed ad references to proposed tests.

### Research a category before launch

For a prebiotic soda launch, compare category hook shares, collect current ads, search for gut-health messaging, inspect selected offers, and find related creative executions. Turn the references into a list of concepts to test.

### Build a hook reference library

Compare hook shares in skincare, collect examples for the most common patterns, search for specific benefits, and inspect related ads. Attach the opening line, persona, offer, and source ad to each reference.

### Prepare replacement creative concepts

Start with a MUD/WTR reference ad, inspect its promise, and find other executions of the angle. Add benefit searches and category hook comparisons to produce replacement concepts with specific ad references.

### Compare competitor positioning

Compare Poppi and OLIPOP through their current ads, category creative shares, benefit searches, detailed offers, and related executions. Identify messaging overlaps and propose distinct angles for testing.

### Check ad promises against landing pages

Collect ads for a product category or advertiser, shortlist those making a specific promise, and inspect the offer and landing page analysis. Use the findings to prepare a page review with an ad reference for each issue.

### Prepare a weekly creative review

Repeat category breakdowns, review current competitor ads, search recurring benefits, and inspect related executions. Compare the retrieved results with earlier reports to flag changes in messaging and creative mix.

## Overview

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

## Upspring Meta ad listings in other agents

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

## More opencode guides

- [Upspring Meta ad details](https://spiral.ai/integrations/opencode/upspring-meta-ad-details)
- [Upspring Meta ad search](https://spiral.ai/integrations/opencode/upspring-meta-ad-search)
- [TikTok company ads](https://spiral.ai/integrations/opencode/tiktok-company-ads)
- [Upspring ad classification vocabulary](https://spiral.ai/integrations/opencode/upspring-ad-classification-vocabulary)
- [Similarweb website traffic by country](https://spiral.ai/integrations/opencode/similarweb-website-traffic-by-country)
- [Upspring ad creative breakdown](https://spiral.ai/integrations/opencode/upspring-ad-creative-breakdown)

## Questions about Upspring Meta ad listings in opencode

**Can opencode use Upspring Meta ad listings?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Upspring Meta ad listings like any built-in tool.

**How much does Upspring Meta ad listings cost in opencode?**

Up to $0.087295 per run. 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 Upspring Meta ad listings in opencode?**

No. Spiral runs Upspring Meta ad listings on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Upspring Meta ad listings in opencode?**

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

**Does opencode wait while Upspring Meta ad listings runs?**

Upspring Meta ad listings runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which advertising platform do these Upspring tools cover?**

These tools cover Meta ads, including labels for hooks, personas, and offers. Their documented scope supports Meta creative research.

**Does Upspring return current advertising data?**

Upspring describes its API as returning live data about what is running now. That statement does not specify a refresh interval for each advertiser.

**Does Upspring analyze the creative or just return ad metadata?**

Upspring transcribes audio, reads on-screen overlays, and parses copy and headlines into claims, offers, and formats. This provides text an agent can compare across ads.

**How does Upspring rank ads?**

Upspring says its ranking combines an internal model trained on millions of ads with third-party enrichment. Treat that ranking as a research signal when choosing ads to inspect.

**How many ads can I retrieve in a page?**

Search and browse return up to 100 ads per page, or up to 50 when descriptive analysis is included. The default page contains 25 ads.

