---
title: "Return price aggregation for nearby rentals around given lat and lng in 50 miles radius."
method: GET
path: "/pricing/aggregate"
tags: ["pricing"]
---

# Return price aggregation for nearby rentals around given lat and lng in 50 miles radius.

`GET /pricing/aggregate`

## Request

- Base URL: `https://api.outdoorsy.com/v0`
- URL: `https://api.outdoorsy.com/v0/pricing/aggregate`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `API-Key`
- TypeScript: <https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/docs/pricing/aggregate/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `lat` number, double
- `lng` number, double

## Response `200`

HTTP status code 200

- object
  - `max_price` number, double
  - `min_price` number, double
  - `rental_count` integer

## Other responses

- `400`: Invalid input or state means you're bad

---

[API](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation.md) - [All operations](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/revisions/f0cf8f605ea0?raw)
