# The Numbers API

> The Numbers returns movie budgets, box office earnings, physical media sales, and release details as a workflow and API.

The Numbers returns movie financials through Get movie financials, using a movie title and optionally its release year.

- Page: https://fous.com/tools/the-numbers
- Handle: `@the-numbers`
- Category: [Entertainment](https://fous.com/tools/category/entertainment)
- Source website: https://the-numbers.com
- Last verified: Sep 29, 2026

## Methods

### Get movie financials

Operation `get_movie_financials`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get a film’s budget, box office earnings, physical media sales, and release details by title. A release year can distinguish films with the same name; unavailable figures are null.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `year` | integer | no | `1954` | Release year when films have the same title, for example 1954. |
| `title` | string | yes | `"A Star Is Born"` | Movie title, for example Oppenheimer. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "year": {
      "type": "integer",
      "description": "Release year when films have the same title, for example 1954.",
      "examples": [
        1954,
        2023
      ]
    },
    "title": {
      "type": "string",
      "description": "Movie title, for example Oppenheimer.",
      "examples": [
        "A Star Is Born",
        "Oppenheimer",
        "Barbie"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "year": 1954,
      "title": "A Star Is Born"
    },
    {
      "title": "Oppenheimer"
    },
    {
      "year": 2023,
      "title": "Barbie"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `title` | string | `"A Star is Born"` |  |
| `currency` | string | `"USD"` |  |
| `age_rating` | string or null | `"PG"` |  |
| `release_year` | integer or null | `1954` |  |
| `running_time` | string or null | `"182 minutes"` |  |
| `the_numbers_link` | string | `"https://www.the-numbers.com/movie/Star-is-Born-A-(1954)"` |  |
| `production_budget` | number or null | `100000000` | Amount in US dollars; null if unavailable. |
| `domestic_dvd_sales` | number or null | `7196529` | Amount in US dollars; null if unavailable. |
| `domestic_box_office` | number or null | `4400000` | Amount in US dollars; null if unavailable. |
| `worldwide_box_office` | number or null | `983148052` | Amount in US dollars; null if unavailable. |
| `domestic_release_date` | string or null | `"1954-09-29"` |  |
| `domestic_blu_ray_sales` | number or null | `22831206` | Amount in US dollars; null if unavailable. |
| `domestic_opening_weekend` | number or null | `82455420` | Amount in US dollars; null if unavailable. |
| `international_box_office` | number or null | `653069157` | Amount in US dollars; null if unavailable. |

**Example input**

```json
{
  "year": 1954,
  "title": "A Star Is Born"
}
```

**Example output**

```json
{
  "title": "A Star is Born",
  "currency": "USD",
  "age_rating": "PG",
  "release_year": 1954,
  "running_time": "182 minutes",
  "the_numbers_link": "https://www.the-numbers.com/movie/Star-is-Born-A-(1954)",
  "production_budget": null,
  "domestic_dvd_sales": null,
  "domestic_box_office": 4400000,
  "worldwide_box_office": null,
  "domestic_release_date": "1954-09-29",
  "domestic_blu_ray_sales": null,
  "domestic_opening_weekend": null,
  "international_box_office": null
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@the-numbers",
  "visibility": "public",
  "operation": "get_movie_financials",
  "version": 1,
  "input": {
    "year": 1954,
    "title": "A Star Is Born"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@the-numbers\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_movie_financials\",\n  \"version\": 1,\n  \"input\": {\n    \"year\": 1954,\n    \"title\": \"A Star Is Born\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@the-numbers",
  "visibility": "public",
  "operation": "get_movie_financials",
  "version": 1,
  "input": {
    "year": 1954,
    "title": "A Star Is Born"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/the-numbers`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `get_movie_financials`: Get movie financials. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-the-numbers https://api.fous.com/mcp/tools/the-numbers --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare domestic and worldwide box office earnings
- Review movie budgets alongside box office results
- Track domestic DVD and Blu-ray sales
- Check movie release dates and opening weekends
- Distinguish films with the same title by release year

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this The Numbers tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a The Numbers account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from the-numbers.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What was a movie’s worldwide box office?

Get movie financials returns worldwide box office earnings when you provide the movie title.

### What was a movie’s production budget?

Get movie financials returns the production budget when available; provide the movie title.

### When was a movie released?

Get movie financials returns release details, including the domestic release date, when available.

## Related

- [Box Office Mojo API](https://fous.com/tools/box-office-mojo.md): Box Office Mojo reports weekend rankings, movie details, daily grosses, and annual leaders; weekend and daily results default to the latest reported period, with some international figures unavailable.
- [TMDB API](https://fous.com/tools/tmdb.md): TMDB returns movie and TV details, cast, trailers, releases, viewing services, scheduled upcoming movies, and up to 20 homepage trending titles; future episode details depend on published schedules.
- [IMDb API](https://fous.com/tools/imdb.md): IMDb returns movie, TV, person, episode, chart and Parents Guide details, including available weekly rank changes; missing details are null, and unaired or unrated episodes lack ratings.
- [Letterboxd API](https://fous.com/tools/letterboxd.md): Letterboxd provides films with ratings, cast, location-dependent watch services and popular reviews, plus popularity-ranked lists by time period, genre and decade; some details may be unavailable.
- [Rotten Tomatoes API](https://fous.com/tools/rotten-tomatoes.md): Rotten Tomatoes returns movie and TV details, scores, newest reviews, and listings for theaters, coming soon, or at home; series rating counts may be unavailable.
- [Netflix API](https://fous.com/tools/netflix.md): Netflix offers weekly global and country Top 10 rankings, all-time popularity rankings based on titles’ first 91 days, and title details with country availability that may lag.
- [Fandango API](https://fous.com/tools/fandango.md): Fandango provides nearby U.S. movie showtimes, formats, local times and ticket links; theater listings for selected dates when available; and movies now playing or coming soon with details when listed.
- [Common Sense Media API](https://fous.com/tools/common-sense-media.md): Independent reviews and age guidance for family entertainment.
- [All Entertainment tools](https://fous.com/tools/category/entertainment)
