# TennisExplorer tennis match: players, score, head to head and odds API

Get TennisExplorer match details by ID or link via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including source match identifier, source match result text, and available source odds-market labels to match pages, and identity navigation.

Documentation: https://openany.si/tennisexplorer/tennisexplorer-tennis-match-players-score-head-to-head-and-odds-api/bf92f23a-84ee-4486-86da-d373401595ab/
API ID: bf92f23a-84ee-4486-86da-d373401595ab
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/tennisexplorer/v1/match
Page update time: 2026-12-03T02:47:57.059Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:47:55.871Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## TennisExplorer Match Details API

Pass a match ID from Matches by Day or its match-detail link. Preserve player IDs, result text, sets and head-to-head counts; odds\_markets can be present while odds is empty.

## What You Can Build

- **Match pages**: Present participants and source result and set labels.
- **Identity navigation**: Connect player references to Player Profile.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Source match identifier |
| `result` | Source match result text |
| `head_to_head.player1_wins` | Source head-to-head wins for player one |
| `odds_markets` | Available source odds-market labels |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TennisExplorer tennis match: players, score, head to head and odds API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Match id from /tennisexplorer/v1/matches, or a tennisexplorer.com/match-detail/?id= link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "credits_used": {
      "type": "integer"
    },
    "date": {
      "type": "string"
    },
    "details": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "head_to_head": {
      "type": "object",
      "properties": {
        "matches": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "loser": {
                "type": "string"
              },
              "match_id": {
                "type": "integer"
              },
              "round": {
                "type": "string"
              },
              "sets": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "sets_won": {
                "type": "string"
              },
              "surface": {
                "type": "string"
              },
              "tournament": {
                "type": "string"
              },
              "winner": {
                "type": "string"
              },
              "year": {
                "type": "integer"
              }
            }
          }
        },
        "player1_wins": {
          "type": "integer"
        },
        "player2_wins": {
          "type": "integer"
        }
      }
    },
    "id": {
      "type": "integer"
    },
    "odds": {
      "type": "array",
      "items": {}
    },
    "odds_markets": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "player1": {
      "type": "object",
      "properties": {
        "birthdate": {
          "type": "string"
        },
        "height": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plays": {
          "type": "string"
        },
        "singles_ranking": {
          "type": "string"
        },
        "turned_pro": {
          "type": "null"
        },
        "weight": {
          "type": "string"
        }
      }
    },
    "player2": {
      "type": "object",
      "properties": {
        "birthdate": {
          "type": "string"
        },
        "height": {
          "type": "null"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plays": {
          "type": "string"
        },
        "singles_ranking": {
          "type": "string"
        },
        "turned_pro": {
          "type": "null"
        },
        "weight": {
          "type": "null"
        }
      }
    },
    "result": {
      "type": "string"
    },
    "sets": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "time": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "tournament": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/tennisexplorer/v1/match?id=3368321&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "credits_used": 1,
  "date": "2026-11-03",
  "details": "2. round, indoors",
  "fetched_at": "2026-11-19T12:23:26.732Z",
  "head_to_head": {
    "matches": [
      {
        "loser": "Jodar",
        "match_id": 3368321,
        "round": "2R",
        "sets": [
          "6-3",
          "6-4"
        ],
        "sets_won": "2-0",
        "surface": "Indoors",
        "tournament": "Paris",
        "winner": "Ruud",
        "year": 2026
      },
      {
        "loser": "Ruud",
        "match_id": 3349661,
        "round": "QF",
        "sets": [
          "4-6",
          "6-4",
          "6-3"
        ],
        "sets_won": "2-1",
        "surface": "Hard",
        "tournament": "Shanghai",
        "winner": "Jodar",
        "year": 2026
      }
    ],
    "player1_wins": 1,
    "player2_wins": 1
  },
  "id": 3368321,
  "odds": [],
  "odds_markets": [
    "Home/Away (15)",
    "Over/Under (59)",
    "Asian Handicap (89)",
    "Correct Score (32)"
  ],
  "player1": {
    "birthdate": "22. 12. 1998",
    "height": "183 cm",
    "id": "ruud-dfb38",
    "name": "Ruud Casper",
    "plays": "right",
    "singles_ranking": "18.",
    "turned_pro": null,
    "weight": "77 kg"
  },
  "player2": {
    "birthdate": "17. 9. 2006",
    "height": null,
    "id": "jodar",
    "name": "Jodar Rafael",
    "plays": "right",
    "singles_ranking": "10.",
    "turned_pro": null,
    "weight": null
  },
  "result": "2 : 0",
  "sets": [
    "6-3",
    "6-4"
  ],
  "time": "21:05",
  "title": "Ruud - Jodar",
  "tournament": {
    "name": "Paris",
    "url": "https://www.tennisexplorer.com/paris/2026/atp-men/"
  },
  "url": "https://www.tennisexplorer.com/match-detail/?id=3368321"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Where do I obtain id?
Use a match reference from Matches by Day or a tennisexplorer.com/match-detail/?id= link.

### Does an odds_markets label guarantee odds rows?
No. Preserve the available-market labels and returned odds rows separately.

### Are head-to-head totals the result of this match?
No. They describe the returned head-to-head context, separate from result and sets.

### Can time be treated as UTC?
The source displays a time string; retain it without inventing a UTC offset.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/tennisexplorer/tennisexplorer-tennis-match-players-score-head-to-head-and-odds-api/bf92f23a-84ee-4486-86da-d373401595ab/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
