Skip to content

API reference

Account

The account behind the key: plan, limits and usage.

Account keySite keyNo scope required

Returns the account the key belongs to, its plan, limits and current usage. With a site key, also returns the connected site.

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.

Request 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

  • daysintegeroptional

    1–90 · default 30

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.