Category Archives: running

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.<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=”,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=”” /><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=”” 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=””></embed></object>