/v1/food endpoint lets you search for farms starting from a product name rather than a location. Ask “who sells raw milk?” and optionally scope by geography.
Parameters
The product to search for. Case-insensitive. Example:
raw milk, pastured eggs, grass-fed beef.Latitude for geo-scoped results. Must be paired with
lng.Longitude for geo-scoped results. Must be paired with
lat.Search radius in miles when using lat/lng. Minimum
1, maximum 100.Filter by US state. Accepts full names or abbreviations (e.g.,
TX or Texas). Used when no lat/lng is provided.Page number. Minimum
1.Results per page. Minimum
1, maximum 100.Example request
Example response
Difference from /v1/search
/v1/food | /v1/search | |
|---|---|---|
| Required | product | lat + lng |
| Starting point | Product name | Location |
| Use case | ”Who sells raw milk?" | "What farms are near me?” |
| Default radius | 50 mi | 25 mi |