OpenAny
Get API keyAPI Key
APIData

espn logo
ESPN Transactions API

Get ESPN Transactions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as league, output, raw, and retrieve structured data including resolved league slug, total matching transactions, current page number, total available pages, and resolved season year to monitor trade-deadline activity, audit a franchise's offseason, and sync fantasy roster alerts.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

ESPN Transactions API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
ESPN Transactions API

ESPN Transactions API

Query league or team roster moves by passing required league (such as nfl, nba, mlb, nhl or wnba) and optional team_id (numeric ESPN team ID), season, limit (default 25, max 100) and page (default 1). Returned JSON includes pagination counters (total, page, page_count, next_page) and transactions[] with date, description and team details.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required query: league (e.g. nfl, nba, mlb, nhl, wnba). Optional team_id (numeric team id), season, limit (default 25, max 100), page (default 1), raw=0, fields and fresh=1.
Selected implementation apish · ESPN transactions API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Monitor trade-deadline activity: Poll with fresh=1 and limit=50 to retrieve published trades, signings and waivers.
  • Audit a franchise's offseason: Pass team_id and season to review every roster move a single team made during a campaign.
  • Sync fantasy roster alerts: Parse transactions[].description and team metadata to flag newly signed or waived players.

Returned Data

Field Meaning
league Resolved league slug
total Total matching transactions
count Transactions returned on this page
page Current page number
page_count Total available pages
next_page Next page number, or null on final page
season.year Resolved season year
transactions[].date Transaction timestamp
transactions[].description Official transaction description text
transactions[].team.abbreviation Involved team abbreviation

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/espn/v1/transactions \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode league=nba \
  --data-urlencode output=json \
  --data-urlencode raw=0

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published ESPN Transactions API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
nfl, nba, mlb, nhl, wnba ...
Optional parameters (9)
Numeric ESPN team id (from /espn/v1/teams).
Season year.
Rows per page (default 25, max 100).
Page number (default 1).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
ESPN transactions API · GET · View API reference
$0.002 / billing credit1
100.00%successP505.95s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/espn/v1/transactions
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
leagueURL query parametersquerystringYes

nfl, nba, mlb, nhl, wnba ...

team_idURL query parametersquerystringNo

Numeric ESPN team id (from /espn/v1/teams).

seasonURL query parametersquerystringNo

Season year.

limitURL query parametersqueryintegerNo

Rows per page (default 25, max 100).

pageURL query parametersqueryintegerNo

Page number (default 1).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • applied_filtersobject
    • seasonnull
    • team_idnull
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • leaguestring
  • next_pageinteger
  • pageinteger
  • page_countinteger
  • seasonobject
    • namestring
    • typeinteger
    • yearinteger
  • sportstring
  • teamnull
  • totalinteger
  • transactionsobject[]
    • datestring
    • descriptionstring
    • teamobject
      • abbreviationstring
      • alternate_colorstring
      • colorstring
      • idstring
      • locationstring
      • logostring
      • namestring
      • nicknamestring
      • short_namenull
      • urlstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH recording · HTTP 200

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 10

    Review these request fields before running. Keep the published provider and request method unchanged.

    league
    nfl, nba, mlb, nhl, wnba ...
    team_id
    Numeric ESPN team id (from /espn/v1/teams).
    season
    Season year.
    limit
    Rows per page (default 25, max 100).
    page
    Page number (default 1).
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/espn/v1/transactions?league=nba&output=json&raw=0' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "applied_filters": {
        "season": null,
        "team_id": null
      },
      "cached": false,
      "count": 25,
      "credits_used": 1,
      "fetched_at": "2026-11-19T09:07:09.154Z",
      "league": "nba",
      "next_page": 2,
      "page": 1,
      "page_count": 18,
      "season": {
        "name": "Regular Season",
        "type": 2,
        "year": 2027
      },
      "sport": "basketball",
      "team": null,
      "total": 444,
      "transactions": [
        {
          "date": "2026-11-18T08:00Z",
          "description": "Signed G Zack Austin to a two-way contract. Waived F Riley Minix.",
          "team": {
            "abbreviation": "CLE",
            "alternate_color": "bc945c",
            "color": "860038",
            "id": "5",
            "location": "Cleveland",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
            "name": "Cleveland Cavaliers",
            "nickname": "Cavaliers",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/cle/cleveland-cavaliers"
          }
        },
        {
          "date": "2026-11-17T08:00Z",
          "description": "Signed C Jonas Aidoo to a two-way contract.",
          "team": {
            "abbreviation": "UTAH",
            "alternate_color": "79a3dc",
            "color": "4e008e",
            "id": "26",
            "location": "Utah",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/utah.png",
            "name": "Utah Jazz",
            "nickname": "Jazz",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/utah/utah-jazz"
          }
        },
        {
          "date": "2026-11-16T08:00Z",
          "description": "Waived G Trey Alexander.",
          "team": {
            "abbreviation": "UTAH",
            "alternate_color": "79a3dc",
            "color": "4e008e",
            "id": "26",
            "location": "Utah",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/utah.png",
            "name": "Utah Jazz",
            "nickname": "Jazz",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/utah/utah-jazz"
          }
        },
        {
          "date": "2026-11-16T08:00Z",
          "description": "Waived G Keshon Gilbert.",
          "team": {
            "abbreviation": "ATL",
            "alternate_color": "fdb927",
            "color": "c8102e",
            "id": "1",
            "location": "Atlanta",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/atl.png",
            "name": "Atlanta Hawks",
            "nickname": "Hawks",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/atl/atlanta-hawks"
          }
        },
        {
          "date": "2026-11-15T08:00Z",
          "description": "Guaranteed SG Mario Hezonja's full contract salary.",
          "team": {
            "abbreviation": "CLE",
            "alternate_color": "bc945c",
            "color": "860038",
            "id": "5",
            "location": "Cleveland",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
            "name": "Cleveland Cavaliers",
            "nickname": "Cavaliers",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/cle/cleveland-cavaliers"
          }
        },
        {
          "date": "2026-11-13T08:00Z",
          "description": "Signed C Johni Broome to a two-way contract.",
          "team": {
            "abbreviation": "MIN",
            "alternate_color": "79bc43",
            "color": "266092",
            "id": "16",
            "location": "Minnesota",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
            "name": "Minnesota Timberwolves",
            "nickname": "Timberwolves",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/min/minnesota-timberwolves"
          }
        },
        {
          "date": "2026-11-13T08:00Z",
          "description": "Signed C Orlando Robinson to a rest-of-season contract.",
          "team": {
            "abbreviation": "CHI",
            "alternate_color": "000000",
            "color": "ce1141",
            "id": "4",
            "location": "Chicago",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png",
            "name": "Chicago Bulls",
            "nickname": "Bulls",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/chi/chicago-bulls"
          }
        },
        {
          "date": "2026-11-11T08:00Z",
          "description": "Signed F Carson Cooper to a two-way contract. Waived C Lawson Lovering.",
          "team": {
            "abbreviation": "LAL",
            "alternate_color": "fdb927",
            "color": "552583",
            "id": "13",
            "location": "Los Angeles",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
            "name": "Los Angeles Lakers",
            "nickname": "Lakers",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"
          }
        },
        {
          "date": "2026-11-10T08:00Z",
          "description": "Waived C Lawson Lovering.",
          "team": {
            "abbreviation": "LAL",
            "alternate_color": "fdb927",
            "color": "552583",
            "id": "13",
            "location": "Los Angeles",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
            "name": "Los Angeles Lakers",
            "nickname": "Lakers",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"
          }
        },
        {
          "date": "2026-11-08T08:00Z",
          "description": "Waived F Dalen Terry.",
          "team": {
            "abbreviation": "OKC",
            "alternate_color": "ef3b24",
            "color": "007ac1",
            "id": "25",
            "location": "Oklahoma City",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/okc.png",
            "name": "Oklahoma City Thunder",
            "nickname": "Thunder",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/okc/oklahoma-city-thunder"
          }
        },
        {
          "date": "2026-11-08T08:00Z",
          "description": "Traded G Nique Clifford to the Oklahoma City Thunder.",
          "team": {
            "abbreviation": "SAC",
            "alternate_color": "6a7a82",
            "color": "5a2d81",
            "id": "23",
            "location": "Sacramento",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/sac.png",
            "name": "Sacramento Kings",
            "nickname": "Kings",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/sac/sacramento-kings"
          }
        },
        {
          "date": "2026-11-07T08:00Z",
          "description": "Signed G Richie Saunders to two-way contract.",
          "team": {
            "abbreviation": "MEM",
            "alternate_color": "12173f",
            "color": "5d76a9",
            "id": "29",
            "location": "Memphis",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/mem.png",
            "name": "Memphis Grizzlies",
            "nickname": "Grizzlies",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/mem/memphis-grizzlies"
          }
        },
        {
          "date": "2026-11-05T08:00Z",
          "description": "Signed G Kevin McCullar Jr. to a two-way contract.",
          "team": {
            "abbreviation": "TOR",
            "alternate_color": "000000",
            "color": "d91244",
            "id": "28",
            "location": "Toronto",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/tor.png",
            "name": "Toronto Raptors",
            "nickname": "Raptors",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/tor/toronto-raptors"
          }
        },
        {
          "date": "2026-11-05T08:00Z",
          "description": "Signed F Norchad Omier to a two-way contract. Waived F Riley Minix.",
          "team": {
            "abbreviation": "CLE",
            "alternate_color": "bc945c",
            "color": "860038",
            "id": "5",
            "location": "Cleveland",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
            "name": "Cleveland Cavaliers",
            "nickname": "Cavaliers",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/cle/cleveland-cavaliers"
          }
        },
        {
          "date": "2026-11-04T08:00Z",
          "description": "Signed F Dalen Terry to a contract for the remainder of the season.",
          "team": {
            "abbreviation": "OKC",
            "alternate_color": "ef3b24",
            "color": "007ac1",
            "id": "25",
            "location": "Oklahoma City",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/okc.png",
            "name": "Oklahoma City Thunder",
            "nickname": "Thunder",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/okc/oklahoma-city-thunder"
          }
        },
        {
          "date": "2026-11-03T08:00Z",
          "description": "Waived F Enrique Freeman.",
          "team": {
            "abbreviation": "MIN",
            "alternate_color": "79bc43",
            "color": "266092",
            "id": "16",
            "location": "Minnesota",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
            "name": "Minnesota Timberwolves",
            "nickname": "Timberwolves",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/min/minnesota-timberwolves"
          }
        },
        {
          "date": "2026-11-01T07:00Z",
          "description": "Exercised the third-year team options on Fs Kon Knueppel and Liam McNeeley.",
          "team": {
            "abbreviation": "CHA",
            "alternate_color": "1d1060",
            "color": "008ca8",
            "id": "30",
            "location": "Charlotte",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cha.png",
            "name": "Charlotte Hornets",
            "nickname": "Hornets",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/cha/charlotte-hornets"
          }
        },
        {
          "date": "2026-10-28T07:00Z",
          "description": "Waived F AK Okereke. Signed C Lawson Lovering to a two-way contract.",
          "team": {
            "abbreviation": "LAL",
            "alternate_color": "fdb927",
            "color": "552583",
            "id": "13",
            "location": "Los Angeles",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png",
            "name": "Los Angeles Lakers",
            "nickname": "Lakers",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/lal/los-angeles-lakers"
          }
        },
        {
          "date": "2026-10-27T07:00Z",
          "description": "Signed F Enrique Freeman to a two-way contract.",
          "team": {
            "abbreviation": "MIN",
            "alternate_color": "79bc43",
            "color": "266092",
            "id": "16",
            "location": "Minnesota",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/min.png",
            "name": "Minnesota Timberwolves",
            "nickname": "Timberwolves",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/min/minnesota-timberwolves"
          }
        },
        {
          "date": "2026-10-23T07:00Z",
          "description": "Signed G Sean Pedulla to a two-way contract.",
          "team": {
            "abbreviation": "SAC",
            "alternate_color": "6a7a82",
            "color": "5a2d81",
            "id": "23",
            "location": "Sacramento",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/sac.png",
            "name": "Sacramento Kings",
            "nickname": "Kings",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/sac/sacramento-kings"
          }
        },
        {
          "date": "2026-10-23T07:00Z",
          "description": "Waived G Kevin McCullar Jr..",
          "team": {
            "abbreviation": "NY",
            "alternate_color": "f58426",
            "color": "1d428a",
            "id": "18",
            "location": "New York",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png",
            "name": "New York Knicks",
            "nickname": "Knicks",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/ny/new-york-knicks"
          }
        },
        {
          "date": "2026-10-19T07:00Z",
          "description": "Signed G Brandon Miller to a multiyear contract extension.",
          "team": {
            "abbreviation": "CHA",
            "alternate_color": "1d1060",
            "color": "008ca8",
            "id": "30",
            "location": "Charlotte",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cha.png",
            "name": "Charlotte Hornets",
            "nickname": "Hornets",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/cha/charlotte-hornets"
          }
        },
        {
          "date": "2026-10-19T07:00Z",
          "description": "Waived G Walter Clayton Jr. and G Micah Peavy.",
          "team": {
            "abbreviation": "MEM",
            "alternate_color": "12173f",
            "color": "5d76a9",
            "id": "29",
            "location": "Memphis",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/mem.png",
            "name": "Memphis Grizzlies",
            "nickname": "Grizzlies",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/mem/memphis-grizzlies"
          }
        },
        {
          "date": "2026-10-19T07:00Z",
          "description": "Re-signed G Cason Wallace to a rookie-scale contract extension.",
          "team": {
            "abbreviation": "OKC",
            "alternate_color": "ef3b24",
            "color": "007ac1",
            "id": "25",
            "location": "Oklahoma City",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/okc.png",
            "name": "Oklahoma City Thunder",
            "nickname": "Thunder",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/okc/oklahoma-city-thunder"
          }
        },
        {
          "date": "2026-10-19T07:00Z",
          "description": "Waived G Adam Flagler.",
          "team": {
            "abbreviation": "SAC",
            "alternate_color": "6a7a82",
            "color": "5a2d81",
            "id": "23",
            "location": "Sacramento",
            "logo": "https://a.espncdn.com/i/teamlogos/nba/500/sac.png",
            "name": "Sacramento Kings",
            "nickname": "Kings",
            "short_name": null,
            "url": "https://www.espn.com/nba/team/_/name/sac/sacramento-kings"
          }
        }
      ]
    }

Common questions

Does team_id accept abbreviations or only numeric IDs?

The contract specifies a numeric ESPN team_id (obtainable from the ESPN Teams API).

How do I paginate through all transactions in a season?

Set limit up to 100 (default 25) and increment page (default 1) using next_page and page_count.

Can I query transactions from past seasons?

Yes. Pass the target year in the season query parameter alongside league.

Does each transaction include the involved team's branding?

Yes. transactions[].team exposes id, name, abbreviation, location, logo and colors.

How do I capture breaking trades immediately?

Pass fresh=1 to skip the 24-hour cache and retrieve live transaction logs.

Is CSV export supported?

No. Output is JSON only for this OpenAny endpoint; omit output or pass output=json, with raw=0 for compact responses.

Use ESPN Transactions API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.