Search entities
curl --request GET \
--url https://api.oddpool.com/reference/v2/entitiesimport requests
url = "https://api.oddpool.com/reference/v2/entities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.oddpool.com/reference/v2/entities', 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://api.oddpool.com/reference/v2/entities",
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://api.oddpool.com/reference/v2/entities"
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://api.oddpool.com/reference/v2/entities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oddpool.com/reference/v2/entities")
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": [
{}
],
"next_cursor": {}
}Entities
Search entities
Find entities by substring and kind.
GET
/
reference
/
v2
/
entities
Search entities
curl --request GET \
--url https://api.oddpool.com/reference/v2/entitiesimport requests
url = "https://api.oddpool.com/reference/v2/entities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.oddpool.com/reference/v2/entities', 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://api.oddpool.com/reference/v2/entities",
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://api.oddpool.com/reference/v2/entities"
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://api.oddpool.com/reference/v2/entities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oddpool.com/reference/v2/entities")
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": [
{}
],
"next_cursor": {}
}Search and page entities.
q is a case-insensitive substring match on the canonical name. Each item is a full entity, the same object as Look up an entity.
Query parameters
string
Substring match on the canonical name, e.g.
lakers.string
One of
person, team, political_party, cultural_work, geographic_region, organization, event_occurrence.string
Filter to a specific Wikidata Q-ID.
string
wikidata for Wikidata-backed records, llm_auto for auto-minted ones.integer
default:"50"
Items per page (1–2000).
string
The
next_cursor from the previous response.Request
curl -H "X-API-Key: your_api_key" \
"https://api.oddpool.com/reference/v2/entities?q=lakers&kind=team"
import requests
r = requests.get(
"https://api.oddpool.com/reference/v2/entities",
headers={"X-API-Key": "your_api_key"},
params={"q": "lakers", "kind": "team"},
)
page = r.json()
Response
Entity[]
A page of entities. Each is the full entity object. Every field is defined in Response fields.
string | null
Pass as
cursor for the next page. null on the last page.{
"items": [
{
"oddpool_id": "OPE:TEAM:LOS-ANGELES-LAKERS",
"kind": "team",
"canonical_name": "Los Angeles Lakers",
"aliases": ["Lakers", "LA Lakers", "LAL"],
"wikidata_qid": "Q121783",
"metadata": { "league": "NBA", "sport": "basketball", "city": "Los Angeles" },
"provenance": "wikidata",
"source_synced_at": "2026-05-27T01:16:04Z"
}
],
"next_cursor": null
}