API to search for venue's by name

8 views
Skip to first unread message

lennysan

unread,
Jan 10, 2010, 7:28:36 PM1/10/10
to foursquare API
In the web interface, and in the iPhone app, you can search for a
venue by it's name. Are there plans to offer this as an API?

naveen

unread,
Jan 10, 2010, 7:45:54 PM1/10/10
to foursquare API

On Jan 10, 7:28 pm, lennysan <lenny...@gmail.com> wrote:
> In the web interface, and in the iPhone app, you can search for a
> venue by it's name. Are there plans to offer this as an API?

yes, see the method /v1/venues

(you'll need to pass a lat/lon to do a search)

lennysan

unread,
Jan 10, 2010, 10:39:01 PM1/10/10
to foursquare API
I guess I was hoping for one that searched the entire list of venue's,
but it makes sense now. Would you be able to say how large the radius
is from the lat/lon point?

naveen

unread,
Jan 11, 2010, 5:45:22 PM1/11/10
to foursqu...@googlegroups.com
at the moment, you can't specify a radius

you can only specify the number of results you want that are closest to the given lat/lon

it's on our list at some point to do a radius

> --
> To post to this group, send email to foursqu...@googlegroups.com
>
> http://groups.google.com/group/foursquare-api

lennysan

unread,
Jan 11, 2010, 11:29:34 PM1/11/10
to foursquare API
sweet, thanks for the info. Would love to know what the default radius
is though.

naveen

unread,
Jan 12, 2010, 5:53:34 PM1/12/10
to foursqu...@googlegroups.com

On Jan 11, 2010, at 11:29 PM, lennysan wrote:

> sweet, thanks for the info. Would love to know what the default radius
> is though.

10000 meters

lennysan

unread,
Jan 12, 2010, 11:01:28 PM1/12/10
to foursquare API
Thanks!

LJHarb

unread,
Jan 13, 2010, 4:20:07 AM1/13/10
to foursquare API
10,000 meters is a little small - I'm assuming this is the same radius
in showing "friends in this city" on the iPhone app - maybe in New
York that makes sense, but here in the Bay Area, 6 miles means that
Palo Alto users don't get to see San Jose or San Francisco. It
absolutely should be at least 10 miles, and probably up to 50.

On Jan 12, 2:53 pm, naveen <naveen...@gmail.com> wrote:

naveen

unread,
Jan 13, 2010, 10:50:47 AM1/13/10
to foursquare API

On Jan 13, 4:20 am, LJHarb <ljh...@gmail.com> wrote:
> 10,000 meters is a little small - I'm assuming this is the same radius
> in showing "friends in this city" on the iPhone app - maybe in New
> York that makes sense, but here in the Bay Area, 6 miles means that
> Palo Alto users don't get to see San Jose or San Francisco. It
> absolutely should be at least 10 miles, and probably up to 50.

10k is the default radius for the _nearby venues_ search

40k is what's used for friends

LJHarb

unread,
Jan 14, 2010, 4:17:10 AM1/14/10
to foursquare API
That makes much more sense, glad to hear that they both are reasonable
- but 40k/25 miles is WAY too small for LA and the Bay Area.

Can you set the friends distance to 80k in regions that are more
spread out than the northeast?

naveen

unread,
Jan 14, 2010, 2:14:32 PM1/14/10
to foursquare API
yeah one of the many things we are thinking about (in addition to
providing you a paging mechanism -- ie, "Load more")

Brian Friedlander

unread,
Feb 16, 2010, 3:48:46 PM2/16/10
to foursquare API, naveen
In line with this question, what is the default radius for displaying
a "Special Nearby" when someone checks-in? I.e. how close does a
special have to be in order to show up when someone checks-in?

On Jan 13, 10:50 am, naveen <nave...@gmail.com> wrote:
> On Jan 13, 4:20 am, LJHarb <ljh...@gmail.com> wrote:
>
> > 10,000 meters is a little small - I'm assuming this is the sameradius
> > in showing "friends in this city" on the iPhone app - maybe in New
> > York that makes sense, but here in the Bay Area, 6 miles means that
> > Palo Alto users don't get to see San Jose or San Francisco. It
> > absolutely should be at least 10 miles, and probably up to 50.
>

> 10k is the defaultradiusfor the _nearby venues_ search

naveen

unread,
Mar 8, 2010, 5:37:15 PM3/8/10
to Brian Friedlander, foursquare API

On Feb 16, 2010, at 3:48 PM, Brian Friedlander wrote:

> In line with this question, what is the default radius for displaying
> a "Special Nearby" when someone checks-in? I.e. how close does a
> special have to be in order to show up when someone checks-in?

150 meters.

but this shouldn't really matter from the client side, no? the logic that computes this might one day make it a dynamic radius -- so don't code it into your client :)

Reply all
Reply to author
Forward
0 new messages