Skip to main content

Majestic Configuration

The following guide shows you how to manage the Majestic backlink data configuration for your Lumar projects. Majestic integration enriches your crawl data with external backlink metrics.

Creating a Majestic configuration

Enable Majestic integration for a project:

Operation: mutation CreateMajesticConfiguration($input: CreateMajesticConfigurationInput!) { createMajesticConfiguration(input: $input) { majesticConfiguration { enabled maxRows useHistoricData useRootDomain } } }Variables: { "input": { "projectId": "TjAwN1Byb2plY3Q2MTMy", "enabled": true, "maxRows": 1000, "useHistoricData": false, "useRootDomain": false } }Response Example: { "data": { "createMajesticConfiguration": { "majesticConfiguration": { "enabled": true, "maxRows": 1000, "useHistoricData": false, "useRootDomain": false } } } }
CreateMajesticConfigurationTry in Explorer
GraphQL
mutation CreateMajesticConfiguration($input: CreateMajesticConfigurationInput!) {
createMajesticConfiguration(input: $input) {
majesticConfiguration {
enabled
maxRows
useHistoricData
useRootDomain
}
}
}

Key configuration fields:

FieldDescription
enabledWhether Majestic data collection is active.
maxRowsMaximum number of backlink rows to import.
useHistoricDataWhen true, uses Majestic's Historic Index (larger dataset). When false, uses the Fresh Index.
useRootDomainWhen true, queries backlinks for the root domain. When false, queries the specific subdomain.

Querying the configuration

Retrieve the current Majestic configuration for a project:

Operation: query GetMajesticConfiguration($projectId: ObjectID!) { getProject(id: $projectId) { majesticConfiguration { enabled maxRows useHistoricData useRootDomain createdAt } } }Variables: { "projectId": "TjAwN1Byb2plY3Q2MTMy" }Response Example: { "data": { "getProject": { "majesticConfiguration": { "enabled": true, "maxRows": 1000, "useHistoricData": false, "useRootDomain": false, "createdAt": "2025-01-10T08:00:00.000Z" } } } }
GetMajesticConfigurationTry in Explorer
GraphQL
query GetMajesticConfiguration($projectId: ObjectID!) {
getProject(id: $projectId) {
majesticConfiguration {
enabled
maxRows
useHistoricData
useRootDomain
createdAt
}
}
}

Updating the configuration

Modify the Majestic configuration:

Operation: mutation UpdateMajesticConfiguration($input: UpdateMajesticConfigurationInput!) { updateMajesticConfiguration(input: $input) { majesticConfiguration { enabled maxRows useHistoricData useRootDomain } } }Variables: { "input": { "projectId": "TjAwN1Byb2plY3Q2MTMy", "enabled": true, "maxRows": 5000, "useHistoricData": true } }Response Example: { "data": { "updateMajesticConfiguration": { "majesticConfiguration": { "enabled": true, "maxRows": 5000, "useHistoricData": true, "useRootDomain": false } } } }
UpdateMajesticConfigurationTry in Explorer
GraphQL
mutation UpdateMajesticConfiguration($input: UpdateMajesticConfigurationInput!) {
updateMajesticConfiguration(input: $input) {
majesticConfiguration {
enabled
maxRows
useHistoricData
useRootDomain
}
}
}

All fields in the update input are optional -- only include the fields you want to change.