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

# Get URL Content

> Return the scraped markdown content of a source URL. Use the URLs report to discover URLs.



## OpenAPI

````yaml https://api.peec.ai/customer/v1/openapi/json post /sources/urls/content
openapi: 3.0.3
info:
  title: Peec AI Customer API
  description: Development documentation
  version: 1.0.0
  contact:
    name: Peec AI Team
    email: support@peec.ai
servers:
  - url: https://api.peec.ai/customer/v1
security: []
paths:
  /sources/urls/content:
    post:
      tags:
        - Reports
      summary: Get URL Content
      description: >-
        Return the scraped markdown content of a source URL. Use the URLs report
        to discover URLs.
      operationId: postSourcesUrlsContent
      parameters:
        - name: project_id
          in: query
          required: false
          schema:
            description: Required if using a company api key
            example: or_f45b94ba-5e35-4982-93ed-285e72ee14eb
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                project_id:
                  description: Required if using a company api key
                  example: or_f45b94ba-5e35-4982-93ed-285e72ee14eb
                  type: string
                url:
                  type: string
                  format: uri
                  example: https://example.com/blog/page1
                max_length:
                  default: 100000
                  description: >-
                    Maximum number of characters of content to return. Defaults
                    to 100,000. If the stored content is longer, the response
                    will be truncated and truncated=true.
                  example: 100000
                  type: integer
                  minimum: 1
                  maximum: 20000000
              required:
                - url
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                project_id:
                  description: Required if using a company api key
                  example: or_f45b94ba-5e35-4982-93ed-285e72ee14eb
                  type: string
                url:
                  type: string
                  format: uri
                  example: https://example.com/blog/page1
                max_length:
                  default: 100000
                  description: >-
                    Maximum number of characters of content to return. Defaults
                    to 100,000. If the stored content is longer, the response
                    will be truncated and truncated=true.
                  example: 100000
                  type: integer
                  minimum: 1
                  maximum: 20000000
              required:
                - url
          multipart/form-data:
            schema:
              type: object
              properties:
                project_id:
                  description: Required if using a company api key
                  example: or_f45b94ba-5e35-4982-93ed-285e72ee14eb
                  type: string
                url:
                  type: string
                  format: uri
                  example: https://example.com/blog/page1
                max_length:
                  default: 100000
                  description: >-
                    Maximum number of characters of content to return. Defaults
                    to 100,000. If the stored content is longer, the response
                    will be truncated and truncated=true.
                  example: 100000
                  type: integer
                  minimum: 1
                  maximum: 20000000
              required:
                - url
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      url:
                        type: string
                        example: https://example.com/blog/page1
                      title:
                        nullable: true
                        type: string
                      domain:
                        type: string
                        example: example.com
                      channel_title:
                        nullable: true
                        description: >-
                          Channel or author name (e.g. YouTube channel,
                          subreddit) or null
                        type: string
                      classification:
                        nullable: true
                        description: Domain-level classification of the source
                        type: string
                        enum:
                          - CORPORATE
                          - EDITORIAL
                          - INSTITUTIONAL
                          - OTHER
                          - REFERENCE
                          - UGC
                          - COMPETITOR
                          - OWN
                          - RELATED
                      url_classification:
                        nullable: true
                        description: >-
                          Page-level classification (HOMEPAGE, LISTICLE,
                          COMPARISON, ...)
                        type: string
                        enum:
                          - HOMEPAGE
                          - CATEGORY_PAGE
                          - PRODUCT_PAGE
                          - LISTICLE
                          - COMPARISON
                          - PROFILE
                          - ALTERNATIVE
                          - DISCUSSION
                          - HOW_TO_GUIDE
                          - ARTICLE
                          - OTHER
                      content:
                        nullable: true
                        description: >-
                          Markdown content of the page. Null if the URL is
                          tracked but scraping hasn't completed yet.
                        type: string
                      content_length:
                        type: number
                        description: >-
                          Original character length of the stored content before
                          truncation. 0 when content is null.
                      truncated:
                        type: boolean
                        description: >-
                          True if content was truncated to max_length.
                          Re-request with a larger max_length to get more.
                      content_updated_at:
                        nullable: true
                        description: ISO timestamp of when the content was last scraped
                        type: string
                    required:
                      - url
                      - title
                      - domain
                      - channel_title
                      - classification
                      - url_classification
                      - content
                      - content_length
                      - truncated
                      - content_updated_at
                required:
                  - data
                description: Success
        '404':
          description: Response for status 404
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - APIKeyHeader: []
        - APIKeyQuery: []
        - BearerAuth: []
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    APIKeyQuery:
      type: apiKey
      in: query
      name: api_key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````