Global search preview — top results across users, events, and matches
curl --request GET \
--url https://core-api.adipredictstreet.com/api/searchimport requests
url = "https://core-api.adipredictstreet.com/api/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core-api.adipredictstreet.com/api/search', 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.adipredictstreet.com/api/search",
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.adipredictstreet.com/api/search"
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.adipredictstreet.com/api/search")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.adipredictstreet.com/api/search")
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{
"query": "<string>",
"walletMode": true,
"users": [
{
"vaultAddress": "<string>",
"username": "<string>"
}
],
"events": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"teamA": "<string>",
"teamB": "<string>",
"matchedVia": "title"
}
],
"matches": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"teamA": "<string>",
"teamB": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"matchedVia": "title"
}
],
"usersHasMore": true,
"eventsHasMore": true,
"matchesHasMore": true
}{
"error": {
"code": "bad_request",
"message": "<string>",
"details": {},
"trace_id": "<string>"
},
"status": 400
}Search
Global search preview — top results across users, events, and matches
Returns up to 5 hits per type for the header dropdown. If the query starts with 0x we look up users by wallet (exact at length 42, prefix otherwise) and events / matches are empty. Otherwise three independent text searches run in parallel; events also surface tag-driven hits via matchedVia: 'tag'. Minimum query length is 1 character.
GET
/
api
/
search
Global search preview — top results across users, events, and matches
curl --request GET \
--url https://core-api.adipredictstreet.com/api/searchimport requests
url = "https://core-api.adipredictstreet.com/api/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core-api.adipredictstreet.com/api/search', 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.adipredictstreet.com/api/search",
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.adipredictstreet.com/api/search"
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.adipredictstreet.com/api/search")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.adipredictstreet.com/api/search")
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{
"query": "<string>",
"walletMode": true,
"users": [
{
"vaultAddress": "<string>",
"username": "<string>"
}
],
"events": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"teamA": "<string>",
"teamB": "<string>",
"matchedVia": "title"
}
],
"matches": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"teamA": "<string>",
"teamB": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"matchedVia": "title"
}
],
"usersHasMore": true,
"eventsHasMore": true,
"matchesHasMore": true
}{
"error": {
"code": "bad_request",
"message": "<string>",
"details": {},
"trace_id": "<string>"
},
"status": 400
}Query Parameters
Search query, 1–64 characters.
Required string length:
1 - 64Response
OK
Trimmed query string actually used.
True when the query parsed as a 0x… wallet prefix. In that case events and matches are always empty.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
True when there is at least one more row past the preview slice for this type — drives the "View more" footer in the dropdown without a follow-up round-trip.