Xiaomi · OAuth Scopes

Xiaomi OAuth Scopes

OAuth 2.0 derived

Xiaomi publishes 5 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Xiaomi API on a user’s behalf.

Tokens are issued from https://account.xiaomi.com/oauth2/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

Consumer ElectronicsIoTSmart HomeMobileArtificial IntelligenceCloud StorageMachine-Learning
Scopes: 5 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://account.xiaomi.com/oauth2/authorize
Token URL
https://account.xiaomi.com/oauth2/token
Flows
authorizationCode

Scopes (5)

ScopeDescriptionFlows
1 Access user profile (nickname, ID, avatar) authorizationCode
2 Access user friend list (MiChat) authorizationCode
3 Access user OpenID authorizationCode
4 Access user phone number authorizationCode
6 Access user email address authorizationCode

Source

OAuth Scopes

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/xiaomi-open-api-openapi.yml
schemes:
- name: oauth2
  source: openapi/xiaomi-open-api-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://account.xiaomi.com/oauth2/authorize
    tokenUrl: https://account.xiaomi.com/oauth2/token
scopes:
- scope: '1'
  description: Access user profile (nickname, ID, avatar)
  flows:
  - authorizationCode
  sources:
  - openapi/xiaomi-open-api-openapi.yml
- scope: '2'
  description: Access user friend list (MiChat)
  flows:
  - authorizationCode
  sources:
  - openapi/xiaomi-open-api-openapi.yml
- scope: '3'
  description: Access user OpenID
  flows:
  - authorizationCode
  sources:
  - openapi/xiaomi-open-api-openapi.yml
- scope: '4'
  description: Access user phone number
  flows:
  - authorizationCode
  sources:
  - openapi/xiaomi-open-api-openapi.yml
- scope: '6'
  description: Access user email address
  flows:
  - authorizationCode
  sources:
  - openapi/xiaomi-open-api-openapi.yml

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/xiaomi-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.