# The Numbers records API

Browse The Numbers box-office record charts by scope, release year and measure via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, period, scope, and retrieve structured data including selected territory scope, all-time or release-year selection, selected chart measure, source chart rank, and source movie identifier for chart display, and movie navigation.

Documentation: https://openany.si/the-numbers/the-numbers-records-api/814096c6-fbf1-4baf-8971-39cf04e49b57/
API ID: 814096c6-fbf1-4baf-8971-39cf04e49b57
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/thenumbers/v1/records
Page update time: 2026-12-03T02:45:39.164Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:36.647Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## The Numbers Box Office Records API

Choose scope, period and measure to resolve a record chart. The response retains the chart name and selection values alongside ranked items; a release-year chart is not automatically a calendar-year revenue report.

## What You Can Build

- **Chart display**: Present chart scope and release-year selection with its ranking.
- **Movie navigation**: Use returned movie identifiers for detailed movie lookups.

## Returned Data

| Field | Meaning |
| --- | --- |
| `scope` | Selected territory scope |
| `period` | All-time or release-year selection |
| `measure` | Selected chart measure |
| `items[].rank` | Source chart rank |
| `items[].movie_movie_id` | Source movie identifier |
| `items[].worldwide_box_office` | Reported worldwide box office |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "The Numbers records API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "scope": {
          "type": "string",
          "description": "`worldwide` (default), `domestic` or `international`.",
          "enum": [
            "domestic",
            "international",
            "worldwide"
          ]
        },
        "period": {
          "type": "string",
          "description": "`all-time` (default) or a release year like `2025`."
        },
        "measure": {
          "type": "string",
          "description": "`cumulative` (default) or `daily` (biggest single days; domestic).",
          "enum": [
            "cumulative",
            "daily"
          ]
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "domestic_box_office": {
                "type": "integer"
              },
              "domestic_share": {
                "type": "number"
              },
              "international_box_office": {
                "type": "integer"
              },
              "movie": {
                "type": "string"
              },
              "movie_movie_id": {
                "type": "string"
              },
              "rank": {
                "type": "integer"
              },
              "worldwide_box_office": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "measure": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "period": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/thenumbers/v1/records?output=json&period=all-time&scope=worldwide' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "columns": [
    "rank",
    "movie",
    "… 4 more"
  ],
  "count": 100,
  "credits_used": 1,
  "items": [
    {
      "domestic_box_office": 898471864,
      "domestic_share": 30.5,
      "international_box_office": 2044050975,
      "movie": "Avengers: Endgame",
      "movie_movie_id": "Avengers-Endgame-(2019)",
      "rank": 1,
      "worldwide_box_office": 2942522839
    },
    {
      "domestic_box_office": 785221649,
      "domestic_share": 26.9,
      "international_box_office": 2138484377,
      "movie": "Avatar",
      "movie_movie_id": "Avatar-(2009)",
      "rank": 2,
      "worldwide_box_office": 2923706026
    },
    "… 98 more"
  ],
  "measure": "cumulative",
  "name": "All-Time Top-Grossing Worldwide Movies",
  "period": "all-time",
  "scope": "worldwide",
  "url": "https://www.the-numbers.com/box-office-records/worldwide/all-movies/cumulative/all-time"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which territory scopes are accepted?
scope accepts worldwide, domestic or international; worldwide is the default.

### What does period select?
Use all-time, the default, or a release year such as 2025. A release-year grouping differs from receipts earned within that calendar year.

### Can I request biggest single days?
Use measure=daily for the documented domestic single-day chart. cumulative is the default; daily is not described as a worldwide measure.

### Does this contract expose pagination?
No page or limit input is exposed. Use the returned count and chart selection without inventing pagination parameters.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/the-numbers/the-numbers-records-api/814096c6-fbf1-4baf-8971-39cf04e49b57/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
