# SNAP Retailer Scraper — Stores, Locations & Categories (`felixgoldwin/snap-retailer-scraper`) Actor

Export current USDA SNAP retailer listings with store names, categories, addresses, ZIP codes, coordinates and incentive program details. Filter by state, city, ZIP, type or name.

- **URL**: https://apify.com/felixgoldwin/snap-retailer-scraper.md
- **Developed by:** [Felix GoldWin](https://apify.com/felixgoldwin) (community)
- **Categories:** Lead generation, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 retailers

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

### What does SNAP Retailer Scraper do?

**Export current USDA SNAP retailer listings** with store names, categories, addresses, ZIP codes, coordinates and published incentive-program details. This Actor turns the [USDA Food and Nutrition Service public retailer dataset](https://www.arcgis.com/home/item.html?id=8b260f9a10b0459aa441ad8588c2251c) into an Apify dataset for downloads, scheduled exports and API integrations.

Filter by state, city, ZIP code, store category, name or USDA record ID. Each run saves up to **100,000 unique retailer records**, with a default of 100. With no filters, it searches the national directory.

The data represents the source's current published directory. It does not provide physical store opening dates, historical authorization events, phone numbers or email addresses. A new or missing listing alone does not establish that a business has opened or closed.

### Why use a SNAP retailer dataset?

- **Retail prospect research:** identify grocery stores, convenience stores, supermarkets and other listed businesses by geography.
- **Distribution and territory planning:** build store-location lists and compare categories across ZIP codes and counties.
- **Retail software and payments research:** segment public business locations for further qualification.
- **Food-access research:** export retailer categories and coordinates for mapping and analysis.
- **Recurring exports:** schedule runs in Apify and compare USDA record IDs in your own workflow.

The Actor uses the official public data service. No source account, cookies, proxy or API key are supplied. Public-service availability and the source's publication cycle still affect results.

### How to export SNAP retailers

1. Choose optional states, cities, ZIP codes or store categories in the Input tab.
2. Set **Maximum results**. Start with 100 to inspect the output.
3. Run the Actor and open its dataset.
4. Download JSON, CSV, Excel or HTML, or use the API tab for integrations.
5. Check the separate **SUMMARY** record for coverage, request limits and source warnings.

California grocery stores and supermarkets:

```json
{
  "states": ["CA"],
  "storeTypes": ["Grocery Store", "Supermarket"],
  "maxItems": 1000
}
```

Selected ZIP codes, preserving a leading zero:

```json
{
  "zipCodes": ["02108", "10001"],
  "maxItems": 500
}
```

### What data is returned?

| Field | Description |
| --- | --- |
| `recordId` | USDA `Record_ID`, used to deduplicate the run and match records across exports. |
| `objectId` | ArcGIS row ID used for retrieval; do not treat it as a permanent business ID. |
| `storeName`, `storeType` | Published store name and category. |
| `streetAddress`, `additionalAddress` | Public business address. |
| `city`, `state`, `zipCode`, `zip4`, `county` | Location details; ZIP codes remain strings. |
| `latitude`, `longitude` | Source coordinates where valid and available. |
| `incentiveProgram`, `granteeName` | Published incentive-program details, where available. |
| `source`, `sourceUrl`, `recordUrl` | Attribution, official dataset page and source-record link. |
| `sourceUpdatedAt` | Dataset update time, not an individual store's opening or authorization date. |
| `scrapedAt` | Time the Actor collected the record. |

Missing optional values are `null`. These excerpts from two source records show common fields; full records include the remaining fields above:

```json
[
  {
    "recordId": 1708688,
    "objectId": 17,
    "storeName": "Cielo Supermarket Pittsburg",
    "storeType": "Supermarket",
    "streetAddress": "1375 Buchanan Rd",
    "city": "Pittsburg",
    "state": "CA",
    "zipCode": "94565",
    "latitude": 37.999111,
    "longitude": -121.87244
  },
  {
    "recordId": 1708407,
    "objectId": 18,
    "storeName": "Galt Grocery Outlet 615",
    "storeType": "Super Store",
    "streetAddress": "10570 Twin Cities Rd",
    "city": "Galt",
    "state": "CA",
    "zipCode": "95632",
    "latitude": 38.290653,
    "longitude": -121.29858
  }
]
```

### Input and filters

See the Input tab for full configuration. Every filter is optional. **Different fields combine with AND; alternatives within a list combine with OR.** Two states and two categories return either selected category within either selected state.

| Input | Behavior |
| --- | --- |
| `states` | Two-letter U.S. state or territory codes. Codes without source records return no matches. |
| `cities` | Up to 25 complete city names, ignoring case. Pair with `states` to disambiguate names. |
| `zipCodes` | Up to 100 five-digit strings. Do not use numbers or ZIP+4 values. |
| `storeTypes` | Any of the eight official categories listed below. |
| `nameContains` | Case-insensitive literal substring, up to 150 characters. Percent signs and underscores are literal, not wildcards. |
| `recordIds` | Up to 100 numeric USDA IDs, such as `[1708688]`. These are not ArcGIS ObjectIds. Other filters still apply. |
| `maxItems` | Global result cap: default 100, maximum 100,000. |
| `maxRequests` | Source HTTP attempts, including retries: default 250, maximum 1,000. |

Official categories: **Convenience Store, Farmers and Markets, Grocery Store, Other, Restaurant Meals Program, Specialty Store, Super Store, and Supermarket**. Restaurant Meals Program listings do not imply that every SNAP recipient is eligible for that program.

Searches use fixed fields and escaped values. Arbitrary URLs, SQL expressions and proxy settings are not accepted.

### Pricing

**$0.001 per saved retailer record ($1 per 1,000)** plus **$0.005 per run start**, with platform usage included in these event prices.

| Saved records | Results plus one run start |
| --- | --- |
| 100 | $0.105 |
| 1,000 | $1.005 |
| 10,000 | $10.005 |

You pay per record actually saved; there is no minimum purchase of 1,000 results. Duplicates within a run, missing records and SUMMARY are not charged as results. A run that starts and finds no matches still incurs the run-start fee. Your Apify charge limit can stop a run before `maxItems` is reached. See the Pricing tab for configured events.

### Coverage and recurring runs

The Actor discovers matching source row IDs, then retrieves records in batches. Exports can exceed one source response. Results are deduplicated by USDA `recordId`, and incomplete coverage or detected source changes appear in SUMMARY.

The result cap is a maximum, not a guarantee. Source outages, unmatched filters, changed listings, unavailable records, request budgets and charge limits can reduce output. A low request budget may finish before any retailer batch is retrieved. National results can exceed the 100,000-record cap; split larger exports into state or ZIP-code runs.

The upstream directory can change during a run, so an export is not a transactional snapshot. The Actor checks source metadata and reports detected updates. The dataset timestamp does not prove that each listing was independently reverified at that time.

Schedule repeated exports to refresh your own directory. This version does not store historical snapshots or automatically classify authorization changes, openings or closures. Match exports using `recordId`, retain collection dates and verify material changes with the official source.

### FAQ and support

**Does this return every SNAP retailer?** It returns matching records available from the current public source, subject to run limits. The source may have publication delays or missing fields.

**Does it include contact emails, phones or shoppers?** No. It exports public business-location fields. It does not access SNAP recipient records or individual benefit information.

**Can I look up a previous retailer?** Put its numeric `recordId` in `recordIds`. An absent result means it was not returned by the current source and filters; it is not proof of business closure.

**Why is my result empty?** Check combined filters, complete city names, five-digit ZIP codes and official category names. Review SUMMARY for errors and limits.

This independent tool uses USDA Food and Nutrition Service data and is not affiliated with or endorsed by USDA. Report problems in the Issues tab with the run link and non-sensitive input. Use the API tab for programmatic access.

# Actor input Schema

## `states` (type: `array`):

Two-letter U.S. state or territory codes, such as CA or NY. Empty means no state filter. A valid geographic code does not guarantee source records exist there.

## `cities` (type: `array`):

Up to 25 city names. Matches the complete city name, ignoring case. Combine with states to distinguish cities sharing a name. Empty means no city filter.

## `zipCodes` (type: `array`):

Up to 100 five-digit ZIP code strings, retaining leading zeroes (for example 02108). Matches the main ZIP code; do not enter ZIP+4. Empty means no ZIP filter.

## `storeTypes` (type: `array`):

Official USDA category labels. Select any matching category; empty includes all categories. Restaurant Meals Program listings do not imply every SNAP recipient can use that program.

## `nameContains` (type: `string`):

Optional literal store-name text, matched without case sensitivity. Percent signs and underscores are literal characters, not wildcards. Other selected filters still apply. Up to 150 characters.

## `recordIds` (type: `array`):

Optional list of up to 100 numeric Record_ID values from earlier exports, for example \[1708688]. These are not ArcGIS ObjectId values. Other selected filters still apply. Empty means no ID filter.

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

Maximum unique retailer records saved in this run. Empty filters search the national directory. Actual results may be lower because of matches, source changes, your request budget or your Apify charge limit.

## `maxRequests` (type: `integer`):

Maximum source HTTP attempts, including retries. Requests are sequential. Retailers are fetched in batches after discovering matching source IDs. Lower budgets can produce partial exports.

## Actor input object example

```json
{
  "states": [],
  "cities": [],
  "zipCodes": [],
  "storeTypes": [],
  "nameContains": "",
  "recordIds": [],
  "maxItems": 100,
  "maxRequests": 250
}
```

# Actor output Schema

## `retailers` (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("felixgoldwin/snap-retailer-scraper").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("felixgoldwin/snap-retailer-scraper").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 felixgoldwin/snap-retailer-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,felixgoldwin/snap-retailer-scraper"
        }
    }
}
```

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/NaiCMeGI1d49VPYt7/builds/FCTkAu3y4X2h3yXhQ/openapi.json
