{"id":873,"date":"2025-12-17T20:07:33","date_gmt":"2025-12-17T17:07:33","guid":{"rendered":"http:\/\/api-sport.pro\/?p=873"},"modified":"2025-12-17T20:07:33","modified_gmt":"2025-12-17T17:07:33","slug":"nba-api-access-to-basketball-match-results-and-statistics","status":"publish","type":"post","link":"https:\/\/api-sport.pro\/es\/nba-api-access-to-basketball-match-results-and-statistics\/","title":{"rendered":"NBA API: access to basketball match results and statistics."},"content":{"rendered":"<p data-start=\"170\" data-end=\"507\">Sports platforms, analytical services, and mobile applications need fast and accurate data about matches, results, and player statistics. This is where sports APIs come to the rescue, solving several key tasks: automating data collection, supporting live updates, and integrating with various services.<\/p>\n<p data-start=\"509\" data-end=\"647\"><a href=\"http:\/\/api-sport.pro\/es\/espn-cricinfo-api\/\">El servicio API-sport<\/a> provides convenient and reliable access to sports statistics, including the NBA and other major leagues. It is useful for:<\/p>\n<ul data-start=\"648\" data-end=\"885\">\n<li data-start=\"648\" data-end=\"695\">\n<p data-start=\"650\" data-end=\"695\">Developers creating applications and bots;<\/p>\n<\/li>\n<li data-start=\"696\" data-end=\"760\">\n<p data-start=\"698\" data-end=\"760\">Betting platforms that calculate odds and chances;<\/p>\n<\/li>\n<li data-start=\"761\" data-end=\"830\">\n<p data-start=\"763\" data-end=\"830\">Sports media that need to quickly publish fresh data;<\/p>\n<\/li>\n<li data-start=\"831\" data-end=\"885\">\n<p data-start=\"833\" data-end=\"885\">Analysts working with forecasts and statistics.<\/p>\n<\/li>\n<\/ul>\n<h2 data-start=\"892\" data-end=\"916\"><a href=\"https:\/\/app.api-sport.ru\/register\"><img decoding=\"async\" class=\"alignnone size-full wp-image-378 lazyload\" data-src=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219.png\" alt=\"\" width=\"1080\" height=\"194\" data-srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219.png 1080w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219-980x176.png 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219-480x86.png 480w\" data-sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1080px, 100vw\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1080px; --smush-placeholder-aspect-ratio: 1080\/194;\" srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219.png 1080w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219-980x176.png 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4219-480x86.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1080px, 100vw\" \/><\/a><\/h2>\n<h2 data-start=\"892\" data-end=\"916\">\u00bfQu\u00e9 es API-sport?<\/h2>\n<p data-start=\"917\" data-end=\"1056\">API (Application Programming Interface) is a software interface that allows you to obtain and use data from an external service.<\/p>\n<p data-start=\"98\" data-end=\"458\"><a href=\"http:\/\/api-sport.pro\/es\/espn-cricinfo-api\/\">API-sport is a modern and reliable platform<\/a> for sports analytics that collects data from numerous sources and provides it to developers through a single API. It was created to simplify the integration of sports information into applications, websites, and analytical systems, and over the years has earned the trust of thousands of specialists around the world.<\/p>\n<p data-start=\"460\" data-end=\"662\">The service offers a wide range of data: from live match results to complete statistics of players and teams, including archived data from past seasons, transfer information, and current team lineups.<\/p>\n<p data-start=\"664\" data-end=\"1072\"><a href=\"http:\/\/api-sport.pro\/es\/espn-cricinfo-api\/\">La caracter\u00edstica de API-sport<\/a> In its versatility \u2014 the platform supports many sports, ensuring high data update speed and easy integration with modern applications. A particularly valuable feature is the ability to work with live data via WebSocket, making the service indispensable for betting, real-time analytics, and any projects where timely information about matches is crucial.<\/p>\n<h2 data-start=\"1864\" data-end=\"1932\">NBA API: access to basketball match results and statistics.<\/h2>\n<p data-start=\"1974\" data-end=\"2043\">The NBA API through API-sport provides <a href=\"http:\/\/api-sport.pro\/es\/espn-cricinfo-api\/\">una gama completa de informaci\u00f3n<\/a>:<\/p>\n<ul data-start=\"2044\" data-end=\"2254\">\n<li data-start=\"2044\" data-end=\"2082\">\n<p data-start=\"2046\" data-end=\"2082\">Match results and current scores;<\/p>\n<\/li>\n<li data-start=\"2083\" data-end=\"2137\">\n<p data-start=\"2085\" data-end=\"2137\">Odds for betting, chances, and outcome predictions;<\/p>\n<\/li>\n<li data-start=\"2138\" data-end=\"2188\">\n<p data-start=\"2140\" data-end=\"2188\">Team lineups and statistics of individual players;<\/p>\n<\/li>\n<li data-start=\"2189\" data-end=\"2254\">\n<p data-start=\"2191\" data-end=\"2254\">Information about transfers, player substitutions, and team updates.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"2256\" data-end=\"2288\">Deportes soportados<\/h3>\n<p data-start=\"2289\" data-end=\"2339\">In addition to the NBA and basketball, API-sport supports:<\/p>\n<ul data-start=\"2340\" data-end=\"2443\">\n<li data-start=\"2340\" data-end=\"2351\">\n<p data-start=\"2342\" data-end=\"2351\">F\u00fatbol;<\/p>\n<\/li>\n<li data-start=\"2352\" data-end=\"2363\">\n<p data-start=\"2354\" data-end=\"2363\">Hockey;<\/p>\n<\/li>\n<li data-start=\"2364\" data-end=\"2375\">\n<p data-start=\"2366\" data-end=\"2375\">Tenis;<\/p>\n<\/li>\n<li data-start=\"2376\" data-end=\"2391\">\n<p data-start=\"2378\" data-end=\"2391\">Esports;<\/p>\n<\/li>\n<li data-start=\"2392\" data-end=\"2443\">\n<p data-start=\"2394\" data-end=\"2443\">Volleyball, rugby, and other popular disciplines.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"2445\" data-end=\"2471\">Tecnolog\u00edas y formatos<\/h3>\n<p data-start=\"2472\" data-end=\"2533\">API-sport works with modern technologies and formats:<\/p>\n<ul data-start=\"2534\" data-end=\"2714\">\n<li data-start=\"2534\" data-end=\"2572\">\n<p data-start=\"2536\" data-end=\"2572\">API REST para solicitudes est\u00e1ndar;<\/p>\n<\/li>\n<li data-start=\"2573\" data-end=\"2603\">\n<p data-start=\"2575\" data-end=\"2603\">WebSocket para datos en vivo;<\/p>\n<\/li>\n<li data-start=\"2604\" data-end=\"2648\">\n<p data-start=\"2606\" data-end=\"2648\">JSON and XML for convenient data processing;<\/p>\n<\/li>\n<li data-start=\"2649\" data-end=\"2714\">\n<p data-start=\"2651\" data-end=\"2714\">The ability to integrate with various programming languages.<\/p>\n<\/li>\n<\/ul>\n<h2 data-start=\"2721\" data-end=\"2755\"><img decoding=\"async\" class=\"alignnone size-full wp-image-951 lazyload\" data-src=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770.jpeg\" alt=\"\" width=\"1024\" height=\"1024\" data-srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770.jpeg 1024w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770-980x980.jpeg 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770-480x480.jpeg 480w\" data-sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/1024;\" srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770.jpeg 1024w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770-980x980.jpeg 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5770-480x480.jpeg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/h2>\n<h2 data-start=\"2721\" data-end=\"2755\">How to access the NBA API?<\/h2>\n<p data-start=\"169\" data-end=\"530\">Para trabajar con <a href=\"https:\/\/app.api-sport.ru\/register\">API-deporte<\/a> you first need to go through official registration on the platform. After that, the user is issued a unique API key, which is used for all requests to the service. The next step is to choose a pricing plan. The platform offers both free and paid packages so that everyone can find the optimal option depending on their goals.<\/p>\n<p data-start=\"532\" data-end=\"931\">The free plan is great for testing and getting acquainted with the capabilities of the API. It allows you to receive basic data about matches, team rosters, and results of past games, although the number of requests per day is limited. Paid plans provide full access to all features of the platform: live results, player and team statistics, archival data, transfer information, and advanced analytics.<\/p>\n<h3 data-start=\"933\" data-end=\"959\">RapidAPI, SportRadar y otras plataformas proporcionan acceso a BetsAPI y Livescore API a trav\u00e9s de sus canales. Esto es conveniente para los desarrolladores que necesitan integraciones listas y SLA confiables.<\/h3>\n<p data-start=\"960\" data-end=\"1058\">In addition to official access, connecting to the NBA API is possible through third-party aggregators. For example:<\/p>\n<ul data-start=\"1059\" data-end=\"1534\">\n<li data-start=\"1059\" data-end=\"1292\">\n<p data-start=\"1061\" data-end=\"1292\">RapidAPI \u2014 a convenient platform for a quick start, where you can test the API and integrate it into your projects. However, there are limitations on request speed and the number of calls, which can be critical for live data.<\/p>\n<\/li>\n<li data-start=\"1293\" data-end=\"1534\">\n<p data-start=\"1295\" data-end=\"1534\">SportRadar \u2014 a reliable data source, popular among large companies and betting platforms. Its main advantage is the quality and accuracy of information, but the cost is high, and access is limited for small projects and startups.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"1536\" data-end=\"1569\">Los planes gratuitos generalmente incluyen acceso limitado a datos hist\u00f3ricos y estad\u00edsticas b\u00e1sicas. Las suscripciones de pago desbloquean:<\/h3>\n<p data-start=\"1570\" data-end=\"1668\">The API-sport platform divides packages into free and paid. The free plan allows:<\/p>\n<ul data-start=\"1669\" data-end=\"1821\">\n<li data-start=\"1669\" data-end=\"1716\">\n<p data-start=\"1671\" data-end=\"1716\">Testing the API and checking its functionality;<\/p>\n<\/li>\n<li data-start=\"1717\" data-end=\"1765\">\n<p data-start=\"1719\" data-end=\"1765\">Receiving a limited set of data about matches;<\/p>\n<\/li>\n<li data-start=\"1766\" data-end=\"1821\">\n<p data-start=\"1768\" data-end=\"1821\">Making a limited number of requests per day.<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1823\" data-end=\"1877\">Paid plans unlock the full potential of the platform:<\/p>\n<ul data-start=\"1878\" data-end=\"2061\">\n<li data-start=\"1878\" data-end=\"1916\">\n<p data-start=\"1880\" data-end=\"1916\">Access to live data without delays;<\/p>\n<\/li>\n<li data-start=\"1917\" data-end=\"1969\">\n<p data-start=\"1919\" data-end=\"1969\">Receiving detailed statistics on players and teams;<\/p>\n<\/li>\n<li data-start=\"1970\" data-end=\"2008\">\n<p data-start=\"1972\" data-end=\"2008\">Archival data from past seasons;<\/p>\n<\/li>\n<li data-start=\"2009\" data-end=\"2061\">\n<p data-start=\"2011\" data-end=\"2061\">Advanced analytical metrics and forecasts.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"2063\" data-end=\"2089\">N\u00famero de solicitudes por minuto\/hora<\/h3>\n<p data-start=\"2090\" data-end=\"2192\">Even when using paid access, there are technical limitations that are important to consider:<\/p>\n<ul data-start=\"2193\" data-end=\"2411\">\n<li data-start=\"2193\" data-end=\"2242\">\n<p data-start=\"2195\" data-end=\"2242\">Limit on the number of requests per hour or day;<\/p>\n<\/li>\n<li data-start=\"2243\" data-end=\"2322\">\n<p data-start=\"2245\" data-end=\"2322\">Rate limits on live data updates, especially under high load;<\/p>\n<\/li>\n<li data-start=\"2323\" data-end=\"2411\">\n<p data-start=\"2325\" data-end=\"2411\">Access to historical data and archives is often only available on premium plans.<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"2413\" data-end=\"2583\">These limitations help maintain the stable operation of the service and ensure the accuracy of the provided information, especially when processing large volumes of live data.<\/p>\n<h2 data-start=\"3644\" data-end=\"3663\">Integraci\u00f3n de API<\/h2>\n<h3 data-start=\"3665\" data-end=\"3711\">Ejemplos de conexi\u00f3n (Python, JavaScript)<\/h3>\n<p data-start=\"3712\" data-end=\"3736\"><strong data-start=\"3712\" data-end=\"3734\">Python (requests):<\/strong><\/p>\n<p>importar solicitudes<\/p>\n<p>url = \u00abhttp:\/\/api-sport.pro\/nba\/matches\u00bb<br \/>\nheaders = {\u00abX-API-KEY\u00bb: \u00abYOUR_API_KEY\u00bb}<br \/>\nrespuesta = solicitudes.get(url, encabezados=encabezados)<br \/>\ndata = response.json()<br \/>\nprint(data)<\/p>\n<p><strong>JavaScript (fetch):<\/strong><\/p>\n<p>fetch(\u00abhttp:\/\/api-sport.pro\/nba\/matches\u00bb, {<br \/>\nheaders: { \u00abX-API-KEY\u00bb: \u00abYOUR_API_KEY\u00bb }<br \/>\n})<br \/>\n.then(response =&gt; response.json())<br \/>\n.then(data =&gt; console.log(data));<\/p>\n<h3 data-start=\"4135\" data-end=\"4180\">Integraci\u00f3n en CMS y aplicaciones m\u00f3viles<\/h3>\n<p data-start=\"139\" data-end=\"398\">Connecting API-sport to modern platforms and applications is quite simple. For example, in WordPress, you can use ready-made plugins or create your own scripts for automatic retrieval and display of sports statistics.<\/p>\n<p data-start=\"400\" data-end=\"693\">For mobile applications on Android and iOS, the API is integrated through standard libraries for working with HTTP requests. This allows for real-time access to fresh data about matches and players without delays, which is especially important for live results, betting, and analytical applications.<\/p>\n<h3 data-start=\"4387\" data-end=\"4434\">Uso de datos en vivo a trav\u00e9s de WebSocket<\/h3>\n<ul data-start=\"4435\" data-end=\"4660\">\n<li data-start=\"4435\" data-end=\"4486\">\n<p data-start=\"4437\" data-end=\"4486\">Allows for instant match updates;<\/p>\n<\/li>\n<li data-start=\"4487\" data-end=\"4588\">\n<p data-start=\"4489\" data-end=\"4588\">More efficient than polling (periodic requests), especially for betting and real-time analytics;<\/p>\n<\/li>\n<li data-start=\"4589\" data-end=\"4660\">\n<p data-start=\"4591\" data-end=\"4660\">Reduces server load and improves application response speed.<img decoding=\"async\" class=\"alignnone size-full wp-image-940 lazyload\" data-src=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748.jpeg\" alt=\"\" width=\"1024\" height=\"1024\" data-srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748.jpeg 1024w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748-980x980.jpeg 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748-480x480.jpeg 480w\" data-sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/1024;\" srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748.jpeg 1024w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748-980x980.jpeg 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5748-480x480.jpeg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/p>\n<\/li>\n<\/ul>\n<h2 data-start=\"4667\" data-end=\"4687\">\u00bfD\u00f3nde se utiliza?<\/h2>\n<ul data-start=\"4688\" data-end=\"5067\">\n<li data-start=\"4688\" data-end=\"4764\">\n<p data-start=\"4690\" data-end=\"4764\">Betting and odds scanners \u2014 calculating current odds and bets;<\/p>\n<\/li>\n<li data-start=\"4765\" data-end=\"4840\">\n<p data-start=\"4767\" data-end=\"4840\">Sports analytics and forecasts \u2014 in-depth analysis of matches and players;<\/p>\n<\/li>\n<li data-start=\"4841\" data-end=\"4917\">\n<p data-start=\"4843\" data-end=\"4917\">Media and fan applications \u2014 publishing live results and news;<\/p>\n<\/li>\n<li data-start=\"4918\" data-end=\"4987\">\n<p data-start=\"4920\" data-end=\"4987\">Fantasy Sports and esports \u2014 team and forecast creation;<\/p>\n<\/li>\n<li data-start=\"4988\" data-end=\"5067\">\n<p data-start=\"4990\" data-end=\"5067\">BI systems and Big Data \u2014 data integration for analytics and research.<\/p>\n<\/li>\n<\/ul>\n<h2 data-start=\"5074\" data-end=\"5104\">Ventajas y desventajas<\/h2>\n<p data-start=\"5106\" data-end=\"5118\"><strong data-start=\"5106\" data-end=\"5116\">Ventajas:<\/strong><\/p>\n<ul data-start=\"5119\" data-end=\"5231\">\n<li data-start=\"5119\" data-end=\"5153\">\n<p data-start=\"5121\" data-end=\"5153\">Amplia cobertura de deportes;<\/p>\n<\/li>\n<li data-start=\"5154\" data-end=\"5193\">\n<p data-start=\"5156\" data-end=\"5193\">Fast data update speed;<\/p>\n<\/li>\n<li data-start=\"5194\" data-end=\"5231\">\n<p data-start=\"5196\" data-end=\"5231\">Reliability and accuracy of information.<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"5233\" data-end=\"5246\"><strong data-start=\"5233\" data-end=\"5244\">Contras:<\/strong><\/p>\n<ul data-start=\"5247\" data-end=\"5361\">\n<li data-start=\"5247\" data-end=\"5277\">\n<p data-start=\"5249\" data-end=\"5277\">Costo de los planes de pago;<\/p>\n<\/li>\n<li data-start=\"5278\" data-end=\"5314\">\n<p data-start=\"5280\" data-end=\"5314\">Limitations of free access;<\/p>\n<\/li>\n<li data-start=\"5315\" data-end=\"5361\">\n<p data-start=\"5317\" data-end=\"5361\">Requires skills in integration and working with APIs.<\/p>\n<\/li>\n<\/ul>\n<h2 data-start=\"5368\" data-end=\"5395\">Alternativas a API-sport.<\/h2>\n<p data-start=\"101\" data-end=\"261\">Although <a href=\"https:\/\/app.api-sport.ru\/register\">API-deporte<\/a> it offers a wide range of functionality and convenient integration, there are other services that may be useful depending on the project&#8217;s tasks.<\/p>\n<p data-start=\"263\" data-end=\"501\">For example, SportRadar is ideal for large platforms and corporate solutions due to the quality and accuracy of the data. However, the cost of the service is quite high, making it less accessible for startups and small projects.<\/p>\n<p data-start=\"503\" data-end=\"757\">RapidAPI acts as a convenient aggregator: you can quickly connect to various sports APIs and start working. The main downside is the limitation on the number of requests and the speed of data updates, which can be critical for live analytics.<\/p>\n<p data-start=\"759\" data-end=\"893\">The Odds API is primarily focused on betting and odds, providing specialized data for betting platforms.<\/p>\n<p data-start=\"895\" data-end=\"1114\">Using competitors is justified if exclusive coverage of local leagues, specific data, or features not available in API-sport are required. The choice depends on the project&#8217;s goals, budget, and the volume of information needed.<\/p>\n<h2 data-start=\"6490\" data-end=\"6508\"><a href=\"https:\/\/app.api-sport.ru\/register\"><img decoding=\"async\" class=\"alignnone size-full wp-image-379 lazyload\" data-src=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220.png\" alt=\"\" width=\"1080\" height=\"194\" data-srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220.png 1080w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220-980x176.png 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220-480x86.png 480w\" data-sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1080px, 100vw\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1080px; --smush-placeholder-aspect-ratio: 1080\/194;\" srcset=\"http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220.png 1080w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220-980x176.png 980w, http:\/\/api-sport.pro\/wp-content\/uploads\/2025\/09\/img_4220-480x86.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1080px, 100vw\" \/><\/a><\/h2>\n<h2 data-start=\"6490\" data-end=\"6508\">En resumen<\/h2>\n<p data-start=\"6509\" data-end=\"6808\">The NBA API through API-sport is a versatile tool for accessing results and statistics of basketball matches. The service supports live data, historical archives, odds, and complete player statistics, making it indispensable for developers, betting platforms, media, and analysts.<\/p>\n<p data-start=\"6810\" data-end=\"6981\"><strong data-start=\"6810\" data-end=\"6826\">Registro:<\/strong> <a class=\"decorated-link\" href=\"https:\/\/app.api-sport.ru\/register\" target=\"_new\" rel=\"noopener\" data-start=\"6827\" data-end=\"6897\">https:\/\/app.api-sport.ru\/register<\/a><\/p>\n<p data-start=\"6810\" data-end=\"6981\"><strong data-start=\"6900\" data-end=\"6928\">Canal TG con actualizaciones:<\/strong> <a class=\"decorated-link\" href=\"https:\/\/t.me\/apisportru\" target=\"_new\" rel=\"noopener\" data-start=\"6929\" data-end=\"6979\">https:\/\/t.me\/apisportru.<\/a><\/p>\n<h2 data-start=\"5773\" data-end=\"5781\">Preguntas frecuentes<\/h2>\n<p data-start=\"5783\" data-end=\"5912\"><strong data-start=\"5783\" data-end=\"5826\">Is there free access to the NBA API?<\/strong><br data-start=\"5826\" data-end=\"5829\" \/>Yes, API-sport provides a free trial plan with limitations on requests.<\/p>\n<p data-start=\"5914\" data-end=\"6027\"><strong data-start=\"5914\" data-end=\"5954\">\u00bfQu\u00e9 deportes son compatibles?<\/strong><br data-start=\"5954\" data-end=\"5957\" \/>Football, basketball (NBA), hockey, tennis, esports, and many others.<\/p>\n<p data-start=\"6029\" data-end=\"6126\"><strong data-start=\"6029\" data-end=\"6063\">\u00bfEs la API adecuada para apuestas?<\/strong><br data-start=\"6063\" data-end=\"6066\" \/>Yes, odds, chances, and live updates of matches are available.<\/p>\n<p data-start=\"6128\" data-end=\"6225\"><strong data-start=\"6128\" data-end=\"6167\">\u00bfC\u00f3mo conectar la API a la aplicaci\u00f3n?<\/strong><br data-start=\"6167\" data-end=\"6170\" \/>A trav\u00e9s de solicitudes REST o WebSocket, utilizando la clave de API.<\/p>\n<p data-start=\"6128\" data-end=\"6225\"><strong data-start=\"6227\" data-end=\"6286\">\u00bfSe puede utilizar la API para pron\u00f3sticos y an\u00e1lisis?<\/strong><br data-start=\"6286\" data-end=\"6289\" \/>Yes, data on matches, players, and statistics allows for building forecasts and models.<\/p>\n<p data-start=\"6371\" data-end=\"6483\"><strong data-start=\"6371\" data-end=\"6414\">\u00bfQu\u00e9 formatos de datos son compatibles?<\/strong><br data-start=\"6414\" data-end=\"6417\" \/>JSON and XML for easy integration with applications and databases.<\/p>","protected":false},"excerpt":{"rendered":"<p>Sports platforms, analytical services, and mobile applications need fast and accurate data about matches, results, and player statistics. Here, sports APIs come to the rescue, solving several key tasks: automating data collection, supporting live updates, and integrating with various services. The API-sport service provides convenient and reliable access to sports statistics, including the NBA and other major [&#8230;]<\/p>","protected":false},"author":2,"featured_media":950,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","faq":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"yoast_head":"<title>NBA API: access to results and statistics of basketball matches via API-sport<\/title>\n<meta name=\"description\" content=\"How to use the NBA API via API-sport to obtain live results, player statistics, odds, archived data, and analytics. Integration into applications, CMS, and mobile platforms, code examples, pricing, and alternatives.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/api-sport.pro\/es\/nba-api-access-to-basketball-match-results-and-statistics\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NBA API: access to results and statistics of basketball matches via API-sport\" \/>\n<meta property=\"og:description\" content=\"How to use the NBA API via API-sport to obtain live results, player statistics, odds, archived data, and analytics. Integration into applications, CMS, and mobile platforms, code examples, pricing, and alternatives.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/api-sport.pro\/es\/nba-api-access-to-basketball-match-results-and-statistics\/\" \/>\n<meta property=\"og:site_name\" content=\"Sports Events API\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-17T17:07:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Liza Liza\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Liza Liza\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/\",\"url\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/\",\"name\":\"NBA API: access to results and statistics of basketball matches via API-sport\",\"isPartOf\":{\"@id\":\"https:\/\/api-sport.pro\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg\",\"datePublished\":\"2025-12-17T17:07:33+00:00\",\"author\":{\"@id\":\"https:\/\/api-sport.pro\/#\/schema\/person\/c0ffc990af7aeda8056de37ed0fed63f\"},\"description\":\"How to use the NBA API via API-sport to obtain live results, player statistics, odds, archived data, and analytics. Integration into applications, CMS, and mobile platforms, code examples, pricing, and alternatives.\",\"breadcrumb\":{\"@id\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#primaryimage\",\"url\":\"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg\",\"contentUrl\":\"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/api-sport.pro\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NBA API: access to basketball match results and statistics.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/api-sport.pro\/#website\",\"url\":\"https:\/\/api-sport.pro\/\",\"name\":\"Sports Events API\",\"description\":\"Sports Events API\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/api-sport.pro\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/api-sport.pro\/#\/schema\/person\/c0ffc990af7aeda8056de37ed0fed63f\",\"name\":\"Liza Liza\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/api-sport.pro\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93726defb6d770d88fc842cbe1e7fe48f5dba71ee011793a78516e42f1de453d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93726defb6d770d88fc842cbe1e7fe48f5dba71ee011793a78516e42f1de453d?s=96&d=mm&r=g\",\"caption\":\"Liza Liza\"},\"url\":\"https:\/\/api-sport.pro\/es\/author\/liza\/\"}]}<\/script>","yoast_head_json":{"title":"NBA API: access to results and statistics of basketball matches via API-sport","description":"How to use the NBA API via API-sport to obtain live results, player statistics, odds, archived data, and analytics. Integration into applications, CMS, and mobile platforms, code examples, pricing, and alternatives.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/api-sport.pro\/es\/nba-api-access-to-basketball-match-results-and-statistics\/","og_locale":"es_ES","og_type":"article","og_title":"NBA API: access to results and statistics of basketball matches via API-sport","og_description":"How to use the NBA API via API-sport to obtain live results, player statistics, odds, archived data, and analytics. Integration into applications, CMS, and mobile platforms, code examples, pricing, and alternatives.","og_url":"https:\/\/api-sport.pro\/es\/nba-api-access-to-basketball-match-results-and-statistics\/","og_site_name":"Sports Events API","article_published_time":"2025-12-17T17:07:33+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg","type":"image\/jpeg"}],"author":"Liza Liza","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Liza Liza","Tiempo de lectura":"7 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/","url":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/","name":"NBA API: access to results and statistics of basketball matches via API-sport","isPartOf":{"@id":"https:\/\/api-sport.pro\/#website"},"primaryImageOfPage":{"@id":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#primaryimage"},"image":{"@id":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#primaryimage"},"thumbnailUrl":"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg","datePublished":"2025-12-17T17:07:33+00:00","author":{"@id":"https:\/\/api-sport.pro\/#\/schema\/person\/c0ffc990af7aeda8056de37ed0fed63f"},"description":"How to use the NBA API via API-sport to obtain live results, player statistics, odds, archived data, and analytics. Integration into applications, CMS, and mobile platforms, code examples, pricing, and alternatives.","breadcrumb":{"@id":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#primaryimage","url":"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg","contentUrl":"https:\/\/api-sport.pro\/wp-content\/uploads\/2025\/10\/img_5771.jpeg","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/api-sport.pro\/nba-api-access-to-basketball-match-results-and-statistics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/api-sport.pro\/"},{"@type":"ListItem","position":2,"name":"NBA API: access to basketball match results and statistics."}]},{"@type":"WebSite","@id":"https:\/\/api-sport.pro\/#website","url":"https:\/\/api-sport.pro\/","name":"API de Eventos Deportivos","description":"API de Eventos Deportivos","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/api-sport.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/api-sport.pro\/#\/schema\/person\/c0ffc990af7aeda8056de37ed0fed63f","name":"Liza Liza","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/api-sport.pro\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/93726defb6d770d88fc842cbe1e7fe48f5dba71ee011793a78516e42f1de453d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93726defb6d770d88fc842cbe1e7fe48f5dba71ee011793a78516e42f1de453d?s=96&d=mm&r=g","caption":"Liza Liza"},"url":"https:\/\/api-sport.pro\/es\/author\/liza\/"}]}},"_links":{"self":[{"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/posts\/873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":3,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"predecessor-version":[{"id":1560,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/posts\/873\/revisions\/1560"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/media\/950"}],"wp:attachment":[{"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api-sport.pro\/es\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}