Mentions

Export mentions as JSON

The same mentions GET /v1/mentions would list for these filters, in one response, newest matched first (the order they entered your feed): every row is the full Mention object the list returns, text included. Capped at 10,000 mentions; truncated (and the X-Mentions-Truncated header) says when the cap cut the list. Shares the CSV export's limit: at most 6 exports per minute per workspace, either format; a 429 carries Retry-After.

get/v1/mentions/export.json

Request

  • Base URL: https://api.mentio.dev
  • URL: https://api.mentio.dev/v1/mentions/export.json
  • Auth: HTTP bearer

Query parameters

keywordIdstring

Only matches of this keyword.

platform'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'

Only posts from this platform.

status'open' | 'ignored' | 'done'

Only mentions in this status. Omit for every status.

relevantboolean

true: only mentions the classifier scored relevant; false: only the rest (unclassified included).

sentiment'positive' | 'neutral' | 'negative'

Only this sentiment.

intentstring

Only mentions carrying this intent or topic tag (buy_intent, question, complaint, praise, comparison, churn_intent, bug_report, pricing, hiring, event, promotional, testimonial, industry_insight, launch, feedback).

automatedboolean

true: only mentions that read as machine-made (a bot account, a scheduled or templated post, AI-written text); false: only the rest, mentions judged before this existed included. Omitted: everything.

organizationboolean

true: only posts by companies, brands and organizations (a LinkedIn company page, a GitHub organization, a business account); false: only posts by people, mentions judged before this existed included. Omitted: everything.

personIdstring

Only this person (an id from /v1/people), merged accounts included. Implies includeMuted.

includeMutedboolean

true: include mentions by people you muted, hidden by default: muted for the workspace, or for the mention's own keyword group.

includeDuplicatesboolean

true: list cross-posts (a mention whose duplicateOf is set) as mentions of their own. By default each is listed only in its original's duplicates.

assigneeIdstring

Only mentions assigned to this workspace member (user id).

snoozedboolean

true: only mentions currently snoozed. Otherwise snoozed mentions stay out until they wake.

excludeAuthorsstring[] nullable

Hide these authors: display names, handles or profile URLs. Repeatable, or one comma-separated value.

minRelevanceinteger nullable

Only mentions scored at least this; unclassified ones are excluded.

minConfidencenumber nullable

Only mentions whose classifier confidence is at least this, 0 to 1. Mentions without a confidence are excluded.

minFollowersinteger nullable

Only authors with at least this many followers. Unknown reach never passes.

maxFollowersinteger nullable

Only authors with at most this many followers. Unknown reach never passes.

kind'post' | 'comment' | 'repository'

Only posts (post), only comments (comment) or only GitHub repository events (repository). Omitted: all.

isReplyboolean

true: only replies and comments (posts answering another post); false: only top-level posts. Omitted: both.

alertIdstring

Apply an alert rule's filter (an id from GET /v1/alerts) on top of the other filters: the same mentions the rule would send, for a feed-shaped export or a preview. Unknown ids are a 404.

viewIdstring

Apply a saved view's filter (an id from GET /v1/views) on top of the other filters, every condition ANDed: exactly what the view selects. Unknown ids are a 404.

keywordKindsstring[]

Only matches of keywords of any of these kinds: brand, competitor, topic. Repeatable, or comma-separated.

tagsstring[] nullable

Only authors tagged with any of these (exact, case-sensitive), in the workspace's tags or those of the mention's own keyword group. Repeatable, or comma-separated.

linkHostsstring[] nullable

Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). Repeatable, or comma-separated.

platformsstring[]

Only posts from any of these platforms.

notPlatformsstring[]

Never posts from these platforms.

keywordIdsstring[] nullable

Only matches of any of these keywords.

groupIdsstring[] nullable

Only matches of keywords in any of these groups (grp_...). Repeatable, or comma-separated.

notGroupIdsstring[] nullable

Never matches of keywords in these groups.

notKeywordIdsstring[] nullable

Never matches of these keywords.

sentimentsstring[]

Only these sentiments.

notSentimentsstring[]

Never these sentiments. A mention the classifier has not scored yet still passes.

intentsstring[] nullable

Only mentions carrying any of these intent or topic tags.

notIntentsstring[] nullable

Never mentions carrying these intent or topic tags.

notLinkHostsstring[] nullable

Never posts linking to these hosts, the host itself or a subdomain of it.

subredditsstring[] nullable

Only Reddit posts from any of these subreddits: subreddits=SaaS,startups (names without the r/, any case). Every other post fails it. Repeatable, or comma-separated.

notSubredditsstring[] nullable

Never Reddit posts from these subreddits; posts from other platforms still pass.

notTagsstring[] nullable

Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.

languagesstring[]

Only posts in any of these languages (ISO 639-1: en, es, de). A post whose language is unknown never passes.

notLanguagesstring[]

Never posts in these languages. A post whose language is unknown still passes.

countriesstring[]

Only posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de), as the classifier read the author's profile and the post. A post whose country is unknown never passes.

notCountriesstring[]

Never posts whose author is in these countries: notCountries=in. A post whose country is unknown still passes.

ratingsinteger[]

Only app store reviews with any of these star ratings (1 to 5): ratings=1,2 is the unhappy ones. Every other post fails it.

notRatingsinteger[]

Never reviews with these star ratings (1 to 5): notRatings=5 hides the five star reviews. Posts that are not reviews still pass.

minLikesinteger nullable

Only posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.

minRepostsinteger nullable

Only posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.

minRepliesinteger nullable

Only posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.

minQuotesinteger nullable

Only posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.

minViewsinteger nullable

Only posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.

minBookmarksinteger nullable

Only posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.

anyOfstring

OR across groups of conditions, as URL-encoded JSON: [{"platforms":["reddit"],"sentiments":["negative"]},{"intents":["buy_intent"]}] is "negative on Reddit, or buying intent anywhere". Each group holds the conditions of a view filter (lists any-of, not lists none-of, all ANDed); a mention passes when at least one group holds, and every other filter here still applies. 1 to 10 groups, none empty, no nesting.

qstring

Substring search in the post text or the author's name.

sincestring date-time

Only posts published at or after this instant (ISO 8601, or epoch ms).

untilstring date-time

Only posts published at or before this instant (ISO 8601, or epoch ms).

Response

Every matching mention, up to the cap

truncatedboolean required

true when more mentions matched than the cap returns: narrow the filters (since, until) and export again.

Changes

No recorded changes to this operation across all 1 revision of this API.