apitennis_h2h
Compare head-to-head history and recent form between two tennis players using their unique player keys. Retrieve past match results and performance trends to support betting decisions.
Instructions
Head-to-head history between two players, plus each one's recent form.
Returns: {success:1, result:{H2H:[{event_key, event_date, event_first_player, event_second_player, event_final_result, tournament_name}], firstPlayerResults:[…], secondPlayerResults:[…]}} — SHAPE FROM VENDOR DOCS. Note result here is an OBJECT, not a list like the other methods.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: Two players' H2H {"method": "get_H2H", "first_player_key": 1905, "second_player_key": 1903}
Auth: needs your own key in API_TENNIS_KEY.
Also answers this: apisports_football_h2h, nba_stats_call, nbl_match_outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Leave as-is (note the capital H2H). | get_H2H |
| first_player_key | Yes | First player key. | |
| second_player_key | Yes | Second player key. |