# IMDb Countries of Origin API (V1)

Look up IMDb countries of origin by title ID via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by JustOneAPI, pass parameters such as id, and retrieve structured data including provider response status code, countries, text, optional provider status message, and record time for facet media catalogs by origin, track international co-productions, and minimize payload overhead.

Documentation: https://openany.si/imdb/imdb-countries-of-origin-api-v1/a8ba66f5-6b36-417a-ae00-ba0f6dba7333/
API ID: a8ba66f5-6b36-417a-ae00-ba0f6dba7333
Provider: justoneapi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/imdb/title-countries-of-origin/v1
Page update time: 2026-12-03T02:43:17.760Z
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.007692 / call
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:43:16.421Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "7692",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## IMDb Countries of Origin API

Query a title's production countries with a single GET call using id (tt\<digits\>) and optional languageCountry. The compact response returns data.title.countriesOfOrigin.countries\[\] containing country id codes and localized text names.

## What You Can Build

- **Facet media catalogs by origin**: Group films and series by standardized country codes such as US, GB, JP or AU.
- **Track international co-productions**: Identify titles listing multiple origin countries in countriesOfOrigin.countries\[\].
- **Minimize payload overhead**: Fetch only origin countries when you do not need full filming locations or AKAs.

## Returned Data

| Field | Meaning |
| --- | --- |
| `code` | Provider response status code |
| `data.title.countriesOfOrigin.countries` | Array of origin country objects for the title |
| `data.title.countriesOfOrigin.countries[].id` | Standardized country code such as US or AU |
| `data.title.countriesOfOrigin.countries[].text` | Localized country name such as United States or Australia |
| `message` | Optional provider status message |
| `recordTime` | Provider record timestamp when populated; may be null |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "IMDb Countries of Origin API (V1) 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": {
        "id": {
          "type": "string",
          "description": "The IMDb title identifier in tt<digits> format."
        },
        "languageCountry": {
          "type": "string",
          "description": "Language and country preferences.\n\nAvailable Values:\n- `en_US`: English (US)\n- `fr_CA`: French (Canada)\n- `fr_FR`: French (France)\n- `de_DE`: German (Germany)\n- `hi_IN`: Hindi (India)\n- `it_IT`: Italian (Italy)\n- `pt_BR`: Portuguese (Brazil)\n- `es_ES`: Spanish (Spain)\n- `es_US`: Spanish (US)\n- `es_MX`: Spanish (Mexico)",
          "enum": [
            "en_US",
            "fr_CA",
            "fr_FR",
            "de_DE",
            "hi_IN",
            "it_IT",
            "pt_BR",
            "es_ES",
            "es_US",
            "es_MX"
          ]
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "title": {
          "type": "object",
          "properties": {
            "countriesOfOrigin": {
              "type": "object",
              "properties": {
                "countries": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "__typename": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "text": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "message": {
      "type": "null"
    },
    "recordTime": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Historical response; independent request temp
```bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/imdb/title-countries-of-origin/v1?id=%3CREPLACE_ID%3E' \
  -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
{
  "code": 0,
  "data": {
    "title": {
      "countriesOfOrigin": {
        "countries": [
          {
            "__typename": "CountryOfOrigin",
            "id": "AU",
            "text": "Australia"
          },
          {
            "__typename": "CountryOfOrigin",
            "id": "US",
            "text": "United States"
          }
        ]
      }
    }
  },
  "message": null,
  "recordTime": null
}
```

## 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
### Can a single title return multiple countries of origin?
Yes. International co-productions return multiple objects in data.title.countriesOfOrigin.countries[].

### What format are the country identifiers?
Each country entry includes a short country code in id (for example AU or US) and a readable name in text.

### Does languageCountry translate country names?
Yes. Pass a supported languageCountry value such as fr_FR or de_DE to request localized country labels.

### Does this endpoint also return spoken languages or filming locations?
No. Use the IMDb Details API when you need spokenLanguages, filmingLocations and AKAs together.

### What title identifier format is required?
Provide a single IMDb title ID in tt<digits> format via the id query parameter.

### Is the title name echoed in this response?
No. This lightweight response returns only the countriesOfOrigin array inside data.title.

## Available implementations
- justoneapi: https://openany.si/imdb/imdb-countries-of-origin-api-v1/a8ba66f5-6b36-417a-ae00-ba0f6dba7333/

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