Calculate Float via API etc.?

Dear Geniuses,

Anyone out there know of a reliable API or methodology (I know Benzinga has this built in to their systems) to calculate the current float level of a stock?

If anyone has cracked this I would be so greatful!

I know tools like Premarketgappers claims to have this in their algos too so data must be avail and out there?

Much appreciated!

Martin