# Movies - searchReviews

## Example

{% code title="example.js" %}

```javascript
const { Movies } = require('nytimes-api');
const movies = new Movies('your-super-secret-api-key');

movies.searchReviews('The Terminator', data => console.log(data);
```

{% endcode %}

### What does it do?

`searchReviews` searches for a review of a movie on the New York Times' database. The above code searches for a movie review of **The Terminator**, and logs the results.

## Example Response

{% code title="example-response.json" %}

```javascript
{ display_title: 'The Terminator',
  mpaa_rating: 'R',
  critics_pick: 0,
  byline: 'Janet Maslin',
  headline: 'TERMINATOR, THE (MOVIE)',
  summary_short: 'Ruthless cyborg from future. Fast, vivid sci-fi.',
  publication_date: '1984-10-26',
  opening_date: '1984-10-26',
  date_updated: '2017-11-02 04:17:33',
  link:
   { type: 'article',
     url:
      'http://www.nytimes.com/1984/10/26/movies/the-screen-terminator-suspense-tale.html',
     suggested_link_text: 'Read the New York Times Review of The Terminator' },
  multimedia: null }
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jsmiiith.gitbook.io/nytimes/documentation/movies-searchreviews.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
