Basketball V1
Head-to-Head
Get head-to-head history between two basketball teams
GET
Head-to-Head
Overview
Returns historical head-to-head matchups between two teams, useful for pre-game analysis and betting insights.Query Parameters
integer
required
First team ID
integer
required
Second team ID
integer
default:"10"
Number of historical games to return
Code Examples
Response Structure
array
Array of historical matchups
object
H2H summary statistics
Authorizations
Your SportsAPI Pro API key
Query Parameters
First team ID
Example:
678
Second team ID
Example:
679
Number of historical games to return
Example:
10
Response
200
Head-to-head history retrieved successfully
Last modified on June 29, 2026