Skip to content

Instantly share code, notes, and snippets.

@rkJun
Forked from rynkis/switch-eshop.md
Created July 9, 2021 06:13
Show Gist options
  • Save rkJun/76a1780d24c2efabc48aff43b97f5859 to your computer and use it in GitHub Desktop.
Save rkJun/76a1780d24c2efabc48aff43b97f5859 to your computer and use it in GitHub Desktop.
Nintendo Switch eShop API

港区所有游戏列表 Game Full List HK

https://www.nintendo.com.hk/data/json/switch_software.json

日区所有游戏列表 Game Full List JP

https://www.nintendo.co.jp/data/software/xml/switch.xml

美区所有游戏列表 Game Full List US

[POST]https://u3b6gr4ua3-1.algolianet.com/1/indexes/*/queries?x-algolia-agent=Algolia%20for%20JavaScript%20(3.33.0)%3B%20Browser%20(lite)%3B%20JS%20Helper%202.20.1&x-algolia-application-id=U3B6GR4UA3&x-algolia-api-key=c4da8be7fd29f0f5bfa42920b0a99dc7

{
  "requests": [{
  "indexName":"ncom_game_en_us",
  "params": "query=&hitsPerPage=42&maxValuesPerFacet=30&page=1&analytics=false&facets=%5B%22generalFilters%22%2C%22platform%22%2C%22availability%22%2C%22genres%22%2C%22howToShop%22%2C%22virtualConsole%22%2C%22franchises%22%2C%22priceRange%22%2C%22esrbRating%22%2C%22playerFilters%22%5D&tagFilters="
  }]
}

打折游戏列表 Discounting Game List

日区 Japanese:

https://ec.nintendo.com/api/JP/ja/search/sales?count=30&offset=0

英语区 English:

https://ec.nintendo.com/api/US/en/search/sales?count=30&offset=0
https://ec.nintendo.com/api/GB/en/search/sales?count=10&offset=0
https://ec.nintendo.com/api/CA/en/search/sales?count=30&offset=0#Canada
https://ec.nintendo.com/api/AU/en/search/sales?count=10&offset=0#Australia
https://ec.nintendo.com/api/NZ/en/search/sales?count=10&offset=0#NewZealand
https://ec.nintendo.com/api/CZ/en/search/sales?count=10&offset=0#Czech
https://ec.nintendo.com/api/DK/en/search/sales?count=10&offset=0#Denmark
https://ec.nintendo.com/api/FI/en/search/sales?count=10&offset=0#Finland
https://ec.nintendo.com/api/GR/en/search/sales?count=10&offset=0#Greece
https://ec.nintendo.com/api/HU/en/search/sales?count=10&offset=0#Hungary
https://ec.nintendo.com/api/NO/en/search/sales?count=10&offset=0#Norway
https://ec.nintendo.com/api/PL/en/search/sales?count=10&offset=0#Poland
https://ec.nintendo.com/api/ZA/en/search/sales?count=10&offset=0#SouthAfrica
https://ec.nintendo.com/api/SE/en/search/sales?count=10&offset=0#Sweden

德语区 German:

https://ec.nintendo.com/api/DE/de/search/sales?count=10&offset=0
https://ec.nintendo.com/api/CH/de/search/sales?count=10&offset=0#Switzerland

法语区 French:

https://ec.nintendo.com/api/FR/fr/search/sales?count=10&offset=0
https://ec.nintendo.com/api/BE/fr/search/sales?count=10&offset=0#Belgium

意大利 Italian:

https://ec.nintendo.com/api/IT/it/search/sales?count=10&offset=0

荷兰 Dutch:

https://ec.nintendo.com/api/NL/nl/search/sales?count=10&offset=0
https://ec.nintendo.com/api/BE/nl/search/sales?count=10&offset=0#Belgium

俄区 Russian:

https://ec.nintendo.com/api/RU/ru/search/sales?count=30&offset=0

西语区 Spanish:

https://ec.nintendo.com/api/ES/es/search/sales?count=30&offset=0
https://ec.nintendo.com/api/MX/es/search/sales?count=30&offset=0#Mexico
https://ec.nintendo.com/api/CO/es/search/sales?count=10&offset=0#Columbia
https://ec.nintendo.com/api/AR/es/search/sales?count=10&offset=0#Argentina
https://ec.nintendo.com/api/CL/es/search/sales?count=10&offset=0#Chile
https://ec.nintendo.com/api/PE/es/search/sales?count=10&offset=0#Peru

葡语区 Portuguese:

https://ec.nintendo.com/api/PT/pt/search/sales?count=30&offset=0
https://ec.nintendo.com/api/BR/pt/search/sales?count=10&offset=0

亚洲区 Asian:

https://ec.nintendo.com/api/HK/zh/search/sales?count=10&offset=0
https://ec.nintendo.com/api/KR/ko/search/sales?count=10&offset=0

Return

  • contents: array
    • content_type: string
    • disclaimer: string
    • dominant_colors: string[]
    • formal_name: string
    • hero_banner_url: string
    • id: number
    • is_new: boolean
    • public_status: string
    • release_date_on_eshop: string
    • strong_disclaimer: string
    • tags: array
    • target_titles: array
  • length: number
  • offset: number
  • total: number

游戏价格查询 Game Price Query

https://api.ec.nintendo.com/v1/price?country=JP&ids=70010000009922&lang=jp

Return

  • personalized: boolean
  • country: string
  • prices: array
    • title_id: number,
    • sales_status: string
    • regular_price:
      • amount: string
      • currency: string
      • raw_value: string
    • discount_price:
      • amount: string
      • currency: string
      • raw_value: string
      • start_datetime: date
      • end_datetime: date

最新发售游戏列表 Latest Released Game List

https://ec.nintendo.com/api/JP/ja/search/new?count=30&offset=0

下载游戏排行 Downloading Game Ranking

https://ec.nintendo.com/api/JP/ja/search/ranking?count=10&offset=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment