Welcome, Guest Sign In | Sign Up | Help
Upcoming API Documentation
Currently, the use of these APIs are restricted to non-commercial use only. If you'd like to use it for commercial purposes, please contact us first.
metro.getForLatLon [HTTP GET]
Retrieve the single record of the most popular metro in the area of a latitude and longitude coordinate. Will return a 404 Not Found if one cannot be found. Only the US and some of Canada is currently supported. To get a Lat/Lon from a street address, try Yahoo!'s Geocoding API. Useful for adding new venues.
Arguments
api_key (Required)
Your API application key. If you don't have one, create one.

latitude (Float, Required)
Latitude coordinate.

longitude (Float, Required)
Longitude coordinate.

Example Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
  <metro id="1" name="Los Angeles" code="la" state_id="5"
    state_name="California" state_code="ca" country_id="1"
    country_name="United States" country_code="us"/> 
</rsp>		
Error Codes
404 Not Found:
  • Missing valid api_key - Please create an API key using the above link.
  • Your api_key is inactive or not found - Please contact us for support.
  • Missing valid latitude.
  • Missing valid longitude.
  • No metro found - Only the US and Canada is currently supported.
Tools
Upcoming Badges for Your Blog/Website | Invite Friends | Groups | Developers API
Help
News Blog | Community Guidelines | FAQ | Contact Us | Suggestion Board | About Us