List posts
curl --request GET \
--url https://mentioned.to/api/v1/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://mentioned.to/api/v1/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://mentioned.to/api/v1/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mentioned.to/api/v1/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mentioned.to/api/v1/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mentioned.to/api/v1/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mentioned.to/api/v1/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"reddit_id": "<string>",
"subreddit": "<string>",
"title": "<string>",
"selftext": "<string>",
"author": "<string>",
"url": "<string>",
"score": 123,
"num_comments": 123,
"created_utc": "<string>",
"permalink": "<string>",
"matched_keywords": [
"<string>"
],
"mentioned_competitors": [
"<string>"
],
"is_answered": true,
"archived": true,
"skipped": true,
"priority": "high",
"urgency": "urgent"
}
],
"count": 123
}Endpoints
List Posts
Returns Reddit posts that match your tracked keywords
GET
/
posts
List posts
curl --request GET \
--url https://mentioned.to/api/v1/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://mentioned.to/api/v1/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://mentioned.to/api/v1/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mentioned.to/api/v1/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mentioned.to/api/v1/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mentioned.to/api/v1/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mentioned.to/api/v1/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"reddit_id": "<string>",
"subreddit": "<string>",
"title": "<string>",
"selftext": "<string>",
"author": "<string>",
"url": "<string>",
"score": 123,
"num_comments": 123,
"created_utc": "<string>",
"permalink": "<string>",
"matched_keywords": [
"<string>"
],
"mentioned_competitors": [
"<string>"
],
"is_answered": true,
"archived": true,
"skipped": true,
"priority": "high",
"urgency": "urgent"
}
],
"count": 123
}Authorizations
API key from Settings > API. Format: rm_live_xxx
Query Parameters
Filter by keyword ID
Filter by subreddit name
Filter by priority level
Available options:
high, medium, low Filter by answered status
Available options:
answered, unanswered Only posts mentioning competitors
Include archived posts
Sort field
Available options:
priority, urgency, date, score, comments Sort direction
Available options:
asc, desc Full-text search query