# Google Street View Live Query Actor (`scrapeai/google-livestreet-view`) Actor

Discover real native Street View panorama IDs and camera coordinates from a location query, verify actual JPEG thumbnails and retain source identity/byte evidence. Public metadata/thumbnail mode without provider API key.

- **URL**: https://apify.com/scrapeai/google-livestreet-view.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does this Street View Actor do?

Discover **real native Street View panorama IDs and camera coordinates** from a location query. Each dataset item is one genuine panorama with an actual fetched JPEG thumbnail, byte hash and decoded pixel dimensions. Business listing cards and ordinary place photos never become panorama records. Apify provides API access, scheduling, monitoring, downloadable datasets and source-image evidence. The supported public metadata/thumbnail mode requires no provider API key.

### Why use it?

Collect panorama previews associated with source-matched public places for location research and imagery availability checks. Camera coordinates come from the panorama metadata, not the business point. Source-native image URLs, gallery indexes, associated place IDs and verified bytes make provenance inspectable. No capture date or image ownership is inferred from undocumented flags.

### How to use it

1. Enter query, such as landmarks in London.
2. Choose hl and gl. These are source representation parameters; gl is not a hard geographic boundary.
3. Set maxItems and minItems. Use ten genuine panoramas for a verification run.
4. Start and inspect the dataset, JPEG records and run summary. Download JSON, HTML, CSV or Excel.

### Input

The Input tab documents query, language/region, timeout and record caps. Nested actorInput is supported, with every cap validated and the smallest enforced globally. This native mode uses direct public HTTPS. It does not switch identities/routes after denial, use a browser, or call private/authenticated imagery APIs. A native source query page supplies up to20 place candidates; source availability and duplicate panos may reduce the returned count. Exhaustive place-search pagination is not implemented.

### Output

Each row includes panoramaId, latitude, longitude, thumbnailUrl, actual imageWidth/imageHeight/imageBytes, imageSha256, nativeGalleryIndex and source keys. associatedPlace describes the actual source association, not the camera position. nativeDisplayDimensions is the source display box and may differ from decoded JPEG dimensions because of rounding. panoramaUrl is explicitly derived using Google's documented Maps URL scheme and the actual native pano ID. Source-backed user Photospheres may appear; no unsupported creator/Google-owned attribution is asserted.

### Data table

| Field | Meaning |
| --- | --- |
| panoramaId | Actual source panorama ID |
| latitude/longitude | Native camera point, never a substituted business point |
| imageSha256 | Actual fetched image bytes |
| imageRecordKey | Same-run stored JPEG thumbnail |
| sourceRecordKey | Same-run native place response |

### Pricing and performance

Native query/place/image GET requests are bounded and paced at least one second after responses per origin, respecting robots policies. Your Apify plan covers cloud compute and storage. No paid proxy or provider API key is used. The API request frame comes from the actual source UI with ephemeral request context removed; no source cookie, nonce, login or challenge state is replayed.

### Tips and limits

Distinct panorama IDs and image content are deduplicated. A missing native panorama is not filled with an ordinary photo or guessed image URL. JPEG dimensions and hashes are checked before publishing data. This is verified public metadata and thumbnail reading, not a full stitched360 export, capture-history API or authenticated imagery integration. Missing capture dates remain absent.

### FAQ, disclaimers and support

Use publicly available or authorized imagery responsibly. Links and thumbnails can change as the provider refreshes imagery; retrieval time is not capture time. Source denial, challenge/non-JSON responses, mismatched identities and insufficient real output fail explicitly. Images/content are never executed as code. Report reproducible source changes through Issues.

# Actor input Schema

## `query` (type: `string`):

Actual native Maps query used to discover places, then Street View panorama imagery. Does not treat business cards as panoramas.

## `hl` (type: `string`):

Native Google interface language.

## `gl` (type: `string`):

Two-letter native source region parameter, not a guaranteed geographic boundary.

## `maxItems` (type: `integer`):

Global cap on distinct panorama IDs and image content.

## `minItems` (type: `integer`):

Fail rather than pad with business listings or ordinary photos.

## `requestTimeoutSecs` (type: `integer`):

Seconds per direct source request; no source-denial retries.

## `actorInput` (type: `object`):

Optional nested query/cap fields. All outer and nested caps are validated; the smallest applies.

## Actor input object example

```json
{
  "query": "landmarks in London",
  "hl": "en",
  "gl": "gb",
  "maxItems": 10,
  "minItems": 10,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/google-livestreet-view").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/google-livestreet-view").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call scrapeai/google-livestreet-view --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/google-livestreet-view"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/S2C6HFamyX2DpM2UP/builds/HRUk0bronCGt8MWxi/openapi.json
