---
title: "Google Place ID, CID and Feature ID: Find and Convert"
description: "What ChIJ place IDs, CIDs and 0x feature IDs are, how to find them in any Google Maps link, and how to convert one into the others with one API call."
url: https://scrapemapsapi.com/blog/google-maps-place-id-cid-feature-id
markdown: https://scrapemapsapi.com/blog/google-maps-place-id-cid-feature-id.md
published: "2026-11-25"
updated: "2026-11-25"
---

# Google Maps Place ID, CID and Feature ID Explained

Published 2026-11-25.

To find a Google place ID, open the place on Google Maps, copy the link, and either use Google's Place ID Finder page or send the link to an API that resolves it. The place ID is the string that starts with `ChIJ`, but it is only one of three identifiers Google uses for the same place: there is also the CID, a long decimal number, and the feature ID, written `0x…:0x…`. They all point to the same business, and once you know how they relate you can convert one into the others in a single call. This guide explains what each identifier is, where you can see it in a Google Maps link, and how to go from any link to all three.

## The three identifiers at a glance

| Identifier | Looks like | Where you meet it |
|---|---|---|
| Place ID | `ChIJ8cLgoQNUKhMReGlaTjwrH40` | Official Places API, Google's developer tools |
| CID | `10168894021638449528` | `maps.google.com/?cid=…` links, Google Business Profile |
| Feature ID | `0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978` | Inside the `data=` part of full Google Maps URLs |

The examples in this article belong to a fictional Florence restaurant we use throughout the [ScrapeMapsAPI documentation](https://scrapemapsapi.com/docs.md), so you can paste them into the examples below and see the shape of the answers.

### Place ID

The place ID is the identifier of the official Google Maps Platform. Every Places API response carries one, the Maps JavaScript API uses it, and Google recommends storing it as the key of a place: it is one of the few pieces of Places API content the terms let you keep indefinitely. Most place IDs of businesses start with `ChIJ`. A few other prefixes exist, for example for areas and routes, but for shops, restaurants and offices you will almost always see `ChIJ`.

Google warns that place IDs can change over time, for instance when a business moves or listings are merged, and that an old ID can stop working. If you store them for years, refresh them now and then: an API that answers `place_not_found` for an ID tells you it is time.

### CID

The CID, or customer ID, is the older identifier of a Google Maps listing. It is a 64-bit number written in decimal, and you can open any place directly with it: `https://www.google.com/maps?cid=10168894021638449528`. Google Business Profile tools and many local SEO platforms use the CID because it has been stable for a long time and is easy to share. If you build links to listings in emails or reports, the CID link is the shortest reliable one.

### Feature ID

The feature ID is the form Google Maps itself uses internally. It is two hexadecimal numbers separated by a colon, and it appears inside the long URLs you get when you open a place in the browser, after `!1s` in the `data=` segment:

```text
https://www.google.com/maps/place/Trattoria+Da+Neri/@43.7681,11.258,17z/data=!4m6!3m5!1s0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978
```

Here is the useful part: the second half of the feature ID is the CID written in hexadecimal. `0x8d1f2b3c4e5a6978` converted to decimal is `10168894021638449528`. And the place ID is not random either: it is an encoding of the two halves of the feature ID. That is why a conversion between the three does not need a lookup on Google's side in most cases, only some arithmetic.

## How to find the identifier of a place

There are several ways, depending on what you start from.

- From the browser address bar: open the place on Google Maps and look for `!1s0x` in the URL. Everything from `0x` up to the next `!` is the feature ID.
- From a share link: links like `https://maps.app.goo.gl/x7Qp2Nf9TzVb8LkE6` hide everything behind a redirect. Open it, or let an API follow the redirect for you.
- From Google's Place ID Finder: the official developer documentation has a page where you search for a place on a map and it shows the place ID. Fine for one place, tedious for a hundred.
- From a business name: search for it and read the identifiers of the result.
- From the CID: if a tool or a client gives you a `?cid=` link, the number after it is the CID.

You can verify the CID half of a feature ID with two lines of Python, no API needed:

```python
feature_id = "0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978"
print(int(feature_id.split(":")[1], 16))  # 10168894021638449528, the CID
```

## Convert any link or ID with one API call

The ScrapeMapsAPI [resolve endpoint](https://scrapemapsapi.com/docs/api.md#resolve) takes any of these inputs and returns all three identifiers plus a canonical Google Maps URL: a place ID, a CID, a feature ID, a full Google Maps URL or a `maps.app.goo.gl` short link. It costs 1 credit per call, like every other endpoint.

```bash
curl "https://api.scrapemapsapi.com/v1/places/resolve?input=https%3A%2F%2Fmaps.app.goo.gl%2Fx7Qp2Nf9TzVb8LkE6" \
  -H "X-API-Key: $SCRAPEMAPSAPI_API_KEY"
```

```json
{
  "data": {
    "place_id": "ChIJ8cLgoQNUKhMReGlaTjwrH40",
    "cid": "10168894021638449528",
    "feature_id": "0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978",
    "google_maps_url": "https://www.google.com/maps?cid=10168894021638449528"
  },
  "meta": { "credits_used": 1, "cached": false }
}
```

Remember to URL-encode the input when it is a link, as above; the `-G --data-urlencode` options of cURL do it for you. Here is the same in Python, converting a whole column of links from a spreadsheet:

```python
import os
import time

import requests

API = "https://api.scrapemapsapi.com/v1"
KEY = os.environ["SCRAPEMAPSAPI_API_KEY"]


def resolve(value):
    while True:
        r = requests.get(f"{API}/places/resolve", params={"input": value},
                         headers={"X-API-Key": KEY}, timeout=30)
        if r.status_code == 429:
            time.sleep(int(r.headers.get("Retry-After", "60")))
            continue
        if r.status_code == 400:
            return None  # not a link to a single place
        r.raise_for_status()
        return r.json()["data"]


links = [
    "https://maps.app.goo.gl/x7Qp2Nf9TzVb8LkE6",
    "https://www.google.com/maps?cid=10168894021638449528",
]
for link in links:
    ids = resolve(link)
    print(link, "->", ids["place_id"] if ids else "not a place")
```

And in JavaScript with the native `fetch` of Node 18 or later (save it as `resolve.mjs` so top-level `await` works):

```javascript
const API = 'https://api.scrapemapsapi.com/v1';

async function resolve(input) {
  const url = `${API}/places/resolve?input=${encodeURIComponent(input)}`;
  const res = await fetch(url, { headers: { 'X-API-Key': process.env.SCRAPEMAPSAPI_API_KEY } });
  if (!res.ok) throw new Error(`${res.status}: ${JSON.stringify((await res.json()).detail)}`);
  return (await res.json()).data;
}

console.log(await resolve('0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978'));
```

If the input is not a link to one place, for example a search URL or a link to a whole city, the API answers 400 with the error code `invalid_place_id` and you are not charged. A short link that cannot be followed answers 502 `proxy_error`, also free. The [errors page](https://scrapemapsapi.com/docs/errors.md) lists every code.

## You often do not need to convert at all

Every ScrapeMapsAPI endpoint that takes a place accepts all three forms directly. [Place details](https://scrapemapsapi.com/google-maps-place-details-api.md) and [reviews](https://scrapemapsapi.com/google-maps-reviews-api.md) work with `ChIJ8cLgoQNUKhMReGlaTjwrH40`, with `10168894021638449528` and with `0x132a5403a1e0c2f1:0x8d1f2b3c4e5a6978` alike:

```bash
curl "https://api.scrapemapsapi.com/v1/places/10168894021638449528/reviews?sort=newest&limit=20" \
  -H "X-API-Key: $SCRAPEMAPSAPI_API_KEY"
```

So the resolve call is only needed when you start from a URL, in particular a short link, or when you want to store all three identifiers. Search results already include all of them: every place in a search response has an `ids` object with `place_id`, `cid`, `feature_id` and `google_maps_url`.

## Which identifier should you store?

For most projects, store the place ID as your primary key and the CID next to it.

- The place ID is what the official Places API and Google's mapping libraries speak, so it keeps your data compatible if you ever combine sources.
- The CID gives you the shortest link to the listing and is what many local SEO and reputation tools use.
- The feature ID is handy for debugging Google Maps URLs, but you rarely need to keep it: you can rebuild its second half from the CID.

Two caveats. Some places returned by search have no place ID known to us, in which case `id` and `ids.place_id` are null and the CID and feature ID are still there; your schema should allow that. And when you deduplicate places from several searches, compare CIDs or feature IDs rather than names: two branches of a chain share a name, never an identifier. The [lead generation guide](https://scrapemapsapi.com/blog/google-maps-lead-generation.md) uses exactly this to merge overlapping searches.

## Where to go next

With identifiers in hand you can pull everything else: [download every review with Python](https://scrapemapsapi.com/blog/scrape-google-maps-reviews-python.md), or [set up alerts for new reviews](https://scrapemapsapi.com/blog/monitor-google-reviews-alerts-nodejs.md) on your own locations. To try the identifiers without code, paste a Google Maps link into the [free reviews tool](https://scrapemapsapi.com/google-maps-reviews-scraper.md). An account gives you 200 free calls a month: [sign up](https://scrapemapsapi.com/auth/sign-up) and the first resolve calls are on us.

## FAQ

### What is a Google place ID?

A place ID is the identifier Google Maps Platform gives every place, a text string that usually starts with ChIJ for businesses. The official Places API and Google's mapping libraries use it, and Google allows you to store it as the key of a place.

### What is the difference between a CID and a place ID?

Both identify the same Google Maps listing. The CID is an older 64-bit number written in decimal and used in maps?cid= links and Google Business Profile tools; the place ID is the newer text identifier of the developer platform. They can be converted into each other.

### How do I find the place ID from a Google Maps link?

Send the link to a resolve API, which follows short links and reads the identifiers in the URL, or open the link in a browser and use Google's Place ID Finder to look the place up again. A full Google Maps URL also contains the feature ID after !1s, from which the place ID can be computed.

### Can a Google place ID change?

Yes. Google says place IDs can change, for example when a business moves or listings are merged. Refresh stored IDs from time to time, and treat a not-found error for an old ID as a signal to look the place up again by name or CID.

### Do I need the place ID to get reviews or details?

No. The ScrapeMapsAPI details and reviews endpoints accept a place ID, a CID or a feature ID directly, so you can use whichever one you have. Only a URL or a short link needs a resolve call first.
