{
  "data": {
    "id": "MJvkjogAt3VTFmdkE",
    "userId": "HIMU0xktu1JeZb4Xl",
    "name": "mlb-stats-scraper",
    "username": "fetch_cat",
    "description": "Export public MLB player biographies and season hitting, pitching, and fielding statistics from current team rosters or known player IDs to JSON, CSV, or Excel.",
    "isPublic": true,
    "createdAt": "2026-08-27T16:27:13.804Z",
    "modifiedAt": "2026-10-26T17:41:35.851Z",
    "taggedBuilds": {
      "latest": {
        "buildId": "TLcLpUvj68MVzC6ik",
        "finishedAt": "2026-10-26T17:37:46.052Z",
        "buildNumberInt": 100009,
        "buildNumber": "0.1.9"
      },
      "input-ux-20260925": {
        "buildId": "XQqfEw25NxvRkcB7j",
        "finishedAt": "2026-09-25T19:32:14.862Z",
        "buildNumberInt": 100005,
        "buildNumber": "0.1.5"
      },
      "candidate-220435a9e2ed4563a741": {
        "buildId": "7VWW5da8LCL0tXWlB",
        "finishedAt": "2026-10-21T10:43:25.491Z",
        "buildNumberInt": 100006,
        "buildNumber": "0.1.6"
      },
      "candidate-292258c0ffad48fca0e9": {
        "buildId": "2y6yriFJ9YKkPg8JA",
        "finishedAt": "2026-10-25T09:08:24.095Z",
        "buildNumberInt": 100007,
        "buildNumber": "0.1.7"
      },
      "readme-3cb93071590e40369bfe": {
        "buildId": "handAmNdlH3EBohEs",
        "finishedAt": "2026-10-25T13:57:48.663Z",
        "buildNumberInt": 100008,
        "buildNumber": "0.1.8"
      },
      "changelog-247a41e7661f4ec5ad": {
        "buildId": "TLcLpUvj68MVzC6ik",
        "finishedAt": "2026-10-26T17:37:46.052Z",
        "buildNumberInt": 100009,
        "buildNumber": "0.1.9"
      }
    },
    "stats": {
      "totalBuilds": 9,
      "totalRuns": 113,
      "totalUsers": 2,
      "totalUsers7Days": 1,
      "totalUsers30Days": 1,
      "totalUsers90Days": 1,
      "lastRunStartedAt": "2026-11-26T20:34:11.005Z",
      "actorReviewCount": 0,
      "actorReviewRating": 0,
      "bookmarkCount": 0,
      "publicActorRunStats30Days": {
        "ABORTED": 0,
        "FAILED": 0,
        "SUCCEEDED": 29,
        "TIMED-OUT": 0,
        "TOTAL": 29
      }
    },
    "versions": [
      {
        "versionNumber": "0.1",
        "sourceType": "SOURCE_FILES",
        "buildTag": "candidate-292258c0ffad48fca0e9"
      }
    ],
    "defaultRunOptions": {
      "build": "latest",
      "timeoutSecs": 300,
      "memoryMbytes": 256
    },
    "exampleRunInput": {
      "body": "{\"mode\": \"roster\", \"teamIds\": [147, 121, 119], \"season\": 2025, \"statGroups\": [\"hitting\", \"pitching\", \"fielding\"], \"includeStats\": true, \"maxItems\": 75}",
      "contentType": "application/json; charset=utf-8"
    },
    "categories": [
      "DEVELOPER_TOOLS",
      "OTHER"
    ],
    "isDeprecated": false,
    "title": "MLB Roster & Player Stats Exporter",
    "pictureUrl": "https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/HIMU0xktu1JeZb4Xl-actor-MJvkjogAt3VTFmdkE-qINLLSaGfW-actor-icon.png",
    "seoTitle": "MLB Stats Scraper: Roster & Player Statistics",
    "seoDescription": "Build MLB stats API workflows: export player bios and season statistics from team rosters or player IDs for baseball research in JSON, CSV, or Excel.",
    "pricingInfos": [
      {
        "pricingModel": "PAY_PER_EVENT",
        "startedAt": "2026-08-27T16:35:00.000Z",
        "reasonForChange": "Initial pricing gives a clear per-player-record cost for roster and season-stat exports.",
        "pricingPerEvent": {
          "actorChargeEvents": {
            "start": {
              "eventTitle": "Run start",
              "eventDescription": "One-time run initialization fee.",
              "eventPriceUsd": 0.005,
              "isOneTimeEvent": true
            },
            "result": {
              "eventTitle": "Player stat record",
              "eventDescription": "One exported MLB roster player record.",
              "eventTieredPricingUsd": {
                "FREE": {
                  "tieredEventPriceUsd": 0.006
                },
                "BRONZE": {
                  "tieredEventPriceUsd": 0.005
                },
                "SILVER": {
                  "tieredEventPriceUsd": 0.0039
                },
                "GOLD": {
                  "tieredEventPriceUsd": 0.003
                },
                "PLATINUM": {
                  "tieredEventPriceUsd": 0.002
                },
                "DIAMOND": {
                  "tieredEventPriceUsd": 0.0014
                }
              },
              "isPrimaryEvent": true
            }
          }
        },
        "createdAt": "2026-08-27T16:33:30.100Z",
        "apifyMarginPercentage": 0.2
      },
      {
        "pricingModel": "PAY_PER_EVENT",
        "startedAt": "2026-08-27T16:41:00.000Z",
        "reasonForChange": "Updated per-player pricing keeps roster and player-stat exports competitively priced.",
        "pricingPerEvent": {
          "actorChargeEvents": {
            "start": {
              "eventTitle": "Run started",
              "eventDescription": "One-time fee charged when a run starts.",
              "eventPriceUsd": 0.005,
              "isOneTimeEvent": true
            },
            "result": {
              "eventTitle": "Player stat record",
              "eventDescription": "Charged per result extracted.",
              "eventTieredPricingUsd": {
                "FREE": {
                  "tieredEventPriceUsd": 0.0047897
                },
                "BRONZE": {
                  "tieredEventPriceUsd": 0.0041649
                },
                "SILVER": {
                  "tieredEventPriceUsd": 0.0032487
                },
                "GOLD": {
                  "tieredEventPriceUsd": 0.002499
                },
                "PLATINUM": {
                  "tieredEventPriceUsd": 0.001666
                },
                "DIAMOND": {
                  "tieredEventPriceUsd": 0.0011662
                }
              },
              "isPrimaryEvent": true
            }
          }
        },
        "createdAt": "2026-08-27T16:41:20.409Z",
        "apifyMarginPercentage": 0.2
      }
    ],
    "notice": "NONE",
    "isCritical": false,
    "isGeneric": false,
    "hasNoDataset": false,
    "isSourceCodeHidden": true,
    "standbyUrl": null,
    "actorPermissionLevel": "LIMITED_PERMISSIONS",
    "readmeSummary": "## MLB Roster & Player Stats Exporter\n\nExports MLB player biographies and season statistics into structured records for analysis, reporting, fantasy research, and API-driven workflows. The Actor retrieves team rosters or explicit player lookups and returns one record per player per requested statistic group (hitting, pitching, fielding), using the first available season split for that group; biography-only mode yields a single biography record with statistics omitted. Records include roster context (current team membership, position, jersey and roster status when available), biographical attributes (birth details, current age, height, weight, batting and throwing handedness, debut date), season and stat-group information, a nested, group-dependent statistics object, and provenance metadata (source link and retrieval timestamp). The Actor selects statistics by season while roster mode reflects currently exposed team membership; missing biography fields and unavailable statistics are recorded as null.\n\n## Use cases\n\n- Research current team rosters paired with season statistics for team- or roster-level analysis.  \n- Look up available season statistics and biographies for specific known players.  \n- Export biography-only samples for identity, position and demographic analysis.  \n- Extract group-specific statistics (hitting, pitching, fielding) for per-player comparison or ranking.  \n- Join unique player identifiers with group-specific season stats in downstream data pipelines.  \n- Support fantasy-research use cases comparing player season performance metrics.  \n- Provide source-attributed records for sports reporting and editorial verification.  \n- Generate small, targeted datasets for iterative analysis, testing, or agent-driven workflows.",
    "deploymentKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCusLoj2YpGAQKumqjop20RgAzQ74D385Mtf4+B9AyxyBFJrqeL6VM82/hM0RmL3qEtHvzG4WKBUY1icbxCThLvQmuoNOBsEwFsGGBOPpWPgBmYBljthMA1bu3b6s5HFnRsUFbXkumGIYLvTsqBV0m+dkseZiuIf3KOqZn2zp8CSgMx9D2lh/hkFz2GKGNw81+y1pHVJeUeGnBYfkLzni3Mh+mvVl4Hm/zhEw+/QImIjBleeeOWm05fJRRJ+CohdsegwtXaNvyLTPTkaDRsptUU4/vkQUgx7zX5HsS/iu+R7obI87Qldz4I1v2RlRFPEwsbGgcpI8/YAxq9hD8/5hon \n"
  }
}