<!--
{
  "documentType" : "article",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/displaying-place-information-using-the-maps-embed-api",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Displaying place information using the Maps Embed API"
}
-->

# Displaying place information using the Maps Embed API

Show place information on a map using a URL.

## Discussion

You can use the Maps Embed API to show information about a place within the context of a map by copying an HTML snippet onto your website. This is a minimal code approach to showcasing place information. All you need is the following:

1. The ID for your place. See <doc://com.apple.documentation/documentation/MapKit/identifying-unique-locations-with-place-ids> for more information about Place IDs, or find one with [Place ID Lookup](https://developer.apple.com/maps/place-id-lookup).
2. Your API token. See [Creating a Maps token](/documentation/MapKitJS/creating-a-maps-token) for more information on how to request a token.

Once you have these items, create the HTML snippet using [Create a Map](https://developer.apple.com/maps/create-a-map/), then copy the resulting HTML snippet and paste it onto your website.

Alternatively, you can construct the snippet yourself by manually adjusting the URL parameters in the snippet’s `src` attribute.

> Note:
> For greater control over the presentation style of the Place Card and map, use ``doc://com.apple.mapkitjs/documentation/MapKitJS/PlaceDetail``.

![A screenshot showing the Place Card for the Apple Park Visitor Center above a map of the area. The hours of operation, website, phone number, and address are in the Place Card.](images/com.apple.mapkitjs/displaying-place-information-using-the-maps-embed-api-01@2x.png)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)