Google Street View Panorama Scraper avatar

Google Street View Panorama Scraper

Pricing

from $0.05 / panorama (low res)

Go to Apify Store
Google Street View Panorama Scraper

Google Street View Panorama Scraper

Fetches Google Street View tiles for a location and stitches them into a single panorama image. No API key required!

Pricing

from $0.05 / panorama (low res)

Rating

5.0

(1)

Developer

Jindřich Bär

Jindřich Bär

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Street View Panorama Scraper

An Apify actor that fetches Google Street View tiles for a given coordinate, stitches them into a single equirectangular panorama (JPEG), and stores the image plus its address metadata.

Both official Google Street View imagery and user-contributed photo spheres are supported. Photo spheres often have a smaller native resolution than full Google panoramas, so the actor reads each panorama's imageWidth/imageHeight from metadata and computes the per-panorama max zoom — the requested q is clamped down accordingly so the output is always a complete image.

Example

{
"lat": 40.7579787,
"lon": -73.9881175,
"q": 3
}
ImageLocationLatitudeLongitude
1560, Broadway, Manhattan, New York, New York County, United States, 1003640.75846516956224-73.98532660198624

Input

FieldTypeRequiredDefaultDescription
latnumberyesLatitude in decimal degrees, range -9090, e.g. 50.0696892.
lonnumberyesLongitude in decimal degrees, range -180180, e.g. 14.4487853.
qintegerno3Tile zoom level, 05. Higher = more tiles fetched (~4× per step). Capped at the panorama's own native max zoom.

Example:

{
"lat": -8.910389095292661,
"lon": -140.10269950082167,
"q": 3
}

Quality levels

The exact tile count depends on the panorama's native resolution. For a standard Google panorama (16384×8192 px):

qTile grid (max)Output size (max)
01×1512×512 px
12×11024×512 px
24×22048×1024 px
38×44096×2048 px
416×88192×4096 px

User-contributed photo spheres are typically smaller and will be returned at their native resolution if q exceeds it.

Output

Key-value store The stitched panorama is stored as streetview_<panoId>_z<q>.jpg.

Dataset One row per run, with the following fields:

FieldTypeDescription
imageUrlstringPublic URL of the panorama JPEG in the key-value store.
locationstring?Human-readable address joined from the panorama's address components.
latnumberLatitude of the actual panorama (snapped to the nearest pano).
lonnumberLongitude of the actual panorama (snapped to the nearest pano).

Example:

{
"imageUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/<pano-key>.jpg",
"location": "3VQW+VRR, Taioha'e, Nuku Hiva, Marquesas Islands, French Polynesia",
"lat": -8.910389095292661,
"lon": -140.10269950082167
}

Notes

  • The metadata search radius is 500 m. If the coordinate is far from any indexed panorama the run fails with no Street View panorama near this location.
  • Tiles that 404 (occasionally seen near the seams of partial panoramas) are skipped so the rest of the image still renders.
  • Output is a flat equirectangular JPEG; pair it with a panorama viewer (e.g. pannellum, marzipano) for an interactive 360° experience.