public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

[Google Maps API] Split `address` field into components

Open alexbarron opened this issue 11 months ago • 1 comments

A potential customer asked about splitting Google Maps API address components into separate fields. We currently return the whole address as a single field:

"address": "72 W 38th St, New York, NY 10018".

The potential customer is interested in getting the data back as something like:

{
  "street": "72 W 38th St",
  "city": "New York",
  "state": "NY",
  "zip": "10018",
  "country": "US"
}

This may be out of scope for us; especially since Google Maps doesn't split up the address. I wanted to report this anyway in case we could support it.

Image

Public links: Playground

Internal links: Intercom

alexbarron avatar Jan 30 '25 14:01 alexbarron

Another customer requested this:

Intercom

sonika-serpapi avatar Nov 13 '25 17:11 sonika-serpapi