Basic lookup

Head to head

Use for two clubs' meetings in this competition: wins, draws and goals each, the first meeting, and the results newest first. Costs 2 credits.

post/v1/get_head_to_head

Request

  • Base URL: https://mcp.strikerapi.com
  • URL: https://mcp.strikerapi.com/v1/get_head_to_head
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

teamstring required

Club id, abbreviation or name.

opponentstring required

The other club.

limitinteger

Max results listed (default 20); the summary counts every meeting.

league'soccer' | 'mls' | 'laliga' | 'seriea' | 'bundesliga' | 'ligue1' | 'ucl' | 'championship' | 'nwsl' | 'ligamx' | 'uel' | 'uecl' | 'eredivisie' | 'primeira' | 'scotland' | 'brazil' | 'argentina'

League. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.