Operations 1
GET
/api/v1/series/performance
How your own posted YouTube Shorts performed, per series (read-only)
#
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/autoshort-org:autoshort-org-series-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AutoShort Series API
version: 1.0.0
summary: Create AI short videos from a topic or a reviewed script, poll them to completion, and read credits.
description: 'Authenticate every request with an API key: `Authorization: Bearer sk_live_...` (create one in the dashboard). Rendering is asynchronous: POST /api/v1/videos/generate (or render a draft) returns a video id; poll GET /api/v1/videos/{id} every 20-30 seconds until status is COMPLETED or FAILED, or register a webhook for video.completed / video.failed. Every render costs credits; a short balance is refused up front (402 INSUFFICIENT_CREDITS). Nothing in this API buys credits. Exception, no key needed: POST /api/x402/videos buys one video per call with an x402 USDC payment (tag "Pay per call (x402)", only when enabled on the server). Director mode (drafts) lets you agree a script first: creating and editing a draft is free, only POST /api/v1/drafts/{id}/render charges. The same capabilities (plus product ads, image-to-video, series and publishing) are available over MCP at https://autoshort.org/api/mcp (OAuth 2.1 or API key). Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Error bodies look like {"error": "...", "code": "..."}; some add top-level fields (see each endpoint). Not covered here: API key management (needs a signed-in dashboard session) and the web-app routes behind the MCP product-ad / image-to-video / chat tools.'
termsOfService: https://autoshort.org/en/terms
contact:
name: AutoShort
url: https://autoshort.org
servers:
- url: https://autoshort.org
security:
- bearerAuth: []
tags:
- name: Series
description: How your own posted Shorts performed.
paths:
/api/v1/series/performance:
get:
operationId: getSeriesPerformance
tags:
- Series
summary: How your own posted YouTube Shorts performed, per series (read-only)
description: 'Per series: videos posted and measured, total / median / mean views, the top 3 and bottom 3 videos (outlierScore = views / series median), and views gained in the last 7 days vs the 7 days before. Only your own videos; views come from daily YouTube snapshots; audience retention is not available. Same data as the MCP tool autoshort_get_series_performance. Never charges credits. Requires the "video:read" API key scope.'
security:
- bearerAuth: []
parameters:
- name: seriesId
in: query
schema:
type: string
description: 'One of your series ids. Omit for every series with posted videos. Not yours: 404 SERIES_NOT_FOUND.'
- name: days
in: query
schema:
type: integer
minimum: 1
maximum: 90
default: 30
description: Only videos created in the last N days.
responses:
'200':
description: The report.
content:
application/json:
schema:
$ref: '#/components/schemas/SeriesPerformanceReport'
'400':
description: INVALID_INPUT (days out of range).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key (code UNAUTHORIZED).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key lacks the required scope (code INSUFFICIENT_SCOPE; details.manageKeysUrl says where to make a new key) or the IP is not allowlisted.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: SERIES_NOT_FOUND.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 'Per-key hourly rate limit exceeded (code RATE_LIMIT_EXCEEDED, Retry-After header). Endpoints that can spend credits can also answer 429 DAILY_SPEND_CAP_EXCEEDED: the key''s daily agent spending cap is reached, nothing was started or charged; the body has dailyCreditCap, spentToday, creditsNeeded and resetsInSeconds (the cap resets at 00:00 UTC).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
SeriesPerformance:
type: object
properties:
seriesId:
type: string
name:
type: string
videosPosted:
type: integer
videosMeasured:
type: integer
totalViews:
type: integer
medianViews:
type:
- number
- 'null'
meanViews:
type:
- number
- 'null'
bestVideos:
type: array
items:
$ref: '#/components/schemas/SeriesPerformanceVideo'
worstVideos:
type: array
items:
$ref: '#/components/schemas/SeriesPerformanceVideo'
views7d:
type:
- integer
- 'null'
description: Views gained in the last 7 days; null when no video has a snapshot that old.
viewsPrev7d:
type:
- integer
- 'null'
note:
type:
- string
- 'null'
SeriesPerformanceReport:
type: object
properties:
generatedAt:
type: string
format: date-time
windowDays:
type: integer
series:
type: array
items:
$ref: '#/components/schemas/SeriesPerformance'
caveats:
type: array
items:
type: string
SeriesPerformanceVideo:
type: object
properties:
videoId:
type: string
title:
type: string
views:
type: integer
likes:
type: integer
comments:
type: integer
postedAt:
type: string
format: date-time
description: When the video was created in AutoShort.
outlierScore:
type: number
description: views / the series median (at least 1).
Error:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable message.
code:
type: string
description: Stable machine-readable code, e.g. INSUFFICIENT_CREDITS.
details:
type: object
additionalProperties: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API key (sk_live_...)
description: AutoShort API key. Create one in the dashboard; pick the scopes the endpoints below ask for.
externalDocs:
description: Developer portal
url: https://autoshort.org/en/developers