Search

Search for duplicate places

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.

post/search/duplicates

Request body

titlestring required
descriptionstring required
latnumber double required

Geographic latitude (in degrees)

lngnumber double required

Geographic longitude (in degrees)

streetstring
zipstring
citystring
countrystring
statestring
contact_namestring

The full name of a person.

emailstring

An e-mail address.

telephonestring
homepagestring
opening_hoursstring

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_onstring date

The date on which an organization, initiative, or company has been founded or established.

categoriesstring[]
tagsTag[]
image_urlstring
image_link_urlstring
licensestring

Example request

{
  "lat": 37.2,
  "lng": 120.7,
  "contact_name": "John Smith",
  "email": "john.smith@example.com",
  "telephone": "001 123456789",
  "homepage": "https://www.slowtec.de/",
  "opening_hours": "24/7",
  "founded_on": "1945-10-24",
  "tags": [
    "organic",
    "non-profit"
  ],
  "image_url": "https://www.slowtec.de/",
  "image_link_url": "https://www.slowtec.de/",
  "links": [
    {
      "url": "https://www.slowtec.de/"
    }
  ],
  "license": "ODbL-1.0"
}

Response

Successful response

idstring

Identifier of a resource

status'created' | 'confirmed' | 'rejected' | 'archived'
  • created = initial status of each revision
  • confirmed/rejected = after positive/negative review
  • archived = final status
latnumber double

Geographic latitude (in degrees)

lngnumber double

Geographic longitude (in degrees)

titlestring
descriptionstring
categoriesstring[]
tagsTag[]

Example response

[
  {
    "id": "7cee99c287094a94acbdcf29ffff2e85",
    "status": "rejected",
    "lat": 37.2,
    "lng": 120.7,
    "tags": [
      "organic",
      "non-profit"
    ]
  }
]

Changes

Changed in 7 of the 50 revisions of this API.142121

    • the request property allOf[NewEntry]/categories became optional

      request-property-became-optional

    • the request property allOf[NewEntry]/tags became optional

      request-property-became-optional

    • the request property allOf[subschema #2]/license became optional

      request-property-became-optional

    • the request property allOf[NewEntry]/links became optional

      request-property-became-optional

    • the request property allOf[NewEntry]/categories became required

      request-property-became-required

    • the request property allOf[NewEntry]/links became required

      request-property-became-required

    • the request property allOf[NewEntry]/tags became required

      request-property-became-required

  • 0f937697c561120See the full diff
    • added NewEntry subschema #2 to the request body allOf list

      request-body-all-of-added

    • removed the request property categories

      request-property-removed

    • removed the request property city

      request-property-removed

    • removed the request property contact_name

      request-property-removed

    • removed the request property country

      request-property-removed

    • removed the request property description

      request-property-removed

    • removed the request property email

      request-property-removed

    • removed the request property founded_on

      request-property-removed

    • removed the request property homepage

      request-property-removed

    • removed the request property image_link_url

      request-property-removed

    • removed the request property image_url

      request-property-removed

    • removed the request property lat

      request-property-removed

    • removed the request property links

      request-property-removed

    • removed the request property lng

      request-property-removed

    • removed the request property opening_hours

      request-property-removed

    • removed the request property state

      request-property-removed

    • removed the request property street

      request-property-removed

    • removed the request property tags

      request-property-removed

    • removed the request property telephone

      request-property-removed

    • removed the request property title

      request-property-removed

    • removed the request property zip

      request-property-removed

    • added PersonFullName to the contact_name request property allOf list

      request-property-all-of-added

    • the contact_name request property type/format changed from string/ to /

      request-property-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • bca9ebb2d24a43See the full diff
    • added Email to the email request property allOf list

      request-property-all-of-added

    • added Phone to the telephone request property allOf list

      request-property-all-of-added

    • the email request property type/format changed from string/ to /

      request-property-type-changed

    • the telephone request property type/format changed from string/ to /

      request-property-type-changed

    • added the new optional request property contact_name

      new-optional-request-property

    • added the new optional request property founded_on

      new-optional-request-property

    • the email request property's minLength was decreased from 3 to 0

      request-property-min-length-decreased

  • ddfd4e39c98d4114See the full diff
    • added the new required request property description

      new-required-request-property

    • added the new required request property lat

      new-required-request-property

    • added the new required request property lng

      new-required-request-property

    • added the new required request property title

      new-required-request-property

    • removed NewEntry subschema #2 from the request body allOf list

      request-body-all-of-removed

    • added the new optional request property categories

      new-optional-request-property

    • added the new optional request property city

      new-optional-request-property

    • added the new optional request property country

      new-optional-request-property

    • added the new optional request property email

      new-optional-request-property

    • added the new optional request property homepage

      new-optional-request-property

    • added the new optional request property image_link_url

      new-optional-request-property

    • added the new optional request property image_url

      new-optional-request-property

    • added the new optional request property links

      new-optional-request-property

    • added the new optional request property opening_hours

      new-optional-request-property

    • added the new optional request property state

      new-optional-request-property

    • added the new optional request property street

      new-optional-request-property

    • added the new optional request property tags

      new-optional-request-property

    • added the new optional request property telephone

      new-optional-request-property

    • added the new optional request property zip

      new-optional-request-property

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog