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

# Analyze Url

> Analyze a single video URL — transcript, comments, engagement-weighted themes.

Public endpoint, no auth required. Rate limited to 3 per day per IP.
Supports: TikTok, YouTube, Instagram, Reddit, X/Twitter, Hacker News.

Uses unified source_processing layer:
1. process_source() → extract metadata + transcript + comments, enhance source + comments
2. _cluster_opinions() → cluster enhanced comments into themes (single-URL operation)



## OpenAPI

````yaml /api/openapi.json post /api/tools/analyze-url
openapi: 3.1.0
info:
  title: CrowdListen Agent API
  description: >-
    Configure sources, collect and retain originals, run durable analysis, and
    read or revise cited insights. Humans and agents share authorized
    entity/project records, research jobs and evidence history.
  version: 1.0.0
servers:
  - url: https://agent.crowdlisten.com
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/tools/analyze-url:
    post:
      tags:
        - tools-public
      summary: Analyze Url
      description: >-
        Analyze a single video URL — transcript, comments, engagement-weighted
        themes.


        Public endpoint, no auth required. Rate limited to 3 per day per IP.

        Supports: TikTok, YouTube, Instagram, Reddit, X/Twitter, Hacker News.


        Uses unified source_processing layer:

        1. process_source() → extract metadata + transcript + comments, enhance
        source + comments

        2. _cluster_opinions() → cluster enhanced comments into themes
        (single-URL operation)
      operationId: analyze_url_api_tools_analyze_url_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnalyzeUrlRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AnalyzeUrlRequest:
      properties:
        url:
          type: string
          maxLength: 500
          minLength: 5
          title: Url
        entity_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Entity Id
        persist:
          type: boolean
          title: Persist
          default: false
      type: object
      required:
        - url
      title: AnalyzeUrlRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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