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

# Get short link analytics

> Same shape as page analytics. Links record clicks, not views.

**Required permission:** `biolinks:analytics:read`



## OpenAPI

````yaml /api-reference/biolinks.openapi.json get /links/{link}/analytics
openapi: 3.1.0
info:
  title: Link in Bio API
  version: 1.0.0
  description: >-
    Link-in-bio pages and their blocks, short links, QR codes, tracking pixels,
    form submissions, analytics and custom domains.
servers:
  - url: https://{domain}/api/v1/biolinks
    description: Your platform domain
    variables:
      domain:
        default: app.example.com
        description: The domain you sign in to, without https://
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Pages
  - name: Blocks
  - name: Short links
  - name: Catalogue
  - name: Analytics
  - name: Submissions
  - name: QR codes
  - name: Pixels
  - name: Domains
paths:
  /links/{link}/analytics:
    get:
      tags:
        - Analytics
      summary: Get short link analytics
      description: |-
        Same shape as page analytics. Links record clicks, not views.

        **Required permission:** `biolinks:analytics:read`
      operationId: links.analytics
      parameters:
        - name: link
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Link ID.
      responses:
        '200':
          description: Success
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A workspace API key: `Authorization: Bearer osk_...`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: The same workspace API key in the `x-api-key` header.

````

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