# TennisExplorer tennis player and tournament search API

Search TennisExplorer players or tournaments by name via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, raw, and retrieve structured data including submitted search text, selected source search type, type-specific source search results, and returned search-result count to search navigation, and reference matching.

Documentation: https://openany.si/tennisexplorer/tennisexplorer-tennis-player-and-tournament-search-api/da1f2a77-681e-44c3-a5fe-6daf1d48413b/
API ID: da1f2a77-681e-44c3-a5fe-6daf1d48413b
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/tennisexplorer/v1/search
Page update time: 2026-12-03T02:47:57.114Z
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:56.613Z. 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 Player & Event Search API

Pass q with at least two characters. type is players by default or tournaments. Returned references depend on the selected type; no page or offset input is exposed.

## What You Can Build

- **Search navigation**: Resolve names before selecting a player or tournament.
- **Reference matching**: Keep result type and source URL with each identifier.

## Returned Data

| Field | Meaning |
| --- | --- |
| `q` | Submitted search text |
| `type` | Selected source search type |
| `results` | Type-specific source search results |
| `count` | Returned search-result count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TennisExplorer tennis player and tournament search 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": {
        "q": {
          "type": "string",
          "description": "Name (2+ characters)."
        },
        "type": {
          "type": "string",
          "description": "players (default) or tournaments.",
          "enum": [
            "players",
            "tournaments"
          ]
        },
        "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": [
        "q"
      ]
    },
    "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"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "q": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "type": {
      "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/search?output=json&q=alcaraz&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,
  "count": 10,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:23:30.365Z",
  "q": "alcaraz",
  "results": [
    {
      "country": "ESP",
      "id": "alcaraz-5ab70",
      "name": "Alcaraz, Carlos (ESP)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/alcaraz-5ab70/"
    },
    {
      "country": "ESP",
      "id": "lopez-alcaraz",
      "name": "Lopez Alcaraz, Esther (ESP)",
      "sex": "woman",
      "url": "https://www.tennisexplorer.com/player/lopez-alcaraz/"
    },
    {
      "country": "MEX",
      "id": "alcaraz-4a83b",
      "name": "Alcaraz, Mario (MEX)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/alcaraz-4a83b/"
    },
    {
      "country": "MEX",
      "id": "alcaraz",
      "name": "Alcaraz, Susana L. (MEX)",
      "sex": "woman",
      "url": "https://www.tennisexplorer.com/player/alcaraz/"
    },
    {
      "country": "ESP",
      "id": "alcaraz-galbis",
      "name": "Alcaraz Galbis, Vicente (ESP)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/alcaraz-galbis/"
    },
    {
      "country": "ESP",
      "id": "alcaraz-garfia",
      "name": "Alcaraz Garfia, Alvaro (ESP)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/alcaraz-garfia/"
    },
    {
      "country": "ESP",
      "id": "alcaraz-ivorra",
      "name": "Alcaraz Ivorra, Albert (ESP)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/alcaraz-ivorra/"
    },
    {
      "country": "ESP",
      "id": "alcaraz-sanchez",
      "name": "Alcaraz-Sanchez, Antonio (ESP)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/alcaraz-sanchez/"
    },
    {
      "country": "ESP",
      "id": "cortes-alcaraz",
      "name": "Cortes Alcaraz, Aaron (ESP)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/cortes-alcaraz/"
    },
    {
      "country": "MEX",
      "id": "martinez-alcaraz",
      "name": "Martinez Alcaraz, Adolfo (MEX)",
      "sex": "man",
      "url": "https://www.tennisexplorer.com/player/martinez-alcaraz/"
    }
  ],
  "type": "players"
}
```

## 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
### How long must q be?
At least two characters.

### How do I search tournaments?
Set type=tournaments; players is the default.

### Are player IDs and tournament slugs interchangeable?
No. Keep the selected type and use each returned reference with its corresponding detail operation.

### Can I paginate this search?
No page, limit or offset input is exposed by this operation.

### 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-player-and-tournament-search-api/da1f2a77-681e-44c3-a5fe-6daf1d48413b/

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