# What's playing tonight? Movie showtimes API for AI agents (Google Search showtimes by theater or by movie, 7-day JSON)

When a user asks an agent "what's playing at the AMC near me tonight?" or "where can we see Hexed after dinner?", one Google Search call returns a structured showtimes block: seven days of dates, movies or theaters, formats (Standard, 3D, Dolby Cinema, IMAX) and ISO datetimes, plus a knowledge_graph card for the theater or the film. This guide shows which query shapes return showtimes, which don't, and what to filter before answering. Pay per call in USDC on Base via x402, or with a card credit pack. No account needed: pay per call with x402, or use a prepaid card credit key.

## One-line answer

To answer "what's playing tonight?", call GET /api/public/v1/google-search?q=<theater name>+showtimes&location=<City,State,Country> and read showtimes[]: day, date, then movies[] {title, showings[] {type, times[] {time, datetime}}}. To answer "where is <movie> playing?", search q=<movie>+showtimes instead and read showtimes[].theaters[] {title, distance, address, showings[]}. One step, $0.005 USDC.

Grok Bot, Claude Cowork and Cursor agents get Google's own showtimes widget as JSON without a ticketing-partner key or scraping a chain's site. The catch: a generic "movies playing near me" query returned a list of theaters and no showtimes at all, so name a theater or a movie. No account needed: pay per call with x402, or use a prepaid card credit key.

## What the user actually asked for

| User request | Call | Read first |
| --- | --- | --- |
| Which theaters are near me? | google-search?q=movie+theaters&location=Chicago,Illinois,United+States (or google-maps?q=movie+theater&ll=...) | local_results[] {title, rating, reviews, address, place_id} |
| What's playing at AMC River East tonight? | google-search?q=AMC+River+East+21+showtimes&location=Chicago,Illinois,United+States | showtimes[0].movies[].showings[].times[] (filter to times after now) |
| Where can we see Hexed after dinner? | google-search?q=Hexed+showtimes&location=Chicago,Illinois,United+States | showtimes[0].theaters[] {title, distance, showings} |
| Is it any good? How long is it? Is it kid-friendly? | Same movie query | knowledge_graph {type, running_time, release_date, description, directors}; rating text from organic snippets |
| Show me the trailer | youtube-search?q=hexed+official+trailer | video_results[].title, link, length |
| Is the theater open on the holiday? Phone number? | Theater query above | knowledge_graph {address, phone, website}; for hours see the holiday-hours guide |

## What the response holds

| Path | What it holds | How to use it |
| --- | --- | --- |
| showtimes[] {day, date} | Seven days in our sample: "Today", "Tomorrow", then "Sat, Nov 28" … "Wed, Dec 2", each with an ISO date | Key on date, never on the relative day label |
| showtimes[].timezone_note | "All times are in CT" on the theater-shaped response | Missing on the movie-shaped response; assume the theater's local zone and say so |
| showtimes[].movies[] {title, link, showings} | Theater query: every film at that theater that day (20 on Thanksgiving) | link is a Google search URL, not a ticket page |
| showtimes[].theaters[] {title, link, distance, extracted_distance, distance_unit, address, showings} | Movie query: nearby theaters for that film (6 per day in our sample), sorted by distance | distance is from Google's detected location, not the user's door |
| showings[] {type, times[] {time, datetime}} | Format (Standard, 3D, Dolby Cinema, IMAX, Large Format) and times such as "7:10pm" with datetime "2026-11-26T19:10:00" | datetime has no offset; attach the theater's zone before comparing to now |
| knowledge_graph (theater) | title, type, rating, reviews, address, phone, website, directions | Good for "call them" or "how do we get there" |
| knowledge_graph (movie) | type ("2026 ‧ Fantasy/Animation ‧ 1h 46m"), release_date, running_time, directors, distributed_by, description | Use running_time to compute when the movie lets out |
| local_results[] | Theater list on generic "near me" queries | Pick one, then run a theater query for showtimes |
| organic_results[] | Chain, Fandango and listing pages; most links are google.com/goto redirects | Snippets can show a previous day's times; don't quote times from them |
| search_information.detected_location | Where Google placed the search ("Chicago, IL") | Check it matches the user's city before trusting distances |

Full schemas: https://marketplaceforaiagents.com/listings/google-search, https://marketplaceforaiagents.com/listings/google-maps and https://marketplaceforaiagents.com/listings/youtube-search (Markdown twins under https://marketplaceforaiagents.com/agent/listings/).

## Live observation captured on 2026-11-26

On Thanksgiving Day, Thursday 2026-11-26, at ~16:49 UTC (10:49 a.m. Central), we planned an after-dinner movie in downtown Chicago. Three free-tier calls to google-search with location=Chicago,Illinois,United States and one X-Agent-Id (X-Free-Calls-Remaining went 2, 1, 0).

| Step | What came back |
| --- | --- |
| q=movies playing near me | No showtimes key. local_results listed 3 theaters: AMC River East 21 (4.3, 6,700 reviews, 322 E Illinois St), AMC DINE-IN Block 37 (4.2, 3,100) and AMC 600 North Michigan 9 (4.4, 3,600). Organic #1 was Fandango's Chicago movie-times page; 7 of 8 organic links were google.com/goto redirects. No AI Overview. |
| q=AMC River East 21 showtimes | showtimes for 7 days (2026-11-26 through 2026-12-02), timezone_note "All times are in CT". Today: 20 movies, 89 showtimes. The Hunger Games: Sunrise on the Reaping had Standard (8 times, 12:30pm–11:00pm), 3D (4) and Dolby Cinema (12:00pm, 3:30pm, 7:10pm, 10:40pm); The Further Mis-Adventures of Cliff Booth ran only in IMAX. knowledge_graph: 4.3 stars, 6,657 reviews, phone +13125960333, Dolby Cinema and PRIME screens. |
| q=Hexed showtimes | showtimes by theater for the same 7 days, 6 theaters a day from AMC DINE-IN Block 37 (0.2 mi) to Regal Webster Place (3.2 mi). AMC River East 21 times matched the theater query exactly: Standard 12:10, 1:45, 3:00, 3:40, 6:25pm; 3D 10:40am, 7:15, 10:30pm; Dolby 12:00, 2:30pm. knowledge_graph: 2026 ‧ Fantasy/Animation ‧ 1h 46m, released November 25, 2026 (USA), distributed by Walt Disney Studios Motion Pictures. |

- The big quirk: "movies playing near me" did not return showtimes. It returned theaters. Showtimes appeared only when the query named a theater or a movie. Plan two steps for open-ended requests: find theaters, then query the one the user picks.
- "Today" includes showings that already started. At 10:49 a.m., 5 of River East's 89 Thanksgiving times (10:20am to 10:45am) were in the past. Filter times[].datetime against the current time in the theater's zone before you offer anything.
- datetime has no offset ("2026-11-26T19:10:00"). The theater-shaped response said CT in timezone_note; the movie-shaped response had no timezone_note at all.
- Format blocks can repeat. On Sunday, Focker-In-Law had two separate "Standard" blocks. Merge by type and sort before listing times.
- Titles differ by source: the showtimes block said "Hexed" while AMC's and Fandango's pages said "Disney's Hexed". Match loosely when you join results.
- Organic snippets can be stale. One listing page's snippet showed "Wed, Nov 25" times on Thanksgiving morning. Quote times only from showtimes[].
- No prices, seat maps or ticket URLs in showtimes. Links point to Google searches. Send the user to the chain's site or a ticketing page to buy, and don't claim seats are available.
- Review counts drift between blocks: 6,700 (rounded) in local_results vs 6,657 in knowledge_graph for the same theater.

A fair answer from that data: "Hexed (Disney, animated, 1h 46m, rated PG per one theater's listing page) is playing tonight at AMC River East 21 at 6:25 p.m. Standard or 7:15 p.m. in 3D, both Central time. The 6:25 runs to about 8:11 plus trailers. AMC DINE-IN Block 37, 0.2 miles from downtown, has a 7:30 p.m. show. Times are from Google's showtimes listing as of 10:49 a.m.; I can't see seat availability, so buy on AMC's site. Want the trailer?"

## Answer without overclaiming

- Say the times came from Google's showtimes listing and give the check time. Theaters change schedules, especially on holidays.
- Only offer showings that start after now plus travel time, in the theater's zone.
- Name the format (Standard, 3D, Dolby Cinema, IMAX). Users care, and premium formats cost more at the box office.
- Never invent ticket prices, seat availability, ratings or runtimes. If a field is missing, say so. Ratings like PG come from organic snippets, so cite the page.
- Distances are from Google's detected location. If the user gave an address, say distances are approximate or check with google-maps.
- If no showtimes block comes back, say so and offer the theater's website or phone from knowledge_graph instead of quoting snippet times.

## Budget by steps

The site's current per-step price is $0.005 USDC. google-search, google-maps and youtube-search are 1 step each, and the 402 quotes the total.

| Work | Paid steps | Current cost |
| --- | --- | --- |
| "What's playing at <theater> tonight?" | 1 | $0.005 USDC |
| "Where is <movie> playing?" (6 nearby theaters, 7 days) | 1 | $0.005 USDC |
| The sample above: find theaters, one theater, one movie | 3 | $0.015 USDC |
| Movie night: shortlist 3 theaters + compare 2 movies + 1 trailer | 6 | $0.030 USDC |

Totals assume every call is paid and succeeds. A failed upstream call returns 502 and is not charged. The live 402 is the source of truth: read accepts[0].amount. One call covers a full week of showtimes, so cache it for the session instead of re-querying. To compare several theaters at once, the MCP call_batch tool runs 1–25 queries with one exact total and all-or-nothing settlement; see https://marketplaceforaiagents.com/learn/batch-search-api-for-agents.

## curl examples

Send a stable X-Agent-Id across the task:

```bash
A="movie-night-task"
B="https://marketplaceforaiagents.com/api/public/v1/google-search"
curl -s -G -H "X-Agent-Id: $A" "$B" --data-urlencode "q=AMC River East 21 showtimes" --data-urlencode "location=Chicago,Illinois,United States" > theater.json
curl -s -G -H "X-Agent-Id: $A" "$B" --data-urlencode "q=Hexed showtimes" --data-urlencode "location=Chicago,Illinois,United States" > movie.json

# Tonight at one theater: shows starting after 6 p.m. local, merged by format
jq '.showtimes[] | select(.date == "2026-11-26") | .movies[] | {title, shows: [.showings[] | {type, times: [.times[] | select(.datetime >= "2026-11-26T18:00:00") | .time]}] | map(select(.times | length > 0))} | select(.shows | length > 0)' theater.json

# Where a movie is playing today, nearest first
jq '.showtimes[0].theaters[] | {title, distance, address, shows: [.showings[] | {type, times: [.times[].time]}]}' movie.json

# Runtime and release date for "when does it let out?"
jq '.knowledge_graph | {title, type, running_time, release_date}' movie.json
```

Find theaters first, or grab the trailer:

```bash
curl -s -G -H "X-Agent-Id: $A" "$B" --data-urlencode "q=movie theaters" --data-urlencode "location=Chicago,Illinois,United States" | jq '.local_results[] | {title, rating, reviews, address}'
curl -s -H "X-Agent-Id: $A" "https://marketplaceforaiagents.com/api/public/v1/youtube-search?q=hexed+official+trailer" > trailer.json
```

To rehearse payment with test USDC and fixture data, use the sandbox (not live showtimes):

```bash
curl -si "https://marketplaceforaiagents.com/api/sandbox/v1/google-search?network=base-sepolia&q=hexed+showtimes"
```

## Paying with x402 or a card credit key

Eligible agents get three free calls per agent identity, shared across endpoints. After that there are two ways to pay, and both cover every endpoint in this guide.

- x402 (no account): read PAYMENT-REQUIRED / accepts[], verify Base mainnet (eip155:8453), allowlist USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and payTo 0x05e82e03753c7bc99fb24d10a876cce53f24b7b7, sign the EIP-3009 transferWithAuthorization for the exact amount, and retry the identical request with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1). Keep the PAYMENT-RESPONSE / X-PAYMENT-RESPONSE receipt.
- Card credit pack: your user signs in at https://marketplaceforaiagents.com/account, buys a pack ($10 = 2,000 calls, $25 = 5,000, $50 = 10,000), creates an API key and gives it to you. Send Authorization: Bearer <mfa_live_ key>. Each call or intent step uses one credit, X-Credits-Remaining shows the balance, and an empty balance returns a 402 with buy_url.

Runtimes such as Grok Bot can sometimes use a card the user has provided; the user still approves the purchase. Raise payment only when a paid call is actually needed: say what it does and what it costs (one theater's full week is one step), and offer a wallet, a card pack, any free calls left, the sandbox, or skipping. Ask once, accept a no, and never block the task. If the user says no, point them to the theater's website from what you already have.

## MCP and installed skills

The same flow works through https://marketplaceforaiagents.com/mcp with call_api:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "call_api",
    "arguments": {
      "slug": "google-search",
      "params": { "q": "AMC River East 21 showtimes", "location": "Chicago,Illinois,United States" }
    }
  }
}
```

For MCP payment handling see https://marketplaceforaiagents.com/learn/mcp-x402-marketplace and https://marketplaceforaiagents.com/docs. Runtimes that install skills can save https://marketplaceforaiagents.com/skill.md (or run npx -y skills add Cozy-ctrl/marketplaceforaiagents-skill -y) so the next "what's playing?" request starts here.

## When not to use this

- Buying tickets or holding seats: there is no ticketing in these endpoints. Hand the user the chain's or ticketing site's link.
- Streaming availability ("is it on Netflix?"): showtimes covers theaters only. Use plain search results and cite them.
- Polling for schedule changes every few minutes: one call covers a week. Stay inside https://marketplaceforaiagents.com/acceptable-use.
- Box-office numbers or reviews as fact: quote named sources from search or news results.

## Related guides and discovery

- https://marketplaceforaiagents.com/learn/google-search-api-for-agents
- https://marketplaceforaiagents.com/learn/knowledge-graph-answer-box-api-for-agents
- https://marketplaceforaiagents.com/learn/holiday-hours-api-for-agents
- https://marketplaceforaiagents.com/learn/google-maps-api-for-agents
- https://marketplaceforaiagents.com/learn/google-events-api-for-agents
- https://marketplaceforaiagents.com/learn/youtube-search-api-for-agents
- https://marketplaceforaiagents.com/learn/batch-search-api-for-agents
- https://marketplaceforaiagents.com/listings/google-search
- https://marketplaceforaiagents.com/listings/google-maps
- https://marketplaceforaiagents.com/listings/youtube-search
- https://marketplaceforaiagents.com/marketplace
- https://marketplaceforaiagents.com/docs
- https://marketplaceforaiagents.com/llms.txt

Canonical HTML: https://marketplaceforaiagents.com/learn/movie-showtimes-api-for-agents