Discover/foodpantries API
live

foodpantries APIfoodpantries.org

Access food pantry listings across all US states via 7 endpoints. Search by address, browse by state, city, or county, and retrieve full pantry details.

Endpoint health
verified 4d ago
get_states
get_pantries_by_city
get_pantries_by_state
get_pantries_by_county
get_pantry_details
7/7 passing latest checkself-healing
Endpoints
7
Updated
26d ago

What is the foodpantries API?

The foodpantries.org API provides access to food pantry listings across the United States through 7 endpoints covering state, city, county, and individual pantry data. The get_pantry_details endpoint returns a pantry's name, address, phone, email, website, operating hours, description, and a Q&A section. You can also search geographically with search_pantries_by_address or browse the directory hierarchy from state down to individual listing.

Try it

No input parameters required.

api.parse.bot/scraper/e357eb17-8a49-4462-b671-9274c6c098dd/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e357eb17-8a49-4462-b671-9274c6c098dd/get_states' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace foodpantries-org-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Food Pantries SDK — find pantries by state, city, county, and search."""
from parse_apis.food_pantries_api import FoodPantries, StateAbbr, PantryNotFound

client = FoodPantries()

# List all US states with food pantry coverage
for state in client.states.list(limit=5):
    print(state.name, state.slug)

# Drill into California's cities
ca = client.state(slug="california")
city = ca.cities(limit=1).first()
if city:
    print(city.name, city.count, city.state_abbr)

    # Get pantries in that city
    for pantry in city.pantries(state_abbr=StateAbbr.CA, limit=3):
        print(pantry.name, pantry.telephone)

# Search pantries by location
result = client.pantrysummaries.search(city="Houston", state="TX", limit=1).first()
if result:
    # Drill into full pantry details
    try:
        detail = result.details()
        print(detail.name, detail.phone, detail.hours)
    except PantryNotFound as exc:
        print(f"Pantry not found: {exc.pantry_slug}")

# Browse by county
for pantry in client.pantrysummaries.by_county(state_abbr=StateAbbr.CA, county_slug="orange", limit=3):
    print(pantry.name, pantry.detail_url)

# Check latest additions
latest = client.latestadditions.list(limit=3).first()
if latest:
    print(latest.name, latest.slug)

print("exercised: states.list / state.cities / city.pantries / pantrysummaries.search / details / by_county / latestadditions.list")
All endpoints · 7 totalmissing one? ·

Returns all US states that have food pantry listings. Each state includes its display name, URL slug for further drilling, and full URL. Use state slugs with get_pantries_by_state to list cities within a state.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "total": "integer count of states",
    "states": "array of state objects with name, slug, and url"
  },
  "sample": {
    "data": {
      "total": 51,
      "states": [
        {
          "url": "https://www.foodpantries.org/st/california",
          "name": "California",
          "slug": "california"
        },
        {
          "url": "https://www.foodpantries.org/st/texas",
          "name": "Texas",
          "slug": "texas"
        }
      ]
    },
    "status": "success"
  }
}

About the foodpantries API

Directory Browsing

The API exposes a three-level geographic hierarchy. get_states returns all US states that have listings, including each state's name, slug, and url. From a state slug you call get_pantries_by_city with a state_abbr and city_slug to get every pantry in that city, each with name, address, telephone, slug, and detail_url. The parallel endpoint get_pantries_by_county accepts a state_abbr and county_slug (without the _county suffix) and returns the same pantry-level fields organized by county.

Pantry Detail

get_pantry_details takes a pantry_slug from any listing result and returns the full record: structured address with separate street, city, state, and zip fields; phone; email; website; hours; description; and a qa array of question-and-answer pairs that capture additional service details published on the pantry's listing page. Fields like email, website, and hours return an empty string when the pantry has not provided that information.

Address Search and Latest Additions

search_pantries_by_address accepts any combination of address, city, and state (at least one required) and returns a ranked list of matching pantries with name, slug, and detail_url. Results are shallow — use the slug with get_pantry_details to retrieve full contact and hours information. get_latest_additions requires no inputs and returns the most recently added listings from the homepage, each with name, detail_url, slug, and image_url.

Reliability & maintenanceVerified

The foodpantries API is a managed, monitored endpoint for foodpantries.org — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when foodpantries.org changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official foodpantries.org API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a food assistance locator app that resolves a user's street address to nearby pantries using search_pantries_by_address.
  • Populate a county-level resource map by iterating get_pantries_by_county for each county in a state.
  • Display pantry hours and contact info in a social services case management platform via get_pantry_details.
  • Track newly listed pantries by polling get_latest_additions and pushing updates to a community newsletter.
  • Generate a city-by-city coverage report by pulling get_pantries_by_state and inspecting the count field per city.
  • Feed a nonprofit CRM with verified addresses, phone numbers, and websites pulled from pantry detail records.
  • Cross-reference pantry Q&A data from get_pantry_details to surface eligibility requirements for specific client populations.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does foodpantries.org offer an official developer API?+
No. foodpantries.org does not publish a public developer API or documentation for programmatic access to its listings.
What does `get_pantry_details` return beyond a basic address?+
get_pantry_details returns the pantry's structured address (with separate street, city, state, and zip fields), phone, email, website, hours, a free-text description, and a qa array of question-and-answer pairs that capture additional service or eligibility details. Fields with no data are returned as empty strings rather than null.
Are pantry operating hours and eligibility requirements always available?+
Not always. The hours and email fields return an empty string when the source listing omits that information, and the qa array may be empty for pantries with minimal published details. Coverage depends on what each pantry has submitted to foodpantries.org.
Does the API support filtering pantries by service type, language, or dietary restrictions?+
Not currently. The API returns name, address, contact fields, hours, description, and Q&A content but does not expose structured filters for service type, language, or dietary criteria. You can fork this API on Parse and revise it to parse those attributes from the description and qa fields if the source data contains them.
Does `search_pantries_by_address` return full pantry details in its response?+
No. The search results include only name, slug, and detail_url per pantry. To retrieve address, phone, hours, and other fields you need to pass each result's slug to get_pantry_details. You can fork this API on Parse and revise it to chain that lookup automatically if you need enriched search results in a single call.
Page content last updated . Spec covers 7 endpoints from foodpantries.org.
Related APIs in Government PublicSee all →
feedingamerica.org API
Find nearby food banks by ZIP code or state, view detailed organizational profiles and leadership information, and access hunger statistics and news about food insecurity across the nation. Discover ways to take action and support local food banks through giving options and impact metrics.
fdc.nal.usda.gov API
Search across thousands of foods to get detailed nutritional information, serving sizes, and ingredient data from USDA's comprehensive food database. Find nutrition facts for branded products, legacy foods, and foundation foods all in one place.
pnp.co.za API
Search for groceries, browse products by category, and discover current specials at Pick n Pay stores, while accessing detailed product information, store locations, and fresh produce availability all in one place.
farmersfridge.com API
Access Farmer's Fridge menu data, product details, kiosk locations, and real-time inventory. Browse the full menu or filter by category, retrieve nutrition facts and allergens for individual products, list kiosk locations by access or location type, and check live stock counts at any specific fridge.
instacart.com API
Search for grocery products across multiple retailers, view store locations and availability, and access detailed product information including prices and descriptions. Find the best deals and nearest stores offering the items you need.
aplaceformom.com API
Search and compare senior care facilities across the country, view detailed information about specific facilities, read resident reviews, and explore state-level senior care overviews. Access comprehensive data on facility types, pricing, availability, contact information, and ratings.
naco.org API
Search and explore detailed U.S. county government information, including profiles, economic indicators, funding data, and research resources all in one place. Quickly access bulk county statistics and NACo insights to support planning, analysis, and decision-making at the local government level.
findmeglutenfree.com API
Search for gluten-free friendly restaurants, cafes, chains, and airports worldwide, and get detailed information about their menus, celiac-friendly features, and ratings. Find nearby dining options by location, discover the best-rated chains, and browse businesses organized by city, state, or country.