UnofficialArcaeaAPI

May 5, 2023 · View on GitHub

A slow Arcaea API for my own use.

Note

Some APIs will be inaccessible without a token. 1

API Entry

Error status

statusdescription
-1invalid username or usercode
-2invalid usercode
-3user not found
-4too many users
-5invalid songname or songid
-6invalid songid
-7song not recorded
-8too many records (*)
-9invalid difficulty
-10invalid recent/overflow number
-11allocate an arc account failed
-12clear friend failed
-13add friend failed
-14this song has no this level
-15not played yet
-16user got shadowbanned
-17querying bests failed
-18update service unavailable
-19invalid partner
-20file unavailable
-21invalid range
-22range of rating end smaller than its start
-23potential is below the threshold of querying bests (10.0)
-24need to update arcaea, please contact maintainer
-25invalid version
-26daily query quota exceeded
-27illegal hash, please contact maintainer
-28image server error
-29invalid session info
-30session expired
-31session querying, queried charts: ${queriedCharts} (*)
-32session waiting for account, account count: ${accountCount} (*)
-33duplicate bests requests within 12 hours. cached session generated (*)
-34invalid account
-233internal error occurred

(*) means return additional data

Abnormal Example

{
    "status": -5,
    "message": "invalid songname or songid"
}

specially,

{
  "status": -8,
  "message": "too many records",
  "content": {
    "songs": [
      "lostcivilization",
      "lastcelebration"
    ]
  }
}

Credits

  • Special thanks to TheSnowfield for her BotArcAPI project and the extremely important assistance support in the development.

  • Special thanks to tiger0132 for his ArcUpdAPI project and for giving me permission to use his code.

  • Special thanks to InariAimu and Linwenxuan04 for Aff2Preview project.

  • Special thanks to all those who contributed to this project or made suggestions.

License

Licensed under 616 SB License.

Footnotes

  1. For functions of the API those are requiring token: Please send header with Authorization and the value Bearer token_here.

  2. The assets/preview API is provided by AffPreview.

  3. The image/user/bests/session API is not available.