---
title: "Hemnet API: Counts | Perceptlayer"
description: "Counts from Hemnet as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/hemnet/counts
---

[APIs](https://perceptlayer.com/apis) / [Hemnet](https://perceptlayer.com/apis/hemnet) / Counts

# Hemnet: Counts

Counts from Hemnet as JSON. 1 credit per successful call.

GET `/v1/hemnet/counts`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `for_sale_location_ids` | string | Optional | Up to 500 characters |
| `upcoming_location_ids` | string | Optional | Up to 500 characters |
| `sold_location_ids` | string | Optional | Up to 500 characters |

## Example request

Hemnet

GET /v1/hemnet/counts?for\_sale\_location\_ids=18031 

```
{
  "success": true,
  "data": {
    "for_sale": 2831,
    "upcoming": 5432,
    "sold": 1652353
  },
  "meta": {
    "duration_ms": 430,
    "endpoint_family": "hemnet.counts"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/hemnet?try=counts#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `for_sale` | integer |
| `upcoming` | integer |
| `sold` | integer |
