Danny Keane Github Contributions API
The Github Contributions API from Danny Keane — 1 operation(s) for github contributions.
The Github Contributions API from Danny Keane — 1 operation(s) for github contributions.
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/dannykeane-com:dannykeane-com-github-contributions-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. 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: Danny Keane API (dannykeane.com) Github Contributions API
version: 1.0.0
description: 'Public HTTP endpoints on dannykeane.com, the personal site of Danny Keane. No authentication on any endpoint.
Pagination: list endpoints (/api/v1/work) are cursor-paginated. Pass limit for the page size; each page returns next_cursor, null on the last page -- send it back as cursor for the next one. Cursors are opaque tokens.
Async jobs: send Prefer: respond-async to POST /api/v1/batch for a 202 whose Location (and body status_url) is /api/v1/jobs/{id}; GET it for the result. Jobs are stateless -- the id carries the request, the work runs when you poll, nothing is stored -- and ids expire an hour after creation.
Versioning: the stable surface is /api/v1/. Breaking changes ship as a new version prefix; a deprecated endpoint answers with Deprecation and Sunset headers (RFC 9745 / RFC 8594) at least six months before removal.
Deprecation policy: every /api response carries `Link: ; rel="sunset"` (RFC 8594 section 6), pointing at this policy before any Sunset date is set. Nothing is deprecated today.
Rate limits: every response carries advisory RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and RateLimit-Policy headers (60 requests per 60-second window per endpoint); a 429 carries Retry-After.
Errors: every 4xx/5xx body is the ErrorResponse object -- a machine-readable `code`, a human-readable `error`, and an optional `hint`.
The site also runs a Model Context Protocol server at https://dannykeane.com/mcp (Streamable HTTP, JSON-RPC -- not modeled here; see the server card at /.well-known/mcp/server-card.json), a docs MCP server at https://dannykeane.com/docs/mcp for searching and reading the site''s documents, and publishes llms.txt at https://dannykeane.com/llms.txt.'
contact:
name: Danny Keane
url: https://dannykeane.com/contact
email: me@dannykeane.co.uk
servers:
- url: https://dannykeane.com
security: []
tags:
- name: Github Contributions
paths:
/api/v1/github-contributions:
get:
operationId: getGithubContributions
summary: GitHub contribution calendar
description: 'Danny Keane''s GitHub contribution graph: 52 weeks of daily counts plus aggregate stats.'
responses:
'200':
description: Contribution weeks and aggregate stats
content:
application/json:
schema:
type: object
properties:
weeks:
type: array
items:
type: array
items:
type: object
properties:
date:
type: string
format: date
count:
type: integer
level:
type: integer
minimum: 0
maximum: 4
required:
- date
- count
- level
totalContributions:
type: integer
stats:
type: object
properties:
avgPerDay:
type: number
maxDay:
type: integer
activeDays:
type: integer
totalDays:
type: integer
weeklyTotals:
type: array
items:
type: integer
required:
- weeks
- totalContributions
'500':
description: Server not configured or internal error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'502':
description: Upstream GitHub API failure
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
tags:
- Github Contributions
components:
schemas:
ErrorResponse:
type: object
description: Every 4xx/5xx response body. `code` is stable and machine-readable; `error` is the human-readable message; `hint` says how to fix the request when that is knowable.
properties:
code:
type: string
enum:
- invalid_body
- unknown_event
- missing_message
- empty_message
- message_too_long
- missing_parameters
- invalid_parameter
- rate_limited
- not_configured
- upstream_error
- method_not_allowed
- not_found
- internal_error
- job_expired
error:
type: string
hint:
type: string
required:
- code
- error
additionalProperties: true
externalDocs:
description: 'Danny Keane Developer Docs: API and MCP Server'
url: https://dannykeane.com/developers