Phish.Net features a Javascript/HTTP based API. The API is located at http://api.phish.net/api.js.

You can request the api with any file extension you'd like. This is provided for maximum compatibility. For example, you can make requests for "api.json" or "api.php".

All variables sent to the API should be sent via GET parameters. POST data is accepted as well (GET will win in a conflict).

Public APIs: The following APIs are available at all times with no rate limit.

Protected APIs: The following APIs are available with an API Key.

If no method is specified, it will return getRecentNews.

Hosted Callback Functions: The following javascript callback functions are hosted on Phish.Net for your use and can be found at http://api.phish.net/callbacks/.

Examples:: The below HTML source file demonstrates the use of four API methods and associated callbacks. The callback functions are very basic, but you can modify them and self host them to fit the look-and-feel of your site. API methods will not change; although new versions may at some point be released, as long as you pass the current API version, these scripts will continue to output data in the same format.

All contents © 1997-2010 The Mockingbird Foundation, Inc. All Rights Reserved.
mockingbird@mbird.org
Source Code © 2010 Adam Scheinberg, firsttube.com