{"uid":"cap_kWzFGJe37u6reteQ3CTOZ","slug":"2s-io-nba-teams-9a98de23","name":"2s.io NBA Teams","description":"NBA teams from balldontlie — all 30 franchises with id, full name, abbreviation, conference, division, and city. Pass an optional team id to fetch a single team.","url":"https://2s.io/api/sports/nba-teams","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":[],"properties":{"id":{"type":"integer","description":"NBA team id (1–30). Omit to list all."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1uX8M3tSu8Lyt0Y4oOQKF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all 30 NBA franchises (or a single team by id) with id, full name, abbreviation, conference, division, and city.","exampleAgentPrompt":"Can you pull up the details for all 30 NBA teams — full name, abbreviation, conference, division, and city — from the balldontlie data source?","exampleUseCases":null,"resultDescription":"A JSON list of up to 30 NBA team objects, each containing the team's numeric id, full name, abbreviation, conference (East/West), division, and city. When a specific team id is passed, returns a single matching team object.","failureModes":["Invalid team id (outside 1–30) returns an error or empty result","Non-integer id value causes a validation error","Network timeout if the upstream balldontlie source is unavailable","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need authoritative NBA team metadata (ids, abbreviations, conference/division assignments, city names) for all 30 franchises or a specific team. Prefer it over scraping or general web search when you need structured, machine-readable team data that can be joined with player or game stats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:58.045Z","isFirstParty":false}