Accidental APIs: NFL edition



NFL flash app powered by JSON

These days whenever I find an interesting interactive/updating flash app I tend to fire up Firebug and see where the data is coming from. Quite often there’s an XML data feed somewhere that the flash app is being fed with. For example, you can get an XML feed of parking space availability or a list of airlines with gate information at Kansas City International Airport. As with many XML feeds designed for consumption with Flash, these feeds aren’t always well-formed but the data is there for the taking.

I went on a similar quest after checking in on my Redskins at I was pleasantly suprised to find JSON driving the live game update instead of XML. There are three JSON feeds exposed on the live game update page.

The first is the game-specific updates. This feed includes a score breakdown by quarter, who has possesion, time left, and the last few recent plays, along with a few other things that weren’t obvious at first glance.

The second drives the league-wide scoreboard at the top of the page. This includes game date/time, the teams involved, what quarter they’re in, who has the ball, and what the score is. From time to time this feed will also include extra information such as a recent score change.

The third feed includes information about weekly leaders in the NFL. This includes the top five passing, rushing, receiving, and scoring players this week. That sounds like great information to have programmatic access to if you’re in to fantasy football.

It makes me happy to see big companies use XML and JSON feeds for their flash apps rather than a proprietary alternative. It’s also fun to see things like Prototype and Sciptaculous on a site like These feeds are rarely documented, but for the large part are self-documenting. Some of the subtitles in teh NFL feeds can most likely be determined by watching the feed and the flash display over time.


55 responses to “Accidental APIs: NFL edition”

  1. Paketresor Avatar

    kinda enjoyed the article that you published actually. it just isn’t that easy to discover great text to read (you know READ and not simply going through it like some zombie before going somewhere else), so cheers man for not wasting any of my time! 😀

  2. acai beere Avatar

    Exactly what I was looking for. I’m using this in article, you’ll get a link back of course.

  3. riya Avatar

    That’s thought-provoking point of view. I wanr to return to your blog couple days later.

  4. mikaela Avatar

    Looks like, trackback doesn’t work. Can I ping your text?

  5. praca wroclaw Avatar

    If ifs were gifts, every day would be Christmas. ~Charles Barkley