For Agents
Query Majestic's link-intelligence index for backlinks, referring domains, trust flow, and anchor-text data on any URL or domain. Used by SEO agents that audit link profiles and competitor backlink growth.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Majestic SEO API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Majestic SEO API.
Pull backlink lists for a target URL or root domain at a chosen depth
Retrieve trust flow and citation flow scores for any URL or domain
List the referring domains pointing at a target with first- and last-seen dates
GET STARTED
Use for: I need to pull the backlink profile for example.com, Get the trust flow and citation flow for a target URL, List the top referring domains for competitor.com, Find every backlink to a URL discovered in the last 90 days
Not supported: Does not handle paid search, rank tracking, or content optimisation — use for backlink, referring-domain, and anchor-text intelligence only.
Jentic publishes the only available OpenAPI specification for Majestic SEO API, keeping it validated and agent-ready. Majestic operates one of the largest link-intelligence indexes on the web and exposes a command-style API where each request specifies a Majestic command (such as GetIndexItemInfo, GetBackLinkData, GetTopBackLinks) and the URL or domain to query. The three transport endpoints (JSON GET, JSON POST, XML GET) all share the same command catalogue and return backlink, referring-domain, anchor-text, trust-flow, and citation-flow data.
Inspect the most common anchor text used in backlinks to a target
Compare the link profile of two domains to surface gap opportunities
Look up topical trust flow categories for a target domain
Patterns agents use Majestic SEO API for, with concrete tasks.
★ Link Profile Audit
SEO teams audit a target domain's backlink profile to spot toxic links, low-quality referring domains, and disavow candidates. The Majestic API GetBackLinkData and GetTopBackLinks commands return the bulk of the link graph for a URL or domain along with trust flow and citation flow scores, supporting both quick health checks and deep historical audits.
GET /api/json with cmd=GetTopBackLinks and item=example.com to return the top 1000 backlinks ordered by trust flow.
Competitor Link Gap Analysis
Marketing teams compare their referring-domain set against a competitor's to find sites that link to the competitor but not to them. The Majestic referring-domain commands return ranked lists of referrers per target domain so an automation can diff the two and surface link-building opportunities for outreach.
Call GetRefDomains for example.com and competitor.com, diff the two referrer lists, and rank the gap by competitor's trust flow score.
Anchor-Text Distribution Reporting
Anchor-text mix is a leading indicator of natural versus manipulative link building. Majestic's anchor-text commands return the distribution of anchor phrases pointing at a target so SEO teams can monitor over-optimised anchors that risk algorithmic penalties. Reports run weekly or monthly against a portfolio of domains.
Pull anchor-text distribution for example.com and flag any phrase that exceeds 10% of total backlinks.
AI Agent SEO Assistant
Marketing operators can delegate routine SEO queries to an agent that pulls Majestic data on demand. Through Jentic the agent searches by intent, loads the schema for the right Majestic command, and executes the call with the API key served from the vault. The same loop powers reporting copilots and competitor-monitoring agents.
Use Jentic to search 'get majestic backlinks for a domain', execute the JSON command with cmd=GetTopBackLinks, and return the top referrers grouped by trust flow.
3 endpoints — jentic publishes the only available openapi specification for majestic seo api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/api/json
Execute a Majestic command and return JSON
/api/json
Execute a Majestic command via POST and return JSON
/api/xml
Execute a Majestic command and return XML
/api/json
Execute a Majestic command and return JSON
/api/json
Execute a Majestic command via POST and return JSON
/api/xml
Execute a Majestic command and return XML
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Majestic app_api_key is stored encrypted in the Jentic vault. Agents call the API through a scoped execution token and Jentic adds the key as a query parameter at execute time, so the secret never enters the agent context.
Intent-based discovery
Agents search by intent (e.g., 'pull backlinks for a domain') and Jentic returns the Majestic JSON endpoint with the input schema — including the cmd parameter — so the agent does not have to learn the full command catalogue.
Time to first call
Direct Majestic integration: a day or two to learn the command grammar and unit accounting. Through Jentic: an hour — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using Majestic SEO API through Jentic.
Why is there no official OpenAPI spec for Majestic SEO API?
Majestic does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Majestic SEO API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Majestic SEO API use?
Majestic accepts an API key passed as the app_api_key query parameter on every request. Through Jentic the key is encrypted in the vault and attached server-side, so the raw key never enters the agent context.
Can I pull backlinks for a domain through the API?
Yes. Call GET /api/json with cmd=GetTopBackLinks (or GetBackLinkData) and the item parameter set to the target URL or domain. The response returns the link list plus trust flow and citation flow scores.
What commands are available on the JSON endpoint?
All Majestic commands share the same transport. The cmd query parameter selects the command (GetIndexItemInfo, GetBackLinkData, GetTopBackLinks, GetRefDomains, GetAnchorText, etc.) and the rest of the parameters depend on the chosen command.
What are the rate limits for the Majestic SEO API?
Majestic enforces a unit-based quota rather than a strict request-rate limit. Each command costs a different number of analysis units; check your subscription on majestic.com for the unit balance and the per-command cost.
How do I run a Majestic command through Jentic?
Run pip install jentic, search 'pull backlinks for a domain via majestic', load the schema for GET /api/json, and execute with cmd and item set to your target. Jentic injects the app_api_key from the encrypted vault.