---
title: "Get duplicate listings for a location"
method: GET
path: "/locations/{locationId}/listings/duplicates"
tags: ["Listings"]
---

# Get duplicate listings for a location

`GET /locations/{locationId}/listings/duplicates`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/locations/{locationId}/listings/duplicates`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/locations/:locationId/listings/duplicates/get.ts> (a function with typed inputs; its response is checked against the schema)

This API retrieves all duplicate listings identified for a specific location across various directories.

## Path parameters

- `locationId` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Response `200`

Duplicate listings retrieved successfully

- object
  - `data` object
    - `duplicateListingsForLocation` object[]
      - `primaryListingUrl` string: URL of the primary business listing
      - `siteId` string: Unique identifier for the directory site
      - `siteName` string: Name of the directory site
      - `siteUrl` string: Base URL of the directory site
      - `duplicateListings` object[]
        - `addressValid` boolean: Indicates if the address matches the primary listing
        - `city` string: City name
        - `street` string: Street address
        - `state` string, nullable: State/province code
        - `postalCode` string: Postal/ZIP code
        - `phone` string, nullable: Phone number
        - `phoneValid` boolean: Indicates if the phone number matches the primary listing
        - `name` string: Business name
        - `nameValid` boolean: Indicates if the business name matches the primary listing
        - `duplicateProcessingState` 'POTENTIAL': Current state of duplicate processing
        - `liveLink` string: URL of the duplicate listing
        - `id` string: Unique identifier for the duplicate listing
        - `countryCode` string, nullable: ISO country code

## Other responses

- `400`: Bad request - invalid location ID
- `401`: Unauthorized - invalid or missing API key
- `403`: Forbidden - insufficient permissions
- `404`: Location not found

---

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