how to use foursquare search api to look for venues in the whole country not just my area

506 views Asked by At

Using the foursquare search api , https://developer.foursquare.com/docs/venues/search

I need to search for a venue worldwide without having to specify a country, [so a user does not have to enter another field]

Is this possible to do with foursquare, or could you suggest any other services to do this?

1

There are 1 answers

1
Kosuke Ogawa On

duplicate:searching query in whole of world by foursquare venue api

Use intent=global parameter.

ex) https://api.foursquare.com/v2/venues/search?intent=global&query=apple+store&oauth_token=(YOUR_TOKEN)&v=20150721

If you use global parameter, all other parameters other than query and limit are ignored.