Skip to main content
GET
/
api
/
search
Global search preview — top results across users, events, and matches
curl --request GET \
  --url https://core-api.adipredictstreet.com/api/search
import 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>"
    }
  ],
  "matches": [
    {
      "id": "<string>",
      "slug": "<string>",
      "title": "<string>",
      "teamA": "<string>",
      "teamB": "<string>",
      "startTime": "2023-11-07T05:31:56Z"
    }
  ],
  "usersHasMore": true,
  "eventsHasMore": true,
  "matchesHasMore": true
}
{
  "error": {
    "code": "bad_request",
    "message": "<string>",
    "details": {},
    "trace_id": "<string>"
  },
  "status": 400
}

Query Parameters

q
string
required

Search query, 1–64 characters.

Required string length: 1 - 64

Response

OK

query
string
required

Trimmed query string actually used.

walletMode
boolean
required

True when the query parsed as a 0x… wallet prefix. In that case events and matches are always empty.

users
object[]
required
events
object[]
required
matches
object[]
required
usersHasMore
boolean
required

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.

eventsHasMore
boolean
required
matchesHasMore
boolean
required