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

# Prometheus Metrics

> Returns metrics in Prometheus text format.
Includes request counts, latencies, scraping statistics, and system metrics.




## OpenAPI

````yaml /openapi-consumer.yaml get /metrics
openapi: 3.0.3
info:
  title: LinkedIn Scraper API
  description: >
    API for scraping LinkedIn Sales Navigator search results.


    ## Authentication

    - API key required via `x-api-key` header (unless disabled in configuration)


    ## Rate Limiting

    - Default: 0.2 requests per second (12 requests per minute)

    - Configurable per API key


    ## Getting LinkedIn Cookies


    Use the **Cookie-Editor** browser extension: [Chrome Web
    Store](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm)


    1. Install Cookie-Editor and log in to LinkedIn in your browser.

    2. Click the Cookie-Editor icon, then click **Export**.

    3. **Select "Header"** format (NOT JSON, NOT Netscape).

    4. The cookie string is copied to your clipboard. Paste it into the
    `cookies` field.


    The export must contain `li_at` and `JSESSIONID` cookies.


    ## Important Notes

    - Requires valid LinkedIn cookies for authentication

    - Respects LinkedIn's rate limits with built-in delays

    - Supports both contact and account scraping
  version: 1.0.0
  contact:
    name: API Support
    email: support@example.com
servers:
  - url: http://localhost:8000
    description: Development server
  - url: https://api.nickautomations.com/linkedin
    description: Production server
security: []
tags:
  - name: Scraping
    description: LinkedIn data extraction endpoints
  - name: Health
    description: Service health and monitoring
paths:
  /metrics:
    get:
      tags:
        - Health
      summary: Prometheus Metrics
      description: >
        Returns metrics in Prometheus text format.

        Includes request counts, latencies, scraping statistics, and system
        metrics.
      responses:
        '200':
          description: Prometheus metrics
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Metrics endpoint disabled

````