Skip to main content

Overview

Use the MentionLab REST API to manage projects, queries, entities and tags, and to pull every analytics surface the app shows. This page covers what you need before your first request.
The REST API is currently in beta and is subject to breaking changes.

Base URL

Versioning

Routes come in two shapes: Newer endpoints ship only under /api/v1. Where a v1 route replaces an older one, the old route keeps working but is deprecated: it responds with
and is hidden from the API reference. No sunset dates are published today, but new integrations should prefer /api/v1 wherever it exists.
If a path you’re using is missing from the reference, check your response headers — a Link header names its replacement.

Requests and responses

All requests and responses use JSON.
Many list endpoints are POST rather than GET, because filters, sorting and paging are sent in the body. Check the reference for each endpoint’s verb.

Pagination

Offset-based, via page and limit: Responses wrap results:
nextPage is omitted on the last page, prevPage on the first.

Sorting

Sorting goes in the body, not the query string:
Each endpoint allows a specific set of fields. Sending anything else returns a 400 listing the permitted fields.

Filtering

Filters are named properties on the request body. Note that most filters are scope filters — they narrow the underlying dataset, so aggregates and denominators change with them.

Errors

Unknown properties in a request body are rejected, not ignored. A typo’d field name returns 400 rather than being silently dropped.

Endpoint groups

The reference is generated from the OpenAPI spec and organized into these groups:
API keys themselves are managed in the app, not through the API — those endpoints are deliberately absent from the reference.

Next steps

Authentication

Get your API key and set required headers.

Context Headers

Learn about organization and project headers.

Rate Limits

Understand API limits and retry behavior.

MCP Server

Reach the same data from Claude, Cursor and other AI tools.