Caching Score API

Code this into a bot, or script it on the command line

There is a simple yet effective API for Caching Score, simple add in /api prior to the /scan in the URL.


curl -s '' \
 | jq -r '.result.score'

Which yields:

  "points": 281,
  "totalPoints": 451,
  "percent": 62.3059866962306,
  "grade": "C"

Of course, there are much more properties to see in the JSON response, everything you see in the UI of Caching Score is available in the API.

There is a rate limits in place for API scans, just like through the UI.