Skip to content

Public counts

For a homepage or a sheet that should show a count only when a public API actually returned one. Start with Getting started. If you need a sentence about limits, read demo.

GET /v1/counts calls one official unauthenticated API and returns that integer.

network id Count
github login public followers
bluesky handle or did:plc followers
discord invite code approximate members
mastodon name@instance followers, https instance only

x, twitter, instagram, tiktok, youtube, and twitch return available: false and count: null. There is no guessed number. A 404 or a rate limit is also available: false.

Mastodon hosts must be public https names. Private addresses, IP literals, and redirects are refused.

Try it

https://fetch.li/v1/counts?network=github&id=torvalds

Parameters

Parameter Required Description
network Yes See the table
id Yes Login, handle, invite code, or name@instance

Demo

GET endpoints work without an API key on the public demo tier (60 calls per hour per IP). GitHub may also rate limit this server. That comes back as unavailable, not as a made-up count.

Related: security, style.

Try it

GET https://fetch.li/v1/counts


    
    
    
  

Answer

Response

response