# Photo Location Finder (`seemuapps/image-to-location`) Actor

Identify the real-world location of any photo using AI — extract coordinates, country, city, landmarks, and reasoning from a single image.

- **URL**: https://apify.com/seemuapps/image-to-location.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 115 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $25.00 / 1,000 sucessful location founds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Photo Location Finder

Find where any photo was taken - no EXIF GPS needed. Get the exact place name, latitude/longitude, country, region, city, recognized landmarks, and the visual clues that led to the answer.

### What you get

- **locationName** - concise human-readable place ("Eiffel Tower from Pont de l'Alma, Paris, France")
- **country**, **region**, **city** - administrative breakdown when known
- **latitude**, **longitude** - best-guess coordinates of the camera position
- **confidence** - `high` (specific spot), `medium` (city/region), or `low` (country/continent)
- **landmarks** - array of recognized landmarks visible in the frame
- **reasoning** - short explanation of the cues used (architecture, signage, vegetation, license plates, sun angle…)
- **alternativeGuesses** - runner-up candidates with their own coordinates and confidence
- **googleMapsUrl** - convenience link straight to the coordinates

### Use cases

- **OSINT and journalism** - verify where a photo or video frame was taken
- **Travel content** - auto-tag photo libraries with the exact location
- **Real estate and insurance** - confirm a listing or claim photo's location
- **Stock photo enrichment** - fill in missing geographic metadata at scale
- **Investigative research** - pinpoint a scene from background details alone

### How to use

1. Upload one or more photos in the **Images** field (max 10 per run)
2. Run the actor - results appear in the **Dataset** tab, one record per image

Images are processed in parallel, so 10 images take roughly the same wall time as 1.

### Output format

One dataset record per image:

```json
{
  "inputImageUrl": "https://api.apify.com/v2/key-value-stores/.../records/photo.jpg",
  "locationName": "Shibuya Center Gai, Tokyo, Japan",
  "country": "Japan",
  "region": "Tokyo",
  "city": "Tokyo",
  "latitude": 35.6598,
  "longitude": 139.6996,
  "confidence": "high",
  "landmarks": ["Shibuya Center Gai"],
  "reasoning": "The identification is confirmed by a prominent sign reading '渋谷センター街' (Shibuya Center-gai), a famous pedestrian shopping street in Tokyo. The dense neon signage, Japanese script, and crowded urban atmosphere are all characteristic of the Shibuya district.",
  "alternativeGuesses": [
    { "locationName": "Kabukicho, Shinjuku, Tokyo, Japan", "latitude": 35.6941, "longitude": 139.7003, "confidence": "medium" },
    { "locationName": "Dotonbori, Osaka, Japan", "latitude": 34.6687, "longitude": 135.501, "confidence": "medium" }
  ],
  "googleMapsUrl": "https://www.google.com/maps?q=35.6598,139.6996",
  "status": "success",
  "error": null
}
```

### Limits

- Up to **10 images per run**.
- Accuracy is highest for outdoor scenes with visible signage, recognizable architecture, or known landmarks. Indoor photos and featureless rural shots are hardest.
- Performance is somewhat stronger for densely-photographed regions (North America, Europe, East Asia) than for less-photographed parts of the world.

### Related AI image actors

Part of a complete AI image toolkit - explore the rest of the suite:

- [AI Image Background Remover](https://apify.com/seemuapps/image-background-remover) - Remove backgrounds to clean transparent PNGs
- [AI Image Upscaler](https://apify.com/seemuapps/image-upscaler) - Batch-upscale images to 4K or 8K
- [AI Image Watermark Remover](https://apify.com/seemuapps/image-watermark-remover) - Remove text and logo watermarks from images
- [AI Image Captioner](https://apify.com/seemuapps/image-captioner) - Generate text descriptions for any image
- [Image OCR Scraper](https://apify.com/seemuapps/image-ocr-scraper) - Extract text from images in 109 languages

# Actor input Schema

## `imageFiles` (type: `array`):

Upload up to 10 photos to geolocate. Each photo returns its own dataset record with location, coordinates, landmarks, and reasoning.

## Actor input object example

```json
{
  "imageFiles": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/640px-Tour_Eiffel_Wikimedia_Commons.jpg"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

One record per image: inputImageUrl, locationName, country, region, city, latitude, longitude, confidence, landmarks, reasoning, alternativeGuesses, googleMapsUrl, status (success|error), error.

# 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 = {
    "imageFiles": [
        "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/640px-Tour_Eiffel_Wikimedia_Commons.jpg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/image-to-location").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 = { "imageFiles": ["https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/640px-Tour_Eiffel_Wikimedia_Commons.jpg"] }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/image-to-location").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 '{
  "imageFiles": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/640px-Tour_Eiffel_Wikimedia_Commons.jpg"
  ]
}' |
apify call seemuapps/image-to-location --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/image-to-location"
        }
    }
}
```

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/XrLUQasRG4ucVhPcW/builds/Rkx5J5ZBaT71dhnPL/openapi.json
