{
  "openapi": "3.0.0",
  "info": {
    "title": "IMDb Countries of Origin API (V1)",
    "version": "1.0.0",
    "description": "Get IMDb title Countries of Origin data, including country names and regional metadata, for catalog enrichment and regional content analysis."
  },
  "paths": {
    "/api/imdb/title-countries-of-origin/v1": {
      "get": {
        "tags": [
          "IMDb"
        ],
        "summary": "Countries of Origin",
        "description": "Get IMDb title Countries of Origin data, including country names and regional metadata, for catalog enrichment and regional content analysis.",
        "operationId": "titleCountriesOfOrigin",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "User's authentication token.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "The unique IMDb ID of the title (e.g., tt12037194).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "languageCountry",
            "in": "query",
            "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)",
            "required": false,
            "schema": {
              "type": "string",
              "default": "en_US",
              "description": "Language and country options for IMDb data.",
              "enum": [
                "en_US",
                "fr_CA",
                "fr_FR",
                "de_DE",
                "hi_IN",
                "it_IT",
                "pt_BR",
                "es_ES",
                "es_US",
                "es_MX"
              ]
            }
          }
        ],
        "responses": {
          "default": {
            "description": "default response",
            "content": {
              "application/json": {
                "example": {
                  "code": 0,
                  "data": {
                    "title": {
                      "countriesOfOrigin": {
                        "countries": [
                          {
                            "__typename": "CountryOfOrigin",
                            "id": "AU",
                            "text": "Australia"
                          },
                          {
                            "__typename": "CountryOfOrigin",
                            "id": "US",
                            "text": "United States"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-order": 34002800
      }
    }
  },
  "components": {}
}