v1

latestOpenAPI 3.0.32026-07-26710398.3 KB
Reports

Get URL Content

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

post/sources/urls/content

Query parameters

project_idstring

Required if using a company api key

Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb

Request body

project_idstring

Required if using a company api key

urlstring uri required
max_lengthinteger

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 request

{
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
  "url": "https://example.com/blog/page1",
  "max_length": 100000
}

Response

Success

Example response

{
  "data": {
    "url": "https://example.com/blog/page1",
    "domain": "example.com"
  }
}