Fanatics

Get Fanatics' league and team navigation tree

Returns Fanatics' full top-level navigation tree: leagues (NFL, MLB, NBA, NHL, Soccer, WWE, College, ...) and, where Fanatics exposes a team-level breakdown, each league's teams (College's several hundred schools included). Each league's or team's url is directly usable as fanatics_category's url input. Public data sourced from fanatics.com's own navigation data.

get/fanatics/categories

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/fanatics/categories
  • Auth: API key in header x-api-key

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "leagues": [
      {
        "name": "NFL",
        "teams": [
          {
            "name": "Indianapolis Colts",
            "product_count": 6138,
            "url": "/nfl/indianapolis-colts/o-2483+t-03378189+z-90650-4056854214"
          }
        ],
        "url": "/nfl/o-3572+z-953036859-1253393850"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.