Developers

Build on your AI visibility data. REST API and MCP server.

Pull mention rates, engines, competitors and raw AI answers into your own dashboards, reports and agents.

API reference

Endpoints, parameters, responses, errors.

MCP tools

Every tool, its scope and input schema.

Webhooks

Signed events, retries, Slack digest, CSV.

API keys

Create, scope and revoke keys.

REST quickstart
curl https://api.mazerank.com/v1/sites \
  -H "Authorization: Bearer $LR_KEY"
MCP endpoint
POST https://mcp.mazerank.com
Authorization: Bearer $LR_KEY
Content-Type: application/json
01REST API

Plain JSON over HTTPS.

GET endpoints cover every website on your account, from the site list down to individual AI answers and their citations. Fix endpoints return ranked fixes, their evidence and the written solution.

  • —Bearer or X-Api-Key auth
  • —Responses wrapped in { data }
  • —120 requests per minute per key
API reference
Terminal
$ curl -H "Authorization: Bearer $LR_KEY" \
api.mazerank.com/v1/sites/SITE_ID/mention-rates?weeks=4
02MCP

The same data as agent tools.

Point any MCP client at one URL. ChatGPT, Claude or Cursor can answer questions from your tracking data, and pull your fixes with ready-made solutions.

  • —Streamable HTTP, stateless
  • —Protocol 2025-06-18
  • —Tools filtered by key scopes
MCP tools
tools/list · data and fixes
Data tools read-only · filtered by your key's scopes
03Keys

Scoped and revocable.

Create keys in the app under Account settings → API & MCP. Choose scopes and sites, track last use, revoke any time. Keys only change fix statuses, solutions and plan tasks (Fixes: actions scope) and business facts (Facts: edit scope).

  • —Shown once, stored hashed
  • —Up to 20 active keys
  • —Agency keys read every client
Manage keys
Account · API & MCP
New key
Claude desktop
Scopes
sitesratesenginescompetitorsanswersalertsreportsfixesfixes_write

Start building.

Create a key and make your first request in a minute.