> ## Documentation Index
> Fetch the complete documentation index at: https://docs.linkvite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get profile

> The profile plus counts and, for a signed-in caller, how they relate (following / requested / follows you / friends / blocked) and whether they may see its collections and activity. Someone who blocked the caller looks like a missing profile

**Rate limit:** 250 requests per 5 minutes



## OpenAPI

````yaml /api-reference/openapi.json get /v1/profiles/{username}
openapi: 3.1.0
info:
  contact:
    email: support@linkvite.io
    name: Linkvite
    url: https://linkvite.io
  description: >-
    The Linkvite REST API. Generated from the cultus source by tools/openapi; do
    not edit by hand.
  title: Linkvite API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.linkvite.io
  - description: Staging
    url: https://api-stg.linkvite.io
security: []
tags:
  - description: Keys for scripts and servers acting as your account.
    name: API keys
  - description: OAuth apps you've built, and the apps you've authorized.
    name: Apps
  - description: Links, notes and files you've saved.
    name: Bookmarks
  - description: Folders of bookmarks, private or shared.
    name: Collections
  - description: Discussion on bookmarks in shared collections.
    name: Comments
  - description: Recommendations and trending links.
    name: Explore
  - description: Downloads and share links for uploaded files.
    name: Files
  - description: Highlights and notes on saved pages.
    name: Highlights
  - description: Shareable links that let people join a collection.
    name: Invite links
  - description: Invitations to collaborate on a collection.
    name: Invites
  - description: Your notifications.
    name: Notifications
  - description: Fetch metadata for a link, and import from other services.
    name: Parser
  - description: Plans and subscription status.
    name: Plans
  - description: Public profiles, their collections, follows and blocks.
    name: Profiles
  - description: RSS feeds that save new items into a collection.
    name: RSS feeds
  - description: Reminders to revisit a bookmark.
    name: Reminders
  - description: Search your library, and image search for covers.
    name: Search
  - description: The feed from people you follow.
    name: Social
  - description: Your account, settings, storage and sessions.
    name: User
paths:
  /v1/profiles/{username}:
    get:
      tags:
        - Profiles
      summary: Get profile
      description: >-
        The profile plus counts and, for a signed-in caller, how they relate
        (following / requested / follows you / friends / blocked) and whether
        they may see its collections and activity. Someone who blocked the
        caller looks like a missing profile


        **Rate limit:** 250 requests per 5 minutes
      operationId: getProfile
      parameters:
        - in: path
          name: username
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/SocialProfile'
                  message:
                    type: string
                  ok:
                    const: true
                    type: boolean
                required:
                  - ok
                  - data
                type: object
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      security:
        - apiKey: []
        - oauth2: []
        - bearer: []
        - {}
      x-codeSamples:
        - lang: bash
          label: curl
          source: |
            curl -X GET "https://api.linkvite.io/v1/profiles/<username>" \
              -H "x-api-key: $LINKVITE_API_KEY"
        - lang: javascript
          label: JavaScript
          source: |-
            import {Linkvite} from '@linkvite/js';

            const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
            const data = await linkvite.profiles.get('<username>');
        - lang: go
          label: Go
          source: |-
            client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
            data, err := client.Profiles.Get(ctx, "<username>")
components:
  schemas:
    SocialProfile:
      description: >-
        is GET /profiles/:username: the public profile plus counts and the
        viewer's relationship to it.
      properties:
        account_type:
          enum:
            - enterprise
            - free
            - pro
          type: string
        avatar:
          type: string
        blocked:
          type: boolean
        can_follow:
          type: boolean
        can_view:
          type: boolean
        created_at:
          format: date-time
          type: string
        follow:
          type: string
        followers_count:
          format: int64
          type: integer
        following_count:
          format: int64
          type: integer
        follows_you:
          type: boolean
        friends:
          type: boolean
        id:
          type: string
        is_me:
          type: boolean
        name:
          type: string
        private_account:
          type: boolean
        public_collections_count:
          format: int64
          type: integer
        role:
          enum:
            - admin
            - viewer
          type: string
        status:
          enum:
            - active
            - deleted
            - suspended
          type: string
        username:
          type: string
        verified:
          type: boolean
      required:
        - account_type
        - avatar
        - blocked
        - can_follow
        - can_view
        - created_at
        - follow
        - followers_count
        - following_count
        - follows_you
        - friends
        - id
        - is_me
        - name
        - private_account
        - public_collections_count
        - status
        - username
        - verified
      type: object
    ErrorResponse:
      properties:
        error:
          description: Human-readable message.
          type: string
        errors:
          additionalProperties:
            type: string
          description: Field -> problem, for validation errors.
          type: object
        ok:
          const: false
          type: boolean
        request_id:
          description: Quote this when contacting support (also the X-Request-ID header).
          type: string
      required:
        - ok
      type: object
  responses:
    Error:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Error
  securitySchemes:
    apiKey:
      description: An API key from Settings → Developers.
      in: header
      name: x-api-key
      type: apiKey
    oauth2:
      flows:
        authorizationCode:
          authorizationUrl: https://app.linkvite.io/authorize
          refreshUrl: https://api.linkvite.io/v1/oauth/token
          scopes:
            api-keys:read: Read api-keys
            apps:read: Read apps
            bookmarks:delete: Delete bookmarks
            bookmarks:edit: Edit bookmarks
            bookmarks:read: Read bookmarks
            bookmarks:write: Write bookmarks
            collections:delete: Delete collections
            collections:edit: Edit collections
            collections:read: Read collections
            collections:write: Write collections
            comments:delete: Delete comments
            comments:read: Read comments
            comments:write: Write comments
            explore:read: Read explore
            files:read: Read files
            highlights:delete: Delete highlights
            highlights:edit: Edit highlights
            highlights:read: Read highlights
            highlights:write: Write highlights
            invite-links:delete: Delete invite-links
            invite-links:edit: Edit invite-links
            invite-links:write: Write invite-links
            invites:edit: Edit invites
            invites:read: Read invites
            plans:read: Read plans
            reminders:delete: Delete reminders
            reminders:edit: Edit reminders
            reminders:read: Read reminders
            reminders:write: Write reminders
            rss-feeds:delete: Delete rss-feeds
            rss-feeds:edit: Edit rss-feeds
            rss-feeds:read: Read rss-feeds
            rss-feeds:write: Write rss-feeds
            search:read: Read search
            user:edit: Edit user
            user:read: Read user
            user:storage:read: Storage:read user
            user:trash:delete: Trash:delete user
          tokenUrl: https://api.linkvite.io/v1/oauth/token
      type: oauth2
    bearer:
      description: An access token (OAuth, or a first-party session).
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.