Nike plus data API access

As Nike + wristband user and a web developer i thought it would interesting if i was able to access the raw data of my runs.

Nike provide various ‘widgets’ that can be embedded into web pages which is convenient and fun. But i find them a little clunky in flash. You can see an example of one I added to this site here. So i decided to see what I could find on the net to access the run data.

It turns out the everyone’s run data is accessible via a URL linking to a XML document. All that is required is your user ID. Simply go to the following URL and insert your user ID at the end of the string.

http://nikeplus.nike.com/nikeplus/v1/services/widget/get_public_run_list.jsp?userID=<YOUR ID HERE>

All my data can be accessed here for example. Please take note about the XML document

  • Distances are in kilometres (despite having all my settings in miles).
  • Time locals appear to be correct.
  • Time is measured in millseconds

Now your probably wondering how do i find out my user ID. Do this:

  1. Sign into Nike Plus.
  2. Click ‘My Runs’.
  3. Click the ‘Share’ button on the top right of your runs.
  4. Click ‘Add to a Web page’.
  5. Click ‘Grab the Code’. Now it copied the code to your clip board.
  6. Open up a text editor and paste it in (ctrl v). You should have something like this below. The ID is highlighted, just copy it out

<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0″ width=”198″ height=”145″ id=”Nike+ Runs” align=”middle”><param name=”allowScriptAccess” value=”sameDomain” /><param name=”wmode” value=”transparent” /><param name=”movie” value=”http://nikeplus.nike.com/nikeplus/v1/swf/scrapablewidget/rundetail.swf” /><param name=”quality” value=”high” /><param name=”bgcolor” value=”#ffffff” /><param name=”FlashVars” value=”type=last5Runs&userDefaultUnit=mi&screenName=paulrichards&dateFormat=DD/MM/YY

&id=1759895612&region=emea&language=en&locale=en_gb”/><embed src=”http://nikeplus.nike.com/nikeplus/v1/swf/scrapablewidget/rundetail.swf” quality=”high” wmode=”transparent” bgcolor=”#ffffff” width=”198″ height=”145″ name=”Nike+ Runs” align=”middle” allowScriptAccess=”sameDomain” FlashVars=”type=last5Runs&userDefaultUnit=mi&screenName=paulrichards&dateFormat=DD/MM/YY&id=1759895612&region=emea&language=en&locale=en_gb” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”></embed></object>

75 thoughts on “Nike plus data API access”

  1. Hi,

    I’ve done this for some time using AJAX and parsing the nikeplus XML file inside a webbrowser. The problem with that is, that most browsers do not allow accessing XML files, which are not inside the same domain.

    So far, there are afaik only two possibilities, how someone could use nike’s XML data:

    [1] Get the file every x minutes by using a cronjob on your server (e.g. with wget).

    [2] Parse the file within a server language (php, python, java) and output the pure html to the browser.

  2. Yes your are right, it would be far to much for a web browser to process this on the go. I’m working on a little script (in PHP) that will cache the file every now and again and insert the information in a database for easy use.

    Do you know an easier way to get your user id?

  3. Hi Paul, I’m also interested in knowing if there’s an easier way of getting the user id. Any step forward on this?

  4. Hi Paul,

    I am looking for some help. My sportband is not uploading to Nike+ Website. It is still recording but I get a USB device error when I try and upload. Is there any way using the above methods to upload my run manually?

    Many Thanks
    Ross Mackenzie

  5. Hi Ross,

    I had this problem and took me a while to work out. In the end i realised the sport band was being picky about what usb ports it used. The ones built in on the front of the computer are extensions connected to the usb port on the motherboard. It appears it doesn’t like this.

    I then plugged it into the back and it was all ok.

  6. wicked, I didn’t know you can tap right into the API, finally a way to bypass the flash. I might have a go at integrating this into google charts, Thanks very much for sharing!

  7. Any idea on what the usage is in terms of legality? The widget service seems to only reflect public data. I’ve been trying to track down if I can use the API in a public free application but tracking down Nike usage info is as difficult as running with Nike+ in an Adidas shoe.

  8. Very good the seller is very good and kind. Also the shipping was fast but the boots inside material is not very good so they came a bit folded and crumpled. The heel is a bit higher than what it looks in the pictures. Overall I think the price is a bit high for this quality.

  9. I drop a comment when I like a article on a website or I have something to
    contribute to the conversation. It’s a result of the fire displayed in the article I browsed.
    And on this article Nike plus data API access | Paul Richards.
    I was moved enough to post a thought :-P I do have some questions
    for you if it’s allright. Could it be just me or do some of the
    comments look like coming from brain dead folks?
    :-P And, if you are writing at other sites, I would like to keep up with everything fresh you have to post.
    Would you make a list every one of your community sites like your linkedin profile, Facebook page
    or twitter feed?

  10. Many women think they know all there is to know
    about at-home pregnancy tests, but many women find that they are unfamiliar
    with an evaporation line on a pregnancy test. Regardless,
    both forms can be subtracted from your total carb intake.
    The HCG diet has been a popular fad diet for several years now, but unfortunately it isn’t a long-term
    solution to weight loss. I would like to back up a minute and give you a little history, I have lost hundreds
    of pounds in my lifetime, and in fact I have never been on any diet that I
    didn’t loose weight. This way the individual undertaking these drops loses
    weight in a risk-free and competent manner. You may still lose weight, but not as
    much as if you follow the protocol to the letter and you won’t
    be able to sustain your weight loss. In most scenarios individuals shed weight as a result of non-functioning metabolic
    processes. It is the protein and fiber diet right from lean meats,
    fruits, fresh vegetables plus sea foodstuff plus smaller pieces of non-calorie
    bread. Lastly, there are Thin-to-Thick, Damage-Control and Dandruff
    products. He concentrated on this aspect
    on the HCG and soon came up with an HCG eating plan that helped induce
    excess weight loss in individuals.

  11. Hi! I could have sworn I’ve been to this site before but after browsing through some
    of the articles I realized it’s new to me. Nonetheless, I’m definitely delighted I stumbled upon it and I’ll be bookmarking it and checking back often!

  12. This service provided by Peachtree host also eliminates time restriction for user.
    In a photography business in particular, here are a number of items that are assets to be
    listed for your business. Their main concern is to
    give owners updated information on current issues that may affect their business operations.

  13. Bag is just wonderful. I am very happy. Delivery 20 days Thank you seller.I liked everything. all like the picture. a good salesperson will recommendOrders received fast (three and a half weeks). This product really fits the description.

  14. Hi
    How can we create an Application or activity in nike+ api??How to get the client id and Secret key of Nike+ API ??? Is it free to access or it is for only nike+ partners???

  15. Hi,

    I want to integrate nike api with the salesforce.com for that i need the client id and secret key of nike+ api

    How can i get this can anyone help me please..

  16. Hello, Neat post. There’s an issue with your
    site in internet explorer, might test this? IE nonetheless
    is the market leader and a good component to other folks will
    omit your magnificent writing due to this problem.

  17. I see a lot of interesting posts on your website. You have to spend a lot of time writing,
    i know how to save you a lot of work, there is a tool that creates unique, SEO friendly articles in couple of seconds,
    just type in google – laranita’s free content source

  18. But by 1827 inn Tasmania a newspaper article read, ‘.
    You can also use your hand or trowel to flatten the
    raised ridges of soil. Also, by the time the fence was built
    rabbits had already crossed into that area.

  19. Excellent site you have here but I was curious about if you knew
    of any discussion boards that cover the same topics discussed here?
    I’d really love to be a part of online community where I can get advice
    from other experienced individuals that share the same interest.
    If you have any recommendations, please let me know.
    Cheers!

  20. Everything is very open with a really clear explanation of
    the challenges. It was definitely informative. Your site
    is extremely helpful. Many thanks for sharing!

  21. It’s perfect time to make some plans for the future and it is time to be happy.

    I have read this post and if I could I want to suggest you
    few interesting things or advice. Maybe you could write
    next articles referring to this article. I desire to read even more things about it!

  22. We are a group of volunteers and opening a new scheme in our community.
    Your site offered us with useful information to work on. You’ve performed a
    formidable activity and our whole group will likely be
    thankful to you.

  23. Nice post. I used to be checking continuously this blog and I’m impressed!
    Very helpful information specially the remaining phase :) I maintain such information a
    lot. I was looking for this certain information for a very lengthy time.
    Thank you and best of luck.

  24. Whether you are coaching recreational youth basketball or a competitive AAU basketball program with these simple tips you can help your team stay focused, motivated and playing as hard as they
    can all the time. In less than a blink of an eye, you have made the decision to use
    your crossover to win the game. J in the basketball scene, has disclosed that his $2.

  25. Good post. I learn something totally new and challenging on blogs I stumbleupon every day.
    It will always be exciting to read content from other writers and use a little something from other sites.

  26. Take a lesson from my dog– (no I am not crazy, read on) My fluffy white guru,
    Sammie doesn’t see the whole yard and think ‘where do I begin digging it up’ or ‘what if I can’t remove the
    flowers and plants with my paws’ or ‘when I was a
    puppy I came from a dysfunctional litter so I can’t do this’ —she just goes in there and picks a space to begin her ‘project’.
    Eat organic foods and all foods that are certified free of GMOs.
    On the human level, our skin can be our glory, the place where we whisper
    our softest scents, and receive warm kisses and caresses.

  27. I’ve been exploring for a bit for any high-quality articles or blog posts on this sort of area .
    Exploring in Yahoo I ultimately stumbled upon this site.

    Reading this information So i’m satisfied to express that I have an incredibly just right uncanny
    feeling I came upon exactly what I needed.
    I such a lot indubitably will make sure to do not overlook
    this web site and provides it a glance on a relentless
    basis.

  28. Hello just wanted to give you a quick heads up.
    The words in your article seem to be running off the screen in Internet
    explorer. I’m not sure if this is a formatting issue or something to do with
    browser compatibility but I thought I’d post to let you
    know. The design look great though! Hope you get the problem solved
    soon. Cheers

  29. Hola! I’ve been reading your web site for a long
    time now and finally got the bravery to go ahead and give
    you a shout out from Dallas Tx! Just wanted to say keep up
    the fantastic work!

  30. Jodi Benson, who’s the voice of Ariel from ‘The Little Mermaid,’ was in the movie as the receptionist at Robert’s office.
    And somehow, the recent Disney movies in the
    past 10 years or so don’t seem to have that effect
    any more. For example, they thought that Chris Nolan’s “obvious” choice for the final main villain against Batman in his trilogy was the Riddler.

  31. After I initially left a comment I seem to have clicked on the -Notify me when new comments are
    added- checkbox and from now on whenever a comment is added I recieve four emails with the same comment.
    Perhaps there is a means you are able to remove me from that service?
    Appreciate it!

  32. But even following those tips, one cannot ensure that he/she will not
    bahia marrakech riad dar be accomplished with delicate
    maneuvers at the margins. Many of the hotels and restaurants frequented by foreigners.
    The Daily Dot points to several examples of teenagers tweeting pictures of their LSD purchases, asking on Tumblr if it’s safe to
    order drugs to a certain level.

  33. I’m really loving the theme/design of your blog. Do you ever run into any internet browser compatibility
    problems? A couple of my blog audience have complained
    about my website not working correctly in Explorer but looks great in Firefox.
    Do you have any recommendations to help fix this problem?

  34. The concept of the office building and enjoy the Slim-Fast snacks
    and large meals before bedtime to counter this concern. As aforementioned, quick weight loss has and
    the act of weight-loss best diet pills to lose weight fast
    2013 must go with proper mindset is positivity. While even 100 percent effective while women are on a regular and well-thought
    out regimen to actually losing the weight loss.

  35. For latest information you have to pay a visit web and on intsrnet I fopund ths web page as
    a finest web site for hotest updates.

  36. For most up-to-date information you have to pay a visit the web and on world-wide-web I found
    this site as a most excellent web site for hottest updates.

  37. An outstanding share! I have just forwarded this onto a coworker who had been conducting a little research on this.
    And he actually ordered me dinner due to the fact that I stumbled upon it for him…
    lol. So allow me to reword this…. Thank YOU for the meal!!
    But yeah, thanx for spending some time to discuss this topic
    here on your site.

Comments are closed.