Documentation
AnalyticsGET

Analytics Timeseries

Daily or weekly request count timeseries. Use GET /v1/analytics/timeseries when you need this capability from your application or backend. It does not require a request body. Query parameters are available for request scoping and filtering.

Endpoint

Use this full URL directly in server-side integrations, scripts, or internal tooling.

GET request
https://api.dropfakes.com/api/v1/analytics/timeseries
Full endpoint URL
GET https://api.dropfakes.com/api/v1/analytics/timeseries

Authorization

This section explains how this endpoint should be called in the current API version.

No authorization required
This endpoint is documented as public in this version of the API reference. No bearer token is required.
Authorization
Authorization: dk_live_*****

Code examples

Start with curl, then use the language sample that matches your backend.

curl
curl -X GET "https://api.dropfakes.com/api/v1/analytics/timeseries?start=value&end=value&granularity=day"

Parameters

Query string parameters and request body fields are listed together for faster scanning.

NameLocationTypeRequiredDescriptionDefault
startquerystring (date)NoQuery parameter for `start`.-
endquerystring (date)NoQuery parameter for `end`.-
granularityquerystringNoQuery parameter for `granularity`.day

Success response

The primary success status for this operation is 200.

Status 200
Successful Response
200 application/json
{
  "data": [
    {
      "date": "2026-03-21",
      "requests": 1,
      "blocked": 1,
      "allowed": 1,
      "errors": 1
    }
  ],
  "granularity": "string"
}

Error response

Use this example to handle validation and request errors safely on the client or backend.

Status 422
Validation Error
422 application/json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}