ESPN Nba News avatar

ESPN Nba News

Try for free

3 days trial then $9.99/month - No credit card required now

Go to Store
ESPN Nba News

ESPN Nba News

pintostudio/espn-nba-news
Try for free

3 days trial then $9.99/month - No credit card required now

This actor retrieves all the latest nba news.

NBA News Scraper

This is an Apify actor that scrapes NBA news from ESPN's API and provides the results in a structured format.

Usage

To use this actor, you can run it on the Apify platform or integrate it into your own workflow using the Apify SDK.

Input

The actor accepts the following input parameters:

  • limit (optional): Number of news articles to fetch. Default is 20.

Output

The actor returns an array of NBA news articles with the following structure:

  • description: Description of the news article.
  • published: Date and time when the article was published.
  • premium: Premium status of the article.
  • lastModified: Date and time when the article was last modified.
  • categories: Array of categories associated with the article, each containing:
    • id: Category ID.
    • description: Description of the category.
    • type: Type of the category.
    • sportId: ID of the sport associated with the category.
    • leagueId: ID of the league associated with the category.
    • createDate: Date and time when the category was created.
  • headline: Headline of the news article.
  • link: Link to the full article.

Example

1[
2    {
3        "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
4        "published": "2024-02-13T08:00:00Z",
5        "premium": false,
6        "lastModified": "2024-02-13T10:00:00Z",
7        "categories": [
8            {
9                "id": "123",
10                "description": "Category description",
11                "type": "Type",
12                "sportId": "456",
13                "leagueId": "789",
14                "createDate": "2024-02-13T12:00:00Z"
15            }
16        ],
17        "headline": "Lorem ipsum",
18        "link": "https://example.com/article"
19    },
20    {
21        "description": "Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
22        "published": "2024-02-13T09:00:00Z",
23        "premium": true,
24        "lastModified": "2024-02-13T11:00:00Z",
25        "categories": [
26            {
27                "id": "456",
28                "description": "Another category description",
29                "type": "Another type",
30                "sportId": "789",
31                "leagueId": "123",
32                "createDate": "2024-02-13T13:00:00Z"
33            }
34        ],
35        "headline": "Sed do eiusmod",
36        "link": "https://example.com/article2"
37    }
38]
Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 3 stars

  • >99% runs succeeded

  • Created in Feb 2024

  • Modified 10 months ago