API

Project Groups

You are reading the Project API docs

Base URL: api4.seranking.com

Project API uses subscription limits. Fro more information visit API credit system.

Data API and Project API keys are not interchangeable — use the correct one to avoid authentication errors.

Data apikey example:
80cfee7d-xxxx-xxxx-xxxx-fc8500816bb3
(UUID format)
Project apikey example:
253a73adxxxxxxxxxxxxxx340aa0a939
(40-char hex)

API keys are available in your account. For any questions or 401 errors, email [email protected] for support.

Project Groups API provides endpoints to manage project groups within a user account.


Add project group

POST https://api4.seranking.com/site-groups

Adds a new project group to the user account.

Request parameters

ParameterTypeRequiredDescription
nameStringYesName of the project group to add.

Request example

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

Response parameters

ParameterTypeDescription
group_idIntegerID of the added project group.

Response example

Copy
{ "group_id": 9545 }

Rename project group

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

Renames an existing project group.

Request parameters

ParameterTypeRequiredDescription
nameStringYesNew name for the group.

Request example

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

Response parameters

If successful, the server returns the 200 HTTP code. Returns HTTP 400 if no name is specified and HTTP 404 if the group is not found (for more information, see Error handling).

Response example

No response body.


Delete project group

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

Deletes a project group from the user account.

Request parameters

ParameterTypeRequiredDescription
group_idIntegerYesID of the group to delete.

Request example

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

Response parameters

If successful, the server returns the 204 HTTP code. Returns HTTP 404 if the group is not found (for more information, see Error handling).

Response example

No response body.


List project groups

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

Retrieves all project groups for the user account.

Request parameters

None

Request example

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

Response parameters

ParameterTypeDescription
idStringProject group ID.
nameStringProject group name.

Response example

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

Move projects to project group

POST https://api4.seranking.com/site-groups/{group_id}/sites

Transfers projects from one group to another.

Request parameters

ParameterTypeRequiredDescription
site_idsArrayYesArray of project (site) IDs to move.

Request example

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

Response parameters

If successful, the server returns the 204 HTTP code. Returns HTTP 404 if the group is not found (for more information, see Error handling).

Response example

No response body.

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.