REPSLog Stats API
The Stats API from REPSLog — 1 operation(s) for stats.
The Stats API from REPSLog — 1 operation(s) for stats.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/reps-log-com:reps-log-com-stats-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: REPSLog Stats API
version: 1.0.0
description: 'Log and read REPS work hours. Authenticate with an API key (`Authorization: Bearer rl_.`, created in the Developer Portal). OAuth access tokens are for the MCP connector at `/api/mcp`, not this API. Requires a REPSLog Premium subscription.'
servers:
- url: https://api.reps-log.com/v1
security:
- apiKey: []
tags:
- name: Stats
paths:
/stats:
get:
operationId: getStats
summary: Flexible stat query
description: Totals over the precomputed stat tree with year / month / all-time grain and optional groupBy.
parameters:
- name: year
in: query
schema:
type: integer
- name: month
in: query
schema:
type: integer
minimum: 1
maximum: 12
- name: allTime
in: query
schema:
type: boolean
- name: groupBy
in: query
schema:
type: string
enum:
- none
- property
- category
- participant
- month
- name: propertyId
in: query
schema:
type: string
- name: participantId
in: query
schema:
type: string
- name: propertyType
in: query
schema:
type: string
enum:
- str
- ltr
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
enum:
- true
data:
type: object
properties:
scope:
type: object
properties:
grain:
type: string
enum:
- year
- month
- all_time
year:
type: number
month:
type: number
groupBy:
type: string
enum:
- none
- property
- category
- participant
- month
propertyId:
type: string
participantId:
type: string
propertyType:
type: string
enum:
- str
- ltr
totalHours:
type: number
ltrHours:
type: number
strHours:
type: number
entryCount:
type: number
groups:
type: array
items:
type: object
'400':
description: Validation / bad request
content:
application/json:
schema:
type: object
required:
- ok
- code
- message
- requestId
properties:
ok:
type: boolean
enum:
- false
code:
type: string
message:
type: string
requestId:
type: string
details: {}
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
required:
- ok
- code
- message
- requestId
properties:
ok:
type: boolean
enum:
- false
code:
type: string
message:
type: string
requestId:
type: string
details: {}
'403':
description: Forbidden scope / not Premium
content:
application/json:
schema:
type: object
required:
- ok
- code
- message
- requestId
properties:
ok:
type: boolean
enum:
- false
code:
type: string
message:
type: string
requestId:
type: string
details: {}
'404':
description: Not found
content:
application/json:
schema:
type: object
required:
- ok
- code
- message
- requestId
properties:
ok:
type: boolean
enum:
- false
code:
type: string
message:
type: string
requestId:
type: string
details: {}
'429':
description: Rate limited
content:
application/json:
schema:
type: object
required:
- ok
- code
- message
- requestId
properties:
ok:
type: boolean
enum:
- false
code:
type: string
message:
type: string
requestId:
type: string
details: {}
tags:
- Stats
components:
securitySchemes:
apiKey:
type: http
scheme: bearer
description: 'API key: rl_<keyId>.<secret>'