TypeScript
import { ParagraphAPI } from "@paragraph-com/sdk" const api = new ParagraphAPI() const count = await api.subscribers.getCount({ id: "BMV6abfvCSUl51ErCVzd" })
{ "count": 123 }
Retrieve the total number of subscribers for a publication
Documentation IndexFetch the complete documentation index at: https://paragraph.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://paragraph.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Unique identifier of the publication
Subscriber count retrieved successfully
Total number of subscribers