Health Graph API additions

We’ve made several recent additions to the Health Graph API (@healthgraphapi) based upon partner feedback and requests.

Recently added fields include:

  • source – string added to Fitness Activities, Background Activities, Nutrition, Sleep, Diabetes Measurements, and Weight portions of the Health Graph API; this provides the name of the application that last modified the given activity or measurement; see documentation for details.
  • is_live – boolean added to Fitness Activities to indicate whether the activity is currently being tracked via RunKeeper Live; note that this field will report ‘false‘ until at least one GPS point for the Live activity is received (this should occur immediately upon beginning the Live activity, but may be delayed up to several seconds if it takes longer than normal for GPS hardware to acquire a sufficient GPS signal).
  • userID – integer added to each team member entry from Street Team GET /team response to allow developers to more easily access team member account details (assuming member has authorized the calling app).
  • past activities are now available in a summary form that is more conducive to bandwidth-constrained environments; search for ‘summary’ in the Fitness Activities docs to learn more.
  • blood markers – a number of additional markers have been added to the General Measurements portion of the Health Graph API; for the complete list of what’s now available, please refer to documentation for General Measurements and Diabetes portions of the API.

Please let us know if you have any questions about these API updates by leaving a comment here or on this Health Graph discussion group thread (click here to access).

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.


ShapeUp Club brings deep nutrition data to the Health Graph

ShapeUp Club (@shapeup_club), one of the top three teams from last month’s Health Hack Day in Stockholm, recently launched the integration of their popular calorie counter with the Health Graph (@healthgraphapi). Learn how users of RunKeeper, ShapeUp Club, and other Health Graph partner apps such as Withings (@withings) are all benefitting from the collaboration.

BD: Please tell us about yourself and ShapeUp Club.

ShapeUp Club: Hi! We are Tove and Martin, the founders of ShapeUp Club. We built the original ShapeUp Club app back in 2008 as a side project during our studies in computer science (Martin) and biomedicine (Tove). By combining our knowledge we created ShapeUp Club – an interactive calorie counter that you carry in your pocket. A winning concept when it comes to weight loss.

In the beginning we planned to run this project in parallel with work and school. But we realized pretty fast that wouldn’t work, ShapeUp Club demanded too much time. The hobby became our job (hurray!) and today we are a team of five people working fulltime on ShapeUp Club.

BD: What is the “elevator pitch” for why someone should use ShapeUp Club?

SC: ShapeUp Club is a calorie counter for iPhone, Android, and web. Get a personal weight loss plan, track nutrition, exercise, and weight. Get shaped up with ShapeUp Club now!

BD: Can you tell us a bit about your users? How many do you have? How active are they? What kinds of things do they do with ShapeUp Club?

SC: Our app has been downloaded more than 1.7 million times. We have achieved top 10 App Store-placements in countries all over the world. ShapeUp Club has more than 350,000 active users per month and we are growing with 5,000 new members a day.

Daily feedback from our users proves our concept: The average users loses about 9 lbs. We also have a lot of success stories about users who lost more than 100 lbs. (Wow!)

Based on body features (such as weight and height), age, and daily activity level, ShapeUp Club calculates a personal weight loss plan for each user. The user then follows this plan by tracking what they eat and how much they exercise every day. A color-coordinated calorie bar visually displays how many more or fewer calories the user should eat each day to reach their target weight. A yellow bar indicates you should keep eating (need more calories for your goal), a green bar indicates you’ve eaten the perfect amount for the day, and a red bar indicates you’ve eaten too much that day.

BD: How did you get started using the Health Graph API?

SC: We attended Health Hack Day in Stockholm in May. Bill Day from RunKeeper was there to present on the Health Graph platform and serve as a jury member at the hackathon. We had already heard a lot about the API, and were excited to try it out.

During the hack we created ShapeUp Club Challenge, which would let the ShapeUp Club users connect, compete, and compare progress with each other. The API was super easy to integrate with our code, and we managed to create an app ready for launch in just twenty-four hours. The achievement placed us third in the competition.

A few weeks after the hackathon and our first encounter with the Health Graph, we are proud to announce that ShapeUp Club is now connected to Health Graph! As a first step we are letting our users import their RunKeeper and Withings data into ShapeUp Club, as well as upload their nutrition information from ShapeUp Club into the Health Graph.

BD: How is using the Health Graph benefiting your business?

SC: The combination of ShapeUp Club (nutrition tracking), RunKeeper (exercise tracking), and Withings (weight tracking) is perfect for people who wish to lose weight. Nutrition, exercise, and weight are the three key values people consider when trying to lose weight. By making the tracking of these three factors friction free we believe we are one step closer to the creation of the perfect and sustainable weight loss service. Our users have asked for this possibility for some time now, and we are so happy to finally be able to provide them with this.

BD: Which portions of the Health Graph API do you use, and why?

SC: We are one of the first partners who will share deep, personalized nutrition information with the Health Graph. We are also letting our users access weight and exercise information from other apps as mentioned above.

BD: What do you like about the Health Graph? What would you like to see changed?

SC: The possibilities to very easily combine different services with your own service and health tool is perfect. The API is easy to use and fast to integrate. The only change we would like to see is more focus on the nutrition part of the Health Graph. There’s a lot of more information we could share with the Health Graph if some additional fields were included in the API.

BD: Can you share any future plans for ShapeUp Club? What’s coming next that your users will be excited about? Does the Health Graph play a role in that, and if so, how?

SC: We are planning integration and partnerships with other great Health Graph integrated services.

We also want to improve ShapeUp Club core features. Integration of social tools is a next step, bringing our users closer together, making it possible to interact, motivate, and share information with each other. We believe this will create a whole new weight loss experience. Challenges, recipes, and groups are other things we are planning.

BD: Is there anything else we should know about you or your application?

SC: If you are serious about losing weight, ShapeUp Club is the perfect tool to help. It’s knowledge, inspiration, and motivation in your pocket. Download ShapeUp Club now and join our fast growing community! For news and more information about us, check out our blog at

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.

Weighty makes weight and fat percentage entry simple

Some of the best Health Graph (@healthgraphapi) partner apps are built to solve a developer’s own health and fitness issues. Case in point: Weighty, a free mobile app for quickly and easily tracking your weight and body fat percentage using the Health Graph. Weighty creator Frank Van Rest (@frankvanrest) talks about the problem he wanted to solve with his app, and how he went about creating it, below.

Bill Day: Please tell us about yourself and your work.

Frank Van Rest: I’m a Dutch mathematician who graduated in the summer of 2011. During my studies I founded a web development company. After graduation I was in need of a new goal, and getting a regular job wasn’t a great lookout after being an entrepreneur for eight years.

While traveling I decided to target doing a full Ironman triathlon in two years. I’ve always been a basketball player and couldn’t swim, so this was a challenge. But I’ve been in training for half a year now and am getting in quite good shape!

BD: What is the “elevator pitch” for why someone should use Weighty?

FVR: Weighty is a free iPhone app that makes it super easy to submit your weight and fat percentage to the Health Graph. Tracking your weight is a key step to effectively losing (or gaining) weight. I hope Weighty makes this easy and simple for everyone.

BD: How did you get started using the Health Graph API?

FVR: As I’ve gone about my triathlon training, I wanted to add my weight and fat percentage to the same place as my activities. This was previously only possible via the RunKeeper website, which is not as easily accessible as a mobile app when I’m standing on my weight scale.

The Health Graph API made it easy for me to create such a mobile app myself! I started with the iOS library I found on github and got it (after some debugging) to working pretty quickly. (Editor’s note: A complete listing of available third-party Health Graph libraries is available by clicking here.)

BD: How is using the Health Graph benefiting you?

FVR: The Health Graph makes it easy to create apps that submit data to a central health-related data repository. This cloud-based approach is very valuable for users, since combined analyses can be done. RunKeeper provides free publicity for my app by highlighting it in the Health Graph app directory and showing it in users’ FitnessFeeds when they submit their weight or fat percentage to the Health Graph.

BD: Which portions of the Health Graph API do you use, and why?

FVR: After authentication, I only use the API calls to POST weight and fat percentage. In the future I want to add historical data to the app, at which point I’ll also use GET calls to read that data back from the Health Graph.

BD: What do you like about the Health Graph? What would you like to see changed?

FVR: I like the ease of use of the API. I got a working version up and ready to test in a few hours of work.

During testing I found some small bugs in the API, but the API team fixed it quickly after contact. I’d like additional capabilities to remove and edit data records as well.

BD: If you could request any new feature from the Health Graph, what would it be? How would you use it?

FVR: My scale also gives water percentage and muscle percentage, which I would love to keep track of as well. If that were possible with the Health Graph as well, I’d implement in Weighty!

BD: Can you share any future plans for Weighty? What’s coming next that your users will be excited about? Does the Health Graph play a role in that, and if so, how?

FVR: Removing or editing weight or fat percentage records is not possible at the moment (not on the RunKeeper website and not via the Health Graph API). If a user makes a typo and enters the wrong data, it can really mess up their graphs and weekly averages. I would love to have the ability to remove records via my app (or the website). As soon as that’s possible, I’ll add historical data to the app, with the possibility to edit and delete that data as well.

BD: Is there anything else we should know about you or your application?

FVR: It’s a free iPhone app called Weighty and it’s available via Please share your feedback via email to

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.

Health Hack Day recap

The Stockholm Health Hack Day (@healthhackday) was a great success! Thanks to everyone who attended, spoke, organized, or otherwise assisted in the event.

Speaking of the organizers, they did a wonderful job arranging for video recording and streaming of many of the panel, presentation, and discussion portions of the hackathon. You can check out all the videos here, but I want to call your attention to these three Health Graph (@healthgraphapi) related videos in particular.

First, Oskar Henrikson interviewed me about RunKeeper and our vision for the Health Graph before the event:

Later that day I delivered a high level overview presentation on the Health Graph platform:

And we closed out the first day of content with a panel discussion about health technologies and consumer grade services:

The only session of mine that didn’t get video recorded was my more technical Health Graph workshop from the second day of the event. But fear not, slides are available!

Team presentations from the demo day were also recorded. One of the very neat things for me is that the top three teams used or have plans to use the Health Graph. You can watch the awards presentation to those teams here:

You can watch the demos from these and all the other teams by clicking here.

I’d love to hear your feedback on the event if you attended in person, or on the materials above if you participated online.

Bill Day (@billday) is Platform Evangelist for RunKeeper where he helps developers learn about and use the Health Graph.