description: NSO Connect is a free and easy to use API that allows you to query servers of Nintendo Switch Online microservices.
url: https://opensource.org/license/mit
description: View the full documentation
url: https://docs.hfcred.dev/nso-connect/overview
- url: https://nso-connect.dev
description: Retrieve and handle tokens
description: Make service specific requests
summary: Generate an authorization link
description: Generate a Nintendo Switch Online authorization link to obtain the login link to generate a session token
- $ref: '#/components/schemas/SuccessResponse'
description: Authorization link used to get the login link
example: https://accounts.nintendo.com/connect/1.0.0/authorize...
description: Verifier used to verify the login link
example: fNz1Y_YK0igURr...
description: Unauthorized
- $ref: '#/components/schemas/ErrorResponse'
example: Invalid authorization
/authorization/sessiontoken:
summary: Generate a session token
description: Generate a session token for the account associated with the login link obtained through the authorization link
description: Requires the login link obtained through the /authorization/link endpoint and the verifier associated with the login link
description: Login link obtained from the authorization link
description: Verifier associated with the login link
- $ref: '#/components/schemas/SuccessResponse'
description: Session token used to make queries
example: eyJhbGciOiJIUzI1NiJ9...
- $ref: '#/components/schemas/ErrorResponse'
example: Missing required body field
description: Unauthorized
- $ref: '#/components/schemas/ErrorResponse'
example: Invalid authorization
- $ref: '#/components/schemas/ErrorResponse'
description: The error response returned by Nintendos authentication servers
example: The provided session_token_code is expired
summary: Delete all tokens
description: Delete the database entry for the given session token
- $ref: '#/components/schemas/SuccessResponse'
example: Entry deleted from database
description: Unauthorized
- $ref: '#/components/schemas/ErrorResponse'
example: Invalid authorization
- $ref: '#/components/schemas/ErrorResponse'
example: Entry not found in database
summary: Query data from the given service
description: Query data from any of the available Nintendo Switch Online microservices. Currently available services are Coral and Splatnet 3
description: Name of the service you want to query
description: Name of your application. Should either be in the format {appName}/{version} or provide contact information
description: Language for the query results (unused)
description: Requires an array of simple and/or complex queries that you want to perform on the given service
description: String array of simple queries you want to perform on the given service
description: Object array of complex queries you want to perform on the given service
- $ref: '#/components/schemas/SuccessResponse'
description: Array of objects containing the query responses in the same order as defined in the request body
example: 'Failed to fetch query'
- $ref: '#/components/schemas/ErrorResponse'
description: Unauthorized
- $ref: '#/components/schemas/ErrorResponse'
example: Invalid authorization
- $ref: '#/components/schemas/ErrorResponse'
example: Another process is already running
description: Too Many Requests
- $ref: '#/components/schemas/ErrorResponse'
example: Rate limit exceeded
description: Internal Server Error
- $ref: '#/components/schemas/ErrorResponse'
example: Failed to generate tokens
- $ref: '#/components/schemas/ErrorResponse'
description: The authentication step which caused the error
example: 0/7 (getting user access token)
description: The error response returned by Nintendos authentication servers
example: The provided grant is invalid
summary: Get a list of all queries
description: Get a list of all possible queries for any of the available microservices. Currently available services are Coral and Splatnet 3
description: Name of the service you want to query
- $ref: '#/components/schemas/SuccessResponse'
description: String array of simple queries you can perform on the given service
description: Object array of complex queries you can perform on the given service
- $ref: '#/components/schemas/ErrorResponse'