---
title: "Get an opt-in public publishing profile"
method: GET
path: "/public/profiles/{username}"
tags: ["Profiles"]
---

# Get an opt-in public publishing profile

`GET /public/profiles/{username}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/public/profiles/{username}`
- Auth: none required

## Path parameters

- `username` string, required: Public profile username

## Response `200`

OK

- PublicProfileOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `active_days` integer
  - `activity` PublicProfileActivityDay[], nullable
    - `count` integer, required: Published OpenPost publications on this date
    - `date` string, required: UTC activity date in YYYY-MM-DD format
    - `level` integer, required: Activity intensity from 0 through 4
  - `avatar_url` string
  - `current_streak` integer
  - `display_name` string
  - `joined_at` string, date-time
  - `lifetime_posts` integer
  - `longest_streak` integer
  - `peak_posts` integer
  - `plan_id` string: Highest active OpenPost plan available to the profile owner
  - `top_platforms` PublicProfileRanking[], nullable
    - `count` integer, required: Published destinations or publications
    - `key` string, required: Stable platform or workspace identifier
    - `name` string, required: Display label
  - `top_workspaces` PublicProfileRanking[], nullable
    - `count` integer, required: Published destinations or publications
    - `key` string, required: Stable platform or workspace identifier
    - `name` string, required: Display label
  - `username` string, required
  - `visible_fields` string[], nullable, required: Optional account fields this profile owner chose to disclose

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
