users

Find user by login.

get/api/v1/users/{user}

Request

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

Path parameters

userstring required

crates.io username

Query parameters

includestring

Additional data to include in the response.

Valid values: linked_accounts.

Defaults to no additional data.

This parameter expects a comma-separated list of values.

Response

Successful Response

Example response

{
  "user": {
    "avatar": "https://avatars2.githubusercontent.com/u/1234567?v=4",
    "id": 42,
    "login": "ghost",
    "name": "Kate Morgan",
    "url": "https://github.com/ghost"
  }
}

Changes

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