Skip to main content
GET
/
sources
Top cited domains for the latest run
curl --request GET \
  --url https://openlens.com/api/sources \
  --header 'Authorization: Bearer <token>'
[
  {
    "domain": "<string>",
    "count": 123,
    "platforms": [
      "<string>"
    ],
    "urls": [
      {
        "url": "<string>",
        "count": 123,
        "title": "<string>"
      }
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.openlens.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Clerk API key. Create one from your account settings under API Keys.

Query Parameters

projectId
string<uuid>
required

Project id. Required on all data endpoints.

topicId
string<uuid>
platform
enum<string>

LLM platform identifier. Newer scraper-backed ids end in _app; chatgpt, perplexity, and gemini are legacy and not returned by current runs.

Available options:
chatgpt,
chatgpt_app,
claude,
gemini,
gemini_app,
grok_app,
perplexity,
perplexity_app,
google_app,
deepseek
category
enum<string>
Available options:
own_brand,
competitor,
news,
ugc,
review_site,
third_party
limit
integer
default:20
Required range: 1 <= x <= 500
urlsPerDomain
integer
default:10
Required range: 1 <= x <= 200
promptAttributes
string

Comma-separated list of attribute filters. Accepts both built-in attributes (e.g. pricing, comparisons) and project-specific custom attributes.

Response

Successful response

domain
string
required
count
integer
required
platforms
string[]
required
urls
object[]
required
domainCategory
enum<string> | null
Available options:
own_brand,
competitor,
news,
ugc,
review_site,
third_party