---
title: "Get past active SIM count"
method: GET
path: "/devices/activecount"
tags: ["SIMs (Devices)"]
---

# Get past active SIM count

`GET /devices/activecount`

## Request

- Base URL: `https://dashboard.hologram.io/api/1`
- URL: `https://dashboard.hologram.io/api/1/devices/activecount`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/hologram/apis/hologram-rest-api-v1/docs/devices/activecount/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the count of SIMs (devices) that were active at a given point in time.

## Query parameters

- `orgid` integer
- `timestamp` integer

## Response `200`

OK

- object
  - `success` boolean: Indicates whether the request was successful.
  - `data` integer: Number of active devices at the requested point in time

## Other responses

- `400`: Bad request — invalid timestamp
- `401`: Unauthorized

---

[API](https://skmtc.dev/hologram/apis/hologram-rest-api-v1.md) - [All operations](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/revisions/1bc07dcd1631?raw)
