Clinic Locations

GET {{baseUrl}}/experimental/health/v0/clinics?filter.id=989898&filter.postalCode=45202&filter.radiusInMiles=10&page.size=1&page.offset=0

Provides access to clinic locations within a specified radius (default radius is ten miles) around a geographic location. One of the three following sets of parameters are required:

  • filter.postalCode
  • filter.latLng
  • filter.lat and filter.lng

Request Params

KeyDatatypeRequiredDescription
filter.idnumber(Required) The id of the Clinic Location from the Clinic Locations endpoint.
filter.postalCodenumberThe zip code to use as a starting point for results.
filter.latLngstringThe latitude and longitude to use as a starting point for results.
filter.latstringThe latitude to use as a starting point for results. Must be combined with the filter.lng parameter.
filter.lngstringThe longitude to use as a starting point for results. Must be combined with the filter.lat parameter.
filter.radiusInMilesnumberThe mile radius of results from the specified starting point.
page.sizenumberThe number of results to return.
page.offsetnumberThe index of the first item to return, using a 0-based index.

HEADERS

KeyDatatypeRequiredDescription
Accept-LanguagestringThe language or locale accepted by the client application.
x-mock-response-codenumberUsed to specify the type of response to receive from the mock service. Indicate the desired response code from available codes on this service: 200, 400.

RESPONSES

status: OK

{"data":[{"id":"98989898","versionKey":"5692cc40af18","name":"The Little Clinic - General Office","phone":"magna voluptate occae","chain":"THE LITTLE CLINIC","location":{"address":{"street":"1014 Vine St","locality":"Cincinnati","postalCode":"45202","countryCode":"US","region":"OH","unit":"Suite 1"},"coordinates":{"lat":"39.103062","lng":"-84.513443"}},"hours":{"timezone":15745367,"open24":false,"monday":{"open":"06:00","close":"23:00","open24":false},"tuesday":{"open":"06:00","close":"23:00","open24":false},"wednesday":{"open":"06:00","close":"23:00","open24":false},"thursday":{"open":"06:00","close":"23:00","open24":false},"friday":{"open":"06:00","close":"23:00","open24":false},"saturday":{"open":"06:00","close":"23:00","open24":false},"sunday":{"open":"06:00","close":"23:00","open24":false}},"appointmentTypes":[{"name":"FLU","description":"Flu-like illness.","category":"General"}]}],"meta":{"page":{"offset":0,"size":1,"hasMore":true}}}