---
title: "Get URL Content"
method: POST
path: "/sources/urls/content"
tags: ["Reports"]
---

# Get URL Content

`POST /sources/urls/content`

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

## Query parameters

- `project_id` string — Required if using a company api key

## Request body

- object
  - `project_id` string — Required if using a company api key
  - `url` string, uri, required
  - `max_length` integer — 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.

## Response `200`

Success

- object — Success
  - `data` object, required
    - `url` string, required
    - `title` string, nullable, required
    - `domain` string, required
    - `channel_title` string, nullable, required — Channel or author name (e.g. YouTube channel, subreddit) or null
    - `classification` 'CORPORATE' | 'EDITORIAL' | 'INSTITUTIONAL' | 'OTHER' | 'REFERENCE' | 'UGC' | 'COMPETITOR' | 'OWN' | 'RELATED', nullable, required — Domain-level classification of the source
    - `url_classification` 'HOMEPAGE' | 'CATEGORY_PAGE' | 'PRODUCT_PAGE' | 'LISTICLE' | 'COMPARISON' | 'PROFILE' | 'ALTERNATIVE' | 'DISCUSSION' | 'HOW_TO_GUIDE' | 'ARTICLE' | 'OTHER', nullable, required — Page-level classification (HOMEPAGE, LISTICLE, COMPARISON, ...)
    - `content` string, nullable, required — Markdown content of the page. Null if the URL is tracked but scraping hasn't completed yet.
    - `content_length` number, required — Original character length of the stored content before truncation. 0 when content is null.
    - `truncated` boolean, required — True if content was truncated to max_length. Re-request with a larger max_length to get more.
    - `content_updated_at` string, nullable, required — ISO timestamp of when the content was last scraped

## Other responses

- `404` — Response for status 404

---

[API](https://skmtc.net/peec/apis/peec-ai-customer-api.md) · [All operations](https://skmtc.net/peec/apis/peec-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peec/peec-ai-customer-api/revisions/92840a1bffa7/schema)
