This page lists every request an API key can make. The rest of the app's API answers 403 to a key. Call https://lundot.com/api/v1 followed by the path, with the key as a bearer token. If you run Lundot yourself, use your own address instead. Errors and limits are on API errors and limits.
A key always holds read. goals:write (create and change goals) is chosen when the key is created. Dates are YYYY-MM-DD in the site's time zone.
The same requests as an OpenAPI document: https://lundot.com/api/v1/openapi.key.json. It needs no key.
Your first request
Make a key (Settings, then API keys), keep it in a variable, and list your sites:
export LUNDOT_API_KEY=lundot_...
curl "https://lundot.com/api/v1/sites" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"items": [
{
"id": "3f9c1e2a-7b4d-4c8e-9a61-2d5e8b7c1f04",
"workspaceId": "8d27c4b1-5e0a-4f36-b2d9-61a7e3c09d52",
"name": "Fieldnote",
"domain": "fieldnote.app",
"kind": "web",
"workspaceName": "Fieldnote",
"canReorder": true,
"privacyProfile": "strict",
"postAttribution": "supported",
"goals": []
}
],
"nextCursor": "eyJvZmZzZXQiOjUwfQ"
}
Take a site's id from the answer, then ask for its overview over a fortnight:
export SITE_ID=<the id>
curl -G "https://lundot.com/api/v1/reports/overview" \
--data-urlencode "siteId=$SITE_ID" \
--data-urlencode "from=2026-10-01" \
--data-urlencode "to=2026-10-14" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
Filters
Requests that take filter narrow a report to some of the traffic. One filter is dimension:operator:value, for example page:starts:/docs.
- Dimensions:
page,referrer,assistant,engine,campaign,country,browser,os,device,crawlerCompany,crawler,verification,query,title,hostname,utmSource,utmMedium,utmContent,utmTerm,region,city,screen,language,event,customer. - Operators:
is,is_not,contains,starts.is_notleaves matches out,containsmatches part of the value,startsmatches the beginning. - Repeat the parameter for several filters (up to 10):
filter=page:starts:/docs&filter=country:is:DE. Filters on different dimensions all apply; twoisfilters on one dimension match either value. - Put the value last. It may contain colons, and it must be URL-encoded.
- A filter the report cannot apply is not an error: its dimension comes back in
notAppliedin the answer. The exception is/reports/behaviour/sessionsand/reports/behaviour/replays, which filter whole visits by what a visit row shows (page,referrer,assistant,engine,country,city,device,browser,os) and answer422to anything else. Thereis_notkeeps the visits that never had the value.
Common parameters
These are described once. Each request below says which of them it takes; SITE_ID in an example is the site's id.
siteId(required, uuid): The site (property) to report on.from(required, date): First loop date, in the workspace's time zone (the site'stimeZone).to(required, date): Last loop date, inclusive.compareFrom(optional, date): First date of the comparison range; omit for no comparison.compareTo(optional, date): Last date of the comparison range.filter(optional, string, or list of string): A filter chip,dimension:operator:value(for examplepage:starts:/docs); repeat for more.
Reports
Example, GET /reports/overview:
curl -G "https://lundot.com/api/v1/reports/overview" \
--data-urlencode "siteId=$SITE_ID" \
--data-urlencode "from=2026-10-01" \
--data-urlencode "to=2026-10-14" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"range": {
"from": "2026-10-01",
"to": "2026-10-14"
},
"comparison": {
"from": "2026-09-17",
"to": "2026-09-30"
},
"granularity": "day",
"granularities": [
"day"
],
"buckets": [
"2026-10-01"
],
"previousBuckets": [
"2026-09-17"
],
"metrics": {
"visitors": {
"total": 1284,
"previousTotal": 1106,
"values": [],
"previousValues": []
},
"pageviews": {
"total": 1284,
"previousTotal": 1106,
"values": [],
"previousValues": []
},
"aiReads": {
"total": 1284,
"previousTotal": 1106,
"values": [],
"previousValues": []
},
"aiVisits": {
"total": 1284,
"previousTotal": 1106,
"values": [],
"previousValues": []
},
"searchClicks": {
"total": 1284,
"previousTotal": 1106,
"values": [],
"previousValues": []
}
},
"notApplied": {
"visitors": [
"page"
],
"pageviews": [
"page"
],
"aiReads": [
"page"
],
"aiVisits": [
"page"
],
"searchClicks": [
"page"
]
},
"goal": {
"type": "event",
"value": "signup",
"name": "Signed up"
},
"searchLastDate": "2026-10-12"
}
GET /reports/agent-usage
API and MCP requests by declared client and operation. Scope: read.
Common parameters: siteId, from, to.
GET /reports/page-loop
The page loop: AI reads, search clicks and visits per page. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
segment(optional,allornoVisitsorlosingSearchorconverting): One status tab: all pages, requested by AI with no visits, losing search clicks (needs the comparison), or converting.movers(optional,risingorfalling): Lists the pages whose sorted measure rose or fell most against the comparison. Needs the comparison and a sort by AI requests, search clicks or visits.trends(optional,trueorfalse): Also return each row's trend for AI requests, search clicks and visits.limit(optional, integer)orderBy(optional,aiReadsoraiReadsVerifiedorsearchClicksorimpressionsorvisitsorpath)pathOp(optional,isoris_notorcontainsorstarts): HowpathValuematches the normalised path.pathValue(optional, string): Narrows the report to matching pages.
GET /reports/loop
The loop: reads, search clicks, visits, use and conversions for a site. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
GET /reports/page
One page across the loop. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
path(required, string): The normalised path, as the pages report lists it.
GET /reports/findings
Up to three findings for the last whole week. Scope: read.
Common parameters: siteId.
GET /reports/post-outcomes
Visits and goal conversions for one post tag. Scope: read.
Common parameters: siteId, from, to.
goal(optional, string): The name of the site's goal to count. Leave it out, or name one the site does not have, and conversions are null.tag(required, string): A post tag, matched in any case:pd-and 10 or more letters or digits.
GET /reports/overview
The site home: visitors, page views, AI crawler reads, visits from AI, search clicks and conversions. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional), filter (optional).
granularity(optional,hourordayorweekormonth)
GET /reports/overview/breakdown
One breakdown card of the site home. Scope: read.
Common parameters: siteId, from, to, filter (optional).
breakdown(required,pagesorentryPagesorexitPagesorunvisitedPagesorreferrersorassistantsorenginesorcampaignsorcrawlerCompaniesorcrawlersorcrawlerVerificationorsearchQueriesorsearchPagesorcountriesorbrowsersorosordevices)limit(optional, integer)
GET /reports/live
Visitors with a page view or event in the last five minutes. Scope: read.
Common parameters: siteId.
GET /reports/web
Web analytics: visitors, visits, page views, bounce rate and visit duration. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional), filter (optional).
granularity(optional,hourordayorweekormonth)metric(optional,visitorsorvisitsorpageviewsorbounceRateorvisitDuration)
GET /reports/web/breakdown
One web analytics breakdown, with each row's count in the comparison range. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional), filter (optional).
breakdown(required,pagesorentryPagesorexitPagesortitlesorhostnamesorreferrersorchannelsorassistantsorenginesorutmSourcesorutmMediumsorutmCampaignsorutmContentsorutmTermsorcountriesorregionsorcitiesorbrowsersorosordevicesorscreensorlanguagesorevents)limit(optional, integer)
GET /reports/web/goals
Every goal with its conversion rate. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional), filter (optional).
GET /reports/web/live
The last minutes: live visitors, pages, sources, countries and events. Scope: read.
Common parameters: siteId, filter (optional).
minutes(optional, integer)
GET /reports/web/activity
The most recent page views and events in a range. Scope: read.
Common parameters: siteId, from, to, filter (optional).
limit(optional, integer)
GET /reports/ai-agents
AI and agents: operators, verification, visits back and agent traffic. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
scope(optional,verifiedorall): Count verified reads only, or also user-agent-only claims.includeCrawlers(optional,trueorfalse): Agent traffic only: also count training crawlers.contentGrouping(optional,normalizedorexact)limit(optional, integer)
GET /reports/search
Search: connection, freshness, headline numbers, trend, positions and brand split. Scope: read.
Common parameters: siteId, from, to.
compare(optional,offorpreviousoryear): The comparison period: the days before, the same days a year earlier, or none.brandTerms(optional, string): Brand terms, comma-separated; queries containing one are branded.brandMatch(optional,brandedornonBranded): Keep only branded or non-branded queries (needs brand terms).filterDimension(optional,queryorpage)filterOp(optional,containsoris)filterValue(optional, string): Narrow the headline numbers to matching queries or pages.
GET /reports/search/rows
Search: queries or pages with changes, position buckets and daily clicks. Scope: read.
Common parameters: siteId, from, to.
compare(optional,offorpreviousoryear): The comparison period: the days before, the same days a year earlier, or none.brandTerms(optional, string): Brand terms, comma-separated; queries containing one are branded.brandMatch(optional,brandedornonBranded): Keep only branded or non-branded queries (needs brand terms).dimension(optional,queryorpageorcountryordeviceorappearance): Queries, pages, countries (three-letter codes), devices or search appearances (result features, which overlap).withinPage(optional, string): Queries only: the queries that led to this page URL.withinQuery(optional, string): Pages only: the pages this query led to.withinPath(optional, string): Queries only: the queries that led to this page path, any host.contains(optional, string)is(optional, string): One query or page URL exactly.bucket(optional,1-3or4-10or11-20or21+)orderBy(optional,clicksorimpressionsorctrorpositionorkeyorrisingorfalling): A column, or the biggest gain (rising) or loss (falling) of clicks.limit(optional, integer)offset(optional, integer)
GET /reports/search/opportunities
Search: queries close to the top with a low CTR, and pages losing clicks. Scope: read.
Common parameters: siteId, from, to.
compare(optional,offorpreviousoryear): The comparison period: the days before, the same days a year earlier, or none.brandTerms(optional, string): Brand terms, comma-separated; queries containing one are branded.brandMatch(optional,brandedornonBranded): Keep only branded or non-branded queries (needs brand terms).limit(optional, integer)
GET /reports/search/insights
Search: the top, rising or falling pages or queries, with the change on the period before. Scope: read.
Common parameters: siteId, from, to.
compare(optional,previousoryear): The period the change is measured against; always one, a change needs it.brandTerms(optional, string): Brand terms, comma-separated; queries containing one are branded.brandMatch(optional,brandedornonBranded): Keep only branded or non-branded queries (needs brand terms).kind(required,pagesorqueries)tab(required,toporupordown): Top: most clicks. Up: biggest gain, at least 2 clicks now. Down: biggest loss, at least 2 clicks before.contains(optional, string)is(optional, string): One query or page URL exactly.limit(optional, integer)
GET /reports/search/checks
Indexing and speed of one page: Google's newest inspection and PageSpeed results. Scope: read.
Common parameters: siteId.
url(required, string): An http(s) page of the site's own domain.
GET /reports/search/checks/pages
Indexing and speed of every checked page of the site, newest first. Scope: read.
Common parameters: siteId.
limit(optional, integer)
GET /reports/search/bing
Bing: clicks, impressions, top queries and pages, and the history Lundot keeps. Scope: read.
Common parameters: siteId, from, to.
compare(optional,offorprevious)limit(optional, integer)
GET /reports/store
An app's store data: funnel, sources, search terms, campaigns, countries, devices. Scope: read.
Common parameters: siteId, from, to.
compare(optional,offorprevious)limit(optional, integer)
GET /reports/ai-company
One AI company: bots, verification, pages, visits sent and latest requests. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
company(required, string): The company's name, as the AI bots report lists it.scope(optional,verifiedorall): Count verified requests only, or also unverified claims.limit(optional, integer)
GET /reports/ai-monthly
Monthly AI traffic: AI requests and visits from AI against the month before. Scope: read.
Common parameters: siteId.
month(required, string): The month, as YYYY-MM, counted in America/Los_Angeles.
GET /reports/page-activity
A page's latest AI requests and visits. Scope: read.
Common parameters: siteId, from, to.
path(required, string): The normalised path.
GET /reports/contributors
Where a change came from: the segments that moved a measure most. Scope: read.
Common parameters: siteId, from, to, compareFrom, compareTo.
metric(required,aiRequestsorsearchClicksorvisitsorvisitsFromAi): AI requests, search clicks, visits, or visits from AI.path(optional, string): Narrows the measure to one page (its normalised path).
GET /reports/revenue
Revenue from Stripe: paid, refunded, by first-touch source and landing page, by ad click and AI assistant, and MRR. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
firstTouchDays(optional, integer): Days beforefromsearched for a payer's first visit.limit(optional, integer)
GET /reports/recommendations
The week's recommendations for the Store, AI or Search screen. Scope: read.
Common parameters: siteId.
area(required,storeoraiorsearch): The screen to list for.
Sites
Example, GET /sites:
curl "https://lundot.com/api/v1/sites" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"items": [
{
"id": "3f9c1e2a-7b4d-4c8e-9a61-2d5e8b7c1f04",
"workspaceId": "8d27c4b1-5e0a-4f36-b2d9-61a7e3c09d52",
"name": "Fieldnote",
"domain": "fieldnote.app",
"kind": "web",
"workspaceName": "Fieldnote",
"canReorder": true,
"privacyProfile": "strict",
"postAttribution": "supported",
"goals": []
}
],
"nextCursor": "eyJvZmZzZXQiOjUwfQ"
}
GET /sites
Sites the viewer can open. Scope: read.
No parameters.
Product
Example, GET /reports/product/events:
curl -G "https://lundot.com/api/v1/reports/product/events" \
--data-urlencode "siteId=$SITE_ID" \
--data-urlencode "from=2026-10-01" \
--data-urlencode "to=2026-10-14" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"days": [
"2026-10-01"
],
"totals": {
"events": 386,
"people": 212,
"visits": 1630,
"names": 6
},
"previousTotals": {
"events": 386,
"people": 212,
"visits": 1630,
"names": 6
},
"daily": [
120
],
"previousDaily": [
120
],
"events": [
{
"name": "signup",
"count": 42,
"people": 212,
"daily": []
}
]
}
GET /reports/product/events
Events, with counts and a daily series. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional).
GET /reports/product/event-properties
One event's properties and their most common values. Scope: read.
Common parameters: siteId, from, to.
event(required, string)
GET /reports/product/funnel
Conversion through the steps given. Scope: read.
Common parameters: siteId, from, to.
steps(required, string): JSON array of steps, such as [{"type":"path","value":"/"}].window(optional, integer): Minutes from the first step; a day or more counts the whole visit.
GET /reports/product/funnel/sessions
The visits behind one funnel number. Scope: read.
Common parameters: siteId, from, to.
steps(required, string): JSON array of steps, such as [{"type":"path","value":"/"}].window(optional, integer): Minutes from the first step; a day or more counts the whole visit.step(optional, integer)outcome(required,reachedorlost)page(optional, integer)pageSize(optional, integer)
GET /reports/product/funnels
Saved funnels. Scope: read.
Common parameters: siteId.
GET /reports/product/retention
Who came back, by first visit day. Scope: read.
Common parameters: siteId, from, to.
GET /reports/product/journeys
The most common paths through the site. Scope: read.
Common parameters: siteId, from, to.
steps(optional, integer)
GET /reports/product/goals
Each goal and how often it was reached. Scope: read.
Common parameters: siteId, from, to.
GET /reports/product/revenue
Revenue, orders and the daily chart. Scope: read.
Common parameters: siteId, from, to.
currency(optional, string)
GET /reports/product/goal-board
Every goal, and the chosen goal's conversions, sources and pages. Scope: read.
Common parameters: siteId, from, to, compareFrom (optional), compareTo (optional), filter (optional).
goal(optional, string)granularity(optional,hourordayorweekormonth)
Behaviour
Example, GET /reports/behaviour/sessions:
curl -G \
"https://lundot.com/api/v1/reports/behaviour/sessions" \
--data-urlencode "siteId=$SITE_ID" \
--data-urlencode "from=2026-10-01" \
--data-urlencode "to=2026-10-14" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"count": 42,
"capped": true,
"page": 1,
"pageSize": 50,
"rows": [
{
"id": "3f9c1e2a-7b4d-4c8e-9a61-2d5e8b7c1f04",
"person": "Visitor 5c2f",
"country": "DE",
"city": "Berlin",
"browser": "Chrome"
}
],
"shortHidden": 120,
"minDuration": 120,
"replaysAllowed": true
}
GET /reports/behaviour/sessions
Visits with person, source and length. Scope: read.
Common parameters: siteId, from, to, filter (optional).
page(optional, integer)pageSize(optional, integer)search(optional, string)minDuration(optional, integer): Keep visits at least this many seconds long; 0 keeps every length.minDurationMode(optional,alwaysormeasured):measuredappliesminDurationonly when the tag measured visit lengths in the period. The core script and the Strict profile do not, so every one-page visit there lasts 0 seconds.hideLikelyBots(optional,trueorfalse): Leave out likely bots: visits where the tag saw browser automation, whose requests or network showed it, or with at most one page view, no other event and 0 seconds long.
GET /reports/behaviour/replays
Recorded visits. Scope: read.
Common parameters: siteId, from, to, filter (optional).
page(optional, integer)pageSize(optional, integer)minDuration(optional, integer): Keep recordings at least this many seconds long; 0 keeps every length.hideLikelyBots(optional,trueorfalse): Leave out likely bots: visits where the tag saw browser automation, whose requests or network showed it, or with at most one page view, no other event and 0 seconds long.view(optional,alloraiorsearchorfrustratedorgoal): A saved view:aivisits referred by an AI assistant,searchby a search engine,frustratedwith a rage or dead click,goalthat reached one of the site's goals. Read over the newest recorded visits of the period, as a filter is.sort(optional,newestorlongestoractiveorfrustrated):newestfirst,longestfirst,active: most clicks then fields typed in,frustrated: most rage and dead clicks. The last two read over the newest recorded visits of the period.replayId(optional, uuid): Only this recording.sessionId(optional, uuid): Only this visit's recordings.
GET /reports/behaviour/heatmap
Clicks or scroll depth for one page. Scope: read.
Common parameters: siteId, from, to, filter (optional).
mode(optional,clickorscrollorrageordead)path(optional, string)
Annotations
Example, GET /sites/{siteId}/annotations:
curl "https://lundot.com/api/v1/sites/$SITE_ID/annotations" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"items": [
{
"id": "3f9c1e2a-7b4d-4c8e-9a61-2d5e8b7c1f04",
"area": "search",
"day": "2026-10-14",
"note": "example",
"authorName": "example"
}
],
"canEdit": true,
"editableAreas": [
"search"
]
}
GET /sites/{siteId}/annotations
The site's chart notes. Scope: read.
Common parameters: siteId, from (optional), to (optional).
Goals
Example, GET /sites/{siteId}/goals:
curl "https://lundot.com/api/v1/sites/$SITE_ID/goals" \
-H "Authorization: Bearer $LUNDOT_API_KEY"
The answer, trimmed to the first fields:
{
"items": [
{
"key": "signed-up",
"name": "Signed up"
}
]
}
Example, POST /sites/{siteId}/goals:
curl -X POST \
"https://lundot.com/api/v1/sites/$SITE_ID/goals" \
-H "Authorization: Bearer $LUNDOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Signed up","type":"event","value":"signup"}'
The answer, trimmed to the first fields:
{
"key": "signed-up",
"name": "Signed up"
}
GET /sites/{siteId}/goals
The site's goals. Scope: read.
Common parameters: siteId.
POST /sites/{siteId}/goals
Add a goal. Scope: goals:write.
Common parameters: siteId.
JSON body:
name(required, string)type(required,eventorpath)value(required, string)
PATCH /sites/{siteId}/goals/{goalId}
Change a goal. Scope: goals:write.
Common parameters: siteId.
goalId(required, uuid)
JSON body:
name(optional, string)type(optional,eventorpath)value(optional, string)