Clojars Users API

Operations related to Clojars user profiles and group memberships

Operations 1

GET /api/users/{username} Get User #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/clojars-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

clojars-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clojars REST Artifacts Users API
  description: A RESTful API for searching and retrieving Clojure artifact metadata, user profiles, group memberships, and release feeds from the Clojars community repository. Read endpoints are public; write/deploy operations require a deploy token.
  version: 1.0.0
  contact:
    name: Clojars Team
    email: clojars@googlegroups.com
    url: https://github.com/clojars
  license:
    name: Eclipse Public License
    url: https://github.com/clojars/clojars-web/blob/main/COPYING
  termsOfService: https://clojars.org/
servers:
- url: https://clojars.org
  description: Clojars production server
tags:
- name: Users
  description: Operations related to Clojars user profiles and group memberships
paths:
  /api/users/{username}:
    get:
      operationId: getUser
      summary: Get User
      description: Returns the list of groups the specified user belongs to.
      tags:
      - Users
      parameters:
      - name: username
        in: path
        required: true
        description: The Clojars username to look up.
        schema:
          type: string
          example: ato
      responses:
        '200':
          description: User profile with group memberships.
          headers:
            Content-Type:
              schema:
                type: string
              description: application/json, application/edn, application/yaml, or application/transit+json depending on Accept header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
              example:
                user: ato
                groups:
                - net.cgrand
                - org.clojure
        '404':
          description: User not found.
components:
  schemas:
    User:
      type: object
      description: A Clojars user profile.
      properties:
        user:
          type: string
          description: The username.
          example: ato
        groups:
          type: array
          description: List of group identifiers the user belongs to.
          items:
            type: string
          example:
          - net.cgrand
          - org.clojure
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using your Clojars username and a deploy token (not your password). Deploy tokens can be created at https://clojars.org/tokens. Required only for write/deploy operations.
externalDocs:
  description: Clojars API Wiki
  url: https://github.com/clojars/clojars-web/wiki/Data