---
title: "Get the number of friends a user has"
method: GET
path: "/v1/users/{userId}/friends/count"
tags: ["Connections", "Users"]
---

# Get the number of friends a user has

`GET /v1/users/{userId}/friends/count`

## Path parameters

- `userId` integer, required

## Response `200`

OK

- RobloxFriendsApiFriendsCountResponse — Response model for Friends Count
  - `count` integer — Count of friends

## Other responses

- `400` — 1: The target user is invalid or does not exist.

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/e15802062270/schema)
