---
title: Find Nearby Places in US  by Category API
slug: nearby-places-by-category
url: https://apyhub.com/dosvak/service/nearby-places-by-category
provider: Dosvak LLC
categories: [Geolocation, Travel]
tags: [nearby-places, place-search, location-based-search, geolocation, travel]
auth: api_key
---

# Find Nearby Places in US  by Category API

Search places by category around a latitude and longitude, with optional radius and result limits. Built for maps, travel, and local discovery.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| GET | `https://api.eu.apyhub.com/dosvak/nearby-places-by-category` | What it does Returns nearby places for a specified category around the provided latitude and longit… | 100 |

## Examples

### Find Nearby Places

#### Quickstart

Find nearby places for a category using your latitude, longitude, and category as query parameters.

```bash
curl -X GET "https://api.eu.apyhub.com/dosvak/nearby-places-by-category?lat=34.0522&lon=-118.2437&category=restaurant" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

Returns a JSON object containing the search input, matching nearby places, the total number of results, and related metadata.

```json
{
  "input": {
    "lat": 34.0522,
    "lon": -118.2437,
    "category": "restaurant",
    "radius_m": 1000,
    "limit": 5
  },
  "count": 5,
  "results": [
    {
      "name": "Señor Fish",
      "category": "restaurant",
      "distance_m": 132.72
    }
  ],
  "attribution": [
  ]
}
```

## About

## What it does
Nearby Places returns places in a chosen category around a latitude and longitude. Send a `lat`, `lon`, and `category`, and you can also set `limit` and `radius_m` to control how many results come back and how far from the point to search.

Use Nearby Places when you need location-aware results without building your own place search layer. A delivery app can look up nearby restaurants, a travel app can surface attractions around a hotel, and a local directory can filter relevant businesses around a user’s current position.

The request schema is simple: `lat` and `lon` define the center point, `category` selects the type of place, `limit` caps the result count, and `radius_m` sets the search radius in meters. The response schema is generic and may include additional fields, so treat it as a place search payload rather than a fixed record shape.

Nearby Places fits well anywhere you need category-based nearby search from coordinates, with predictable query parameters and a straightforward geolocation workflow.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/nearby-places-by-category
