Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7012285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:14:09+00:00 2026-05-27T22:14:09+00:00

I am using Foursquare API to get the nearest locations for my current location.

  • 0

I am using Foursquare API to get the nearest locations for my current location. Can anyone please guide me how I can get the nearest places of a specific type? (I mean I need all gas stations, cafes, etc. near me).

Here is the link I am using https://api.foursquare.com/v2/venues/search?ll=41.104805,29.024291&oauth_token=EDO2GW34NJ5QBUVL5YXQTDYK41X2QMFBHS1XCY1FZMJFWNVM&v=20111229

Here I get some locations but I am unable to find gas stations or cafes so please guide me how can I get those specific places near by me.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:14:10+00:00Added an answer on May 27, 2026 at 10:14 pm

    The search parameter documentation is here:
    https://developer.foursquare.com/docs/venues/search

    You can make an API call to get the categories. The doc is here:
    https://developer.foursquare.com/docs/venues/categories

    The actual call is:
    https://api.foursquare.com/v2/venues/categories

    And it returns all the categories – you need to parse through this json return object to find what you’re looking for.

    Once you’ve got your category (in this case let’s use Gas Stations), you can add category to the query you already had:
    https://api.foursquare.com/v2/venues/search?categoryId=4bf58dd8d48988d113951735&ll=41.104805,29.024291&oauth_token=EDO2GW34NJ5QBUVL5YXQTDYK41X2QMFBHS1XCY1FZMJFWNVM&v=20111229

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get some locations in New York using FourSquare API using
I'm developing a fun little project using Foursquare API. In this project, I have
Using the Foursquare Merchant API, I'm trying to add a campaign. I am able
Using Foursquare API "Venue" service.. I am parsing nearByVenue details like shop, restaurant etc.
using v2 api url https://api.foursquare.com/v2/venues/4d5db152e0ffa1cdb12a1e54/herenow?oauth_token=FSQ_USER_TOKEN&v=20111205&limit=100 Consistent replies since yesterday {meta:{code:200},notifications:[{type:notificationTray,item:{unreadCount:0}}],response:{hereNow:{count:0,items:[]}}} But I know that
If user Logged in the Facebook i want to get the Nearest Places available
I am using the quimby gem to interface with foursquare's venue api. I have
I'm trying to create a Foursquare application using its Java API v2 but I
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.