Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
version: 1.0.0
title: Shortimize Organisation Management API
description: 'Shortimize API provides endpoints for managing and tracking social media accounts and videos.
## Rate Limits
All API endpoints are rate limited per user. Rate limits vary by plan and endpoint:
| Plan | Standard endpoints | Tracking & History endpoints |
|------|-------------------|-----------------------------|
| **Limited (trial)** | 5 requests per minute | 5 requests per minute |
| **Basic** | 15 requests per minute | 15 requests per minute |
| **Premium** | 30 requests per minute | 120 requests per minute |
When rate limited, you''ll receive a `429 Too Many Requests` response. Check the `RateLimit-*` headers for limit status.
When you exceed a limit you get `429` with a **`Retry-After`** header giving the whole number of seconds to wait. That is the time left in the current window rather than a fixed minute, so a request rejected near the end of a window gets a short wait. The same number is in `RateLimit-Reset`, and `RateLimit-Limit` / `RateLimit-Remaining` show your allowance and what is left of it. Limits are per organisation, so all API keys in one organisation share them.'
servers:
- url: https://api.shortimize.com
description: Production
tags:
- name: Organisation Management
description: Organisation-wide metrics and historical data
paths:
/organisation/history:
get:
tags:
- Organisation Management
summary: Get Organisation History
description: '**All tiers** — Limited/Basic: 1 result with masked metrics. Premium: full access.
Retrieves daily aggregated metrics for your entire organisation. By default if no dates are passed, gets the last 30 days of data. Data is available for the last 90 days (up to 2 years for premium users).
**Rate Limit:** 5 (limited) / 15 (basic) / 120 (premium) requests per minute'
operationId: get_organisation_history
parameters:
- name: Authorization
in: header
required: true
description: Bearer token for authentication
schema:
type: string
example: Bearer YOUR_KEY_HERE
- name: start_date
in: query
required: false
description: Start date (inclusive) in YYYY-MM-DD format. Defaults to 30 days ago if not provided. Cannot be older than 90 days (730 days for premium users).
schema:
type: string
format: date
example: '2025-01-01'
- name: end_date
in: query
required: false
description: End date (inclusive) in YYYY-MM-DD format.
schema:
type: string
format: date
example: '2025-01-31'
responses:
'200':
description: Successful response - array of daily metrics
content:
application/json:
schema:
type: array
items:
type: object
properties:
date:
type: string
format: date
views:
type: integer
likes:
type: integer
comments:
type: integer
shares:
type: integer
bookmarks:
type: integer
engagements:
type: integer
total_ads:
type: integer
ads_upload_count:
type: integer
'400':
description: Bad request – start_date older than allowed range (90 days, or 730 days for premium)
'401':
description: Unauthorized – invalid or missing API key
x-tagGroups:
- name: Core Resources
tags:
- Account Management
- Video Management
- Collection Management
- Organisation Management
- name: Analytics
tags:
- Statistics
- Data Operations
- name: System
tags:
- Authentication
- Integration