["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",{"_note":"Response truncated for documentation purposes"}]
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'
{"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"}]}
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'
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 simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
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.
It will receive parameters and provide you with a JSON.
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.
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
The "Fetch Categories Of Sites" endpoint returns a list of available categories for filtering nearby sites. The "Fetch Nearby Sites By Coordinates" endpoint returns detailed information about nearby places, including their names, locations, addresses, and distances from the specified coordinates.
Key fields in the response include "name" (place name), "location" (latitude and longitude), "address" (formatted address), "distanceMeter" (distance from origin), and "place_id" (unique identifier for the place).
The response data is structured in JSON format. For nearby sites, it includes a "status" field and a "results" array containing objects with details about each site, such as location, name, and address.
Users can customize requests using parameters like "coordinates" (latitude and longitude), "radius" (search distance), and "category" (specific types of places) to filter results according to their needs.
The "Fetch Categories Of Sites" endpoint provides a comprehensive list of categories for filtering, while the "Fetch Nearby Sites By Coordinates" endpoint offers detailed information about nearby places, including their names, locations, and distances.
Data accuracy is maintained through regular updates and quality checks from reliable sources. The API aggregates information from various databases to ensure that the data reflects current locations and categories.
Typical use cases include travel apps displaying nearby attractions, real estate apps showing homes for sale, and fitness apps locating gyms or parks. The API is versatile for any location-based application.
Users can leverage the returned data to display relevant nearby places in their applications. By sorting results by distance and filtering by category, developers can enhance user experience with accurate and timely information.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund