WakaTime · Schema
Stats
Developer ProductivityDeveloper ToolsTime TrackingCoding AnalyticsLeaderboardsIDE PluginsOpen SourcePublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| user_id | string | |
| username | stringnull | |
| range | string | |
| start | string | |
| end | string | |
| days_including_holidays | integer | |
| days_minus_holidays | integer | |
| holidays | integer | |
| status | string | |
| is_up_to_date | boolean | |
| percent_calculated | integer | |
| timeout | integer | |
| writes_only | boolean | |
| timezone | string | |
| total_seconds | number | |
| total_seconds_including_other_language | number | |
| daily_average | number | |
| daily_average_including_other_language | number | |
| human_readable_total | string | |
| human_readable_daily_average | string | |
| best_day | object | |
| languages | array | |
| projects | array | |
| editors | array | |
| operating_systems | array | |
| machines | array | |
| categories | array | |
| dependencies | array | |
| created_at | string | |
| modified_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/wakatime/json-schema/wakatime-stats-schema.json",
"title": "Stats",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/wakatime-stats-api-openapi.yml#/components/schemas/Stats",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"user_id": {
"type": "string"
},
"username": {
"type": [
"string",
"null"
]
},
"range": {
"type": "string"
},
"start": {
"type": "string",
"format": "date-time"
},
"end": {
"type": "string",
"format": "date-time"
},
"days_including_holidays": {
"type": "integer"
},
"days_minus_holidays": {
"type": "integer"
},
"holidays": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"ok",
"updating",
"pending"
]
},
"is_up_to_date": {
"type": "boolean"
},
"percent_calculated": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"writes_only": {
"type": "boolean"
},
"timezone": {
"type": "string"
},
"total_seconds": {
"type": "number",
"format": "float"
},
"total_seconds_including_other_language": {
"type": "number",
"format": "float"
},
"daily_average": {
"type": "number",
"format": "float"
},
"daily_average_including_other_language": {
"type": "number",
"format": "float"
},
"human_readable_total": {
"type": "string"
},
"human_readable_daily_average": {
"type": "string"
},
"best_day": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date"
},
"total_seconds": {
"type": "number",
"format": "float"
},
"text": {
"type": "string"
}
}
},
"languages": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"projects": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"editors": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"operating_systems": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"machines": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"categories": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"dependencies": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryBreakdown"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"modified_at": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"SummaryBreakdown": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"total_seconds": {
"type": "number",
"format": "float"
},
"percent": {
"type": "number",
"format": "float"
},
"digital": {
"type": "string"
},
"decimal": {
"type": "string"
},
"text": {
"type": "string"
},
"hours": {
"type": "integer"
},
"minutes": {
"type": "integer"
},
"seconds": {
"type": [
"integer",
"null"
]
},
"machine_name_id": {
"type": [
"string",
"null"
]
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wakatime-stats"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
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. 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.