---
title: "Time period object"
url: "https://help.internetx.com/en/api/core-time-period-object/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Objects"
updated: "2023-09-25"
---

# Time period object

## Description

The _TimePeriod_ object describes a period of time including the time unit.

## Structure

| **Keyword JSON** | **Keyword XML** | **Occurs** | **Type** | **Format** | **Description** |
| --- | --- | --- | --- | --- | --- |
| period | period | 0 - 1 | integer | long | Number of time units |
| unit | unit | 0 - 1 | enum | [TimeUnitConstants](/en/api/core-time-unit-constants/) | Time Unit |
