Skip to main content

Matches Highlights

This endpoint allows you to retrieve the highlights from matches. It has all social media posts about the match.

Multi-language: This feature allows the user to manually change the language of the API response by adding value to the lang attribute. Example: lang=en.

Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.

Update Period: The endpoint is updated every 10 seconds during a live match.
Recommended Calls: Limit calls to 1 per 10 seconds during a live match.

Use Cases

Get highlights from a specific match_id
https://baseball.sportdevs.com/matches-highlights?match_id=eq.{match_id}

Query Parameters
  • match_id integer

    Default value: eq.165

    The id of the match

  • offset string

    Default value: 0

    Limiting and Pagination

  • limit string

    Default value: 50

    Limiting and Pagination

  • lang string

    Default value: en

    Multi-language

Responses

OK


Schema array
  • id integer

    The id of the highlight

    Note: This is a Primary Key.

  • match_id integer

    The id of the match

    Note: This is a Foreign Key to matches-live.id.

  • title text

    The title of the highlight

  • subtitle text

    The subtitle of the highlight

  • url text

    The url of the highlight

  • created_at timestamp with time zone

    The publishing date of the highlight

  • source_url text

    The source url of the highlight

Loading...