Use the Usage Extended API to retrieve monthly usage for your SearchStax Site Search account and per-app usage details.
Authentication
Headers
| Name | Type | Description |
|---|---|---|
Authorization | string | Token <token> |
Get Usage for a Month
Endpoint
GET https://app.searchstax.com/api/rest/v2/account/<account_name>/usage-extended/<year>/<month>/
Path Parameters
| Name | Type | Description |
|---|---|---|
account_name | string | Your account name. |
year | integer | Four-digit year, for example 2026. |
month | integer | Month number from 1 to 12. |
Rate limit: 1 request every 3 seconds.
Note: The account is specified in the path, so you don't need an ?account= query parameter.
Request
Use this curl example to retrieve usage for a month:
curl -s \
-H "Authorization: Token <token>" \
"https://app.searchstax.com/api/rest/v2/account/<account_name>/usage-extended/<year>/<month>/"Use this PowerShell example to call the endpoint with an authorization header:
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Authorization", "Token <token>")
$RESULTS = Invoke-RestMethod -Method Get -Headers $headers `
-uri "https://app.searchstax.com/api/rest/v2/account/<account_name>/usage-extended/<year>/<month>/"
$RESULTS | ConvertTo-JsonResponse
The response looks like this (abridged):
[
{
"SKU": "ST-24-PREMIUM",
"amount": 0,
"appsInfo": [
{
"createdDate": "2025-08-27T18:55:11Z",
"deletedDate": null,
"name": "app_alpha",
"status": "Active",
"totalItems": 500,
"totalRequests": 145
},
{
"createdDate": "2025-09-15T16:26:09Z",
"deletedDate": null,
"name": "app_beta",
"status": "Active",
"totalItems": 20,
"totalRequests": 0
}
],
"contractEndDate": "2026-06-27T00:56:00Z",
"contractStatus": "active",
"currency": "USD",
"displayMaxItems": 500000,
"displayMaxRequests": 1000000,
"endDate": "2025-12-31T23:59:59Z",
"maxAllowedItems": 500000,
"maxAllowedRequests": 1000000,
"maxAppsAllowed": 7,
"startDate": "2025-12-01T00:00:00Z",
"tagCollection": []
}
]Interpret Usage Data
- Per-app usage:
appsInfo[].totalRequestsandappsInfo[].totalItems. - Limits: Compare totals against
maxAllowedRequestsandmaxAllowedItems. - Contract context: Use
contractStatusandcontractStartDate.