API

Project groups

Adding a project group

The method allows to add project groups to a user account.

Request format

Copy
POST https://api4.seranking.com/site-groups
{ "name" : "text" }

Parameters

NameRequiredDescription
nameYesName of the project group to be added

Result

If successful, the server returns an array containing deletion statuses.

NameRequiredDescription
group_idYesID of the added project group

Response example

Copy
{ "group_id": 9545 }

Errors

HTTP code Error message
400Empty name

Renaming a project group

Request format

Copy
PUT https://api4.seranking.com/site-groups/{group_id}
{"name": "new name"}

Parameters

NameRequiredDescription
nameYesNew project group name

Result

If successful, the server returns the 200 HTTP code.

Errors

HTTP code Error message
400Empty name
404Group not found

Deleting a project group

Request format

Copy
DELETE https://api4.seranking.com/site-groups/{group_id}

Result

If successful, the server returns the 204 HTTP code.

Errors

HTTP code Error message
404Group not found

Project group list

The method allows to receive a list of all project groups from a user account.

Request format

Copy
GET https://api4.seranking.com/site-groups

Result

If successful, the server returns a list of groups.

NameRequiredDescription
idYesProject group ID
nameYesProject group name

Response example

Copy
[
{
"id": "123",
"name": "Group1"
},
{
  "id": "456",
    "name": "Group2"
}
]

Moving projects to a project group

The method allows to transfer projects from one project group to another.

Parameters

NameRequiredDescription
site_idsYesAn array containing the IDs of websites that are to be transferred

Request format

Copy
POST  https://api4.seranking.com/site-groups/{group_id}/sites
{"site_ids" : [1,2,3,4,5]}

Result

If successful, the server returns the 204 HTTP code.

Errors

HTTP code Error message
404Group not found

Learn how SE Ranking’s API can boost your SEO!

Hi! Meet our product expert, Alex.

He’ll walk you through the API and show you how to get the most out of it.

  • Enjoy a tailored demo on integrating rich, structured SEO data into your stack.
  • Pin down every tech detail live—auth, endpoints, rate limits, data formats.
  • Compare usage tiers and pricing so you can unlock maximum data value.

Request a free demo to see our tools and integrations in action

By clicking this button, you agree to SE Ranking’s Terms of Services and Privacy Policy.