Skip to main content
GET
/
api-key
/
stats
curl -X GET https://scrape.st/api-key/stats \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "name": "My Key",
    "createdAt": "2024-01-15T10:30:00.000Z",
    "totalRequests": 15420,
    "successRequests": 15100,
    "errorRequests": 320,
    "webhooksDelivered": 8900,
    "webhooksFailed": 12,
    "sseEvents": 4200,
    "wsEvents": 3100,
    "endpointUsage": {
      "GET /x/user": 500,
      "POST /track/x": 200
    },
    "lastUsedAt": "2026-05-25T18:00:00.000Z",
    "trackedSources": {
      "x": 45,
      "telegram": 12,
      "discord": 3,
      "web": 5,
      "rss": 2
    }
  },
  "message": "API key statistics retrieved successfully."
}
Retrieve usage statistics for your API key including request counts, webhook delivery stats, event counts, and tracked source breakdown.

Response

data
object
API key usage statistics
data.name
string
Name of the API key
data.createdAt
string
ISO 8601 timestamp of when the key was created
data.totalRequests
number
Total number of API requests made
data.successRequests
number
Number of successful requests
data.errorRequests
number
Number of failed requests
data.webhooksDelivered
number
Total webhooks successfully delivered
data.webhooksFailed
number
Total webhooks that failed to deliver
data.sseEvents
number
Number of SSE events sent
data.wsEvents
number
Number of WebSocket events sent
data.endpointUsage
object
Breakdown of request counts per endpoint
data.lastUsedAt
string
ISO 8601 timestamp of last API key usage
data.trackedSources
object
Count of tracked sources per platform (x, telegram, discord, web, rss)
message
string
Status message
curl -X GET https://scrape.st/api-key/stats \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "name": "My Key",
    "createdAt": "2024-01-15T10:30:00.000Z",
    "totalRequests": 15420,
    "successRequests": 15100,
    "errorRequests": 320,
    "webhooksDelivered": 8900,
    "webhooksFailed": 12,
    "sseEvents": 4200,
    "wsEvents": 3100,
    "endpointUsage": {
      "GET /x/user": 500,
      "POST /track/x": 200
    },
    "lastUsedAt": "2026-05-25T18:00:00.000Z",
    "trackedSources": {
      "x": 45,
      "telegram": 12,
      "discord": 3,
      "web": 5,
      "rss": 2
    }
  },
  "message": "API key statistics retrieved successfully."
}