DuckDuckGo Maps Place Results API

The DuckDuckGo Maps Place Results API allows a user to scrape the results of a DuckDuckGo Maps search. SerpApi is able to make sense of this information and extract a place_results object.

This object can contain title, website, displayed_link, type, description, facts, thumbnail, gps_coordinates, source (containing source ID or AUID for Apple Maps), profiles and more.

API Examples

JSON structure overview

{
  "place_results": {
    "title": "String - Title of the result",
    "website": "String - Website of the result",
    "displayed_link": "String - Displayed link of the result",
    "gps_coordinates": {
      "latitude": "Float - Latitude of the result",
      "longitude": "Float - Longitude of the result"
    },
    "description": "String - Description of the local result",
    "type": "String - Type of the result",
    "source": [
      {
        "name": "String - Source name",
        "place_id": "String - Source ID"
      },
      ...
    ],
    "thumbnail": "String - Thumbnail of the result",
    "facts": {
      "fact label": "String - Fact value",
    },
    "profiles": {
      "profile as key": "String - Link to the profile of the result",
    }
    "related_topics": [
      {
        "query": "String - Title of the topic",
        "link": "String - Link of the topic"
      },
    ]
  }
}

Example with q: London

Example with q: London

JSON Example

  "place_results": {
    "title": "London",
    "website": "https://www.visitlondon.com/",
    "displayed_link": "visitlondon.com",
    "gps_coordinates": {
      "latitude": -0.0793965,
      "longitude": 51.5033466
    },
    "description": "London is the capital and largest city of England and the United Kingdom, with a population of just under 9 million. It stands on the River Thames in south-east England at the head of a 50-mile estuary down to the North Sea and has been a major settlement for two millennia. The City of London, its ancient core and financial centre, was founded by the Romans as Londinium and retains its mediaeval boundaries. The City of Westminster, to the west of the City of London, has for centuries hosted the national government and parliament. Since the 19th century, the name \"London\" also refers to the metropolis around this core, historically split between the counties of Middlesex, Essex, Surrey, Kent, and Hertfordshire, which since 1965 has largely comprised Greater London, which is governed by 33 local authorities and the Greater London Authority.",
    "type": "location",
    "source": [
      {
        "name": "Wikipedia",
        "link": "https://en.wikipedia.org/wiki/London"
      }
    ],
    "thumbnail": "https://duckduckgo.com/i/900fba2d.jpeg",
    "facts": {
      "sovereign_state": "United Kingdom",
      "country": "England",
      "region": "London (Greater London)",
      "ceremonial_counties": "Greater London (ceremonial county), City of London",
      "local_government_districts": "32 London boroughs, and the City of London",
      "settled_by_romans": "AD 47, as Londinium",
      "type": "Executive mayoralty and deliberative assembly within unitary constitutional monarchy",
      "body": "Greater London Authority • Mayor Sadiq Khan (L) • London Assembly",
      "london_assembly": "14 constituencies",
      "uk_parliament": "73 constituencies",
      "total": "8,799,800",
      "urban_2011": "9,787,426",
      "metro_2023": "14,800,000 (London metropolitan area)",
      "city_of_london": "8,600",
      "time_zone": "Greenwich Mean Time (64px",
      "summer_dst": "British Summer Time (UTC+1)",
      "budget": "£19.376 billion, ($ Undefined year \"2019\" billion)",
      "international_airports": "Inside London, Heathrow (LHR), City (LCY), Outside London, Gatwick (LGW), Stansted (STN), Luton (LTN), Southend (SEN)",
      "rapid_transit_system": "London Underground",
      "police": "Metropolitan (county of Greater London), City of London (City of London square mile)",
      "ambulance": "London",
      "fire": "London",
      "geo_tld": "london"
    },
    "profiles": {
      "twitter": "https://twitter.com/ldn_gov",
      "instagram": "https://instagram.com/ldn_gov",
      "facebook": "https://facebook.com/LDNgov"
    },
    "related_topics": [
      {
        "query": "London Category",
        "link": "https://duckduckgo.com/c/London"
      },
      {
        "query": "Outline of England - The following outline is provided as an overview of and topical guide to England: England is a country that is part of the United Kingdom.",
        "link": "https://duckduckgo.com/Outline_of_England"
      },
      {
        "query": "Greater London",
        "link": "https://duckduckgo.com/c/Greater_London"
      },
      {
        "query": "Staple ports",
        "link": "https://duckduckgo.com/c/Staple_ports"
      },
      {
        "query": "British capitals",
        "link": "https://duckduckgo.com/c/British_capitals"
      },
      {
        "query": "1st-century establishments in Roman Britain",
        "link": "https://duckduckgo.com/c/1st-century_establishments_in_Roman_Britain"
      },
      {
        "query": "Populated places established in the 1st century",
        "link": "https://duckduckgo.com/c/Populated_places_established_in_the_1st_century"
      },
      {
        "query": "Capitals in Europe",
        "link": "https://duckduckgo.com/c/Capitals_in_Europe"
      }
    ]
  }