API reference
Account
The account behind the key: plan, limits and usage.
Get the current account
GET/meReturns the account the key belongs to, its plan, limits and current usage. With a site key, also returns the connected site.
Request
curl https://semanticson.com/api/v1/me \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
API usage by day, key and site
GET/usageRequest counts for the last days days (default 30), split by API key and by connected site. Site traffic does not count towards the monthly API allowance.
Query parameters
daysintegeroptional1–90 · default 30
Request
curl https://semanticson.com/api/v1/usage \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.