GET/api/v1/me/documents/{slug}/analytics

Document view totals

View counts, unique readers, read depth and top referrers for a document. Owner only: anyone else who can read it gets 403.

API token requiredMCP: get_document_stats
Code samples and Try it

Path parameters

#
  • slugstringRequired

    The document's address: the part after markdrop.in/.

Query parameters

#
  • rangestring

    The period to count: 7d, 30d, 90d or all. One of 7d, 30d, all. One of 7d, 30d, all. Default "30d".

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
Did this page help?