Gracenote API scripts
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Gracenote API to get theatres, movies, showings


These scripts connect to the Gracenote API to get information about theatres, movies, showings, programs, celebrities, and the like.

The API uses REST and JSON, and these scripts use the commands curl and jq to manage data.

These scripts are NOT authored by Gracenote. These scripts are independent implementations of the Gracenote free public API. These scripts are good for introductory learning, simple demonstrations, and generally getting up to speed with the API. These scripts are not intended to be production quality.

See the Gracenote Developer site and API Explorer tool

What is the Gracenote API?

These scripts use the Gracenote "OnConnect Data Delivery APIs".

The API provides URIs that look like this:

The URI is a typical RESTful method with these pieces:

  • Entry point ""
  • Semantic version number "v1.1"
  • RESTful nested method "movies/showings"
  • Query string with the API key and filters.

How to get started?

Get your own Gracenote developer account and API key:

Verify that your API key works by trying curl:

curl ''`

IMPORTANT: export your API key to your shell environment:

$ export GRACENOTE_API_KEY=12345678

What is the location?

The API needs the movies showings request to provide a location, by using a U.S. zip (a.k.a. postal code) or latitude and longitude.

Our examples use this location:

  • Grand Central Station in New York City
  • Street address: 89 E 42nd St, New York, NY 10017
  • Postal code: 10017
  • Latitude: 40.7527
  • Longitude -73.9772


If you get error messages about GRACENOTE_API_KEY needed:

  • Be sure you have set your own key in your own shell environment.

  • Example: export GRACENOTE_API_KEY=12345678

If you get error messages about a command missing, such as "curl" or "jq":

  • Be sure you have the command installed.

  • Example: curl

  • Example: jq --help

If you get error messages about API rate limiting:

  • Are you trying to make more calls faster than the free public plan allows?

  • Be sure you edited the script to use your own API key, not the demo API key.

  • Try waiting a minute then try just 1 call.

If you want to work with the JSON, such as filtering it:

If you need more help, please open an issue and we'll take a look.


  • Package: gracenote_api_scripts
  • Version: 3.3.0
  • Created: 2017-08-22
  • Updated: 2017-09-14
  • License: GPL
  • Contact: Joel Parker Henderson (