# 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/workflows/the-numbers
- Handle: `@the-numbers`
- Category: [Entertainment](https://fous.com/workflows/category/entertainment)
- Source website: https://the-numbers.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with The Numbers.

## Methods

### Get movie financials

Operation `get_movie_financials`, version 1. 1 credit per call.

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

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_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.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

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=120) 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.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_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);
```

Or describe the data in plain language: send `{"api":"@the-numbers","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## 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

### Is Fous affiliated with The Numbers?

No. Fous is not affiliated with The Numbers. This workflow reads the public the-numbers.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. 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; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check 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/workflows/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/workflows/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/workflows/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/workflows/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/workflows/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/workflows/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/workflows/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/workflows/common-sense-media.md): Independent reviews and age guidance for family entertainment.
- [All Entertainment workflows](https://fous.com/workflows/category/entertainment)
