---
title: "Get total record count of addresses"
method: POST
path: "/MAK/doCount"
tags: ["MAK"]
---

# Get total record count of addresses

`POST /MAK/doCount`

This endpoint gets the total record count returned using the required and optional properties passed in. This endpoint does not count against the package usage.

## Headers

- `Accept` 'application/json' | '*/*', required
- `Content-Type` 'application/json', required

## Request body

- RequestMAKDoCount
  - `CustomerID` string, required — The [License Key](https://docs.melissa.com/melissa/license/license-information.html) issued by Melissa.
  - `Includes` MAKIncludes, required — Any parameter you would like to include in the query. Requires at least one from: - Zips - Cities - Radius - ShapeWKTs
    - `Zips` object[] — A list of Zips objects containing Zip codes and optionally Plus4.
      - `Zip` string, required
      - `Plus4` string
    - `Cities` object[] — A list of cities objects each containing City and State.
      - `City` string, required
      - `State` string, required
    - `Radius` Radius — A Radius object containing a Latitude, Longitude, and Distance represented in miles.
      - `Latitude` number, required
      - `Longitude` number, required
      - `Distance` number, required
    - `ShapeWKTs` string[] — A list of WKT polygon strings
    - `RBDI` string[] — A list of RBDI codes.
    - `POBoxStyleAddress` boolean[] — The status for POBoxStyleAddress
    - `ZipIncludedIn3553` boolean[] — The status for ZipIncludedIn3553
    - `DropInd` boolean[] — The status for DropInd
    - `Throwback` boolean[] — The status for Throwback
    - `DeliveryDaysFlag` boolean[] — The status for DeliveryDaysFlag
    - `NonDeliveryDaysFlag` boolean[] — The status for NonDeliveryDaysFlag
    - `NoStatInd` boolean[] — The status for NoStatInd
    - `NoSecureLocation` boolean[] — The status for NoSecureLocation
    - `DoorNotAccessible` boolean[] — The status for DoorNotAccessible
    - `FalseTable` boolean[] — The status for FalseTable
    - `BaseRecord` boolean[] — The status for BaseRecord
    - `NonUSPS` boolean[] — The status for NonUSPS
    - `GeoLevel` string[] — The status for GeoLevel
    - `CommercialMailReceivingAgency` boolean[] — The status for CommercialMailReceivingAgency
  - `Excludes` MAKExcludes — Any parameter you would like to exclude in the query.
    - `Zips` object[] — A list of Zips objects containing Zip codes and optionally Plus4.
      - `Zip` string, required
      - `Plus4` string
    - `Cities` object[] — A list of cities objects each containing City and State.
      - `City` string, required
      - `State` string, required
    - `RBDI` string[] — A list of RBDI codes.
    - `POBoxStyleAddress` boolean[] — The status for POBoxStyleAddress
    - `ZipIncludedIn3553` boolean[] — The status for ZipIncludedIn3553
    - `DropInd` boolean[] — The status for DropInd
    - `Throwback` boolean[] — The status for Throwback
    - `DeliveryDaysFlag` boolean[] — The status for DeliveryDaysFlag
    - `NonDeliveryDaysFlag` boolean[] — The status for NonDeliveryDaysFlag
    - `NoStatInd` boolean[] — The status for NoStatInd
    - `NoSecureLocation` boolean[] — The status for NoSecureLocation
    - `DoorNotAccessible` boolean[] — The status for DoorNotAccessible
    - `FalseTable` boolean[] — The status for FalseTable
    - `BaseRecord` boolean[] — The status for BaseRecord
    - `NonUSPS` boolean[] — The status for NonUSPS
    - `GeoLevel` string[] — The status for GeoLevel
    - `CommercialMailReceivingAgency` boolean[] — The status for CommercialMailReceivingAgency

## Response `200`

Successful response

- ResponseDoCount
  - `Count` integer — Number of records returned by the query.
  - `JobId` string — The JobId to be used to purchase and access the full dataset.
  - `ResultCode` string — Success or Error codes based on the response/request.
  - `Message` string — Success or Error message associated with the result code.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/melissa/apis/data-retriever.md) · [All operations](https://skmtc.dev/melissa/apis/data-retriever/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/melissa/data-retriever/revisions/5eb8fbc33099/schema)
