---
title: "Search for duplicate places"
method: POST
path: "/search/duplicates"
tags: ["Search"]
---

# Search for duplicate places

`POST /search/duplicates`

Search for similar places that might be duplicates of a
given place.

Currently only the geographical location and title and are
considered to find similar, already existing entries in
the database.

Returns a list of possible duplicates for the given place.

## Request body

- NewEntryWithLicense
  - `title` string, required
  - `description` string, required
  - `lat` number, double, required — Geographic latitude (in degrees)
  - `lng` number, double, required — Geographic longitude (in degrees)
  - `street` string
  - `zip` string
  - `city` string
  - `country` string
  - `state` string
  - `contact_name` string — The full name of a person.
  - `email` string — An e-mail address.
  - `telephone` string
  - `homepage` string
  - `opening_hours` string — The opening hours in OpenStreetMap format. Specification: https://wiki.openstreetmap.org/wiki/Key:opening_hours Reference implementations: https://github.com/opening-hours/ Generator tool: https://projets.pavie.info/yohours/ The service trims leading/trailing whitespaces and stores values as is. Values are currently not validated against the OSM format syntax!
  - `founded_on` string, date — The date on which an organization, initiative, or company has been founded or established.
  - `categories` string[]
  - `tags` Tag[]
  - `image_url` string
  - `image_link_url` string
  - `links` CustomLink[] — An unordered list of custom links. The ordering of list items may change between different revisions even if this list has not been modified. Don't make any assumptions about a particular ordering!
    - `url` string, required
    - `title` string
    - `description` string
  - `license` string

## Response `200`

Successful response

- SearchEntry[]
  - `id` string — Identifier of a resource
  - `status` 'created' | 'confirmed' | 'rejected' | 'archived' — * created = initial status of each revision * confirmed/rejected = after positive/negative review * archived = final status
  - `lat` number, double — Geographic latitude (in degrees)
  - `lng` number, double — Geographic longitude (in degrees)
  - `title` string
  - `description` string
  - `categories` string[]
  - `tags` Tag[]
  - `ratings` AvgRatings — All average ratings of an entry.
    - `total` number
    - `diversity` number
    - `fairness` number
    - `humanity` number
    - `renewable` number
    - `solidarity` number
    - `transparency` number

## Changes

- **2021-08-08** `fdad7ffe4059` — 3 info
  - the request property `allOf[#/components/schemas/NewEntry]/categories` became optional
  - the request property `allOf[#/components/schemas/NewEntry]/tags` became optional
  - the request property `allOf[subschema #2]/license` became optional
- **2021-08-08** `36db91c22909` — 1 info
  - the request property `allOf[#/components/schemas/NewEntry]/links` became optional
- **2021-08-08** `faa932c519e7` — 3 breaking
  - the request property `allOf[#/components/schemas/NewEntry]/categories` became required
  - the request property `allOf[#/components/schemas/NewEntry]/links` became required
  - the request property `allOf[#/components/schemas/NewEntry]/tags` became required
- **2021-08-08** `0f937697c561` — 1 breaking, 20 warning
  - added `#/components/schemas/NewEntry, subschema #2` to the request body `allOf` list
  - removed the request property `categories`
  - removed the request property `city`
  - removed the request property `contact_name`
  - …17 more
- **2020-08-15** `ff081f133dc6` — 2 breaking
  - added `#/components/schemas/PersonFullName` to the `contact_name` request property `allOf` list
  - the `contact_name` request property type/format changed from `string`/`` to ``/``

[Full history](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api/changes/search/duplicates/post.md)

---

[API](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api.md) · [All operations](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kartevonmorgen/openfairdb-api/revisions/4c454390b099/schema)
