Skip to main content
The /v1/farms/:id/hours endpoint returns operating hours for a specific farm.
GET https://api.bhumifarms.co/v1/farms/:id/hours
This endpoint requires a paid tier API key. Free tier keys receive 403 Forbidden.

Parameters

id
string
required
The farm’s unique identifier (UUID).

Example request

curl "https://api.bhumifarms.co/v1/farms/abc123-def456/hours" \
  -H "X-API-Key: bh_live_your_key_here"

Example response

{
  "data": {
    "farm_id": "abc123-def456",
    "farm_name": "Prairie Farmstead",
    "hours": {
      "monday": "8:00 AM - 5:00 PM",
      "tuesday": "8:00 AM - 5:00 PM",
      "wednesday": "8:00 AM - 5:00 PM",
      "thursday": "8:00 AM - 5:00 PM",
      "friday": "8:00 AM - 6:00 PM",
      "saturday": "9:00 AM - 3:00 PM",
      "sunday": "Closed"
    }
  }
}

Response fields

farm_id
string
The farm’s unique identifier.
farm_name
string
The farm’s display name.
hours
object | null
Operating hours keyed by day of week. Returns null if the farm has not provided hours data.
Hours data comes from Google Places or direct farmer input. Not all farms have hours data — null means hours have not been collected yet, not that the farm is closed.