Get Request Count
Retrieve the daily count of API requests made by your team within a specified date range. Use this endpoint to monitor API usage patterns, identify peak activity periods, and plan capacity.
Authorization
Bearer In: header
Query Parameters
Start datetime in ISO format (e.g., 2023-01-01T00:00:00)
End datetime in ISO format (e.g., 2023-01-01T23:59:59)
Filter by origin app or api
Filter by request origin (api, app, web, mcp)
- api
- app
- web
- mcp
- admin_mcp
Filter by API key id
^/[^?#]*$Exact request URL path, e.g. /v1/jobs/search; host and query string are ignored.
Start of the charge-date window (inclusive), independent of when requests ran.
End of the charge-date window (inclusive).
Only requests with positive charges of these types in the charge window: api or ui (Company credits). Returned credit totals use the same window and selected types.
- api
- ui
Filter by search type.
- jobs
- companies
- technologies
Match any exact request URL path; unassigned selects charges without a recorded endpoint. Intersects the singular endpoint filter.
Match any HTTP response status code.
Match any recorded origin; webhook requires a linked webhook event and unassigned selects missing attribution. Intersects the singular origin filter.
Only requests whose total (api + ui) credits consumed are at least this.
Only requests whose total (api + ui) credits consumed are at most this.
IANA timezone, such as Europe/Madrid.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.theirstack.com/v0/requests/count"[
{
"number_of_requests": 0,
"period_start": "2019-08-24T14:15:22Z"
}
]{
"error": {
"code": "E-001",
"description": "string",
"title": "Not allowed exception"
},
"request_id": null
}{
"error": {
"code": "E-001",
"description": "string",
"title": "Not allowed exception"
},
"request_id": null
}{
"error": {
"code": "E-001",
"description": "string",
"title": "Not allowed exception"
},
"request_id": null
}{
"error": {
"code": "E-001",
"description": "string",
"title": "Not allowed exception"
},
"request_id": null
}How is this guide?
Last updated on
