---
title: "List users sharing the same machine + IP combination"
method: GET
path: "/api/admin/v1/heartbeats/ip_machine_pairs"
tags: ["Admin Heartbeats"]
---

# List users sharing the same machine + IP combination

`GET /api/admin/v1/heartbeats/ip_machine_pairs`

## Query parameters

- `lookback_days` integer
- `limit` integer

## Response `200`

returns empty pairs when no shared machine+IP exists

- object
  - `pairs` object[]
    - `user_a_id` integer
    - `user_b_id` integer
    - `machine` string
    - `ip_address` string
    - `user_a_first_seen` number — Unix timestamp (may be fractional)
    - `user_a_last_seen` number — Unix timestamp (may be fractional)
    - `user_b_first_seen` number — Unix timestamp (may be fractional)
    - `user_b_last_seen` number — Unix timestamp (may be fractional)

## Other responses

- `401` — unauthorized

---

[API](https://skmtc.dev/hackclub/apis/hackatime-admin-api.md) · [All operations](https://skmtc.dev/hackclub/apis/hackatime-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackclub/hackatime-admin-api/revisions/f5a2d53cd28d/schema)
