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": [
{
"walletAddress": "<string>",
"vaultAddress": "<string>",
"username": "<string>",
"avatarUrl": "<string>",
"predictionCount": 48
}
],
"events": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"matchedVia": "title",
"kind": "match",
"competition": {
"name": "<string>",
"slug": "<string>",
"logo": "<string>"
},
"scheduledAt": "2023-11-07T05:31:56Z",
"imageUrl": "<string>",
"closesAt": "2023-11-07T05:31:56Z",
"live": true,
"finished": true
}
],
"usersHasMore": true,
"eventsHasMore": true,
"didYouMean": "<string>",
"suggestion": "<string>",
"suggestionCount": 123,
"counts": {
"matches": 123,
"events": 123,
"users": 123
},
"suggestions": [
"<string>"
]
}{
"status": 400,
"error": {
"code": "bad_request",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Global search preview — top results across users and events
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 from 0x + 8 hex characters; a shorter 0x… matches no wallet), plus the user whose username equals the query (case-insensitive, exact, at any length), and events is empty. Otherwise two independent text searches run in parallel: users need at least 3 characters after trimming (a shorter query returns no users), events start from 1 character. Events also surface tag-driven hits via matchedVia: 'tag', match every query word as a word start in the title, sides, teams, competition or live tags (any order, accents ignored), and, when fewer than 20 events match that way and a query word has 4 or more characters, typo look-alikes follow below every exact hit with matchedVia: 'fuzzy' (not when a synonym, typed as it is or read from a typo, already matches an event this search lists, open or finished; RND-4711, RND-4766, RND-4773). A query that contains a known synonym (RND-3864; for example man utd, bitcoin) also matches events that have the target words (manchester united, btc) as whole words; a target of several words must appear as that phrase (man utd does not match Manchester City vs Leeds United; RND-4711). The same holds when the query types such a target in full: manchester united needs those words together (or written as one word: la liga also matches LaLiga), so it no longer matches Manchester City vs Leeds United (RND-4765). A query word read as a typo of a known synonym (bitcion) is searched as the query typed right (bitcoin): it lists and ranks events, and keeps or drops typo look-alikes, exactly as that query does (RND-4766). Events are admitted and ordered as on /api/search/events (RND-3865). didYouMean names the query the events answer when they came only from a synonym or a typo match. suggestion and suggestionCount carry a “Did you mean …?” line and its result count, counts the results per type (RND-4243), and suggestions up to 5 queries to try when nothing was found (RND-4249). Minimum query length is 1 character. A market maker’s wallet is never a user hit.
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": [
{
"walletAddress": "<string>",
"vaultAddress": "<string>",
"username": "<string>",
"avatarUrl": "<string>",
"predictionCount": 48
}
],
"events": [
{
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"matchedVia": "title",
"kind": "match",
"competition": {
"name": "<string>",
"slug": "<string>",
"logo": "<string>"
},
"scheduledAt": "2023-11-07T05:31:56Z",
"imageUrl": "<string>",
"closesAt": "2023-11-07T05:31:56Z",
"live": true,
"finished": true
}
],
"usersHasMore": true,
"eventsHasMore": true,
"didYouMean": "<string>",
"suggestion": "<string>",
"suggestionCount": 123,
"counts": {
"matches": 123,
"events": 123,
"users": 123
},
"suggestions": [
"<string>"
]
}{
"status": 400,
"error": {
"code": "bad_request",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Query Parameters
Response
OK
RND-3864. Set when the events came only from a synonym (man utd → manchester united) or the typo fallback (antropic → anthropic): the query they answer, for example for a "Showing results for …" line. null when the query matched by itself, when no event matched, and in 0x mode. When a query word was read as a typo of a known synonym (RND-4766), the query is searched as typed right and didYouMean is that corrected query, with only the typo word replaced and every other word as typed (bitcion Price → bitcoin Price; RND-5467) whenever its own words or synonyms find an event (on the pages where it is set).
RND-4243. The "Did you mean …?" line: when the query found fewer than 5 events itself, a typo fix (never a synonym) that finds more events than those, also when didYouMean is set (RND-5467); else didYouMean. null otherwise, and when the suggestion finds no event as a query of its own.
RND-4249. Chips for a zero-result answer, at most 5, each a query of 1–64 characters to search next: the query's own words of 3 or more characters that find events alone (for a query of two or more words; never a typo match), then popular searches that share one of those words, then tags of the events those words find. Words and popular searches are lower-case; tags keep their name. Empty otherwise, and when none is found. When the chips could not all be read in time the answer is sent with Cache-Control: no-store, so a retry can fill them. Filled only when neither users nor events were found.