SEOmonitor API 3.0
  1. Organic Traffic
SEOmonitor API 3.0
  • Overview
  • Campaigns
    • Get Tracked Campaigns
      GET
  • Rank Tracker
    • Get Keyword Data
      GET
    • Get Keyword AI Overview Data
      GET
    • Get Groups List
      GET
    • Get Keywords Competition Data
      GET
    • Get Top 100 Results
      GET
    • Get Groups Data
      GET
    • Get Daily Keyword Ranks
      GET
    • Get Daily Group Visibility
      GET
    • Add New Keywords
      POST
    • Get Keywords Import Status
      GET
    • Get Daily SERP Feature Presence
      GET
    • Get Ranking Pages
      GET
    • Get Daily Share of Clicks
      GET
  • Organic Traffic
    • Get Daily Traffic Data by Segment
      GET
    • Get Traffic Data by Keywords
      GET
  • Research
    • Keyword Research
      • By Topic
        • Get Related Keywords
        • Get Topic Overview
      • By URL/Domain
        • Get URL/Domain Overview
        • Get Ranking Keywords
      • Get Keyword Data
      • Get Ranking Data
    • Keyword Vault
      • Get Keyword Data by List
      • Get Overview Data
  • Forecast
    • Get Forecast scenarios
      GET
    • Get Forecast scenario Data
      GET
    • Get Forecast objective Data
      GET
    • Get Forecast keywords
      GET
  1. Organic Traffic

Get Daily Traffic Data by Segment

GET
https://apigw.seomonitor.com/v3/organic-traffic/v3.0/daily-traffic
This endpoint returns the organic traffic metrics by day for a traffic segment over a specified timeframe.
The data returned includes the number of sessions, conversions, bounce rate, and revenue.

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Query Params
campaign_id
integer 
required
(Required) This parameter specifies the ID of the campaign for which you want to return data.
Please refer to the Quick Start Guide to learn how to retrieve the IDs of your campaigns.
Example:
{{campaign_id}}
start_date
string 
required
(Required) This parameter specifies the start date of the timeframe for which you want to return the data, in YYYY-MM-DD format.
Example:
{{start_date}}
end_date
string 
required
(Required) This parameter specifies the end date of the timeframe for which you want to return the data, in YYYY-MM-DD format.
Example:
{{end_date}}
segment
string 
optional
The name assigned to the segment in the platform.
Accepted values are all, non-brand, brand, or the name of a custom traffic segment created in the SEOmonitor platform, e.g. "blog".
Unless otherwise specified, data will be returned for the Non-Brand segment by default.
Example:
{{segment}}
Header Params
Accept
string 
required
Example:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://apigw.seomonitor.com/v3/organic-traffic/v3.0/daily-traffic?campaign_id={{campaign_id}}&start_date={{start_date}}&end_date={{end_date}}&segment={{segment}}' \
--header 'Accept: application/json' \
--header 'Authorization;'

Responses

🟢200Success
application/json
Body
date
string 
optional
The date for which the traffic data is being returned, in YYYY-MM-DD format.
sessions
integer 
optional
The sum of sessions for the specified traffic segment, if the campaign is connected to both Google Search Console and Google Analytics – or clicks, if the campaign is only connected to Google Search Console, on the date within the selected timeframe.
ecommerce
object 
optional
Parent field containing ecommerce transaction data including number of conversions and the revenue generated by the keywords in the specific traffic segment.
conversions
integer 
optional
The sum of conversions uncovered through the (not provided) solution on the date within the selected timeframe.
revenue
integer 
optional
The sum of ecommerce revenue uncovered through the (not provided) solution on the specified date within the selected timeframe.
goals
object 
optional
Parent field containing goals transaction data including the number of completions and the revenue generated by the keywords in the specified segment.
completions
integer 
optional
The total number of goal completions uncovered through the (not provided) solution for the selected goals for the date within the selected timeframe.
revenue
integer 
optional
The goal revenue uncovered through the (not provided) solution for the selected goals on the date within the selected timeframe.
bounce_rate
number 
optional
The percentage of single-page sessions for the website segment on the specified date.
Example
[
  {
    "date": "2023-01-07",
    "sessions": 508000,
    "ecommerce": {
      "conversions": 1512,
      "revenue": 97000
    },
    "goals": {
      "completions": 865,
      "revenue": 83000
    },
    "bounce_rate": 0.3
  }
]
Modified at 2024-11-05 13:58:32
Previous
Get Daily Share of Clicks
Next
Get Traffic Data by Keywords
Built with