curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recentimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent', 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://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"tradeId": "<string>",
"marketSymbol": "<string>",
"outcomeIndex": 123,
"outcomeLabel": "<string>",
"outcomeDisplayLabel": "<string>",
"side": "buy",
"price": "<string>",
"quantity": "<string>",
"actorWallet": "<string>",
"actorUsername": "<string>",
"marketTitle": "<string>",
"marketQuestion": "<string>",
"groupItemTitle": "<string>",
"groupItemImageUrl": "<string>",
"eventId": "<string>",
"eventTitle": "<string>",
"eventImageUrl": "<string>",
"eventSlug": "<string>",
"marketSlug": "<string>",
"tokenId": "<string>",
"tsMs": 123,
"actorAvatarUrl": "<string>"
}
],
"nextCursor": "<string>",
"fallback": true
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Recent trades across the whole platform (taker view, enriched)
Newest public trades platform-wide, one row per trade, from the taker’s perspective — their outcome leg, their user-view price, their side — enriched with market/event display metadata and the actor username. Same row vocabulary as the global_activity WebSocket channel: load this once, then apply WS frames on top. Server-side micro-cached (~5s), so poll-refreshing is pointless — subscribe to the socket instead. limit 1..50, default 20. Pass nextCursor back as cursor to page further back; page until it is null, as a page can hold fewer than limit items (even none) while older ones remain.
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recentimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent', 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://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/activity/recent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"tradeId": "<string>",
"marketSymbol": "<string>",
"outcomeIndex": 123,
"outcomeLabel": "<string>",
"outcomeDisplayLabel": "<string>",
"side": "buy",
"price": "<string>",
"quantity": "<string>",
"actorWallet": "<string>",
"actorUsername": "<string>",
"marketTitle": "<string>",
"marketQuestion": "<string>",
"groupItemTitle": "<string>",
"groupItemImageUrl": "<string>",
"eventId": "<string>",
"eventTitle": "<string>",
"eventImageUrl": "<string>",
"eventSlug": "<string>",
"marketSlug": "<string>",
"tokenId": "<string>",
"tsMs": 123,
"actorAvatarUrl": "<string>"
}
],
"nextCursor": "<string>",
"fallback": true
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Query Parameters
true (RND-3037): leaves out the trades whose taker is a market maker or a platform account (the takers a global_activity frame does not name, actorIsPerson: false) and reads only the trades of the last 7 days. When that leaves the first page empty, the page holds the largest public trades of those 7 days instead (any taker, newest first; a market maker's or platform account's row still has actorWallet: null), with fallback: true and nextCursor: null. A short page is not topped up. This is not the excludeMarketMakers rule of top holders and Top Traders, which also leaves out unregistered, deleted, restricted and automated accounts. true or false, exactly; empty or absent = false; anything else → 400 invalid_people_only.
true, false, Response
true only on the first page of peopleOnly=true when no person's trade is left in the last 7 days: items are then the largest public trades of those days and nextCursor is null. Never true with empty items. false otherwise (always without peopleOnly, and on a page read with cursor). Read a missing field as false.