Places API
The Places API is a powerful tool that enables you to query local points of interest and amenities effortlessly. You can easily search for places in a city, within a specified radius of a point, within a reachability area or isoline, or even within a bounding box.
The Places API lets you conveniently query places by category, including accommodations, shops, parking, and much more. We've also included customizable conditions that allow you to apply additional filters, such as free access, availability of Wi-Fi, and wheelchair accessibility.
To experience the full capabilities of the Places API, we invite you to try it out in the API Playground. Play around with the different features and see how easy it is to find the necessary information.
- Authentication and Geocoding API key
- API reference
- Supported categories
- Supported conditions
- Pricing
Authentication and API key
You'll need an API key to use the Places API. However, obtaining one is quick, easy, and free of charge, and you don't even need a credit card to get started! Our free plan includes up to 3000 requests per day, making it an excellent option for developers who want to test out our service. For more information on our different pricing plans, we recommend visiting our Pricing page to find the best option for your needs.
How to get Places API key
To get your Places API key, follow these steps:
- Register on the Geoapify MyProjects page.
- Create a new project.
- Go to the API Keys section, where one API key is generated automatically. You can generate multiple API keys per project if needed.
You can also protect your API key by listing allowed IP addresses, HTTP referrers, origins, and CORS for added security.
Moreover, you can generate a code to call the API. Choose "Places API" and select an API key to receive a URL and programming code. Press the "Try" button to execute the API call and receive the result object.
API reference
The Places API is a versatile tool that enables you to retrieve information on various locations, points of interest, and places belonging to different categories.
To use the Places API, you'll need to make HTTP GET requests. These requests allow you to retrieve data related to your queries and integrate it into your application or service.
API URL
https://api.geoapify.com/v2/places?PARAMS
Request parameters
In an API parameters table, you'll find a comprehensive list of all the available parameters and their corresponding values and descriptions:
Name | Description |
---|---|
categories | Comma-separated list of place categories. Check the supported values here. |
conditions | In addition to categories, there is a possibility to filter results by conditions. For example, only places with internet_access . Check the supported values here. |
filter | Filter places by bounds, circle, geometry or countries. |
bias | Search first near the location. Note, the API will search places near the location, but not further tham 50km. |
limit | Maximal number of results per page. |
offset | Offset to the first result index. Is used to access pages, when number of results is bigger than given limit. |
lang | Result language. 2-character ISO 639-1 language codes are supported. |
name | Allows to filter places by the given name |
apiKey | Required parameter for API key |
Filters
The API allows to set the following types of filters for results:
Name | Format | Description | Examples |
---|---|---|---|
By circle | circle:lon,lat,radiusMeters |
Search places inside of the circle | filter=circle:-87.770231,41.878968,5000 |
By rectangle | rect:lon1,lat1,lon2,lat2 |
Search places inside of the rectangle | filter=rect:-89.097540,39.668983,-88.399274,40.383412 |
By geometry | geometry:geometryId |
Search places inside generated before geometry. For example, by isoline. | filter=geometry:d3046cf911d4d8bb8dd99394ef0921fb |
By place | place:placeId |
Search inside a city, district, postcode, or other boundary returned by Geocoding API, Reverse Geocoding API, Places API, or Boundaries API. Use the place_id returned parameter as the filter value. |
filter=place:51f07665660fc4024059dc0a96dfac6c... |
By country [coming soon] | Comma-separated ISO 3166-1 Alpha-2 country codes (in lower case). Use 'auto' to detect the country by IP address. Use 'none' to skip (default value). | Search places in the countries. | filter=countrycode:de,es,fr |
Bias
Name | Format | Description | Examples |
---|---|---|---|
By location | bias=proximity:lon,lat |
Prioritize results by farness from the location | bias=proximity:41.2257145,52.971411 |
Response Object
The Place API response contains a GeoJSON FeatureCollection object. Each feature in this object has a "Point" type and represents a specific location or point of interest.
In addition to the location data, each feature contains properties that provide additional information about the location. These properties can include names, addresses, categories, and more. By accessing these properties, you can extract the most relevant information to your application and use it to enhance the user experience.
Name | Description |
---|---|
name | Location name |
country | Country component of an address |
state | State component of an address |
postcode | Postcode or ZIP code of an address |
city | City component of an address |
street | Street component of an address |
housenumber | House number component of an address |
lat, lon | Coordinates of the location |
formatted | Display address |
address_line1 | Main part of the display address, contains building street and house number or amenity name |
address_line2 | The second part of the display address, contains address parts not included to address_line1 |
categories | All categories, that the places belongs to. Can take values of supported categories and supported conditions |
distance | Distance in meters to the bios location provided |
place_id | Unique identifier for the place, that can be used to extract additional information about the place with Place Details API |
Supported categories
The Places API uses a hierarchical category system to allow you to specify the type of locations you want to retrieve. By using more specific category keys, you can narrow down your results to a specific type of location, while more general category keys will return a broader range of results.
For example, if you want to retrieve only motels, you can use the "accommodation.motel" key. If you want to retrieve all types of accommodations, including subcategories such as "accommodation.hut", "accommodation.apartment", and "accommodation.chalet", you can use the "accommodation" key.
Our list of categories is constantly expanding and evolving. If you cannot find a required category in the current list, please contact us at [email protected] and we will be happy to assist you in finding the category you need.
Key | Description |
---|---|
accommodation | Place to stay or live |
accommodation.hotel | |
accommodation.hut | |
accommodation.apartment | |
accommodation.chalet | |
accommodation.guest_house | |
accommodation.hostel | |
accommodation.motel | |
activity | Clubs, community centers |
activity.community_center | |
activity.sport_club | |
airport | Facility for aircraft operations, including takeoffs, landings, and maintenance |
airport.private | Owned by individuals or entities, not open to the public, for private aviation |
airport.international | Handles international flights with customs and immigration facilities |
airport.military | Dedicated to armed forces use |
airport.gliding | Designed for glider operations, may include winches or tow planes |
airport.airfield | Area for aircraft operations, can range from simple to complex facilities |
commercial | Places where one can buy or sell things |
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 | Places of public catering: restaurants, cafes, bars, etc. |
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 | |
catering.taproom | Place where you can sample draught cask beer |
education | Place that provides learning spaces and learning environments |
education.school | |
education.driving_school | |
education.music_school | |
education.language_school | |
education.library | |
education.college | |
education.university | |
childcare | Place that provides care of children service while parents are working |
childcare.kindergarten | |
entertainment | Place that where one can spend free time with amusement |
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 | |
entertainment.activity_park | |
entertainment.activity_park.trampoline | |
entertainment.activity_park.climbing | |
healthcare | Places that provides healthcare services: hospitals, clinics and more |
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 | |
highway | Roads, varying from small roads to major routes. |
highway.residential | Roads within residential areas, primarily for local access |
highway.public | Roads open to the general public, encompassing a wide range of types |
highway.service | Roads providing access to buildings, service areas, or other facilities |
highway.track | Unpaved or rough paths primarily used for agricultural or forestry purposes |
highway.footway | Paths designated for pedestrian use only, no vehicular traffic |
highway.busway | Dedicated lanes or roads for bus traffic, often in urban areas |
highway.cycleway | Designated paths for bicycles, separate from vehicular traffic lanes |
highway.pedestrian | Areas primarily intended for pedestrian traffic, often in commercial zones |
highway.path | General paths for walking, cycling, and sometimes equestrian use |
highway.living_street | Roads with very low speed limits, prioritizing pedestrians and cyclists |
highway.primary | Major roads of national or regional importance, connecting large cities |
highway.secondary | Roads of moderate importance, connecting smaller towns and regions |
highway.tertiary | Less important roads, often serving local traffic between neighborhoods |
highway.trunk | Major roads or highways, less significant than motorways but important for long-distance travel |
highway.motorway | High-speed, high-capacity roads for long-distance and intercity travel, often with multiple lanes |
leisure | Places where one can relax and unwind |
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 | The man-made category is used to identify anything that was constructed by humans |
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 | Places where one can enjoy nature, explore natural phenomena |
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 | National parks |
office | An office of a business, company, administration, or organization |
office.government | |
office.government.administrative | |
office.government.register_office | |
office.government.tax | |
office.government.public_service | |
office.government.ministry | |
office.government.healthcare | |
office.government.prosecutor | |
office.government.transportation | |
office.government.social_services | |
office.government.legislative | |
office.government.education | |
office.government.customs | |
office.government.social_security | |
office.government.environment | |
office.government.migration | |
office.government.cadaster | |
office.government.forestry | |
office.government.agriculture | |
office.company | |
office.estate_agent | |
office.insurance | |
office.lawyer | |
office.telecommunication | |
office.educational_institution | |
office.association | |
office.non_profit | |
office.diplomatic | |
office.it | |
office.accountant | |
office.employment_agency | |
office.religion | |
office.research | |
office.architect | |
office.financial | |
office.tax_advisor | |
office.advertising_agency | |
office.notary | |
office.newspaper | |
office.political_party | |
office.logistics | |
office.energy_supplier | |
office.travel_agent | |
office.financial_advisor | |
office.consulting | |
office.foundation | |
office.coworking | |
office.water_utility | |
office.forestry | |
office.charity | |
office.security | |
parking | Places where one can park a car |
parking.cars | |
parking.cars.surface | |
parking.cars.multistorey | |
parking.cars.underground | |
parking.cars.rooftop | |
parking.surface | |
parking.multistorey | |
parking.underground | |
parking.rooftop | |
parking.motorcycle | |
parking.bicycles | |
pet | Places that can be interesting for pet owners |
pet.shop | |
pet.veterinary | |
pet.service | |
pet.dog_park | |
power | Infrastructure related to the generation and distribution of electrical energy |
power.generator | Facilities where electrical power is generated from various energy sources |
power.generator.solar | |
power.generator.wind | |
power.generator.gas | |
power.generator.biomass | |
power.generator.hydro | |
power.generator.oil | |
power.generator.coal | |
power.generator.nuclear | |
power.generator.geothermal | |
power.line | High-voltage transmission lines for distributing electricity over long distances |
power.minor_line | Smaller power lines for local electricity distribution, often within neighborhoods |
power.plant | Industrial facilities where electrical power is generated from various energy sources. |
power.plant.solar | |
power.plant.hydro | |
power.plant.wind | |
power.plant.gas | |
power.plant.coal | |
power.plant.biomass | |
power.plant.oil | |
power.plant.waste | |
power.plant.geothermal | |
power.plant.nuclear | |
power.substation | Facilities that transform voltage levels for distribution and transmission of electricity |
power.transformer | Devices within power systems that change the voltage level of electricity for distribution |
production | Sites and facilities where goods and products are manufactured or processed |
production.factory | Large industrial buildings where raw materials are transformed into finished goods |
production.winery | Facilities dedicated to the production of wine, from grape processing to bottling |
production.brewery | Establishments where beer is produced through the fermentation of ingredients |
production.cheese | Facilities specialized in the production and aging of various types of cheese |
production.pottery | Workshops or factories where clay products, such as pottery and ceramics, are made |
railway | Tracks and infrastructure for train transportation and services |
railway.train | Tracks used by conventional overground trains for passenger and freight services |
railway.subway | Urban, underground railway systems for mass transit |
railway.tram | City-based light rail systems running on streets and dedicated lines |
railway.light_rail | Urban rail systems that are lighter and faster than traditional trams |
railway.funicular | Railways on steep slopes using cable traction for uphill and downhill travel |
railway.construction | Railway tracks and infrastructure currently under construction |
railway.underground | Railways located below the surface, typically in urban areas for mass transit |
railway.surface | Railways located at ground level, including most conventional train tracks |
rental | Places where one can rent things |
rental.car | |
rental.storage | |
rental.bicycle | |
rental.boat | |
rental.ski | |
service | Places that provide services to the public |
service.financial | |
service.financial.atm | |
service.financial.payment_terminal | |
service.financial.bank | |
service.financial.bureau_de_change | |
service.financial.money_transfer | |
service.financial.money_lender | |
service.cleaning | |
service.cleaning.lavoir | |
service.cleaning.laundry | |
service.cleaning.dry_cleaning | |
service.travel_agency | |
service.post | |
service.post.office | |
service.post.box | |
service.police | |
service.vehicle | |
service.vehicle.fuel | |
service.vehicle.car_wash | |
service.vehicle.charging_station | |
service.vehicle.repair | |
service.vehicle.repair.car | |
service.vehicle.repair.motorcycle | |
service.beauty | |
service.beauty.hairdresser | |
service.beauty.spa | |
service.beauty.massage | |
service.tailor | |
service.funeral_directors | |
service.bookmaker | |
service.estate_agent | |
service.locksmith | |
service.taxi | |
service.social_facility | Places that provide social services, such as counseling, support groups, and other assistance to people in need, often run by government or non-profit organizations |
service.social_facility.shelter | |
service.social_facility.food | |
service.social_facility.clothers | |
service.recycling | |
service.recycling.container | |
service.recycling.centre | |
service.recycling.bin | |
tourism | Places that can be interesting for tourists |
tourism.information | |
tourism.information.office | |
tourism.information.map | |
tourism.information.ranger_station | |
tourism.attraction | |
tourism.attraction.artwork | |
tourism.attraction.viewpoint | |
tourism.attraction.fountain | |
tourism.attraction.clock | |
tourism.sights | |
tourism.sights.place_of_worship | |
tourism.sights.place_of_worship.church | |
tourism.sights.place_of_worship.chapel | |
tourism.sights.place_of_worship.cathedral | |
tourism.sights.place_of_worship.mosque | |
tourism.sights.place_of_worship.synagogue | |
tourism.sights.place_of_worship.temple | |
tourism.sights.place_of_worship.shrine | |
tourism.sights.monastery | |
tourism.sights.city_hall | |
tourism.sights.conference_centre | |
tourism.sights.lighthouse | |
tourism.sights.windmill | |
tourism.sights.tower | |
tourism.sights.battlefield | |
tourism.sights.fort | |
tourism.sights.castle | |
tourism.sights.ruines | |
tourism.sights.archaeological_site | |
tourism.sights.city_gate | |
tourism.sights.bridge | |
tourism.sights.memorial | |
tourism.sights.memorial.aircraft | |
tourism.sights.memorial.locomotive | |
tourism.sights.memorial.railway_car | |
tourism.sights.memorial.ship | |
tourism.sights.memorial.tank | |
tourism.sights.memorial.tomb | |
tourism.sights.memorial.monument | |
tourism.sights.memorial.wayside_cross | |
tourism.sights.memorial.boundary_stone | |
tourism.sights.memorial.pillory | |
tourism.sights.memorial.milestone | |
religion | Places that are associated with a particular faith or religious institution, such as churches, mosques, synagogues, temples, and other places of worship |
religion.place_of_worship | |
religion.place_of_worship.buddhism | |
religion.place_of_worship.christianity | |
religion.place_of_worship.hinduism | |
religion.place_of_worship.islam | |
religion.place_of_worship.judaism | |
religion.place_of_worship.shinto | |
religion.place_of_worship.sikhism | |
religion.place_of_worship.multifaith | |
camping | Places that provide outdoor activity including overnight stay |
camping.camp_pitch | |
camping.camp_site | |
camping.summer_camp | |
camping.caravan_site | |
amenity | Small amenities, that can be useful in different situations |
amenity.toilet | |
amenity.drinking_water | |
amenity.give_box | Places where people can donate or leave items for others to take for free, often found in public spaces or community centers |
amenity.give_box.food | |
amenity.give_box.books | |
beach | A shore of a body of water covered by sand, gravel, or larger rock fragments |
beach.beach_resort | |
adult | Places that provide entertainments for adults, sometimes with a sexual context |
adult.nightclub | |
adult.stripclub | |
adult.swingerclub | |
adult.brothel | |
adult.casino | |
adult.adult_gaming_centre | |
airport | |
airport.international | |
building | Stand alone buildings and places |
building.residential | |
building.commercial | |
building.industrial | |
building.office | |
building.catering | |
building.healthcare | |
building.university | |
building.college | |
building.dormitory | |
building.school | |
building.driving_school | |
building.kindergarten | |
building.public_and_civil | |
building.sport | |
building.spa | |
building.place_of_worship | |
building.holiday_house | |
building.accommodation | |
building.tourism | |
building.transportation | |
building.military | |
building.service | |
building.facility | |
building.garage | |
building.parking | |
building.toilet | |
building.prison | |
building.entertainment | |
building.historic | |
ski | Infrastructure objects related to downhill skiing sport kinds |
ski.lift | |
ski.lift.cable_car | |
ski.lift.gondola | |
ski.lift.mixed_lift | |
ski.lift.chair_lift | |
ski.lift.tow_line | |
ski.lift.magic_carpet | |
sport | Infrastructure objects related to different sport kinds |
sport.stadium | |
sport.dive_centre | |
sport.horse_riding | |
sport.ice_rink | |
sport.pitch | |
sport.sports_centre | |
sport.swimming_pool | |
sport.track | |
sport.fitness | |
sport.fitness.fitness_centre | |
sport.fitness.fitness_station | |
public_transport | Public transport stations and stops |
public_transport.train | |
public_transport.light_rail | |
public_transport.monorail | |
public_transport.subway | |
public_transport.subway.entrance | |
public_transport.bus | |
public_transport.tram | |
public_transport.ferry | |
public_transport.aerialway | |
administrative | Administrative boundary |
administrative.continent_level | |
administrative.country_level | |
administrative.country_part_level | |
administrative.state_level | |
administrative.county_level | |
administrative.city_level | |
administrative.district_level | |
administrative.suburb_level | |
administrative.neighbourhood_level | |
postal_code | Postcode boundary |
political | Political boundary |
low_emission_zone | Low emission zone |
populated_place | Place where people live |
populated_place.hamlet | |
populated_place.village | |
populated_place.neighbourhood | |
populated_place.suburb | |
populated_place.town | |
populated_place.city_block | |
populated_place.quarter | |
populated_place.city | |
populated_place.allotments | |
populated_place.county | |
populated_place.municipality | |
populated_place.district | |
populated_place.region | |
populated_place.state | |
populated_place.borough | |
populated_place.subdistrict | |
populated_place.province | |
populated_place.township | |
production | Place that produces something |
production.factory | Factory or manufacturing plants |
production.winery | |
production.brewery | |
production.cheese | |
production.pottery |
Supported conditions
Conditions refer to the specific attributes or characteristics of a place, such as its opening hours, wheelchair accessibility, or whether it has free Wi-Fi. These conditions can be used as filters in API requests to retrieve places that meet certain criteria.
Similar to the category hierarchy, the conditions in Places API are also hierarchical. For more specific queries, use detailed keys, while for broader queries, use parent conditions.
Key | Description |
---|---|
internet_access | Places that provide an internet access |
internet_access.free | |
internet_access.for_customers | |
wheelchair | Places that are suitable to be used with wheelchairs |
wheelchair.yes | |
wheelchair.limited | |
dogs | Places where dogs are allowed |
dogs.yes | |
dogs.leashed | |
no-dogs | Places where dogs are not allowed |
access | Places that are available for public |
access.yes | The access is specified as public |
access.not_specified | The access information is missing. The place is considered as public |
access_limited | Places with limited access |
access_limited.private | |
access_limited.customers | |
access_limited.with_permit | |
access_limited.services | |
no_access | Places that are not available for public |
fee | There is a fee |
no_fee | There is no fee or it's not specified |
no_fee.no | |
no_fee.not_specified | |
named | Name property defined for the place |
vegetarian | Places where you can buy or eat vegetarian food |
vegetarian.only | Places that serve vegetarian food only |
vegan | Places where you can buy or eat vegan food |
vegan.only | Places that serve vegan food only |
halal | Places where you can buy or eat halal food |
halal.only | Places that serve halal food only |
kosher | Places where you can buy or eat kosher food |
kosher.only | Places that serve kosher food only |
organic | Places where you can buy or eat organic food |
organic.only | Places that serve organic food only |
gluten_free | Places where you can buy or eat gluten free food |
sugar_free | Places where you can buy or eat sugar free food |
egg_free | Places where you can buy or eat egg free food |
soy_free | Places where you can buy or eat soy free food |
URL examples
The following examples demonstrate how to use input parameters in the Places API, by showing sample URLs with different query parameters.
Search places by multiple categories
You can search by multiple categories at the same time. For example, the request below will return restaurants and cafes in Munich's historical center:
https://api.geoapify.com/v2/places?categories=catering.restaurant,catering.cafe&filter=rect:11.573106549898483,48.13898913611139,11.57704581350751,48.13666585409989&limit=20&apiKey=YOUR_API_KEY
Search places with conditions
Conditions let you narrow your search results by adding additional requirements to the places. For example, you can search for restaurants that serve vegetarian food near Central Park, New York:
https://api.geoapify.com/v2/places?categories=catering.restaurant&conditions=vegetarian&filter=rect:-73.99331143343392,40.77129742280923,-73.97215311088917,40.757134681430635&limit=20&apiKey=YOUR_API_KEY
Search places within a visible area
You can search places near a visible area using bounding boxes. Here is an example of searching museums in Paris near Île de la Cité:
https://api.geoapify.com/v2/places?categories=entertainment.museum&filter=rect:2.3380862086841603,48.861868995221684,2.357539944586165,48.850557094041235&limit=20&apiKey=YOUR_API_KEY
Search places within a city district
You can search places within a particular district, city, or postcode boundary. Here is an example of searching theatres and other cultural objects in Caluire-et-Cuire, France:
https://api.geoapify.com/v2/places?categories=entertainment.culture&filter=place:51a1f4444906681340595f4499441ae64640f00101f9017162010000000000c0020692031043616c756972652d65742d4375697265&limit=20&apiKey=YOUR_API_KEY
Search places near a location with a radius filter
You can also use a circle to get places near a location. For example, this request searches underground stations within 1000 meters of a location in London:
https://api.geoapify.com/v2/places?categories=public_transport.subway&filter=circle:-0.07071648508463113,51.50848194136378,1000&bias=proximity:-0.07071648508463113,51.50848194136378&limit=20&apiKey=YOUR_API_KEY
The bias parameter lets to sort results by distance to the given location.
Search places nearest to a location places
Using a bias parameter without the filter parameter allows you to get a specified number of places sorted by distance to a provided location:
https://api.geoapify.com/v2/places?categories=public_transport.subway&bias=proximity:-0.07071648508463113,51.50848194136378&limit=20&apiKey=YOUR_API_KEY
Get a large number of places using the offset parameter
The maximum number of places you can request is 500. Use the offset parameter to retrieve more places.
For example, the request below returns 500 supermarkets in Vienna:
https://api.geoapify.com/v2/places?categories=commercial.supermarket&filter=rect:16.17903071551638,48.28499347053008,16.556767855560192,48.0623697740825&limit=500&apiKey=YOUR_API_KEY
Add offset=500 parameter to get a further 500 supermarkets:
https://api.geoapify.com/v2/places?categories=commercial.supermarket&filter=rect:16.17903071551638,48.28499347053008,16.556767855560192,48.0623697740825&limit=500&offset=500&apiKey=YOUR_API_KEY
Pricing
Geoapify's API requests are priced in credits, simplifying our pricing structure and allowing us to estimate API usage's complexity.
We offer various Pricing Plans to suit different needs, each providing a certain number of credits. You can start with our FREE plan, which offers 3,000 credits per day, and upgrade at any time if you exceed this quota.
The cost of a Places API call depends on the number of results retrieved, with every 20 places costing 1 credit. You can control the number of results using the limit
parameter.
For example, if you retrieve 115 places, the cost would be 6 credits.