Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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:
title: Issuu Statistics API
version: 2.0.0
description: 'Operations tagged statistics across 2 of this provider''s published API definitions: issuu-openapi.json, issuu-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.issuu.com/v2
tags:
- name: Statistics
paths:
/stats:
get:
operationId: getStats
responses:
'200':
description: Ok
content:
application/json:
schema:
$ref: '#/components/schemas/Overview'
description: 'Get Stats
- List all stats for all publications or for a specific publication
- Security: This endpoint is secured with OAuth2 and bearer authentication, requiring ''document:read'' permission.'
tags:
- Statistics
security:
- oauth2:
- document:read
bearerAuth:
- document:read
parameters:
- description: 'The date range to get the stats for
- thisMonth: Get the stats for the current month
- lastMonth: Get the stats for the last month
- maxTime: Get the stats for all time'
in: query
name: dateRange
required: false
schema:
default: maxTime
type: string
enum:
- thisMonth
- lastMonth
- maxTime
- description: 'The slug of the publication to get the stats for
- If not provided, the stats for all publications will be returned.'
in: query
name: slug
required: false
schema:
type: string
summary: Get stats
x-summary-source: derived
servers:
- url: https://api.issuu.com/v2
components:
schemas:
Overview:
properties:
shares:
type: number
format: double
description: The number of downloads of the publication(s)
downloads:
type: number
format: double
description: The number of downloads of the publication(s)
reads:
type: number
format: double
description: The number of unique reads to the publication(s)
impressions:
type: number
format: double
description: The number of impressions of the publication(s)
clicks:
type: number
format: double
description: The number of clicks on the publication(s)
averageTimeSpent:
type: number
format: double
description: The average time spent on the publication(s) in seconds
required:
- shares
- downloads
- reads
- impressions
- clicks
- averageTimeSpent
type: object
securitySchemes:
oauth2:
type: oauth2
flows:
authorizationCode:
tokenUrl: https://oauth.issuu.com/oauth2/token
authorizationUrl: https://oauth.issuu.com/oauth2/auth
scopes:
openid: Get user profile
offline: Offline
document:read: Read user documents
document:write: Write user documents
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
x-refined-from:
- issuu-openapi.json
- issuu-openapi.yml