MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

IP Pool → Get All

AI-generated

Summary

Fetch all IP pools from a MikroTik router.

Inputs

None.

Output shape

JSON object with resource, operation, count, and data fields.

Data is an array of IP pool objects returned by /ip/pool/print.

Examples

Example 1: Retrieve all IP pools with default options.

Leave all option parameters at their defaults.

Example 2: Retrieve IP pools with retry logic and key cleaning.

Set connectionAttempts to 3, connectionDelay to 2, and cleanKeys to true.

Links

Discussion