# NBA teams API

Get NBA Teams data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including total NBA teams returned, unique NBA team identifier, three-letter team abbreviation, team home city, and team nickname for bootstrap team reference tables, populate team selector dropdowns, and chain into team-specific endpoints.

Documentation: https://openany.si/market/apis/nba/nba-teams-api/?offering=7e445cdb-6916-420a-b55a-21d59fdd3db6
API ID: 7e445cdb-6916-420a-b55a-21d59fdd3db6
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/nba/v1/teams
Page update time: 2026-12-03T02:55:47.384Z
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. Price update time: not supplied.
Contract update time: 2026-12-03T02:55:46.786Z. 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": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NBA teams 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": {
        "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."
        }
      }
    },
    "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"
    },
    "teams": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "abbreviation": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "conference": {
            "type": "string"
          },
          "division": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "logo": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "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/nba/v1/teams?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,
  "count": 30,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:22:32.537Z",
  "teams": [
    {
      "abbreviation": "ATL",
      "city": "Atlanta",
      "conference": "East",
      "division": "Southeast",
      "full_name": "Atlanta Hawks",
      "id": 1610612737,
      "logo": "https://cdn.nba.com/logos/nba/1610612737/primary/L/logo.svg",
      "name": "Hawks",
      "slug": "hawks",
      "url": "https://www.nba.com/hawks"
    },
    {
      "abbreviation": "BOS",
      "city": "Boston",
      "conference": "East",
      "division": "Atlantic",
      "full_name": "Boston Celtics",
      "id": 1610612738,
      "logo": "https://cdn.nba.com/logos/nba/1610612738/primary/L/logo.svg",
      "name": "Celtics",
      "slug": "celtics",
      "url": "https://www.nba.com/celtics"
    },
    {
      "abbreviation": "BKN",
      "city": "Brooklyn",
      "conference": "East",
      "division": "Atlantic",
      "full_name": "Brooklyn Nets",
      "id": 1610612751,
      "logo": "https://cdn.nba.com/logos/nba/1610612751/primary/L/logo.svg",
      "name": "Nets",
      "slug": "nets",
      "url": "https://www.nba.com/nets"
    },
    {
      "abbreviation": "CHA",
      "city": "Charlotte",
      "conference": "East",
      "division": "Southeast",
      "full_name": "Charlotte Hornets",
      "id": 1610612766,
      "logo": "https://cdn.nba.com/logos/nba/1610612766/primary/L/logo.svg",
      "name": "Hornets",
      "slug": "hornets",
      "url": "https://www.nba.com/hornets"
    },
    {
      "abbreviation": "CHI",
      "city": "Chicago",
      "conference": "East",
      "division": "Central",
      "full_name": "Chicago Bulls",
      "id": 1610612741,
      "logo": "https://cdn.nba.com/logos/nba/1610612741/primary/L/logo.svg",
      "name": "Bulls",
      "slug": "bulls",
      "url": "https://www.nba.com/bulls"
    },
    {
      "abbreviation": "CLE",
      "city": "Cleveland",
      "conference": "East",
      "division": "Central",
      "full_name": "Cleveland Cavaliers",
      "id": 1610612739,
      "logo": "https://cdn.nba.com/logos/nba/1610612739/primary/L/logo.svg",
      "name": "Cavaliers",
      "slug": "cavaliers",
      "url": "https://www.nba.com/cavaliers"
    },
    {
      "abbreviation": "DAL",
      "city": "Dallas",
      "conference": "West",
      "division": "Southwest",
      "full_name": "Dallas Mavericks",
      "id": 1610612742,
      "logo": "https://cdn.nba.com/logos/nba/1610612742/primary/L/logo.svg",
      "name": "Mavericks",
      "slug": "mavericks",
      "url": "https://www.nba.com/mavericks"
    },
    {
      "abbreviation": "DEN",
      "city": "Denver",
      "conference": "West",
      "division": "Northwest",
      "full_name": "Denver Nuggets",
      "id": 1610612743,
      "logo": "https://cdn.nba.com/logos/nba/1610612743/primary/L/logo.svg",
      "name": "Nuggets",
      "slug": "nuggets",
      "url": "https://www.nba.com/nuggets"
    },
    {
      "abbreviation": "DET",
      "city": "Detroit",
      "conference": "East",
      "division": "Central",
      "full_name": "Detroit Pistons",
      "id": 1610612765,
      "logo": "https://cdn.nba.com/logos/nba/1610612765/primary/L/logo.svg",
      "name": "Pistons",
      "slug": "pistons",
      "url": "https://www.nba.com/pistons"
    },
    {
      "abbreviation": "GSW",
      "city": "Golden State",
      "conference": "West",
      "division": "Pacific",
      "full_name": "Golden State Warriors",
      "id": 1610612744,
      "logo": "https://cdn.nba.com/logos/nba/1610612744/primary/L/logo.svg",
      "name": "Warriors",
      "slug": "warriors",
      "url": "https://www.nba.com/warriors"
    },
    {
      "abbreviation": "HOU",
      "city": "Houston",
      "conference": "West",
      "division": "Southwest",
      "full_name": "Houston Rockets",
      "id": 1610612745,
      "logo": "https://cdn.nba.com/logos/nba/1610612745/primary/L/logo.svg",
      "name": "Rockets",
      "slug": "rockets",
      "url": "https://www.nba.com/rockets"
    },
    {
      "abbreviation": "IND",
      "city": "Indiana",
      "conference": "East",
      "division": "Central",
      "full_name": "Indiana Pacers",
      "id": 1610612754,
      "logo": "https://cdn.nba.com/logos/nba/1610612754/primary/L/logo.svg",
      "name": "Pacers",
      "slug": "pacers",
      "url": "https://www.nba.com/pacers"
    },
    {
      "abbreviation": "LAC",
      "city": "LA",
      "conference": "West",
      "division": "Pacific",
      "full_name": "LA Clippers",
      "id": 1610612746,
      "logo": "https://cdn.nba.com/logos/nba/1610612746/primary/L/logo.svg",
      "name": "Clippers",
      "slug": "clippers",
      "url": "https://www.nba.com/clippers"
    },
    {
      "abbreviation": "LAL",
      "city": "Los Angeles",
      "conference": "West",
      "division": "Pacific",
      "full_name": "Los Angeles Lakers",
      "id": 1610612747,
      "logo": "https://cdn.nba.com/logos/nba/1610612747/primary/L/logo.svg",
      "name": "Lakers",
      "slug": "lakers",
      "url": "https://www.nba.com/lakers"
    },
    {
      "abbreviation": "MEM",
      "city": "Memphis",
      "conference": "West",
      "division": "Southwest",
      "full_name": "Memphis Grizzlies",
      "id": 1610612763,
      "logo": "https://cdn.nba.com/logos/nba/1610612763/primary/L/logo.svg",
      "name": "Grizzlies",
      "slug": "grizzlies",
      "url": "https://www.nba.com/grizzlies"
    },
    {
      "abbreviation": "MIA",
      "city": "Miami",
      "conference": "East",
      "division": "Southeast",
      "full_name": "Miami Heat",
      "id": 1610612748,
      "logo": "https://cdn.nba.com/logos/nba/1610612748/primary/L/logo.svg",
      "name": "Heat",
      "slug": "heat",
      "url": "https://www.nba.com/heat"
    },
    {
      "abbreviation": "MIL",
      "city": "Milwaukee",
      "conference": "East",
      "division": "Central",
      "full_name": "Milwaukee Bucks",
      "id": 1610612749,
      "logo": "https://cdn.nba.com/logos/nba/1610612749/primary/L/logo.svg",
      "name": "Bucks",
      "slug": "bucks",
      "url": "https://www.nba.com/bucks"
    },
    {
      "abbreviation": "MIN",
      "city": "Minnesota",
      "conference": "West",
      "division": "Northwest",
      "full_name": "Minnesota Timberwolves",
      "id": 1610612750,
      "logo": "https://cdn.nba.com/logos/nba/1610612750/primary/L/logo.svg",
      "name": "Timberwolves",
      "slug": "timberwolves",
      "url": "https://www.nba.com/timberwolves"
    },
    {
      "abbreviation": "NOP",
      "city": "New Orleans",
      "conference": "West",
      "division": "Southwest",
      "full_name": "New Orleans Pelicans",
      "id": 1610612740,
      "logo": "https://cdn.nba.com/logos/nba/1610612740/primary/L/logo.svg",
      "name": "Pelicans",
      "slug": "pelicans",
      "url": "https://www.nba.com/pelicans"
    },
    {
      "abbreviation": "NYK",
      "city": "New York",
      "conference": "East",
      "division": "Atlantic",
      "full_name": "New York Knicks",
      "id": 1610612752,
      "logo": "https://cdn.nba.com/logos/nba/1610612752/primary/L/logo.svg",
      "name": "Knicks",
      "slug": "knicks",
      "url": "https://www.nba.com/knicks"
    },
    {
      "abbreviation": "OKC",
      "city": "Oklahoma City",
      "conference": "West",
      "division": "Northwest",
      "full_name": "Oklahoma City Thunder",
      "id": 1610612760,
      "logo": "https://cdn.nba.com/logos/nba/1610612760/primary/L/logo.svg",
      "name": "Thunder",
      "slug": "thunder",
      "url": "https://www.nba.com/thunder"
    },
    {
      "abbreviation": "ORL",
      "city": "Orlando",
      "conference": "East",
      "division": "Southeast",
      "full_name": "Orlando Magic",
      "id": 1610612753,
      "logo": "https://cdn.nba.com/logos/nba/1610612753/primary/L/logo.svg",
      "name": "Magic",
      "slug": "magic",
      "url": "https://www.nba.com/magic"
    },
    {
      "abbreviation": "PHI",
      "city": "Philadelphia",
      "conference": "East",
      "division": "Atlantic",
      "full_name": "Philadelphia 76ers",
      "id": 1610612755,
      "logo": "https://cdn.nba.com/logos/nba/1610612755/primary/L/logo.svg",
      "name": "76ers",
      "slug": "sixers",
      "url": "https://www.nba.com/sixers"
    },
    {
      "abbreviation": "PHX",
      "city": "Phoenix",
      "conference": "West",
      "division": "Pacific",
      "full_name": "Phoenix Suns",
      "id": 1610612756,
      "logo": "https://cdn.nba.com/logos/nba/1610612756/primary/L/logo.svg",
      "name": "Suns",
      "slug": "suns",
      "url": "https://www.nba.com/suns"
    },
    {
      "abbreviation": "POR",
      "city": "Portland",
      "conference": "West",
      "division": "Northwest",
      "full_name": "Portland Trail Blazers",
      "id": 1610612757,
      "logo": "https://cdn.nba.com/logos/nba/1610612757/primary/L/logo.svg",
      "name": "Trail Blazers",
      "slug": "blazers",
      "url": "https://www.nba.com/blazers"
    },
    {
      "abbreviation": "SAC",
      "city": "Sacramento",
      "conference": "West",
      "division": "Pacific",
      "full_name": "Sacramento Kings",
      "id": 1610612758,
      "logo": "https://cdn.nba.com/logos/nba/1610612758/primary/L/logo.svg",
      "name": "Kings",
      "slug": "kings",
      "url": "https://www.nba.com/kings"
    },
    {
      "abbreviation": "SAS",
      "city": "San Antonio",
      "conference": "West",
      "division": "Southwest",
      "full_name": "San Antonio Spurs",
      "id": 1610612759,
      "logo": "https://cdn.nba.com/logos/nba/1610612759/primary/L/logo.svg",
      "name": "Spurs",
      "slug": "spurs",
      "url": "https://www.nba.com/spurs"
    },
    {
      "abbreviation": "TOR",
      "city": "Toronto",
      "conference": "East",
      "division": "Atlantic",
      "full_name": "Toronto Raptors",
      "id": 1610612761,
      "logo": "https://cdn.nba.com/logos/nba/1610612761/primary/L/logo.svg",
      "name": "Raptors",
      "slug": "raptors",
      "url": "https://www.nba.com/raptors"
    },
    {
      "abbreviation": "UTA",
      "city": "Utah",
      "conference": "West",
      "division": "Northwest",
      "full_name": "Utah Jazz",
      "id": 1610612762,
      "logo": "https://cdn.nba.com/logos/nba/1610612762/primary/L/logo.svg",
      "name": "Jazz",
      "slug": "jazz",
      "url": "https://www.nba.com/jazz"
    },
    {
      "abbreviation": "WAS",
      "city": "Washington",
      "conference": "East",
      "division": "Southeast",
      "full_name": "Washington Wizards",
      "id": 1610612764,
      "logo": "https://cdn.nba.com/logos/nba/1610612764/primary/L/logo.svg",
      "name": "Wizards",
      "slug": "wizards",
      "url": "https://www.nba.com/wizards"
    }
  ]
}
```

## 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.

## Available implementations
- apish: https://openany.si/market/apis/nba/nba-teams-api/?offering=7e445cdb-6916-420a-b55a-21d59fdd3db6

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