LogoMyBacklinks.app
FeaturesPricingToolsResourcesChangelog
MyBacklinks CLI: Manage Backlinks and SEO Data from the Command Line
2026/03/20

MyBacklinks CLI: Manage Backlinks and SEO Data from the Command Line

The official npm CLI `@mybacklinks/cli` is here! Manage projects, track backlinks, and analyze competitor domains without leaving your terminal. Fast API key authentication, JSON & Markdown dual output.

MyBacklinks CLI: Your Terminal Backlink Management Tool

MyBacklinks now offers an official command-line interface @mybacklinks/cli that lets you manage backlinks, track projects, and analyze competitors without opening a browser.

Whether you're a developer who prefers the terminal or a marketer who needs to process SEO data in bulk, the CLI makes your workflow more efficient.

Why Choose the CLI Tool?

πŸš€ Faster Workflow

  • Complete operations with a single command β€” no browser tab switching
  • Support for scripts and automation β€” batch process data and tasks
  • Faster response times than web interfaces

πŸ”„ Seamless Automation Integration

  • Perfect compatibility with AI agents for intelligent workflows
  • CI/CD pipeline integration for continuous monitoring
  • Unified API ensures data consistency

πŸ’‘ Flexible Use Cases

  • Direct server environment access
  • Build custom scripts and tools
  • Integrate with other development tools

What Can You Do?

With MyBacklinks CLI, you can easily:

  • βœ… Quickly check account balance and subscription status
  • βœ… List all projects and backlink resources
  • βœ… Add or update backlink records
  • βœ… Query any domain's backlinks, Domain Rating (DR), and traffic data
  • βœ… Analyze competitor backlink strategies
  • βœ… Export data for in-depth analysis

Quick Start

1. Install the CLI Tool

npm install -g @mybacklinks/cli

2. Log In

Choose your preferred authentication method:

Method 1: API Key (Recommended, Quick Login)

mybacklinks login --api-key mbk_xxxxx

Method 2: OAuth Browser Authorization

mybacklinks login

3. Start Using

# Check account status
mybacklinks status

# List all projects
mybacklinks list-projects

# View project details
mybacklinks fetch-project-info --project-id <your-project-id>

# Get indexed backlinks
mybacklinks fetch-project-backlinks --project-id <your-project-id> --status indexed

Output Formats: JSON or Markdown

By default, the CLI outputs JSON format for easy programmatic processing and scripting:

mybacklinks status

Output example:

{
  "auth": {
    "credentialType": "api_key",
    "hasApiKey": true
  },
  "subscription": {
    "status": "active",
    "interval": "month"
  },
  "credits": {
    "current": 10073
  }
}

For human-readable format, add the --md flag to get structured Markdown output:

mybacklinks status --md

Output example:

### auth
- **credentialType**: api_key
- **hasApiKey**: yes

### subscription
- **status**: active
- **interval**: month

### credits
- **current**: 10,073

Common Commands

Account Management

# View account status and balance
mybacklinks status

Project Operations

# List all projects
mybacklinks list-projects

# View project details
mybacklinks fetch-project-info --project-id proj_abc

# Get project backlinks (filter by status, domain)
mybacklinks fetch-project-backlinks --project-id proj_abc --status indexed --limit 20

Domain Research

These commands consume Credits as they query external data:

# View domain backlinks
mybacklinks fetch-backlinks-by-domain --domain competitor.com --limit 100

# View only Dofollow backlinks
mybacklinks fetch-backlinks-by-domain --domain competitor.com --dofollow

# Check Domain Rating (DR)
mybacklinks fetch-dr-by-domain --domain competitor.com

# Check domain traffic
mybacklinks fetch-traffic-by-domain --domain competitor.com

Get Help

Every command supports the --help option to view detailed usage and examples:

mybacklinks fetch-project-backlinks --help

Output:

mybacklinks fetch-project-backlinks

Fetch backlinks for a project with optional filters

Usage:
  mybacklinks fetch-project-backlinks [options]

Options:
  --project-id <string>         Project ID (required)
  --status <string>             Filter by status (e.g. indexed, pending)
  --resource-domain <string>    Filter by resource domain
  --limit <number>              Max number of backlinks to return
  --cursor <string>             Pagination cursor from a previous response
  --json                        Output as JSON
  --md                          Output as Markdown
  --base-url <string>           Override server URL  [default: https://mybacklinks.app]

Examples:
  mybacklinks fetch-project-backlinks --project-id proj_abc
  mybacklinks fetch-project-backlinks --project-id proj_abc --status indexed --limit 20

About Credits

Understanding which operations consume Credits helps you plan usage:

No Credits Required:

  • Check account status
  • List projects and resources
  • Add/update backlink records
  • Query your own project data

Credits Consumed:

  • Research any domain's backlinks
  • Query Domain Rating (DR)
  • Query domain traffic

Recommendation: Run mybacklinks status before bulk research to check your balance.

Technical Consistency Guarantee

The CLI tool is not a "side channel" or separate branch β€” it uses the same backend services as other MyBacklinks products:

  • πŸ” Unified Authentication: API Key and OAuth work across all platforms
  • πŸ“Š Consistent Data Model: Identical definitions for projects, backlinks, and domains
  • ⚑ Same Billing Rules: Credit consumption logic remains consistent
  • πŸ€– AI Agent Native Support: Shares tool interfaces with MCP server

This means you can freely switch between the web dashboard, terminal scripts, and AI agent workflows without relearning or adjusting data formats.

Next Steps

Install the CLI tool and start managing your backlinks more efficiently:

npm install -g @mybacklinks/cli
mybacklinks login --api-key <your-api-key>

Questions or suggestions? Please open an issue on GitHub.

All Posts

Categories

  • Tutorial
MyBacklinks CLI: Your Terminal Backlink Management ToolWhy Choose the CLI Tool?What Can You Do?Quick Start1. Install the CLI Tool2. Log In3. Start UsingOutput Formats: JSON or MarkdownCommon CommandsAccount ManagementProject OperationsDomain ResearchGet HelpAbout CreditsTechnical Consistency GuaranteeNext Steps

More Posts

Getting Started with MyBacklinks MCP: Connect AI to Your Backlink Management
Tutorial

Getting Started with MyBacklinks MCP: Connect AI to Your Backlink Management

Learn how to connect Claude Code, Cursor, and other AI assistants to MyBacklinks using MCP (Model Context Protocol) for automated project and backlink management.

2025/12/06
MyBacklinks.app - All-in-One Project Management & Growth Tracking Platform for Indie Hackers
Tutorial

MyBacklinks.app - All-in-One Project Management & Growth Tracking Platform for Indie Hackers

Manage your side projects, backlinks, domains, and servers in one place. Integrate multi-platform analytics and automate your workflow with AI-powered tools.

2025/12/03
Snowball Backlink Strategy: How to Systematically Build Your Link Empire
Tutorial

Snowball Backlink Strategy: How to Systematically Build Your Link Empire

Learn how MyBacklinks.app helps you build a snowball-effect backlink system through personal resource libraries, automated project discovery, and competitor analysis.

2025/12/03
LogoMyBacklinks.app

Track backlinks, manage projects, and grow faster

GitHubGitHubEmail
Product
  • Features
  • Pricing
  • FAQ
Resources
  • Blog
  • Changelog
Company
  • About
  • Contact
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
Featured on startupdirs.comFeatured on Twelve ToolsListed on Turbo0Featured on Dofollow.ToolsAppsy ToolsFeatured on toolfame.comSimilarLabs Embed BadgeFeatured on Aura++
Featured on startupdirs.comFeatured on Twelve ToolsListed on Turbo0Featured on Dofollow.ToolsAppsy ToolsFeatured on toolfame.comSimilarLabs Embed BadgeFeatured on Aura++
Β© 2026 MyBacklinks.app All Rights Reserved.