requests.at API
Read-only. No authentication required. Base URL: https://requests.at
GET
/api/total
Returns the total number of requests tracked across all paths, and the number of times this endpoint itself has been called.
Response
| Field | Type | Description |
|---|---|---|
| total | integer | Sum of all requests across every tracked path |
| api_requests | integer | Number of times this endpoint has been called |
Example request
curl https://requests.at/api/total
Example response
{
"total": 1482954,
"api_requests": 17
}
GET
/api/requests/{path}
Returns the number of requests for a specific path, and the number of times this endpoint has been called for that path. Returns 0 for paths that have never been visited.
Path parameters
| Parameter | Type | Description | |
|---|---|---|---|
| path | string | required | The path to query (e.g. 42, hello) |
Response
| Field | Type | Description |
|---|---|---|
| path | string | The queried path |
| requests | integer | Number of times /{path} has been requested |
| api_requests | integer | Number of times this endpoint has been called for this path |
Example request
curl https://requests.at/api/requests/42
Example response
{
"path": "42",
"requests": 382,
"api_requests": 4
}