tunnelbroker.net is updated via ipv4_end.php, which is considered outdated nowadays, and there is new and more convenient and well-documented API: tunnelbroker.net /forums/ index.php?topic=1994.0
Old API doesn't work for me for some reason (-1 Unknown reply), and new one provides access by usernames, not userid, so it gives us interface interface improvement, too.