Skip to main content
  1. 1
  2. ...
  3. ...
  4. 2
Would love an API so I can add MCC stats to my discord bot
Hey all! So, as a long-time Halo-fan I've been itching to have programmatic access to Halo APIs for a while. 343i ran a beta for the Halo 5 API but it was a little too verbose -- not necessarily the best developer experience (they have a million other things to worry about!)

Not only have I played way too much Halo over the years, I also run a startup in San Francisco called Standard Library. We actually work with companies to put their APIs on our platform and make them easy to use. As a weekend project, I took a shot at the Halo: MCC API -- or at least what I could build from what's publicly available.

The result is here -- a Master Chief Collection API.
https://stdlib.com/@halo/lib/mcc/

There are a few endpoints:
- games.history shows your game history, to a max of 100
- games.latest shows your latest game info
- squad.activity shows recent activity (max 10 games) from a group of users, up to 8 -- it can show you if your friends are currently playing together
- stats shows a specific Service Record by Gamertag

I also built a really simple project that you can deploy in a click that sends SMS to your friends when you're online / playing:
https://github.com/keithwhor/halo-stat-notifier

Would love thoughts and feedback! I'm unsure as to the total load the API will be able to handle (may be bottlenecked on authentication), but you shouldn't have to enter any of your personal credentials or anything to use it.
Hey all! So, as a long-time Halo-fan I've been itching to have programmatic access to Halo APIs for a while. 343i ran a beta for the Halo 5 API but it was a little too verbose -- not necessarily the best developer experience (they have a million other things to worry about!)

Not only have I played way too much Halo over the years, I also run a startup in San Francisco called Standard Library. We actually work with companies to put their APIs on our platform and make them easy to use. As a weekend project, I took a shot at the Halo: MCC API -- or at least what I could build from what's publicly available.

The result is here -- a Master Chief Collection API.
https://stdlib.com/@halo/lib/mcc/

There are a few endpoints:
- games.history shows your game history, to a max of 100
- games.latest shows your latest game info
- squad.activity shows recent activity (max 10 games) from a group of users, up to 8 -- it can show you if your friends are currently playing together
- stats shows a specific Service Record by Gamertag

I also built a really simple project that you can deploy in a click that sends SMS to your friends when you're online / playing:
https://github.com/keithwhor/halo-stat-notifier

Would love thoughts and feedback! I'm unsure as to the total load the API will be able to handle (may be bottlenecked on authentication), but you shouldn't have to enter any of your personal credentials or anything to use it.
it s cool, make it case-sensitive
What do you mean by case-sensitive?
What do you mean by case-sensitive?
mean that if the user type TEAM SLAYER or team slayer it works fine as well
Ah! Sorry -- there's supposed to be a dropdown list which the docs pages should auto-populate. The gameVariant is actually an `enum`, meaning it's a list of options. This displays properly if you try to use the API from Autocode (https://autocode.com).

https://i.imgur.com/qTkTQc0.png

https://i.imgur.com/TTUDRIK.png

I'll try to make sure the docs pages get updated shortly to support this variable type. Thanks for the catch, it's actually a bug!
Don't mind me - just throwing my name in here to show interest in the hopes that this gets picked up one day.

I'm currently playing with the Mixer.com API, and considering making some dynamic stream overlays etc. Would be cool to have the ability to make 'live' (per match basis) XP counters/goals on screen, as well as maybe a win:loss ratio for the previous 5 or 10 games.

I think I'm gonna have a play with the idea using the H5 API for now, but I'd love to have both (and then Infinite too!)
I would love to get my hands on an api to get match times and maybe get joining game commands.
+1 for MCC API access. UI on waypoint is clunky, I'm sure open source devs could make something nice.
Just as an update, the MCC API has moved to;
https://autocode.com/lib/halo/mcc/

The game history endpoints will be a little out-of-date... it seems however 343i is warehousing data for Waypoint is up to a ~week behind live data. A few months ago it was pretty close to live.
If possible, I would love it if the API also returned achievement progress. I created my own app to track my progress of the 700 achievements and have to use XAPI to gather the progress, which so far has been a slightly-buggier-than-I'd-like experience.
Just as an update, the MCC API has moved to;
https://autocode.com/lib/halo/mcc/

The game history endpoints will be a little out-of-date... it seems however 343i is warehousing data for Waypoint is up to a ~week behind live data. A few months ago it was pretty close to live.
Thanks citizen, I have been using it and it works like a charm. Straightforward and easy to implement.

Today It returns the following error though:
Is it a temporal shortage on the API? Thank you
Quote:
{ "__error": { "name": "Error", "message": "Version \"@1.0.11\" of service \"utils.sms\" not found", "type": "RuntimeError", "position": { "lineNumber": "107", "column": "23" } } }
Hey all! So, as a long-time Halo-fan I've been itching to have programmatic access to Halo APIs for a while. 343i ran a beta for the Halo 5 API but it was a little too verbose -- not necessarily the best developer experience (they have a million other things to worry about!)

Not only have I played way too much Halo over the years, I also run a startup in San Francisco called Standard Library. We actually work with companies to put their APIs on our platform and make them easy to use. As a weekend project, I took a shot at the Halo: MCC API -- or at least what I could build from what's publicly available.

The result is here -- a Master Chief Collection API.
https://stdlib.com/@halo/lib/mcc/

There are a few endpoints:
- games.history shows your game history, to a max of 100
- games.latest shows your latest game info
- squad.activity shows recent activity (max 10 games) from a group of users, up to 8 -- it can show you if your friends are currently playing together
- stats shows a specific Service Record by Gamertag

I also built a really simple project that you can deploy in a click that sends SMS to your friends when you're online / playing:
https://github.com/keithwhor/halo-stat-notifier

Would love thoughts and feedback! I'm unsure as to the total load the API will be able to handle (may be bottlenecked on authentication), but you shouldn't have to enter any of your personal credentials or anything to use it.
This goes to show how often i check in on waypoint. @ citizen kwho,
I've looked over the api and it's super easy to implement and well laid out!
Feature request:
player medals, names, details
player xp
player achievements
game achievement
map variants, names, .png, ..

Keep up the good work!
  1. 1
  2. ...
  3. ...
  4. 2