ga4_traffic_by_page
Top landing pages by sessions, with users and engagement rate, over the last N days.
| Name | Type | Notes |
|---|---|---|
propertyId required | string | GA4 property id, e.g. "318204771" or "properties/318204771" |
days | integer | How many days back from the latest available data default 28 · 1–365 |
limit | integer | Maximum rows to return default 25 · 1–1000 |
organicOnly | boolean | Only sessions from the Organic Search channel default false |
curl https://api.oneapiforagents.com/v1/call \
-H "Authorization: Bearer $ONEAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "ga4",
"tool": "ga4_traffic_by_page",
"input": {
"propertyId": "318204771",
"days": 28,
"organicOnly": true
}
}'{
"tool": "ga4_traffic_by_page",
"arguments": {
"propertyId": "318204771",
"days": 28,
"organicOnly": true
}
}