2024-09-14 22:26:39 +00:00
# ===----------------------------------------------------------------------===
#
2025-09-09 17:20:05 +00:00
# This source file is part of the AmiiboService open source project
2024-09-14 22:26:39 +00:00
#
2025-09-09 17:20:05 +00:00
# Copyright (c) 2024-2025 Röck+Cöde VoF. and the AmiiboAPI project authors
2024-09-14 22:26:39 +00:00
# Licensed under the EUPL 1.2 or later.
#
# See LICENSE for license information
# See CONTRIBUTORS for the list of AmiiboAPI project authors
#
# ===----------------------------------------------------------------------===
2025-10-07 22:07:55 +00:00
openapi : '3.1.1'
2024-09-14 22:26:39 +00:00
info :
2025-10-07 22:07:55 +00:00
title : Amiibo API
summary : A RESTFul API for Amiibo.
description : |
# information
_AmiiboAPI_ is primarily used for educational purposes.
This is a **reading-only API**. Only HTTP GET method is allowed by this API.
**No authentication** is required to use this API. All resources are allowed to access.
If you are going to be calling this API regularly. We recommend that you use **caching** on your system.
# Terms & Conditions
By using our API, you hereby accepted the following terms and conditions:
* *This API has no affiliation with Nintendo or any other companies that own the rights to it.*
* *Other reports collected by the respective companies that own the rights are not our responsibility.*
* *User agrees that the use of this API is entirely at user's own risks.*
* *You will require your end users to comply with (and not knowingly enable them to violate) applicable law, regulation, and the Terms.*
* *You will comply with all applicable law, regulation, and third party rights (including without limitation laws regarding the import or export of data or software, privacy, and local laws). You will not use the APIs to encourage or promote illegal activity or violation of third party rights.*
* *These Terms and Conditions are subject to change without notice, from time to time in our sole discretion.*
version : v1.0.0
termsOfService : https://www.amiiboapi.com/docs/#termscondition
contact :
name : FAQ
url : https://www.amiiboapi.com/faq/
license :
name : MIT license
identifier : MIT
2024-09-14 22:26:39 +00:00
servers :
- url : https://www.amiiboapi.com/api
2025-10-07 22:07:55 +00:00
description : Live service
tags :
- name : Amiibo
description : Amiibo-related endpoints.
- name : Game
description : Game-related endpoints.
- name : Service
description : Service-related endpoints.
externalDocs :
url : https://www.amiiboapi.com/docs
description : Amiibo API documentation
2024-09-14 22:26:39 +00:00
paths :
/amiibo :
get :
2025-10-07 22:07:55 +00:00
summary : Get a list of Amiibo items.
2024-09-14 22:26:39 +00:00
description : Get a list of all the Amiibo items available in the database.
operationId : getAmiibos
2025-10-07 22:07:55 +00:00
tags :
- Amiibo
2024-09-14 22:26:39 +00:00
responses :
'200' :
2025-10-07 22:07:55 +00:00
description : Response that retuns a decodable JSON object wrapping a list of Amiibo items.
2024-09-14 22:26:39 +00:00
content :
application/json :
schema :
$ref : '#/components/schemas/AmiiboWrapper'
'400' :
2025-10-07 22:07:55 +00:00
description : An amiibo bad request.
'404' :
description : An amiibo not found.
'500' :
description : Service is not available.
2024-09-14 22:26:39 +00:00
parameters :
- name : amiiboSeries
in : query
2025-10-07 22:07:55 +00:00
description : An identifier or name of an Amiibo to filter the response.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : string
style : form
- name : character
in : query
2025-10-07 22:07:55 +00:00
description : An identifier or name of a game character to filter the response.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : string
style : form
- name : gameseries
in : query
2025-10-07 22:07:55 +00:00
description : An identifier or name of a game series to filter the response.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : string
style : form
2025-10-07 22:07:55 +00:00
- name : head
in : query
description : A last part of an identifier to filter the response.
required : false
schema :
type : string
style : form
2024-09-14 22:26:39 +00:00
- name : id
in : query
2025-10-07 22:07:55 +00:00
description : An identifier of an Amiibo to filter the response.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : string
style : form
- name : name
in : query
2025-10-07 22:07:55 +00:00
description : A name of an Amiibo to filter the response.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : string
style : form
- name : showgames
in : query
2025-10-07 22:07:55 +00:00
description : A flag that indicates whether to include information about related games.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : boolean
style : form
- name : showusage
in : query
2025-10-07 22:07:55 +00:00
description : A flag that indicates whether to include information about Amiibo usage in related games.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : boolean
style : form
2025-10-07 22:07:55 +00:00
- name : tail
in : query
description : A first part of an identifier to filter the response.
required : false
schema :
type : string
style : form
2024-09-14 22:26:39 +00:00
- name : type
in : query
2025-10-07 22:07:55 +00:00
description : An identifier or a name of an Amiibo type to filter the response.
2024-09-14 22:26:39 +00:00
required : false
schema :
type : string
style : form
/amiiboseries :
get :
description : Get a list of all the Amiibo series available in the database.
operationId : getAmiiboSeries
2025-10-07 22:07:55 +00:00
tags :
- Amiibo
2024-09-14 22:26:39 +00:00
responses :
'200' :
2025-10-07 22:07:55 +00:00
$ref : '#/components/responses/SuccessTuple'
2024-09-14 22:26:39 +00:00
'400' :
2025-10-07 22:07:55 +00:00
description : An amiibo series bad request.
2024-09-14 22:26:39 +00:00
'404' :
2025-10-07 22:07:55 +00:00
description : An amiibo series not found.
2024-09-14 22:26:39 +00:00
'500' :
2025-10-07 22:07:55 +00:00
description : Service is not available.
2024-09-14 22:26:39 +00:00
parameters :
- name : key
in : query
description : The Amiibo series key to filter the response.
required : false
schema :
type : string
style : form
- name : name
in : query
description : The Amiibo series name to filter the response.
required : false
schema :
type : string
style : form
/character :
get :
description : Get a list of all the game characters available in the database.
operationId : getGameCharacters
2025-10-07 22:07:55 +00:00
tags :
- Game
2024-09-14 22:26:39 +00:00
responses :
'200' :
2025-10-07 22:07:55 +00:00
$ref : '#/components/responses/SuccessTuple'
2024-09-14 22:26:39 +00:00
'400' :
2025-10-07 22:07:55 +00:00
description : A game character bad request.
2024-09-14 22:26:39 +00:00
'404' :
2025-10-07 22:07:55 +00:00
description : A game character not found.
2024-09-14 22:26:39 +00:00
'500' :
2025-10-07 22:07:55 +00:00
description : Service is not available.
2024-09-14 22:26:39 +00:00
parameters :
- name : key
in : query
description : The game character key to filter the response.
required : false
schema :
type : string
style : form
- name : name
in : query
description : The game character name to filter the response.
required : false
schema :
type : string
style : form
/gameseries :
get :
description : Gets a list of all the game series available in the database.
operationId : getGameSeries
2025-10-07 22:07:55 +00:00
tags :
- Game
2024-09-14 22:26:39 +00:00
responses :
'200' :
2025-10-07 22:07:55 +00:00
$ref : '#/components/responses/SuccessTuple'
2024-09-14 22:26:39 +00:00
'400' :
2025-10-07 22:07:55 +00:00
description : A game series bad request.
2024-09-14 22:26:39 +00:00
'404' :
2025-10-07 22:07:55 +00:00
description : A game series not found.
2024-09-14 22:26:39 +00:00
'500' :
2025-10-07 22:07:55 +00:00
description : Service is not available.
2024-09-14 22:26:39 +00:00
parameters :
- name : key
in : query
description : The game series key to filter the response.
required : false
schema :
type : string
style : form
- name : name
in : query
description : The game series name to filter the response.
required : false
schema :
type : string
style : form
/type :
get :
description : Gets a list of all the Amiibo types available in the database.
operationId : getAmiiboTypes
2025-10-07 22:07:55 +00:00
tags :
- Amiibo
2024-09-14 22:26:39 +00:00
responses :
'200' :
2025-10-07 22:07:55 +00:00
$ref : '#/components/responses/SuccessTuple'
2024-09-14 22:26:39 +00:00
'400' :
2025-10-07 22:07:55 +00:00
description : An amiibo type bad request.
2024-09-14 22:26:39 +00:00
'404' :
2025-10-07 22:07:55 +00:00
description : An amiibo type not found.
2024-09-14 22:26:39 +00:00
'500' :
2025-10-07 22:07:55 +00:00
description : Service is not available.
2024-09-14 22:26:39 +00:00
parameters :
- name : key
in : query
description : The Amiibo type key to filter the response.
required : false
schema :
type : string
style : form
- name : name
in : query
description : The Amiibo type name to filter the response.
required : false
schema :
type : string
style : form
/lastupdated :
get :
description : Gets a timestamp when the Amiibo data was last updated.
operationId : getLastUpdated
2025-10-07 22:07:55 +00:00
tags :
- Service
2024-09-14 22:26:39 +00:00
responses :
'200' :
description : Successful response returning the object that contains the date and time when the database was last updated.
content :
application/json :
schema :
$ref : '#/components/schemas/LastUpdated'
2025-10-07 22:07:55 +00:00
'400' :
description : A last updated bad request.
'404' :
description : A last updated not found.
'500' :
description : Service is not available.
2024-09-14 22:26:39 +00:00
components :
2025-10-07 22:07:55 +00:00
responses :
SuccessTuple :
description : Response that returns a JSON object containing requested `Tuple` data from a resource.
content :
application/json :
schema :
$ref : '#/components/schemas/TupleWrapper'
2024-09-14 22:26:39 +00:00
schemas :
2025-10-07 22:07:55 +00:00
# Core Entities
2024-09-14 22:26:39 +00:00
Amiibo :
2025-10-07 22:07:55 +00:00
description : A type that contains all the information about an Amiibo.
2024-09-14 22:26:39 +00:00
type : object
properties :
amiiboSeries :
2025-10-07 22:07:55 +00:00
description : A name of the series the Amiibo belongs to.
2024-09-14 22:26:39 +00:00
type : string
character :
2025-10-07 22:07:55 +00:00
description : |
A name of a character of An Amiibo.
Multiple character have different amiibo design.
2024-09-14 22:26:39 +00:00
type : string
gameSeries :
2025-10-07 22:07:55 +00:00
description : A name of the game series the Amiibo belongs to.
2024-09-14 22:26:39 +00:00
type : string
games3DS :
2025-10-07 22:07:55 +00:00
description : A list of 3DS games an Amiibo could be used in, if any.
2024-09-14 22:26:39 +00:00
type : array
items :
$ref : '#/components/schemas/AmiiboGame'
gamesSwitch :
2025-10-07 22:07:55 +00:00
description : A list of Switch games an Amiibo could be used in, if any.
2024-09-14 22:26:39 +00:00
type : array
items :
$ref : '#/components/schemas/AmiiboGame'
gamesWiiU :
2025-10-07 22:07:55 +00:00
description : A list of Wii U games an Amiibo could be used in, if any.
2024-09-14 22:26:39 +00:00
type : array
items :
$ref : '#/components/schemas/AmiiboGame'
head :
2025-10-07 22:07:55 +00:00
description : |
The first 8 characters of the hexadecimal value that identifies an Amiibo.
The positions 0 to 7 of the hexadecimal string.
2024-09-14 22:26:39 +00:00
type : string
image :
2025-10-07 22:07:55 +00:00
description : An image URL related to an Amiibo.
2024-09-14 22:26:39 +00:00
type : string
name :
2025-10-07 22:07:55 +00:00
description : A name of an Amiibo.
2024-09-14 22:26:39 +00:00
type : string
release :
2025-10-07 22:07:55 +00:00
description : A type that contains the release dates of an Amiibo, if any.
2024-09-14 22:26:39 +00:00
$ref : '#/components/schemas/AmiiboRelease'
tail :
2025-10-07 22:07:55 +00:00
description : |
The last 8 characters of the hexadecimal value that identifies an Amiibo.
The positions 8 to 15 of the hexadecimal string.
2024-09-14 22:26:39 +00:00
type : string
type :
2025-10-07 22:07:55 +00:00
description : A name for the type an Amiibo belongs to.
2024-09-14 22:26:39 +00:00
type : string
required :
- amiiboSeries
- character
- gameSeries
- head
- image
- name
- release
- tail
- type
AmiiboGame :
2025-10-07 22:07:55 +00:00
description : A type that represents a game in which an Amiibo is related to.
2024-09-14 22:26:39 +00:00
type : object
properties :
amiiboUsage :
2025-10-07 22:07:55 +00:00
description : A list of available usages an Amiibo have in a game, if any.
2024-09-14 22:26:39 +00:00
type : array
items :
$ref : '#/components/schemas/AmiiboUsage'
gameID :
2025-10-07 22:07:55 +00:00
description : A list of identifiers of a game an Amiibo is related to.
2024-09-14 22:26:39 +00:00
type : array
items :
type : string
gameName :
2025-10-07 22:07:55 +00:00
description : A name of a game an Amiibo is related to.
2024-09-14 22:26:39 +00:00
type : string
required :
- gameID
- gameName
AmiiboList :
2025-10-07 22:07:55 +00:00
description : A type that contains a list of `Amiibo` instances.
2024-09-14 22:26:39 +00:00
type : array
items :
2025-10-07 22:07:55 +00:00
description : A list if `Amiibo` instance.
2024-09-14 22:26:39 +00:00
$ref : '#/components/schemas/Amiibo'
AmiiboRelease :
2025-10-07 22:07:55 +00:00
description : A type that contains the release dates of an Amiibo throughout the world.
2024-09-14 22:26:39 +00:00
type : object
properties :
au :
2025-10-07 22:07:55 +00:00
description : A release date for Australia, if any.
2024-09-14 22:26:39 +00:00
type : string
format : date-time
eu :
2025-10-07 22:07:55 +00:00
description : A release date for Europe, if any.
2024-09-14 22:26:39 +00:00
type : string
format : date-time
jp :
2025-10-07 22:07:55 +00:00
description : A release date for Japan, if any.
2024-09-14 22:26:39 +00:00
type : string
format : date-time
na :
2025-10-07 22:07:55 +00:00
description : A release date for North America, if any.
2024-09-14 22:26:39 +00:00
type : string
format : date-time
AmiiboUsage :
2025-10-07 22:07:55 +00:00
description : A type that represents a use of an Amiibo in a game.
2024-09-14 22:26:39 +00:00
type : object
properties :
Usage :
2025-10-07 22:07:55 +00:00
description : An explanation of the usage of an Amiibo in a game.
2024-09-14 22:26:39 +00:00
type : string
write :
2025-10-07 22:07:55 +00:00
description : A flag that indicates whether the data in an Amiibo is writable or not.
2024-09-14 22:26:39 +00:00
type : boolean
required :
- Usage
- write
LastUpdated :
2025-10-07 22:07:55 +00:00
description : A type that informs when the data in the service was last updated.
2024-09-14 22:26:39 +00:00
type : object
properties :
lastUpdated :
2025-10-07 22:07:55 +00:00
description : The date and time when the data in the database was last updated.
2024-09-14 22:26:39 +00:00
type : string
format : date-time
required :
- lastUpdated
2025-10-07 22:07:55 +00:00
# Wrapper Entities
AmiiboWrapper :
description : A type that contains either one or multiple `Amiibo` instances.
type : object
properties :
amiibo :
description : A property that contains one or multiple `Amiibo` instances.
oneOf :
- $ref : '#/components/schemas/Amiibo'
- $ref : '#/components/schemas/AmiiboList'
required :
- amiibo
2024-09-14 22:26:39 +00:00
Tuple :
2025-10-07 22:07:55 +00:00
description : |
A type that is conformed only by the `key` and `name` properties.
This type represents either `AmiiboSeries`, `AmiiboType`, `GameCharacter`, and `GameSeries` types.
2024-09-14 22:26:39 +00:00
type : object
properties :
key :
2025-10-07 22:07:55 +00:00
description : A key assigned to a tuple.
2024-09-14 22:26:39 +00:00
type : string
name :
2025-10-07 22:07:55 +00:00
description : A name assigned to a tuple.
2024-09-14 22:26:39 +00:00
type : string
required :
- key
- name
TupleList :
2025-10-07 22:07:55 +00:00
description : A type that represents a list of key/value tuples.
2024-09-14 22:26:39 +00:00
type : array
items :
2025-10-07 22:07:55 +00:00
description : A property that can contains multiple `Tuple` instances.
2024-09-14 22:26:39 +00:00
$ref : '#/components/schemas/Tuple'
TupleWrapper :
2025-10-07 22:07:55 +00:00
description : A type that contains either one or multiple `Tuple` instances.
2024-09-14 22:26:39 +00:00
type : object
properties :
amiibo :
2025-10-07 22:07:55 +00:00
description : A property that contains one or multiple `Tuple` instances.
2024-09-14 22:26:39 +00:00
oneOf :
- $ref : '#/components/schemas/Tuple'
- $ref : '#/components/schemas/TupleList'
required :
- amiibo