users

Get user stats.

This currently only returns the total number of downloads for crates owned by the user.

get/api/v1/users/{id}/stats

Request

  • Base URL: https://crates.io
  • URL: https://crates.io/api/v1/users/{id}/stats
  • Auth: none declared

Path parameters

idinteger required

ID of the user

Response

Successful Response

total_downloadsinteger required

The total number of downloads for crates owned by the user.

Example response

{
  "total_downloads": 123456789
}

Changes

No recorded changes to this operation across all 1 revision of this API.