Skip to main content
GET
/
sites
/
{site_id}
/
usage
/
visits
/
this-month
Get Visits usage
curl --request GET \
  --url https://api.kinsta.com/v2/sites/{site_id}/usage/visits/this-month \
  --header 'Authorization: Bearer <token>'
{
  "site": {
    "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
    "this_month_usage": {
      "visits": 100
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Response

Successfully found visits

site
object
required