---
title: "Get user or suggestions"
method: GET
path: "/api/user"
tags: ["User"]
---

# Get user or suggestions

`GET /api/user`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/user`
- Auth: HTTP bearer

suggest=1: suggested users (auth). No id: current user (auth). id and/or handle: public profile. Current-user payload always includes `interests` (array; empty means none) and `interestsCapturedAt` (ISO 8601 or null if never captured). Rep: `trophies` is the PointsHistory sum only and never changes meaning — old clients read it. `fanRep` is the combined total (PointsHistory + RepLedgerEntry) and is what new clients should read. Self payload also includes optional `config` (DSE-368 feed control plane: feedRanking, signalsEnabled, signalSampleRate, adsEnabled, adsPersonalized, experiments). `adsEnabled` is ad inventory (first-party, defaults on); `adsPersonalized` is whether that inventory may be selected from behavioural signals. It is true only when the FEED_ADS_PERSONALIZED kill switch is on AND UserSettings.personalizedAdsConsent is true (GDPR Art. 6(1)(a), default false, #785). When UserSettings.analyticsPersonalization is false (#614), config is forced to legacy / signals off / sample 0, while `adsEnabled` passes through and ad consent is unchanged. Omitted for other profiles / signed-out — clients use safe defaults (legacy / signals off / sample 0 / inventory on / targeting off). Owner config also always emits lineupCtaWindow: { opensBeforeKickoffMs, closesAfterEndMs } | null (#1116). Both values are integers clamped to 0..86400000, from FEED_LINEUP_CTA_OPENS_BEFORE_KICKOFF_MS and FEED_LINEUP_CTA_CLOSES_AFTER_END_MS; missing/incomplete/invalid configuration returns null. Trimmed signed decimal integers are accepted; fractions, exponents, hexadecimal and non-finite values are invalid. No automatic 4h/15m defaults are enabled. Analytics personalization opt-out preserves this global product timing.

## Query parameters

- `suggest` string
- `id` string
- `handle` string

## Response `200`

User object or suggestions array

## Other responses

- `401`: Unauthorized

## Changes

- **2026-03-08** `120afc4ee72c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/user/get.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
