Skip to main content
Short.io logo

Overview

Add Short.io to any ModuleX agent or workflow. URL shortening, link management, and analytics against the Short.io REST API (api.short.io for CRUD, api-v2.short.cm for statistics).
Categories: Marketing & Advertising · Utilities · Link Management · Analytics · Auth: API Key · Actions: 8

Authentication

API Key Authentication

Authenticate using your Short.io Secret API Key
1

Step 1

Log in to your Short.io account
2

Step 2

Go to Settings & Integrations
3

Step 3

Click on ‘Integrations & API’
4

Step 4

Copy your Secret API Key

Required Credentials

FieldDescriptionRequiredFormat
Short.io Secret API KeyYour Short.io Secret API Key for authenticationYessk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Available Actions

Response

{
  "$defs": {
    "ShortIODomain": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        },
        "hostname": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Hostname"
        },
        "protocol": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Protocol"
        },
        "created": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created"
        }
      },
      "title": "ShortIODomain",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "success": {
      "title": "Success",
      "type": "boolean"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Error"
    },
    "domains": {
      "items": {
        "$ref": "#/$defs/ShortIODomain"
      },
      "title": "Domains",
      "type": "array"
    },
    "count": {
      "default": 0,
      "title": "Count",
      "type": "integer"
    }
  },
  "required": [
    "success"
  ],
  "title": "ListDomainsOutput",
  "type": "object"
}

Parameters

domain_id
integer
required
Domain ID to get statistics for
period
string
Time period: total, custom, today, yesterday, week, month, lastmonth, last7, last30 (Default: last30)
clicks_chart_interval
string
Chart interval: hour, day, week, month
tz_offset
integer
Timezone offset in minutes
start_date
string
Start date for custom period (yyyy-mm-dd)
end_date
string
End date for custom period (yyyy-mm-dd)

Response

{
  "additionalProperties": false,
  "properties": {
    "success": {
      "title": "Success",
      "type": "boolean"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Error"
    },
    "statistics": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Statistics"
    }
  },
  "required": [
    "success"
  ],
  "title": "GetDomainStatisticsOutput",
  "type": "object"
}

Limits & Quotas

  • list_links is capped at 150 entries per call (Short.io’s max).
  • Date strings (expires_at) are parsed from yyyy-mm-dd and sent as Unix-millisecond timestamps; invalid dates silently drop the field rather than fail the call (preserves legacy behavior).
  • get_domain_statistics calls the separate api-v2.short.cm analytics host; everything else hits api.short.io.
  • Failure paths surface as success=False + error (HTTP non-2xx, exceptions, empty API keys).

SEMrush

TinyURL

Ahrefs