The bakeries resource exposes active bakeries registered on the platform. You can list all bakeries, search by proximity using latitude and longitude, or fetch a specific bakery by its ID. Listing and nearby search are public; fetching by ID requires a Firebase auth token.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AndrewwCO/Panahashi/llms.txt
Use this file to discover all available pages before exploring further.
GET /bakeries — fetchBakeries()
Returns all active bakeries. No authentication required.
This endpoint is public. No
Authorization header is needed.Response fields
Unique bakery identifier.
Display name of the bakery.
Street address of the bakery.
Whether the bakery is currently accepting orders.
Opening time in
HH:mm format.Closing time in
HH:mm format.Average customer rating (1–5).
Example
GET /bakeries/nearby — fetchNearbyBakeries(lat, lng, radius)
Returns bakeries within a given radius of the supplied coordinates. No authentication required.
This endpoint is public. No
Authorization header is needed.Request parameters
Latitude of the search origin point.
Longitude of the search origin point.
Search radius in kilometres. Defaults to
5.Response fields
Returns an array of bakery objects with the same shape asfetchBakeries().
Example
GET /bakeries/:id — fetchBakeryById(id)
Returns a single bakery by its ID. Requires Firebase authentication.
Request parameters
The unique identifier of the bakery to fetch.
Response fields
Returns a single bakery object with the same shape asfetchBakeries().