> ## 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 feed

> The Following feed

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



## OpenAPI

````yaml /api-reference/openapi.json get /v1/feed
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/feed:
    get:
      tags:
        - Social
      summary: Get feed
      description: |-
        The Following feed

        **Rate limit:** 250 requests per 5 minutes
      operationId: getFeed
      parameters:
        - in: query
          name: cursor
          schema:
            type: string
        - in: query
          name: limit
          schema:
            default: 20
            type: integer
        - in: query
          name: friends
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/FeedResponse'
                  message:
                    type: string
                  ok:
                    const: true
                    type: boolean
                required:
                  - ok
                  - data
                type: object
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      security:
        - apiKey: []
        - bearer: []
      x-codeSamples:
        - lang: bash
          label: curl
          source: |
            curl -X GET "https://api.linkvite.io/v1/feed" \
              -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.feed.get();
        - lang: go
          label: Go
          source: |-
            client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
            data, err := client.Feed.Get(ctx, nil)
components:
  schemas:
    FeedResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/FeedCard'
          type: array
        next_cursor:
          type: string
      required:
        - items
        - next_cursor
      type: object
    FeedCard:
      description: >-
        is one item of the Following feed. Consecutive saves by the same person
        into the same collection collapse into one card (Count > 1).
      properties:
        actor:
          $ref: '#/components/schemas/PersonLite'
        at:
          format: date-time
          type: string
        bookmarks:
          items:
            $ref: '#/components/schemas/FeedBookmark'
          type: array
        collection:
          anyOf:
            - $ref: '#/components/schemas/CollectionLite'
            - type: 'null'
        count:
          format: int64
          type: integer
        friend:
          type: boolean
        highlights:
          items:
            $ref: '#/components/schemas/FeedHighlight'
          type: array
        id:
          type: string
        kind:
          type: string
      required:
        - actor
        - at
        - bookmarks
        - count
        - friend
        - id
        - kind
      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
    PersonLite:
      description: is the actor/owner on feed cards.
      properties:
        avatar:
          type: string
        id:
          type: string
        name:
          type: string
        username:
          type: string
      required:
        - avatar
        - id
        - name
        - username
      type: object
    FeedBookmark:
      properties:
        created_at:
          format: date-time
          type: string
        description:
          type: string
        icon:
          type: string
        id:
          type: string
        saved_by_me:
          type: boolean
        thumbnail:
          type: string
        title:
          type: string
        type:
          type: string
        url:
          type: string
        url_key:
          type: string
      required:
        - created_at
        - description
        - icon
        - id
        - saved_by_me
        - thumbnail
        - title
        - type
        - url
      type: object
    CollectionLite:
      properties:
        icon:
          type: string
        id:
          type: string
        name:
          type: string
        owner:
          $ref: '#/components/schemas/PersonLite'
        thumbnail:
          type: string
      required:
        - icon
        - id
        - name
        - owner
        - thumbnail
      type: object
    FeedHighlight:
      properties:
        color:
          type: string
        exact:
          type: string
        id:
          type: string
        note:
          type: string
      required:
        - color
        - exact
        - id
        - note
      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
    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.