This is an example of how to extract data from the Tezos Commons Baker Registry on Tezos mainnet, the details of which are outlined in this Tezos Agora thread. It works by querying Conseil for all registered bakers that are not deactivated, have a staking balance and delegated balance greater than 0. We use these filters as a proxy for identifying public bakers. You can see this result set on [Arronax](https://arronax.io?e=Tezos%20Mainnet/delegates&q=eyJmaWVsZHMiOlsiYmxvY2tfbGV2ZWwiLCJwa2giLCJiYWxhbmNlIiwiZGVsZWdhdGVkX2JhbGFuY2UiLCJzdGFraW5nX2JhbGFuY2UiXSwicHJlZGljYXRlcyI6W3siZmllbGQiOiJkZWFjdGl2YXRlZCIsIm9wZXJhdGlvbiI6ImVxIiwic2V0IjpbZmFsc2VdLCJpbnZlcnNlIjpmYWxzZX0seyJmaWVsZCI6InN0YWtpbmdfYmFsYW5jZSIsIm9wZXJhdGlvbiI6Imd0Iiwic2V0IjpbIjAiXSwiaW52ZXJzZSI6ZmFsc2V9LHsiZmllbGQiOiJkZWxlZ2F0ZWRfYmFsYW5jZSIsIm9wZXJhdGlvbiI6Imd0Iiwic2V0Ijp