# Golf Player Profile & Bio Lookup (`nimbryxo-studio/golf-player-profile-and-bio-lookup`) Actor

Look up professional golfer profiles by name, or pull bios for a curated roster of well-known tour players, with nationality, birth date, height, weight, and a short biography.

- **URL**: https://apify.com/nimbryxo-studio/golf-player-profile-and-bio-lookup.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Golf Player Profile & Bio Lookup

Look up biographical profiles for professional golfers — nationality, birth date, height, weight, tour affiliation, and a short bio — sourced from TheSportsDB's public sports database. Search for any golfer by name, or pull profiles for a curated roster of well-known tour players in one run.

### What this actor does

- Searches for a player by name and returns every matching profile the source has for that name (if the name is shared with an athlete in another sport, that profile can be returned too)
- Fetches profiles for a built-in roster of well-known PGA/DP World/LPGA-caliber tour golfers in one run, without needing to know their names in advance
- Includes a profile photo and description text when the source has one
- Deduplicates players across the roster lookup so each golfer appears once
- Omits any field the source doesn't have for a given player rather than sending it empty

### Output per player

- `playerId` — the source's internal player identifier
- `playerName`
- `nationality`
- `birthDate`
- `height`, `weight` — as published by the source (not normalized to a single unit)
- `team` — tour or team affiliation, when the source records one for that player
- `description` — a short biography excerpt (up to 300 characters)
- `imageUrl` — a profile photo or cutout image
- `profileUrl` — a link to the player's page on the source site
- `scrapedAt` — ISO 8601 timestamp of when the record was collected

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` or `topPlayers` |
| `searchQuery` | string | `Tiger Woods` | Golfer name to search for (mode=search) |
| `maxItems` | integer | `20` | Maximum number of player records to return (1-200) |

#### Example: look up a specific golfer

```json
{
    "mode": "search",
    "searchQuery": "Rory McIlroy",
    "maxItems": 5
}
```

#### Example: pull profiles for well-known tour golfers

```json
{
    "mode": "topPlayers",
    "maxItems": 20
}
```

### Use cases

- **Player bio lookups** — grab nationality, birth date, and a short bio for a golfer you're writing about
- **Roster enrichment** — add profile photos and basic bio fields to a list of players you already track
- **Quick fan-site content** — pull a batch of well-known golfers' profiles for a leaderboard or player-card page
- **Research starting point** — use `profileUrl` and `playerId` as a stable reference before cross-checking other sources

### FAQ

**What's the difference between `search` and `topPlayers`?** `search` looks up whichever name you give it in `searchQuery`. `topPlayers` instead runs a built-in list of well-known tour golfers so you get a batch of profiles without supplying any names.

**Why is `team` often missing?** Golf is an individual sport, so most players have no club/team affiliation on record; the field only appears when the source has one for that specific player.

**Does this include tournament leaderboards or scores?** No — this actor only returns player biographical profiles, not live or historical tournament results.

**Why might `searchQuery` return non-golf players?** The search matches by name across all sports in the source database and does not restrict results to golf — if another sport has an athlete with the same name, that profile can appear too. Use a full, specific name to get a clean match.

**Are height and weight in a consistent unit?** No — they're returned exactly as published by the source, which can mix imperial and metric formatting between players.

**How current is this data?** It reflects whatever is currently published on the source database at the time of the run; it is not a live tournament feed.

**Is this affiliated with any golf tour or TheSportsDB?** No. This actor reads publicly available player profile data and is not affiliated with, endorsed by, or sponsored by any golf tour or the source database.

# Actor input Schema

## `mode` (type: `string`):

Player search or golf teams.

## `searchQuery` (type: `string`):

Golfer name to search.

## `maxItems` (type: `integer`):

Maximum records to return.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "Tiger Woods",
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing all scraped golfer profiles.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQuery": "Tiger Woods",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/golf-player-profile-and-bio-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQuery": "Tiger Woods",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/golf-player-profile-and-bio-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "Tiger Woods",
  "maxItems": 20
}' |
apify call nimbryxo-studio/golf-player-profile-and-bio-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/golf-player-profile-and-bio-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/qbgIzMNbTfdDL7g2W/builds/mSBvoCRJGMgaYBywq/openapi.json
