Nearby Sites By Coordinates API

Nearby Sites By Coordinates API

The API allows users to retrieve a list of nearby places sorted by distance from a specified set of coordinates.

API description

About the API:

The Nearby Sites By Coordinates API is a powerful tool that enables developers to easily retrieve a list of nearby places based on a set of origin coordinates. This API allows users to filter search results by categories and radius, making it an excellent resource for location-based applications that need to display nearby points of interest to users.

One of the key benefits of the Nearby Sites By Coordinates API is its ability to sort results in ascending order based on distance from the specified coordinates. This feature allows users to quickly and easily identify the closest points of interest, making it an essential tool for navigation and mapping applications.

Additionally, the API's ability to filter results by category and radius provides a high degree of flexibility for developers. Whether you're building a travel app that needs to display nearby restaurants and attractions, or a real estate app that needs to display nearby homes for sale, this API can help you provide users with accurate and relevant search results.

Overall, the Nearby Sites By Coordinates API is a valuable resource for any developer building a location-based application. With its powerful search capabilities and flexible filtering options, it's an essential tool for providing users with accurate and relevant information about nearby places of interest.

What your API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

What are the most common uses cases of this API?

Travel apps: Display nearby hotels, restaurants, and tourist attractions to help travelers navigate new cities.

Real estate apps: Show nearby homes and apartments for sale or rent to help users find a new place to live.

Event apps: Display nearby concerts, festivals, and other events to help users plan their weekends.

Fitness apps: Show nearby gyms, parks, and hiking trails to help users find places to exercise.

Ride-hailing apps: Display nearby pickup points and drop-off locations for riders and drivers.

Emergency services: Help first responders locate nearby hospitals, police stations, and fire departments.

Retail apps: Show nearby stores and shopping centers to help users find what they're looking for.

Social networking apps: Display nearby friends and potential matches to help users connect with others.

Delivery apps: Display nearby restaurants and stores for users to order food and products from.

Navigation apps: Show nearby gas stations, rest stops, and other points of interest to help users on long trips.

Are there any limitations to your plans?

Basic Plan: 5,000 API Calls Per Month. 200 / Day

Pro Plan: 10,000 API Calls. 500 / Day

Pro Plus Plan: 30,000 API Calls. 1,500 / Day

API Documentation

Endpoints


The Fetch Categories Of Sites endpoint is a useful feature of the Nearby Sites By Coordinates API. This endpoint allows users to retrieve a list of all available categories that can be used in conjunction with the Fetch Nearby Sites By Coordinates endpoint. By providing users with a comprehensive list of categories, developers can ensure that their location-based applications are accurately displaying nearby points of interest that are relevant to their users. The Fetch Categories Of Sites endpoint is an essential tool for any developer looking to incorporate accurate and relevant location-based data into their applications.



                                                                            
GET https://zylalabs.com/api/1746/nearby+sites+by+coordinates+api/1359/fetch+categories+of+sites
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["accommodation","accommodation.hotel","accommodation.hut","accommodation.apartment","accommodation.chalet","accommodation.guest_house","accommodation.hostel","accommodation.motel","activity","activity.community_center","activity.sport_club","commercial","commercial.supermarket","commercial.marketplace","commercial.shopping_mall","commercial.department_store","commercial.elektronics","commercial.outdoor_and_sport","commercial.outdoor_and_sport.water_sports","commercial.outdoor_and_sport.ski","commercial.outdoor_and_sport.diving","commercial.outdoor_and_sport.hunting","commercial.outdoor_and_sport.bicycle","commercial.outdoor_and_sport.fishing","commercial.outdoor_and_sport.golf","commercial.vehicle","commercial.hobby","commercial.hobby.model","commercial.hobby.anime","commercial.hobby.collecting","commercial.hobby.games","commercial.hobby.brewing","commercial.hobby.photo","commercial.hobby.music","commercial.hobby.sewing_and_knitting","commercial.hobby.art","commercial.books","commercial.gift_and_souvenir","commercial.stationery","commercial.newsagent","commercial.tickets_and_lottery","commercial.clothing","commercial.clothing.shoes","commercial.clothing.clothes","commercial.clothing.underwear","commercial.clothing.sport","commercial.clothing.men","commercial.clothing.women","commercial.clothing.kids","commercial.clothing.accessories","commercial.bag","commercial.baby_goods","commercial.agrarian","commercial.garden","commercial.houseware_and_hardware","commercial.houseware_and_hardware.doityourself","commercial.houseware_and_hardware.hardware_and_tools","commercial.houseware_and_hardware.building_materials","commercial.houseware_and_hardware.building_materials.paint","commercial.houseware_and_hardware.building_materials.glaziery","commercial.houseware_and_hardware.building_materials.doors","commercial.houseware_and_hardware.building_materials.tiles","commercial.houseware_and_hardware.building_materials.windows","commercial.houseware_and_hardware.building_materials.flooring","commercial.houseware_and_hardware.fireplace","commercial.houseware_and_hardware.swimming_pool","commercial.florist","commercial.furniture_and_interior","commercial.furniture_and_interior.lighting","commercial.furniture_and_interior.curtain","commercial.furniture_and_interior.carpet","commercial.furniture_and_interior.kitchen","commercial.furniture_and_interior.bed","commercial.furniture_and_interior.bathroom","commercial.chemist","commercial.health_and_beauty","commercial.health_and_beauty.pharmacy","commercial.health_and_beauty.optician","commercial.health_and_beauty.medical_supply","commercial.health_and_beauty.hearing_aids","commercial.health_and_beauty.herbalist","commercial.health_and_beauty.cosmetics","commercial.health_and_beauty.wigs","commercial.toy_and_game","commercial.pet","commercial.food_and_drink","commercial.food_and_drink.bakery","commercial.food_and_drink.deli","commercial.food_and_drink.frozen_food","commercial.food_and_drink.pasta","commercial.food_and_drink.spices","commercial.food_and_drink.organic","commercial.food_and_drink.honey","commercial.food_and_drink.rice","commercial.food_and_drink.nuts","commercial.food_and_drink.health_food","commercial.food_and_drink.ice_cream","commercial.food_and_drink.seafood","commercial.food_and_drink.fruit_and_vegetable","commercial.food_and_drink.farm","commercial.food_and_drink.confectionery","commercial.food_and_drink.chocolate","commercial.food_and_drink.butcher","commercial.food_and_drink.cheese_and_dairy","commercial.food_and_drink.drinks","commercial.food_and_drink.coffee_and_tea","commercial.convenience","commercial.discount_store","commercial.smoking","commercial.second_hand","commercial.gas","commercial.weapons","commercial.pyrotechnics","commercial.energy","commercial.wedding","commercial.jewelry","commercial.watches","commercial.art","commercial.antiques","commercial.video_and_music","commercial.erotic","commercial.trade","commercial.kiosk","catering","catering.restaurant","catering.restaurant.pizza","catering.restaurant.burger","catering.restaurant.regional","catering.restaurant.italian","catering.restaurant.chinese","catering.restaurant.sandwich","catering.restaurant.chicken","catering.restaurant.mexican","catering.restaurant.japanese","catering.restaurant.american","catering.restaurant.kebab","catering.restaurant.indian","catering.restaurant.asian","catering.restaurant.sushi","catering.restaurant.french","catering.restaurant.german","catering.restaurant.thai","catering.restaurant.greek","catering.restaurant.seafood","catering.restaurant.fish_and_chips","catering.restaurant.steak_house","catering.restaurant.international","catering.restaurant.tex-mex","catering.restaurant.vietnamese","catering.restaurant.turkish","catering.restaurant.korean","catering.restaurant.noodle","catering.restaurant.barbecue","catering.restaurant.spanish","catering.restaurant.fish","catering.restaurant.ramen","catering.restaurant.mediterranean","catering.restaurant.friture","catering.restaurant.beef_bowl","catering.restaurant.lebanese","catering.restaurant.wings","catering.restaurant.georgian","catering.restaurant.tapas","catering.restaurant.indonesian","catering.restaurant.arab","catering.restaurant.portuguese","catering.restaurant.russian","catering.restaurant.filipino","catering.restaurant.african","catering.restaurant.malaysian","catering.restaurant.caribbean","catering.restaurant.peruvian","catering.restaurant.bavarian","catering.restaurant.brazilian","catering.restaurant.curry","catering.restaurant.dumpling","catering.restaurant.persian","catering.restaurant.argentinian","catering.restaurant.oriental","catering.restaurant.balkan","catering.restaurant.moroccan","catering.restaurant.pita","catering.restaurant.ethiopian","catering.restaurant.taiwanese","catering.restaurant.latin_american","catering.restaurant.hawaiian","catering.restaurant.irish","catering.restaurant.austrian","catering.restaurant.croatian","catering.restaurant.danish","catering.restaurant.tacos","catering.restaurant.bolivian","catering.restaurant.hungarian","catering.restaurant.western","catering.restaurant.european","catering.restaurant.jamaican","catering.restaurant.cuban","catering.restaurant.soup","catering.restaurant.uzbek","catering.restaurant.nepalese","catering.restaurant.czech","catering.restaurant.syrian","catering.restaurant.afghan","catering.restaurant.malay","catering.restaurant.chili","catering.restaurant.belgian","catering.restaurant.ukrainian","catering.restaurant.swedish","catering.restaurant.pakistani","catering.fast_food","catering.fast_food.pizza","catering.fast_food.burger","catering.fast_food.sandwich","catering.fast_food.kebab","catering.fast_food.fish_and_chips","catering.fast_food.noodle","catering.fast_food.ramen","catering.fast_food.wings","catering.fast_food.tapas","catering.fast_food.pita","catering.fast_food.tacos","catering.fast_food.soup","catering.fast_food.salad","catering.fast_food.hot_dog","catering.cafe","catering.cafe.waffle","catering.cafe.ice_cream","catering.cafe.coffee_shop","catering.cafe.donut","catering.cafe.crepe","catering.cafe.bubble_tea","catering.cafe.cake","catering.cafe.frozen_yogurt","catering.cafe.dessert","catering.cafe.coffee","catering.cafe.tea","catering.food_court","catering.bar","catering.pub","catering.ice_cream","catering.biergarten","education","education.school","education.driving_school","education.music_school","education.language_school","education.library","education.college","education.university","childcare","childcare.kindergarten","entertainment","entertainment.culture","entertainment.culture.theatre","entertainment.culture.arts_centre","entertainment.culture.gallery","entertainment.zoo","entertainment.aquarium","entertainment.planetarium","entertainment.museum","entertainment.cinema","entertainment.amusement_arcade","entertainment.escape_game","entertainment.miniature_golf","entertainment.bowling_alley","entertainment.flying_fox","entertainment.theme_park","entertainment.water_park","healthcare","healthcare.clinic_or_praxis","healthcare.clinic_or_praxis.allergology","healthcare.clinic_or_praxis.vascular_surgery","healthcare.clinic_or_praxis.urology","healthcare.clinic_or_praxis.trauma","healthcare.clinic_or_praxis.rheumatology","healthcare.clinic_or_praxis.radiology","healthcare.clinic_or_praxis.pulmonology","healthcare.clinic_or_praxis.psychiatry","healthcare.clinic_or_praxis.paediatrics","healthcare.clinic_or_praxis.otolaryngology","healthcare.clinic_or_praxis.orthopaedics","healthcare.clinic_or_praxis.ophthalmology","healthcare.clinic_or_praxis.occupational","healthcare.clinic_or_praxis.gynaecology","healthcare.clinic_or_praxis.general","healthcare.clinic_or_praxis.gastroenterology","healthcare.clinic_or_praxis.endocrinology","healthcare.clinic_or_praxis.dermatology","healthcare.clinic_or_praxis.cardiology","healthcare.dentist","healthcare.dentist.orthodontics","healthcare.hospital","healthcare.pharmacy","heritage","heritage.unesco","leisure","leisure.picnic","leisure.picnic.picnic_site","leisure.picnic.picnic_table","leisure.picnic.bbq","leisure.playground","leisure.spa","leisure.spa.public_bath","leisure.spa.sauna","leisure.park","leisure.park.garden","leisure.park.nature_reserve","man_made","man_made.pier","man_made.breakwater","man_made.tower","man_made.water_tower","man_made.bridge","man_made.lighthouse","man_made.windmill","man_made.watermill","natural","natural.forest","natural.water","natural.water.spring","natural.water.reef","natural.water.hot_spring","natural.water.geyser","natural.water.sea","natural.mountain","natural.mountain.peak","natural.mountain.glacier","natural.mountain.cliff","natural.mountain.rock","natural.mountain.cave_entrance","natural.sand","natural.sand.dune","natural.protected_area","national_park","office","office.government","office.government.administrative","office.government.register_office","office.government.tax","office.government.public_service","office.government.ministry","office.government.healthcare","offic...
                                                                                                                                                                                                                    
                                                                                                    

Fetch Categories Of Sites - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1746/nearby+sites+by+coordinates+api/1359/fetch+categories+of+sites' --header 'Authorization: Bearer YOUR_API_KEY' 

    

The Fetch Nearby Sites By Coordinates endpoint is a powerful feature of the Nearby Sites By Coordinates API. This endpoint allows users to retrieve a list of nearby places based on a set of origin coordinates, sorted by the distance in ascending order. Additionally, users can filter results by categories and radius to ensure that search results are relevant and accurate. This endpoint is ideal for developers building location-based applications that need to display nearby points of interest to users, whether it be for travel, real estate, social networking, or emergency services. The Fetch Nearby Sites By Coordinates endpoint is a valuable tool for any developer looking to incorporate accurate and relevant location-based data into their applications.

NOTE: Returns up to 60 sites per request.



                                                                            
GET https://zylalabs.com/api/1746/nearby+sites+by+coordinates+api/1360/fetch+nearby+sites+by+coordinates
                                                                            
                                                                        

Fetch Nearby Sites By Coordinates - Endpoint Features
Object Description
lat [Required] Latitude. For example: 40.748817
lon [Required] Longitude. For example: -73.985428
categories [Optional] This can be found in the endpoint Fetch Categories Of Sites. If it is not specified it will take catering.cafe by default.
radius [Optional] In meters. If it is not specified it will take 200 by default. The maximum is 50000.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":"OK","results":[{"location":{"lat":"40.7481846","lng":"-73.9856870"},"name":"Starbucks","country":"United States","state":"New York","postal_code":"10118","city":"New York","street":"5th Avenue","address":"350 5th Avenue, New York, NY 10118, United States of America","formatted_address":"Starbucks, 350 5th Avenue, New York, NY 10118, United States of America","distanceMeter":"74.00","place_id":"51e845ed7e157f52c0590ef75283c45f4440f00103f901641ca53400000000920309537461726275636b73"},{"location":{"lat":"40.7485816","lng":"-73.9863247"},"name":"Kawande Martin Cafe","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 33rd Street","address":"West 33rd Street, New York, NY 10001, United States of America","formatted_address":"Kawande Martin Cafe, West 33rd Street, New York, NY 10001, United States of America","distanceMeter":"80.00","place_id":"512a6fa2f11f7f52c05935f99985d15f4440f00103f901261d6435010000009203134b6177616e6465204d617274696e2043616665"},{"location":{"lat":"40.7491000","lng":"-73.9839030"},"name":"Starbucks","country":"United States","state":"New York","postal_code":"10016","city":"New York","street":"East 35th Street","address":"East 35th Street, New York, NY 10016, United States of America","formatted_address":"Starbucks, East 35th Street, New York, NY 10016, United States of America","distanceMeter":"133.00","place_id":"51ecdb4944f87e52c059277f4182e25f4440f00103f9010247a43400000000920309537461726275636b73"},{"location":{"lat":"40.7476635","lng":"-73.9864189"},"name":"Tea Makers","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 32nd Street","address":"15 West 32nd Street, New York, NY 10001, United States of America","formatted_address":"Tea Makers, 15 West 32nd Street, New York, NY 10001, United States of America","distanceMeter":"153.00","place_id":"5101eabc7c217f52c059683c0570b35f4440f00103f901917c911a0200000092030a546561204d616b657273"},{"location":{"lat":"40.7476872","lng":"-73.9864866"},"name":"Grace Street","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 32nd Street","address":"17 West 32nd Street, New York, NY 10001, United States of America","formatted_address":"Grace Street, 17 West 32nd Street, New York, NY 10001, United States of America","distanceMeter":"154.00","place_id":"514f3cb198227f52c0593399d436b45f4440f00103f9013c92090c0200000092030c477261636520537472656574"},{"location":{"lat":"40.7479431","lng":"-73.9871020"},"name":"Machi Machi","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 32nd Street","address":"33 West 32nd Street, New York, NY 10001, United States of America","formatted_address":"Machi Machi, 33 West 32nd Street, New York, NY 10001, United States of America","distanceMeter":"171.00","place_id":"513cf4ddad2c7f52c059fda97999bc5f4440f00103f901af04dc3e0200000092030b4d61636869204d61636869"},{"location":{"lat":"40.7473548","lng":"-73.9862282"},"name":"Paris Baguette","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 32nd Street","address":"6 West 32nd Street, New York, NY 10001, United States of America","formatted_address":"Paris Baguette, 6 West 32nd Street, New York, NY 10001, United States of America","distanceMeter":"176.00","place_id":"512659e25c1e7f52c059a4087552a95f4440f00103f901a02869730100000092030e5061726973204261677565747465"},{"location":{"lat":"40.7474567","lng":"-73.9865203"},"name":"Gong Cha","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 32nd Street","address":"12 West 32nd Street, New York, NY 10001, United States of America","formatted_address":"Gong Cha, 12 West 32nd Street, New York, NY 10001, United States of America","distanceMeter":"177.00","place_id":"51c4550a26237f52c059159e41a9ac5f4440f00103f901277a1c7501000000920308476f6e6720436861"},{"location":{"lat":"40.7480440","lng":"-73.9873353"},"name":"caffΓ© bene","country":"United States","state":"New York","postal_code":"10001","city":"New York","street":"West 32nd Street","address":"39 West 32nd Street, New York, NY 10001, United States of America","formatted_address":"caffΓ© bene, 39 West 32nd Street, New York, NY 10001, United States of America","distanceMeter":"183.00","place_id":"51edeb6580307f52c059a0c3e2e7bf5f4440f00103f9015d0a3a730100000092030b63616666c3a92062656e65"}]}
                                                                                                                                                                                                                    
                                                                                                    

Fetch Nearby Sites By Coordinates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1746/nearby+sites+by+coordinates+api/1360/fetch+nearby+sites+by+coordinates?lat=40.748817&lon=-73.985428' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Nearby Sites By Coordinates API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
1,621ms

Category:


Tags:


Related APIs