And which website is the best to get this data from?
Any screenshots of API pulled would be appreciated.
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityBaking Bad wrote an article on the number of nodes. This is a bit old but very relevant to your questions. The takeaway is that at that time there were approximately:
You can't know the exact number of nodes since they can come/go and not every node connects to every other node. Nodes can also choose to be private and thus their info is not broadcasted to other nodes.
This is your best public list for nodes:
You probably mean active bakers instead of nodes. It is almost impossible to know the exact number of nodes in the network. Bakers are the ones participating in the consensus.
Currently, there are 402 active bakers in the network.
You can query the following RPC to get the active bakers:
/chains/main/blocks/head/context/delegates?active