Skip to content
API reference / Insights
GET/tennis/facts

Facts feed: what finished matches changed

Insights plan feature (403 FEATURE_NOT_IN_PLAN without it). Finished matches of the last days with their new facts: the match story (comebacks, late winners, red cards), runs that started, grew or ended, table places and zones. Each fact also as a sentence (lang de, es, it, fr). Newest first; poll with since (the last item's updated_at). Facts only, no predictions.

Insights planPay per call without a key: $0.02 in USDC

Parameters

  • league_idinteger · query

    League id

  • sincestring · query

    Only matches updated after this time (RFC 3339)

  • min_importanceinteger · query

    Only facts with at least this importance (0-100, default 50)

  • limitinteger · query

    Matches (default 50, max 200)

  • langstring · query

    Language of sentences and names: de, es, it, fr

Response

JSON with success, the result in data, and where the endpoint pages its results meta.

  • dataarray of object
  • away_scoreinteger
  • away_teamobject
  • idinteger
  • namestring
  • datestring
  • factsarray of object
  • based_onarray of integer
  • history_fromstring
  • importanceinteger
  • incompleteboolean

    a match without a result cuts it: no sentence

  • opponentobject
  • player_idinteger
  • sincestring
  • teamobject
  • team_idinteger

    Flat fields for consumers that do not read values: the team's and player's id, the fact's main number, the day a run or "first since" reaches back to, and the start of our data (no claim reaches further).

  • textstring
  • typestring
  • valueinteger
  • valuesobject
  • home_scoreinteger
  • home_teamobject
  • idinteger
  • namestring
  • league_idinteger
  • league_namestring
  • match_idinteger
  • updated_atstring
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

    Attribution a data source's licence asks for (Cricsheet's history).

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
400INVALID_PARAMA parameter is missing or wrong, and the message names it. Fix the request; do not retry it.
402x402 offersNo key and no valid payment: the body lists what to pay. Only a 200 answer is charged.
403FORBIDDENThe sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features).

All errors have the shape described in Errors and limits.

Generated from the OpenAPI file, version 1.0. See it as JSON

Was this page helpful?