IONOS Cloud Billing icon

IONOS Cloud Billing

Retrieve billing information, invoices, usage data, and resource utilization from IONOS Cloud. Developped with Love by Ascenzia (ascenzia.fr)

Actions14

Traffic → Get

AI-generated

Summary

Retrieve traffic utilization data for a contract from IONOS Cloud billing API.

Inputs

  • contractNumber (required) — Contract number used to identify the billing contract. This is a mandatory parameter for the operation.
  • additionalOptions — Optional collection of settings to filter results and control output format. Only ip and output are used for the Traffic Get operation; other sub-options (date, dateFormat) are scoped to Product or Invoice resources and will not affect this call.

Output shape

Traffic data from the IONOS Cloud billing API, returned as JSON or CSV based on the output parameter value.

The operation sends a GET request to /${contractNumber}/traffic with optional query parameters ip (string) and output (json | csv, default json). If output is set to csv, the API response format is accordingly handled.

Examples

Example 1: Get all traffic data for contract 12345678 in JSON format.

contractNumber: 12345678, additionalOptions: { ip: null, output: json }

Links

Discussion