{
  "openapi": "3.0.1",
  "info": {
    "title": "Nintendo eShop Scraper",
    "description": "Scrape Nintendo eShop games with localized prices and discounts across 33 countries in one run. Genres, ratings, players, file size and more.",
    "version": "0.0",
    "x-build-id": "jxeM7S8QimW7PZwxF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unfenced-group~nintendo-eshop-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unfenced-group-nintendo-eshop-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/unfenced-group~nintendo-eshop-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unfenced-group-nintendo-eshop-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/unfenced-group~nintendo-eshop-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unfenced-group-nintendo-eshop-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword(s) to search the Nintendo eShop catalogue (e.g. \"zelda\", \"mario kart\"). Leave empty to browse the most-downloaded games.",
            "default": ""
          },
          "country": {
            "title": "Country (single)",
            "enum": [
              "GB",
              "IE",
              "DE",
              "FR",
              "NL",
              "BE",
              "LU",
              "ES",
              "PT",
              "IT",
              "AT",
              "CH",
              "PL",
              "CZ",
              "SK",
              "HU",
              "SE",
              "NO",
              "DK",
              "FI",
              "GR",
              "RO",
              "BG",
              "HR",
              "SI",
              "EE",
              "LV",
              "LT",
              "CY",
              "MT",
              "AU",
              "NZ",
              "ZA"
            ],
            "type": "string",
            "description": "Single storefront to price against. Ignored if 'Countries' or 'All countries' is set.",
            "default": "GB"
          },
          "countries": {
            "title": "Countries (multi-select)",
            "type": "array",
            "description": "Price each game across multiple storefronts in one run — every selected country's local price and currency is returned per game.",
            "items": {
              "type": "string",
              "enum": [
                "GB",
                "IE",
                "DE",
                "FR",
                "NL",
                "BE",
                "LU",
                "ES",
                "PT",
                "IT",
                "AT",
                "CH",
                "PL",
                "CZ",
                "SK",
                "HU",
                "SE",
                "NO",
                "DK",
                "FI",
                "GR",
                "RO",
                "BG",
                "HR",
                "SI",
                "EE",
                "LV",
                "LT",
                "CY",
                "MT",
                "AU",
                "NZ",
                "ZA"
              ],
              "enumTitles": [
                "🇬🇧 United Kingdom (GBP)",
                "🇮🇪 Ireland (EUR)",
                "🇩🇪 Germany (EUR)",
                "🇫🇷 France (EUR)",
                "🇳🇱 Netherlands (EUR)",
                "🇧🇪 Belgium (EUR)",
                "🇱🇺 Luxembourg (EUR)",
                "🇪🇸 Spain (EUR)",
                "🇵🇹 Portugal (EUR)",
                "🇮🇹 Italy (EUR)",
                "🇦🇹 Austria (EUR)",
                "🇨🇭 Switzerland (CHF)",
                "🇵🇱 Poland (PLN)",
                "🇨🇿 Czechia (CZK)",
                "🇸🇰 Slovakia (EUR)",
                "🇭🇺 Hungary (EUR)",
                "🇸🇪 Sweden (SEK)",
                "🇳🇴 Norway (NOK)",
                "🇩🇰 Denmark (DKK)",
                "🇫🇮 Finland (EUR)",
                "🇬🇷 Greece (EUR)",
                "🇷🇴 Romania (EUR)",
                "🇧🇬 Bulgaria (EUR)",
                "🇭🇷 Croatia (EUR)",
                "🇸🇮 Slovenia (EUR)",
                "🇪🇪 Estonia (EUR)",
                "🇱🇻 Latvia (EUR)",
                "🇱🇹 Lithuania (EUR)",
                "🇨🇾 Cyprus (EUR)",
                "🇲🇹 Malta (EUR)",
                "🇦🇺 Australia (AUD)",
                "🇳🇿 New Zealand (NZD)",
                "🇿🇦 South Africa (ZAR)"
              ]
            },
            "default": []
          },
          "allCountries": {
            "title": "All countries",
            "type": "boolean",
            "description": "Price across all 33 supported storefronts in a single run. Overrides the country fields.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of games to return.",
            "default": 5
          },
          "searchLanguage": {
            "title": "Catalogue language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pt"
            ],
            "type": "string",
            "description": "Language for game titles, descriptions and genres. Prices stay localized to each country regardless of this setting.",
            "default": "en"
          },
          "nsuids": {
            "title": "Specific eShop IDs (nsuids)",
            "type": "array",
            "description": "Optional list of exact Nintendo eShop IDs (nsuid, e.g. 70010000063715) to price directly. Bypasses search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceFilter": {
            "title": "Price filter",
            "enum": [
              "all",
              "free",
              "paid",
              "onSale"
            ],
            "type": "string",
            "description": "Restrict to free, paid, or on-sale games.",
            "default": "all"
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "integer",
            "description": "Only games whose lowest price across selected countries is at least this amount (in local major units)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "integer",
            "description": "Only games whose lowest price across selected countries is at most this amount (in local major units)."
          },
          "ageRatings": {
            "title": "Age rating tier",
            "type": "array",
            "description": "Filter by maturity tier (mapped across PEGI/USK/etc).",
            "items": {
              "type": "string",
              "enum": [
                "everyone",
                "teen",
                "mature",
                "unrated"
              ],
              "enumTitles": [
                "Everyone",
                "Teen",
                "Mature",
                "Unrated"
              ]
            },
            "default": []
          },
          "genres": {
            "title": "Genres",
            "type": "array",
            "description": "Filter by genre (substring match, case-insensitive — e.g. \"action\", \"rpg\", \"puzzle\").",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "releasedAfter": {
            "title": "Released after",
            "type": "string",
            "description": "Only games released on or after this date (YYYY-MM-DD).",
            "default": ""
          },
          "releasedBefore": {
            "title": "Released before",
            "type": "string",
            "description": "Only games released on or before this date (YYYY-MM-DD).",
            "default": ""
          },
          "multiplayer": {
            "title": "Multiplayer only",
            "type": "boolean",
            "description": "Only games supporting 2+ players.",
            "default": false
          },
          "handheldOnly": {
            "title": "Handheld mode only",
            "type": "boolean",
            "description": "Only games playable in handheld mode.",
            "default": false
          },
          "hasDemo": {
            "title": "Has demo",
            "type": "boolean",
            "description": "Only games with a downloadable demo.",
            "default": false
          },
          "cloudSaves": {
            "title": "Cloud saves",
            "type": "boolean",
            "description": "Only games supporting cloud saves.",
            "default": false
          },
          "physicalVersion": {
            "title": "Physical release",
            "type": "boolean",
            "description": "Only games with a physical (cartridge) release.",
            "default": false
          },
          "includeMedia": {
            "title": "Include media",
            "type": "boolean",
            "description": "Include cover, banner and screenshot image URLs.",
            "default": true
          },
          "includeDescription": {
            "title": "Include description",
            "type": "boolean",
            "description": "Include the game description text.",
            "default": true
          },
          "useProxy": {
            "title": "Use proxy",
            "type": "boolean",
            "description": "Route requests through Apify Proxy. Off by default — the Nintendo endpoints are reachable directly.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}