PHAIDRA stats API (University of Vienna)

The stats API from University of Vienna — 4 operation(s) for stats.

Operations 4

GET /stats/{pid} Get usage statistics
GET /stats/{pid}/downloads Get downloads count.
GET /stats/{pid}/detail_page Get number of /info calls.
GET /stats/{pid}/chart Get timestamped /info and download count.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/university-of-vienna-stats-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-vienna-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PHAIDRA datastream Stats API
  version: '3.0'
  description: Documentation of the PHAIDRA API.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  x-provenance:
    generated: '2026-08-30'
    method: searched
    source: >-
      PHAIDRA API v3.0, published Apache 2.0 by the PHAIDRA project (github.com/phaidra/phaidra-api, public/docs/openapi.json), the platform the University of Vienna authors and hosts. Pristine copy at
      openapi/_original/university-of-vienna-phaidra-api.yaml.
    x-operator: institution
    note: >-
      Split from the source contract by refine-openapis; servers[] re-based to the live production host on 2026-08-30 (see servers[].description).
servers:
- url: https://phaidra.univie.ac.at/api/
  description: University of Vienna PHAIDRA (current production base, re3data r3d100010472, verified 2026-08-30)
- description: RETIRED — returns HTTP 200 with a zero-length body on every path (soft-200), verified 2026-08-30
  url: https://services.phaidra.univie.ac.at/api/
- description: PHAIDRA Sandbox — connection timed out on probe 2026-08-30
  url: https://sandbox.phaidra.org/api/
tags:
- name: stats
  description: ''
paths:
  /stats/{pid}:
    get:
      summary: Get usage statistics
      description: Returns object's usage statistics
      tags:
      - stats
      parameters:
      - in: path
        name: pid
        schema:
          type: string
          required: true
        description: object id
      responses:
        '200':
          description: Usage statistics
          content:
            application/json:
              schema:
                type: object
                properties:
                  stats:
                    type: object
                    properties:
                      downloads:
                        type: string
                      detail_page:
                        type: string
  /stats/{pid}/downloads:
    get:
      summary: Get downloads count.
      tags:
      - stats
      parameters:
      - in: path
        name: pid
        schema:
          type: string
          required: true
        description: object id
      responses:
        '200':
          description: Download count (integer). Useful e.g. for ajax content update without any response parsing necessary.
          content:
            text/plain:
              schema:
                type: number
  /stats/{pid}/detail_page:
    get:
      summary: Get number of /info calls.
      description: Returns the number of /info calls, which are typically used when accessing the detail page.
      tags:
      - stats
      parameters:
      - in: path
        name: pid
        schema:
          type: string
          required: true
        description: object id
      responses:
        '200':
          description: /info calls count (integer)
          content:
            text/plain:
              schema:
                type: number
  /stats/{pid}/chart:
    get:
      summary: Get timestamped /info and download count.
      description: Get /info and download count, with detailed timestamps.
      tags:
      - stats
      parameters:
      - in: path
        name: pid
        schema:
          type: string
          required: true
        description: object id
      responses:
        '200':
          description: details on object (download, detail_page, etc.)
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  stats:
                    type: object
                    properties:
                      detail_page:
                        type: object
                        properties:
                          at:
                            type: object
                      downloads:
                        type: number
                  status:
                    type: number
components:
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: X-XSRF-TOKEN
    basicAuth:
      type: http
      scheme: basic