# Farmers markets in California

**Use case:** 

Scrape every California farmers market from the USDA directory: name, address, phone, email, website, SNAP status & lead score. Export to CSV.

## Input

```json
{
  "directories": [
    "farmersmarket"
  ],
  "states": [
    "CA"
  ],
  "radiusMiles": 50,
  "acceptsSnap": false,
  "acceptsWic": false,
  "acceptsFmnp": false,
  "organicOnly": false,
  "certifiedOrganicOnly": false,
  "hasEmail": false,
  "hasPhone": false,
  "hasWebsite": false,
  "hasAnyContact": false,
  "includeContacts": true,
  "includeFirmographics": true,
  "includeRawFields": false,
  "sortBy": "leadScore",
  "maxResults": 1000,
  "maxSearchCalls": 90,
  "monitorMode": false,
  "monitorStateKey": "default",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "listingName": {
    "label": "Listing",
    "format": "text"
  },
  "directoryName": {
    "label": "Type",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "stateAbbr": {
    "label": "State",
    "format": "text"
  },
  "email": {
    "label": "Email",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "acceptsSnap": {
    "label": "SNAP",
    "format": "boolean"
  },
  "isCertifiedOrganic": {
    "label": "Certified organic",
    "format": "boolean"
  },
  "leadScore": {
    "label": "Lead score",
    "format": "number"
  },
  "profileUrl": {
    "label": "USDA listing",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [USDA Local Food & Farmers Market Leads Scraper](https://apify.com/scrapesage/usda-local-food-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/usda-local-food-scraper) to learn more, explore other use cases, and run it yourself.