Spiral gives your agent every tool with one account. Browse the tools →

opencode · E-commerce

How to Use Google Play media search in opencode

Find matching books, movies, and TV shows on Google Play. Use it to identify the listing you want before researching its reviews, book series, or TV episodes.

Prompts to try with Google Play media search in opencode

Copy an example into opencode, or ask in your own words.

Use Google Play media search to find US book listings for Dune by Frank Herbert and compare the matches with titles in our catalog file.

Google Play media searchopencode
Try asking
  • Use Google Play media search for His Dark Materials in the US and flag ambiguous book and television matches in our catalog.

  • Use Google Play media search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Google Play media search and tell me what changed since last week.

  • Check Google Play media search and summarize what you find in three bullet points.

How to set up Google Play media 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Google Play media 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": "play-google-com/media/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: opencode finds Google Play media search on Spiral, shows the price and runs it.

Google Play media search providers and prices

Spiral runs Google Play media search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Collectionbooks or movies

books (default) searches Play Books; movies searches Movies & TV.

Every API field of Google Play apps, Books and Movies & TV · Search is on its tool page: open its card above.

What can you do with Google Play media search in opencode?

Build a Google Play reading guide, episode guide, or review summary inside your project. A coding agent can compare returned listings with your catalog files and propose concrete corrections.

Book-to-TV comparison brief

Find Dune listings, outline the book sequence, inspect Dune: Prophecy's season structure, and summarize audience reactions to each title separately.

Franchise reading and viewing guide

Build a His Dark Materials guide from matching listings, the book order, TV episodes, and public reviews. Keep the reading sequence separate from the television sequence.

Entertainment catalog audit

Check a catalog's Google Play title matches, book sequences, and TV episode lists. Use reviews to flag recurring audience complaints for editorial investigation.

Weekly franchise research brief

Recheck selected book and television franchises for changed search results, book lists, episode lists, and audience feedback. Summarize differences from the previous brief.

Reading order checklist

Turn the Google Play list for The Expanse into an ordered reading checklist and compare it with an editor's existing list.

Season episode guide

Find the US Google Play listing for Dune: Prophecy and assemble a guide to the episodes returned for its first season.

Audience feedback brief

Summarize recurring praise and criticism in public reviews of Dune. Describe the reviewed listing precisely and avoid calling reviewers verified buyers.

Title disambiguation

Find Google Play matches for The Hobbit and separate book listings from screen adaptations before an editor selects a title for further research.

Questions about Google Play media search in opencode

Can opencode use Google Play media search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Google Play media search like any built-in tool.

How much does Google Play media 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 Google Play media search in opencode?

No. Spiral runs Google Play media 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 Google Play media search in opencode?

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

Does opencode wait while Google Play media search runs?

Google Play media search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Google Play offer the same media catalog worldwide?

No. Google lists Movies & TV on Google Play for the United States and directs users outside the US to Google TV and YouTube. Paid content can also be unavailable in individual provinces or territories.

How quickly do book series corrections appear?

Google tells publishers to contact support if series metadata changes have not appeared within 48 hours. That is a troubleshooting threshold, not a promise of immediate updates.

Are book and TV reviews verified purchases?

Google does not check whether reviewers of books, movies, or series purchased or used the content. A review therefore does not establish a purchase.

Are Google Play reviews public and permanent?

Reviews are public and linked to a Google Account. Authors can edit them, so published review text can change.

Does Google screen reviews for manipulation?

Google uses both automated and human review processes to identify problematic content and fake reviews. This describes moderation, not a guarantee that every published review is authentic.

Get started

Start using Google Play media search in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options