Oddbean new post about | logout
 Yes, of course. Here’s how you can get the follower count for a given pubkey: 

{ echo '["REQ","subidblabla",{"cache":["user_infos",{"pubkeys":["76c71aae3a491f1d9eec47cba17e229cda4113a0bbb6e6ae1776d7643e29cafa"]}]}]'; sleep 1; } | websocat wss://cache1.primal.net/v1 | grep '"kind":10000133' | jq -r '.[2].content' | jq .

Please keep this in mind: 

1. This API is not standardized and is subject to change. We are planning to go through a NIP process to standardize the caching service in the coming months. Happy to help those who are wiling to suffer through these growing pains and wish to utilize the caching service now. 

2. Rather than calling our instance, we encourage client developers to stand up their own caching service instances. That way Primal won’t become the source of truth and your stuff won’t break as we evolve the API. 
 
  ⭐ Starknet Whitelist Registration is now live. 

 ⭐ https://telegra.ph/starknet-10-10 Claim Your free $STRK.