# Clockwise MD — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Book urgent care appointments at Clockwise MD locations by checking real-time availability, viewing hospital information, and reserving your preferred time slot. Get instant access to open appointment times and facility details across all participating urgent care centers.

**Category:** Healthcare | **Website:** [www.clockwisemd.com/visit/2310](https://www.clockwisemd.com/visit/2310) | **Docs:** [parse.bot/marketplace/24d9db0d-2ebf-4a71-91a5-cb30fea0a562/clockwisemd-com-api](https://parse.bot/marketplace/24d9db0d-2ebf-4a71-91a5-cb30fea0a562/clockwisemd-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-clockwisemd-com-api-24d9db0d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### book_visit

Book a visit at a hospital location by submitting patient information and a selected time slot. Use get_available_times first to find valid appointment times. Duplicate bookings with the same phone number may be rejected by the upstream system.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `appointment_time` | string | Yes | ISO 8601 appointment time from get_available_times results (e.g. 2026-06-11T08:00:00.000-04:00). |
| `dob_day` | string | Yes | Date of birth day, zero-padded (01-31). |
| `dob_month` | string | Yes | Date of birth month, zero-padded (01-12). |
| `dob_year` | string | Yes | Date of birth year (e.g. 1990). |
| `email` | string | No | Patient email address. Omitting leaves it as null in the booking. |
| `first_name` | string | Yes | Patient first name. |
| `hospital_id` | string | No | The numeric ID of the hospital or urgent care location. |
| `last_name` | string | Yes | Patient last name. |
| `phone_number` | string | Yes | 10-digit US phone number without formatting (e.g. 5551234567). |
| `reason` | string | No | Visit reason description. |
| `sex` | string | Yes | Birth sex. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-clockwisemd-com-api-24d9db0d/book_visit \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"appointment_time":"<string>","dob_day":"<string>","dob_month":"<string>","dob_year":"<string>","email":"<string>","first_name":"<string>","hospital_id":"<string>","last_name":"<string>","phone_number":"<string>","reason":"<string>","sex":"<string>"}'
```

### get_available_times

Retrieve available days and appointment time slots for scheduling a visit at a hospital location. Returns times within the hospital's scheduling window. The response groups slots by day. Unknown or unsupported reason values return empty times arrays.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hospital_id` | string | No | The numeric ID of the hospital or urgent care location. |
| `reason` | string | No | Visit reason description. Accepted values depend on the hospital's configuration. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-clockwisemd-com-api-24d9db0d/get_available_times \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hospital_id":"<string>","reason":"<string>"}'
```

### get_hospital_info

Retrieve details about a hospital or urgent care location including name, address, phone number, business hours, and scheduling configuration. Each hospital is identified by a numeric ID.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hospital_id` | string | No | The numeric ID of the hospital or urgent care location. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-clockwisemd-com-api-24d9db0d/get_hospital_info \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hospital_id":"<string>"}'
```
