Skip to main content
GET
/
v1
/
publications
/
{publicationId}
/
subscribers
/
count
Get subscriber count
import { ParagraphAPI } from "@paragraph-com/sdk"

const api = new ParagraphAPI()
const count = await api.subscribers.getCount({ id: "BMV6abfvCSUl51ErCVzd" })
{
  "count": 123
}

Path Parameters

publicationId
string
required

Unique identifier of the publication

Response

Subscriber count retrieved successfully

count
number
required

Total number of subscribers