Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Commonrig Com Stats API
version: 0.1.0
description: 'Operations tagged Stats across 2 of this provider''s published API definitions: commonrig-com-openapi.json, commonrig-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commonrig.com
tags:
- name: Stats
paths:
/v1/stats:
get:
summary: Aggregated research statistics; production by default
responses:
'200':
description: Aggregates
'400':
description: Invalid filter
'401':
description: Unauthorised
'404':
description: Stats disabled
security:
- statsToken: []
parameters:
- name: env
in: query
schema:
type: string
enum:
- production
- staging
default: production
- name: from
in: query
schema:
type: string
description: ISO date or timestamp. from inclusive; to exclusive.
- name: to
in: query
schema:
type: string
description: ISO date or timestamp. from inclusive; to exclusive.
tags:
- Stats
operationId: getV1Stats
x-operation-id-source: derived
servers:
- url: https://commonrig.com
components:
securitySchemes:
statsToken:
type: http
scheme: bearer
licence:
type: http
scheme: bearer
x-refined-from:
- commonrig-com-openapi.json
- commonrig-com-openapi.yml