---
title: "DEPRECATED - Get Location's Data Point Statistics"
method: GET
path: "/locations/{id}/datapoints/statistics"
tags: ["Locations Data"]
deprecated: true
---

# DEPRECATED - Get Location's Data Point Statistics

`GET /locations/{id}/datapoints/statistics`

> **Deprecated.**

Deprecated. Use [`GET /data-points/statistics`](https://docs.uberall.com/apis/swagger/data-points/get_data_points_statistics) instead.

## Path parameters

- `id` string, required

## Query parameters

- `dataPointTypes` string[]
- `directoryTypes` string[]
- `ratings` string[]
- `minActionDate` string
- `maxActionDate` string
- `minThreadActionDate` string
- `maxThreadActionDate` string

## Response `200`

Success

- object
  - `status` 'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE', required
  - `message` string — (optional) Holds further information about the response
  - `warnings` string[] — (optional) Holds further warnings
  - `response` object, required — Datapoint statistics response Model
    - `totalCount` integer — Total number of datapoints
    - `photoCount` integer — Number of photos
    - `postCount` integer — Number of posts
    - `reviewCount` integer — Number of reviews
    - `checkinCount` integer — Number of checkins
    - `questionCount` integer — Number of questions
    - `ratingCount` integer — Number of ratings
    - `unreadCount` integer — Number of unread datapoints
    - `pendingApprovalCount` integer — Number of replies pending approval
    - `averageRating` number, float — Average rating obtained
    - `directories` object — Breakdown by directory

## Other responses

- `400` — Bad Request - The request was invalid or cannot be otherwise served
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - The request is understood, but has been refused or access is not allowed
- `404` — Not Found - The requested resource could not be found

---

[API](https://skmtc.net/uberall/apis/uberall-api.md) · [All operations](https://skmtc.net/uberall/apis/uberall-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uberall/uberall-api/versions/d7f6012aeb0d/schema)
