---
title: "Get current user's usage timeseries"
method: GET
path: "/usage/me/timeseries"
tags: ["Usage"]
---

# Get current user's usage timeseries

`GET /usage/me/timeseries`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/usage/me/timeseries`
- Auth: API key in header `x-api-key`

Returns the signed-in user's request usage as UTC time buckets for charts. `range` is `period` (default), `day`, `week`, `month` or `custom` (with RFC3339 `from` and `to`); `bucket` is `hour` or `day`; `endpoint` filters to one endpoint such as `google/search`. Each bucket has start, end, `requests`, `charged_requests`, `credits` and `overage`. Empty buckets are filled with zeros.

## Query parameters

- `range` 'period' | 'day' | 'week' | 'month' | 'custom'
- `bucket` 'hour' | 'day'
- `endpoint` string
- `from` string
- `to` string

## Headers

- `Authorization` string
- `x-api-key` string

## Response `200`

Usage timeseries

- UsageUsageTimeseriesResponseDoc
  - `code` integer
  - `data` UsageUsageTimeseriesDoc
    - `bucket` string
    - `from` string
    - `items` UsageUsageTimeseriesItemDoc[]
      - `bucket_end` string
      - `bucket_start` string
      - `charged_requests` integer
      - `credits` integer
      - `failed_requests` integer
      - `non_billable_requests` integer
      - `overage` integer
      - `requests` integer
    - `range` string
    - `to` string
  - `msg` string

## Other responses

- `400`: Invalid query parameters
- `401`: Authentication required
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
