DonoLink Activity API

The Activity API from DonoLink — 1 operation(s) for activity.

GitHub OpenAPI

Operations 1

GET /activity Read stored personal activity #

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/donolink:donolink-activity-api"
All apis
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.

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.

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

OpenAPI Specification

donolink-activity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DonoLink Developer Activity API
  version: 1.4.0
  description: 'Personal owner-bound API for activity, DonoLink bot configuration, alerts and donation totals. Explicit scopes: activity:read, bot:read, bot:write, alerts:write, donations:read. Existing keys retain activity:read only. 120 requests per account and 300 per IP per 60 seconds; unavailable shared limiter returns 503. Store keys server-side or in personal native secure storage. No payment writes, multi-customer OAuth, browser CORS or guaranteed activity delivery/retention. Imported donations retain their source platform.'
servers:
- url: https://donolink.nl/api/v1
security:
- ApiKey: []
tags:
- name: Activity
paths:
  /activity:
    get:
      operationId: listActivity
      summary: Read stored personal activity
      description: Current paid donations including imports and stored stream events. Pagination uses recorded_at, not occurred_at. Empty pages retain the previous cursor. Deduplicate by event ID. Updates and deletes are not events.
      parameters:
      - name: limit
        in: query
        required: false
        description: Page size.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
      - name: order
        in: query
        required: false
        description: Insertion time, then internal ID and source. Use asc for polling.
        schema:
          type: string
          enum:
          - asc
          - desc
          default: desc
      - name: type
        in: query
        required: false
        description: One event type.
        schema:
          type: string
          enum:
          - donation
          - follow
          - subscription
          - giftsub
          - cheer
          - raid
      - name: platform
        in: query
        required: false
        description: One platform.
        schema:
          type: string
          enum:
          - donolink
          - twitch
          - kick
          - youtube
          - tiktok
          - tipeeestream
          - streamlabs
          - streamelements
          - kofi
          - csv
      - name: since
        in: query
        required: false
        description: Inclusive recorded_at boundary. UTC ISO 8601 with Z.
        schema:
          type: string
          format: date-time
      - name: until
        in: query
        required: false
        description: Exclusive recorded_at boundary. UTC ISO 8601 with Z.
        schema:
          type: string
          format: date-time
      - name: cursor
        in: query
        required: false
        description: Signed opaque cursor, bound to account, order and filters. Keep these fixed.
        schema:
          type: string
          maxLength: 2048
      responses:
        '200':
          description: Success. Private, no-store.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - pagination
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Activity'
                  pagination:
                    type: object
                    required:
                    - has_more
                    - next_cursor
                    properties:
                      has_more:
                        type: boolean
                      next_cursor:
                        type:
                        - string
                        - 'null'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      x-required-scope: activity:read
      tags:
      - Activity
components:
  responses:
    Error:
      description: API error. Retry 429 and 503 after 60 seconds.
      headers:
        X-Request-Id:
          schema:
            type: string
        Retry-After:
          description: Present for 429 and 503
          schema:
            type: string
      content:
        application/json:
          schema:
            type: object
            required:
            - error
            properties:
              error:
                type: object
                required:
                - code
                - message
                - request_id
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  request_id:
                    type: string
  schemas:
    Activity:
      type: object
      additionalProperties: false
      required:
      - id
      - type
      - platform
      - occurred_at
      - recorded_at
      - actor
      - message
      - value
      - unit
      - currency
      - refunded_amount_cents
      properties:
        id:
          type: string
          pattern: ^(don|evt)_[a-z0-9]{15}$
        type:
          type: string
          enum:
          - donation
          - follow
          - subscription
          - giftsub
          - cheer
          - raid
        platform:
          type: string
          enum:
          - donolink
          - twitch
          - kick
          - youtube
          - tiktok
          - tipeeestream
          - streamlabs
          - streamelements
          - kofi
          - csv
        occurred_at:
          type: string
          format: date-time
        recorded_at:
          type: string
          format: date-time
        actor:
          type: object
          required:
          - name
          properties:
            name:
              type:
              - string
              - 'null'
        message:
          type:
          - string
          - 'null'
        value:
          type: integer
          minimum: 0
        unit:
          type: string
          enum:
          - cents
          - none
          - months
          - subscriptions
          - bits
          - diamonds
          - viewers
        currency:
          type:
          - string
          - 'null'
          description: 'ISO 4217 code of value for donations: euro as before ("eur", or "EUR" when unknown), other currencies uppercase ("PLN", "HUF", ...). Compare case-insensitively. null for other events.'
        refunded_amount_cents:
          type:
          - integer
          - 'null'
          minimum: 0
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: dl_live_<64 lowercase hex characters>
      description: 'Personal API key with explicit scopes: activity:read, bot:read, bot:write, alerts:write, donations:read. Send as Authorization: Bearer dl_live_... . Existing keys without a stored scope list retain activity:read only. Never place keys in URLs or frontend bundles.'