Skip to main content

Lightweight Stats Endpoint for Location Reputation Metrics

We are building a standalone business directory (WordPress-based) and need a lightweight way to retrieve essential reputation metrics without fetching full review data.

For this use case, the existing reviews.index endpoint is too heavy, since we only require aggregated metrics, not individual reviews.

Requested Functionality

A new endpoint such as:

GET /location/{id}/stats 

This endpoint should return the core reputation metrics for a given location, allowing daily server-side syncs via cron job.
This is critical for integrating EMR data into external systems without overfetching.

Needed Fields

We only need three aggregated values:

  1. total_review_count
    Total number of reviews across all connected sources.

  2. average_rating
    Combined rating (e.g. 4.7).

  3. total_sources
    Number of connected platforms (e.g. 2 for Google + Facebook).

Example Response Payload

{ "location_id": "UUID-EXAMPLE-123", "total_review_count": 128, "average_rating": 4.7, "total_sources": 2 } 

Why this is useful

  • Enables efficient server-side synchronization for external business directory listings

  • Reduces load by avoiding full review fetching

  • Ideal for use cases where only summary reputation metrics are required

  • Improves developer experience when integrating EMR with third-party systems

We would love to see this added, as it would make data syncing significantly easier and more resource-friendly.

Status: In Progress

Log in to comment and vote

No comments yet

Be the first to share your thoughts.