Quickstart
Create a key, then make your first request.
On the Agency plan
Create a key
Open API keys and press Create key.
Save it in a variable
Paste your key in place of
YOUR_API_KEY. It starts withcr_.Terminalexport CLEARREADOUT_KEY=YOUR_API_KEYMake a request
List your sites and their ratings.
Terminalcurl -H "Authorization: Bearer $CLEARREADOUT_KEY" https://app.clearreadout.com/api/v1/sitesStart a check
Put your site in place of
YOUR_SITE, written the way it appears on My sites, such asexample.com. It has to be a site your plan covers.Terminalcurl -X POST -H "Authorization: Bearer $CLEARREADOUT_KEY" -H "Content-Type: application/json" -d '{"site": "YOUR_SITE"}' https://app.clearreadout.com/api/v1/checksThe answer is a 202 with the check's
id. It uses one of today's checks.