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

# Citation Trends

> List cited URLs with their daily citation rate and trend metrics (first cited, days to peak, peak weekly rate, half-life). Always analyzes the 90 days ending at endDate; there is no startDate. Only URLs with 5 or more positioned citations in that window are included. Sortable by first citation date only.



## OpenAPI

````yaml /v2/openapi.json get /citations/trends
openapi: 3.0.0
info:
  title: Promptwatch API v2
  description: >-
    API v2 for customer integrations with Promptwatch monitoring platform. This
    version provides improved structure, additional endpoints, and enhanced
    functionality.
  version: 2.0.0
  contact:
    name: Promptwatch Support
    email: support@promptwatch.com
    url: https://promptwatch.com
  license:
    name: Commercial
    url: https://promptwatch.com/terms-and-conditions
servers:
  - url: https://server.promptwatch.com/api/v2
    description: Promptwatch API v2
security: []
tags:
  - name: Authentication
    description: API key validation and authentication
  - name: Content
    description: >-
      AI content generation and content refresh. Create content asynchronously
      and poll for results.
  - name: Content Agent
    description: >-
      Content Agent (automated content) lifecycle: project settings, scheduled
      slots, review (accept/decline), and publish.
  - name: Content Gap
    description: Content gap analysis and recommendations
  - name: Publishing
    description: >-
      Publish content to a connected CMS, or record a live URL, and track the
      published page
  - name: IndexNow
    description: Submit pages to search engines through IndexNow and track each submission
  - name: Models
    description: Available LLM models
  - name: Monitors
    description: Monitor management and CRUD operations
  - name: Page Tracker
    description: Track URLs and inspect citation stats, responses, and prompts
  - name: Prompts
    description: Prompt management and operations
  - name: Query Fanouts
    description: ChatGPT query fanout keywords
  - name: Responses
    description: LLM response data and analytics
  - name: Tags
    description: Tag management for prompts
  - name: Topics
    description: Topic management for prompts
  - name: Actions
    description: Action items (GEO suggestions and tasks)
  - name: Personas
    description: Persona configuration for monitors
  - name: Brands
    description: Brand management for competitive analysis
  - name: Brand Book
    description: Brand name, website, aliases, and the copy used to describe the brand
  - name: Visibility
    description: >-
      Brand visibility time series, competitor heatmaps, and performance
      heatmaps
  - name: Events
    description: >-
      Dated project events such as prompts added and actions completed, for
      annotating time series
  - name: Citations
    description: Citation analytics from AI responses
  - name: Analytics
    description: Visitor analytics, AI crawler logs, sentiment, and brand visibility trends
  - name: Search Insights
    description: >-
      Google Search Console and Bing Webmaster performance for the project
      website
  - name: Projects
    description: Project management (organization-level keys only)
  - name: Usage
    description: Plan usage and limits (organization-level keys only)
  - name: Sitemap
    description: Sitemap feeds, crawler settings, crawl progress, and discovered URLs
  - name: Site Health
    description: Deprecated. Legacy SEO issue pages. Use Site Audit for the current checks.
  - name: Site Audit
    description: >-
      Site audit runs, issue lists, link and content insights, and per-URL
      history
  - name: Socials
    description: >-
      Social media citations (Reddit posts, YouTube videos, LinkedIn posts, and
      Instagram posts) found in LLM responses
  - name: Ads Radar
    description: Sponsored ads captured in AI answers
  - name: Shopping
    description: Product appearances in AI shopping answers and tracked products
paths:
  /citations/trends:
    get:
      tags:
        - Citations
      summary: Citation Trends
      description: >-
        List cited URLs with their daily citation rate and trend metrics (first
        cited, days to peak, peak weekly rate, half-life). Always analyzes the
        90 days ending at endDate; there is no startDate. Only URLs with 5 or
        more positioned citations in that window are included. Sortable by first
        citation date only.
      operationId: listCitationTrends
      parameters:
        - schema:
            type: string
            format: date
          in: query
          name: endDate
          required: false
          description: >-
            End of the analyzed window (YYYY-MM-DD); defaults to today. The
            window is always the 90 days ending on this date
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
          in: query
          name: models
          required: false
          description: 'Filter by LLM models. Repeat for multiple: models=x&models=y'
        - schema:
            type: string
            format: uuid
          in: query
          name: llmMonitorId
          required: false
          description: Filter by specific LLM monitor ID
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: llmMonitorIds
          required: false
          description: >-
            Filter by several monitor IDs; ignored when llmMonitorId is set.
            Repeat for multiple
        - schema:
            anyOf:
              - type: string
                enum:
                  - ORGANIC
                  - BRAND_SPECIFIC
                  - COMPETITOR_COMPARISON
              - type: array
                items:
                  type: string
                  enum:
                    - ORGANIC
                    - BRAND_SPECIFIC
                    - COMPETITOR_COMPARISON
          in: query
          name: promptTypes
          required: false
          description: Filter by prompt type. Repeat for multiple
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: tagIds
          required: false
          description: Filter by prompt tag IDs. Repeat for multiple
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: topicIds
          required: false
          description: Filter by topic IDs. Repeat for multiple
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
          in: query
          name: domains
          required: false
          description: >-
            Only count these domains. Cannot be combined with excludeDomains.
            Repeat for multiple
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
          in: query
          name: excludeDomains
          required: false
          description: >-
            Leave out these domains. Cannot be combined with domains. Repeat for
            multiple
        - schema:
            anyOf:
              - type: string
                enum:
                  - NEWS_ARTICLE
                  - ARTICLE
                  - OPINION
                  - LISTICLE
                  - HOW_TO
                  - REVIEW
                  - COMPARISON
                  - CASE_STUDY
                  - INTERVIEW
                  - VIDEO
                  - PODCAST
                  - INFOGRAPHIC
                  - RESEARCH_PAPER
                  - REPORT
                  - DOCUMENTATION
                  - WIKI
                  - PRODUCT_PAGE
                  - LANDING_PAGE
                  - FORUM_POST
                  - SOCIAL_POST
                  - COMMENT
                  - QA
                  - PRESS_RELEASE
                  - FAQ
                  - GLOSSARY
                  - OTHER
              - type: array
                items:
                  type: string
                  enum:
                    - NEWS_ARTICLE
                    - ARTICLE
                    - OPINION
                    - LISTICLE
                    - HOW_TO
                    - REVIEW
                    - COMPARISON
                    - CASE_STUDY
                    - INTERVIEW
                    - VIDEO
                    - PODCAST
                    - INFOGRAPHIC
                    - RESEARCH_PAPER
                    - REPORT
                    - DOCUMENTATION
                    - WIKI
                    - PRODUCT_PAGE
                    - LANDING_PAGE
                    - FORUM_POST
                    - SOCIAL_POST
                    - COMMENT
                    - QA
                    - PRESS_RELEASE
                    - FAQ
                    - GLOSSARY
                    - OTHER
          in: query
          name: contentTypes
          required: false
          description: Filter by URL content type. Repeat for multiple
        - schema:
            anyOf:
              - type: string
                enum:
                  - NEWS
                  - BLOG
                  - CORPORATE
                  - DIRECTORY
                  - ACADEMIC
                  - GOVERNMENT
                  - WIKI
                  - INSTAGRAM
                  - TIKTOK
                  - X
                  - REDDIT
                  - YOUTUBE
                  - FACEBOOK
                  - LINKEDIN
                  - GITHUB
                  - STACKOVERFLOW
                  - MEDIUM
                  - SUBSTACK
                  - HACKERNEWS
                  - QUORA
                  - OTHER
              - type: array
                items:
                  type: string
                  enum:
                    - NEWS
                    - BLOG
                    - CORPORATE
                    - DIRECTORY
                    - ACADEMIC
                    - GOVERNMENT
                    - WIKI
                    - INSTAGRAM
                    - TIKTOK
                    - X
                    - REDDIT
                    - YOUTUBE
                    - FACEBOOK
                    - LINKEDIN
                    - GITHUB
                    - STACKOVERFLOW
                    - MEDIUM
                    - SUBSTACK
                    - HACKERNEWS
                    - QUORA
                    - OTHER
          in: query
          name: sourceTypes
          required: false
          description: Filter by URL source type. Repeat for multiple
        - schema:
            type: string
          in: query
          name: urlSearch
          required: false
          description: Search within cited URL / title / domain
        - schema:
            type: boolean
            default: true
          in: query
          name: hideIgnoredBrands
          required: false
          description: >-
            Exclude domains of ignored brands. Defaults to true; has no effect
            when domains is set
        - schema:
            type: integer
            default: 1
            minimum: 1
          in: query
          name: page
          required: false
          description: Page number (1-indexed)
        - schema:
            type: integer
            default: 25
            minimum: 1
            maximum: 100
          in: query
          name: size
          required: false
          description: Number of URLs per page
        - schema:
            type: string
            enum:
              - asc
              - desc
            default: asc
          in: query
          name: sortOrder
          required: false
          description: Sort by first citation date; defaults to asc (oldest first)
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - urlId: 3f1c2e5a-9b7d-4c6e-8a1f-2b3c4d5e6f70
                      url: https://docs.example.com/guide
                      title: The Complete Guide
                      domainName: docs.example.com
                      sourceType: BLOG
                      contentType: HOW_TO
                      firstCitedAt: '2026-09-02T08:14:00.000Z'
                      totalCitations: 42
                      dailyRates:
                        - dayStart: '2026-09-02T00:00:00.000Z'
                          rate: 3.1
                        - dayStart: '2026-09-03T00:00:00.000Z'
                          rate: 4.5
                      peakRate: 6.2
                      peakWeekStart: '2026-09-14T00:00:00.000Z'
                      riseDays: 12
                      halfLifeDays: 21
                  pagination:
                    total: 120
                    page: 1
                    size: 25
                    totalPages: 5
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        urlId:
                          type: string
                          description: Internal URL identifier
                        url:
                          type: string
                          description: The cited URL
                        title:
                          type: string
                          nullable: true
                          description: Page title
                        domainName:
                          type: string
                          description: Domain of the cited URL
                        sourceType:
                          type: string
                          enum:
                            - NEWS
                            - BLOG
                            - CORPORATE
                            - DIRECTORY
                            - ACADEMIC
                            - GOVERNMENT
                            - WIKI
                            - INSTAGRAM
                            - TIKTOK
                            - X
                            - REDDIT
                            - YOUTUBE
                            - FACEBOOK
                            - LINKEDIN
                            - GITHUB
                            - STACKOVERFLOW
                            - MEDIUM
                            - SUBSTACK
                            - HACKERNEWS
                            - QUORA
                            - OTHER
                          nullable: true
                          description: Source type classification
                        contentType:
                          type: string
                          enum:
                            - NEWS_ARTICLE
                            - ARTICLE
                            - OPINION
                            - LISTICLE
                            - HOW_TO
                            - REVIEW
                            - COMPARISON
                            - CASE_STUDY
                            - INTERVIEW
                            - VIDEO
                            - PODCAST
                            - INFOGRAPHIC
                            - RESEARCH_PAPER
                            - REPORT
                            - DOCUMENTATION
                            - WIKI
                            - PRODUCT_PAGE
                            - LANDING_PAGE
                            - FORUM_POST
                            - SOCIAL_POST
                            - COMMENT
                            - QA
                            - PRESS_RELEASE
                            - FAQ
                            - GLOSSARY
                            - OTHER
                          nullable: true
                          description: Content type classification
                        firstCitedAt:
                          type: string
                          format: date-time
                          description: First citation within the analyzed window
                        totalCitations:
                          type: number
                          description: Citations with a position within the analyzed window
                        dailyRates:
                          type: array
                          description: >-
                            Daily citation rate: share of analyzed responses
                            that cite it, as a percentage with one decimal, from
                            the first cited day to the window end
                          items:
                            type: object
                            properties:
                              dayStart:
                                type: string
                                format: date-time
                                description: Start of the UTC day
                              rate:
                                type: number
                                description: Citation rate for the day (%)
                            required:
                              - dayStart
                              - rate
                            additionalProperties: false
                        peakRate:
                          type: number
                          description: Highest weekly citation rate (%)
                        peakWeekStart:
                          type: string
                          format: date-time
                          description: Start (Monday, UTC) of the peak week
                        riseDays:
                          type: number
                          description: >-
                            Days from the first citation to the start of the
                            peak week
                        halfLifeDays:
                          type: number
                          nullable: true
                          description: >-
                            Days from the peak week until the weekly rate first
                            dropped to half the peak; null when it has not
                            halved
                      required:
                        - urlId
                        - url
                        - title
                        - domainName
                        - sourceType
                        - contentType
                        - firstCitedAt
                        - totalCitations
                        - dailyRates
                        - peakRate
                        - peakWeekStart
                        - riseDays
                        - halfLifeDays
                      additionalProperties: false
                    description: >-
                      Cited URLs with their daily citation rate and trend
                      metrics
                  pagination:
                    type: object
                    properties:
                      total:
                        type: number
                        description: >-
                          Total number of URLs with at least 5 positioned
                          citations in the window
                      page:
                        type: number
                        description: Current page number (1-indexed)
                      size:
                        type: number
                        description: Number of results per page
                      totalPages:
                        type: number
                        description: Total number of pages
                    required:
                      - total
                      - page
                      - size
                      - totalPages
                    additionalProperties: false
                required:
                  - data
                  - pagination
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  error: Bad Request
                  code: DATE_RANGE_TOO_LARGE
                  message: Date range cannot exceed 92 days
                properties:
                  error:
                    type: string
                    description: Error label
                  code:
                    type: string
                    description: Optional machine-readable code (e.g. DATE_RANGE_TOO_LARGE)
                  message:
                    type: string
                    description: Reason the request was rejected
                required:
                  - error
                  - message
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  error: Unauthorized
                  message: Missing or invalid X-API-Key header.
                properties:
                  error:
                    type: string
                    description: Error category (often aligned with HTTP semantics)
                  code:
                    type: string
                    description: Optional machine-readable code
                  message:
                    type: string
                    description: Human-readable explanation
                  details:
                    type: object
                    description: Optional structured detail (e.g. validation)
                    additionalProperties: true
                required:
                  - error
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  code: PROJECT_NOT_FOUND
                  message: Project not found
                properties:
                  code:
                    type: string
                    description: Error code indicating the type of error
                    enum:
                      - PROJECT_NOT_FOUND
                      - INTERNAL_ERROR
                    example: PROJECT_NOT_FOUND
                  message:
                    type: string
                    description: Human-readable error message
                    example: Project not found
                required:
                  - code
                  - message
                additionalProperties: false
              examples:
                example1:
                  value:
                    code: PROJECT_NOT_FOUND
                    message: Project not found
                example2:
                  value:
                    code: INTERNAL_ERROR
                    message: An unexpected error occurred
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get yours from the Promptwatch dashboard
        under Settings > API Keys.

````

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