Endpoints
Account
List projects
Data over time
Visits and pageviews
Charges
Counts and totals
Stats
Pages
Metrics
Custom events
Events & properties
List
Property values
Field keys
Field values
Funnels
Funnel
Visitors
List
Find
Events
Most active
AI insight
Ingest data
Events
Pages
Get top pages (by pageviews), entry pages (where sessions start), or exit pages (where engaged visitors leave). For exit pages, bounces are excluded so the data only reflects multi-page sessions.
POST
https://api.seline.com/api/v1/pages
Click anywhere to copy
Parameters
projectId
stringRequired for account API keysProject id to query. Required when using an account-wide API key. Ignored for project API keys.
type
stringRequiredPage type to retrieve. One of top (most viewed pages), entry (landing/entry pages), or exit (exit pages from multi-page sessions; bounces excluded).
period
stringRequired if no range is providedPredefined time period today, 1h, 24h, 7d, 30d, 6m, 12m, all_time, month_to_date, week_to_date, year_to_date. Either period or range is required.
range
objectRequired if no period is providedCustom date range object with from and to ISO 8601 datetime strings, e.g. 2025-09-10T00:00:00Z, both required.
Example - { from: "2025-09-10T00:00:00Z", to: "2025-09-11T00:00:00Z" }
filters
objectOptional filters to narrow down data page, entryPage, exitPage, country, region, city, browser, device, referrer, campaign, source, medium, content, term, event, hostname, os, tag.
Should be a string in a operator:value;operator:value;... format. Operators are is, is not, contains, does not contain.
Should be a string in a operator:value;operator:value;... format. Operators are is, is not, contains, does not contain.
Example page filter - "is:/support;is:/community;is not:/publishing"
search
stringSearch term to filter results. Case-insensitive.
page
numberPage number for pagination
limit
numberNumber of results per page. Default is 10. Maximum is 1000.
Example request
curl -X POST 'https://api.seline.com/api/v1/pages' \-H 'Authorization: Bearer API_TOKEN' \-H 'Content-Type: application/json' \-d '{"type": "top","range": {"from": "2025-06-10T00:00:00Z","to": "2025-09-10T00:00:00Z"},"filters": {"country": "is:US;is:PL"},"page": 1,"limit": 100}'
Click anywhere to copy
Response
{"items": [{ "page": "/pricing", "views": 1421 },{ "page": "/blog/launch", "views": 817 },{ "page": "/docs/intro", "views": 588 }]}
Click anywhere to copy