Get Forms for Teams

Fetch recent form for multiple teams in a single request. A maximum of 10 teams and 10 form results per team are supported. Returns a map keyed by team ID or a flat list, controlled by the collection parameter.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

A comma-delimited list of team IDs to compare, must be exactly 2 team IDs

Query Params
string
Defaults to opta

The provider that the data was received from

compId
array of strings

A list of competition IDs to compare the teams across. Can be provided as a comma-delimited list or multiple parameters (&compId=X&compId=Y)

compId
season
array of strings

A list of seasons to compare form across. Can be provided as a comma-delimited list or as multiple parameters (&season=X&season=Y)

season
integer
≤ 10
Defaults to 6

The number of previous matches to return

string
enum
Defaults to map

Indicates the return type of the payload, either a list of matches + forms, or a map where the forms are grouped under a team

Allowed:
boolean
Defaults to false

Include images for competition and team badges. Used in combination with clientId to indicate whether to use the global image library use a client's images

string
Defaults to GLOBAL

Used when returning images and for usage tracking. If no client ID is passed, will draw from the global stock images, when a client ID is passed, it will attempt to use a client's version of those images

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json