# Farmers Markets In Los Angeles Photos on Google Maps

**Use case:** 

Find farmers markets in Los Angeles and collect public photo rows for each matching place. Results include photo links, business names, addresses, coordinates and place categories for local directories and market listings. Change searchQueries to explore another area or place type, or adjust maxPlacesPerQuery to return more matches.

## Input

```json
{
  "mode": "search",
  "placeUrls": [
    "https://www.google.com/maps/place/Empire+State+Building/@40.7484405,-73.9878584,17z/data=!3m1!4b1!4m6!3m5!1s0x89c259a9b3117469:0xd134e199a405a163!8m2!3d40.7484405!4d-73.9878584!16zL20vMDJfMjg2"
  ],
  "searchQueries": [
    "farmers markets in Los Angeles"
  ],
  "maxPlacesPerQuery": 5,
  "maxPhotos": 20,
  "photoCategory": "photos",
  "enrichDetails": true,
  "language": "en",
  "imageSize": "original",
  "minWidth": 0,
  "minHeight": 0
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "photoId": {
    "label": "Photo ID",
    "format": "text"
  },
  "photoIndex": {
    "label": "Position",
    "format": "number"
  },
  "photoUrl": {
    "label": "Photo URL",
    "format": "link"
  },
  "thumbnailUrl": {
    "label": "Thumbnail",
    "format": "link"
  },
  "businessName": {
    "label": "Place",
    "format": "text"
  },
  "placeId": {
    "label": "Place ID",
    "format": "text"
  },
  "featureId": {
    "label": "Feature ID",
    "format": "text"
  },
  "placeUrl": {
    "label": "Place url"
  },
  "category": {
    "label": "Category"
  },
  "mediaType": {
    "label": "Media",
    "format": "text"
  },
  "isVideo": {
    "label": "Video",
    "format": "boolean"
  },
  "isStreetView": {
    "label": "Street View",
    "format": "boolean"
  },
  "photosComplete": {
    "label": "Complete",
    "format": "boolean"
  },
  "stopReason": {
    "label": "Stop reason",
    "format": "text"
  },
  "advertisedCount": {
    "label": "Advertised count",
    "format": "number"
  },
  "placePhotoIndex": {
    "label": "Source position",
    "format": "number"
  },
  "collectedCount": {
    "label": "Collected",
    "format": "number"
  },
  "contributorName": {
    "label": "Contributor",
    "format": "text"
  },
  "contributorUrl": {
    "label": "Contributor URL",
    "format": "link"
  },
  "contributorId": {
    "label": "Contributor ID",
    "format": "text"
  },
  "contributorAvatarUrl": {
    "label": "Contributor avatar url"
  },
  "isOwnerPhoto": {
    "label": "Owner photo",
    "format": "boolean"
  },
  "uploadDate": {
    "label": "Uploaded",
    "format": "datetime"
  },
  "uploadDateOriginal": {
    "label": "Uploaded (display)",
    "format": "text"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "aspectRatio": {
    "label": "Aspect ratio"
  },
  "orientation": {
    "label": "Orientation"
  },
  "latitude": {
    "label": "Latitude"
  },
  "longitude": {
    "label": "Longitude"
  },
  "videoUrl": {
    "label": "Video URL",
    "format": "link"
  },
  "videoDuration": {
    "label": "Video length",
    "format": "text"
  },
  "videoDurationSeconds": {
    "label": "Video duration seconds"
  },
  "caption": {
    "label": "Caption"
  },
  "tags": {
    "label": "Tags"
  },
  "placeCategory": {
    "label": "Place category",
    "format": "text"
  },
  "placeCategories": {
    "label": "Place categories"
  },
  "placeAddress": {
    "label": "Place address"
  },
  "searchQuery": {
    "label": "Search query",
    "format": "text"
  },
  "sourceUrl": {
    "label": "Source url"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "datetime"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Maps Photo Gallery Extractor by Category Actor is ready to run with the inputs already set for "Farmers Markets In Los Angeles Photos on Google Maps". [Sign up or log in](https://console.apify.com/create-task-from-example/zDA4cM8UFwWGG50Od) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Farmers Markets In Los Angeles Photos on Google Maps" task

The Google Maps Photo Gallery Extractor by Category Actor will start running based on the input automatically. You can also change all the input fields, like mode, place urls or ids, and more, to match your specific use case.

### 3. Receive the "Farmers Markets In Los Angeles Photos on Google Maps" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, photo id, position, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Farmers Markets In Los Angeles Photos on Google Maps" task via API](https://apify.com/nimbryxo-studio/google-maps-photo-gallery-extractor-by-category.md).

## FAQ

### How can I find photos of farmers markets in Los Angeles?

The Los Angeles market photos task searches for farmers markets in Los Angeles and returns public Google Maps photo rows for matching places.

### What information do I get with Los Angeles farmers market photos?

Each row in the Los Angeles market photos task can include photo links, business name, address, coordinates, place categories, contributor details and upload date when published.

### How many photos can I get for each Los Angeles farmers market?

The Los Angeles market photos task is set to return up to 20 photos per place; Google may provide fewer in its public sample.

### How many farmers markets can this search return?

The Los Angeles market photos task is set to take up to 5 matching places for its search query.

### Can I search another area or place type for Google Maps photos?

Change the search phrase in the Los Angeles market photos task to explore another area or place type, such as coffee shops in another city.

### How much does a run of the Los Angeles market photos task cost?

On the Free plan, the Los Angeles market photos task's result charge is at most $0.02 for up to 20 results, plus Apify platform compute usage.

### How can I download or access the farmers market photo results?

Results from the Los Angeles market photos task land in a dataset downloadable as JSON, CSV, Excel, XML, RSS or an HTML table, or readable through the Apify API.

## About this Actor

This example demonstrates how to use [Google Maps Photo Gallery Extractor by Category](https://apify.com/nimbryxo-studio/google-maps-photo-gallery-extractor-by-category.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nimbryxo-studio/google-maps-photo-gallery-extractor-by-category.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/nimbryxo-studio/google-maps-photo-gallery-extractor-by-category.md

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`).
