Actually the SEMRush API seems to be broken. It always gives back a Rank of 0 which would theoretically mean a PR or 10 for every site. This is not correct so I changed that part to return PR-N/A if rank 0 is replied. Strange thing is, the API returns other values correctly here like keywords and costs.
Comments
Strange thing is, the API returns other values correctly here like keywords and costs.