Recent trades across the whole platform (taker view, enriched)
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
}
],
"nextCursor": "<string>"
}Global Activity
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.
GET
/
api
/
activity
/
recent
Recent trades across the whole platform (taker view, enriched)
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
}
],
"nextCursor": "<string>"
}Query Parameters
Required range:
1 <= x <= 50Opaque cursor from a previous response's nextCursor. Returns trades strictly older than it, so a newly arriving trade never shifts a page boundary or repeats a row.