Dwolla

API / Contacts - Nearby Spots

Nearby Spots

Use this method to retrieve nearby Dwolla spots within the range of the provided latitude and longitude. Half of the limit are returned as spots with closest proximity. The other half of the spots are returned as random spots within the range.

HTTP Method: GET Scope Required: '(none)'   Requires Authentication: NO

URL

https://www.dwolla.com/oauth/rest/contacts/nearby

Tools

  Parameter Description Value
* client_id Your application's client ID
* client_secret Your application's client secret
* latitude Latitude coordinates. Latitude must be between -90.0 and 90.0.
* longitude Longitude coordinates. Longitude must be between -180.0 and 180.0.
range Range to retrieve spots for in miles.
limit Number of spots to retrieve.

Request



    

Response

(click Submit to query the API)
Grab our official library »

	

Request

  Param Description
* client_id Consumer key for the application  
* client_secret Consumer secret for the application
* latitude Latitude coordinates. Latitude must be between -90.0 and 90.0.
* longitude Longitude coordinates. Longitude must be between -180.0 and 180.0.
range Range to retrieve spots for in miles.

Defaults to: '10'

Note: Min: 1

limit Number of spots to retrieve.

Defaults to: '10'

Note: Min: 1, Max: 200

GET https://www.dwolla.com/oauth/rest/contacts/nearby?client_id={client_id}&client_secret={client_secret}



Response

Param Description
Success Did the request succeed?
Message
Response JSON Object
   Show Response Parameters
{"Success":true,"Message":"Success","Response":[{"Address":"111 West 5th St. Suite A","City":"Des Moines","Group":"812-111-2222","Id":"812-111-1111","Image":"https://www.dwolla.com/avatar.aspx?u=812-111-1111","Latitude":41.5852257,"Longitude":-93.6245059,"Name":"Test Spot 1","PostalCode":"50309","State":"IA"},{"Address":"111 West 5th St. Suite B","City":"Des Moines","Group":"812-111-1111","Id":"812-111-2222","Image":"https://www.dwolla.com/avatar.aspx?u=812-111-2222","Latitude":41.5852257,"Longitude":-93.6245059,"Name":"Test Spot 2","PostalCode":"50309","State":"IA"}]}

Error Codes