Leagues By Class
This endpoint allows you to retrieve the leagues from a specific class.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get leagues from a specific class_idhttps://esports.sportdevs.com/leagues-by-category?class_id=eq.{class_id}
Query Parameters
- class_id integer
Default value:
eq.110
The id of the class
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- class_id integer
The id of the class
Note: This is a Foreign Key to
classes.id
. - class_name text
The name of the class
- class_hash_image character varying
Possible values:
<= 64 characters
The hash image of the class
- leagues jsonb
The leagues
[
{
"class_id": 110,
"class_name": "LoL",
"class_hash_image": "ad1dc9cbc36e79a51040587b5b2c4d0ef0bf2af321dba395b45d22638d0f6360",
"leagues": [
{
"id": 2063,
"name": "All-Star",
"hash_image": "9a4107bc01874dab1ca7ebe455a755cf7b913ca02714b730c2c9c08f462c8b6f"
},
{
"id": 2089,
"name": "CBLOL",
"hash_image": "8c4c83abfee8e58f7c1fd61e73c7fcb3e772a5c5a97af5a27b039b266534829c"
},
{
"id": 2120,
"name": "Challenger Korea",
"hash_image": "32d2dd50f603f5dedfd4276c27e0e8832aae6e799e721b18f0d7dc2544604924"
},
{
"id": 2136,
"name": "LCK Challengers League",
"hash_image": "0efbef26a222264669890afc6bdd02de71329bfcb7983ddac19c5bebfcc12131"
},
{
"id": 2143,
"name": "European Masters",
"hash_image": "1618a9c984b840f3bfa925364a1988ca87ea647d72dd52492371d4194cfcebea"
},
{
"id": 2163,
"name": "LCK",
"hash_image": "b89f435174a47174678bb772b48a4970ac06121625bc2d3f54c2f4eae70434de"
},
{
"id": 2180,
"name": "LCL",
"hash_image": "8a38fcd86eae892c121169750c893b0c8a5781250be680005cd476f9a6422316"
},
{
"id": 2192,
"name": "LCS",
"hash_image": "7dfd3a18516f68f29a61d72d6174ffb5c421aa472c75aed3b27077def408ccac"
},
{
"id": 2212,
"name": "LCS Academy",
"hash_image": "6f1bff31d03f98e234a142d811d1ba23213aa9625f769e92eb6a8ae5f9de2af6"
},
{
"id": 2243,
"name": "LEC",
"hash_image": "1dab4f3e8d933f0cc42094ad833ffd5054974ddc87699a08baf4ab328eed5238"
},
{
"id": 2260,
"name": "LJL",
"hash_image": "075ebf417c82289165662faf74b4d7a200b7f64bfc17b380bb392b398f1d0f8e"
},
{
"id": 2276,
"name": "LLA",
"hash_image": "9ac8f7aa6393183afd24db62947caa45d1f69566f5c4b0ee185f72e600bac558"
},
{
"id": 2292,
"name": "LPL",
"hash_image": "e511930bcc7f7b7a58928dabde8cbf1446d25dd3855346c592f8b3cfe33effc7"
},
{
"id": 2313,
"name": "MSI",
"hash_image": "2bfe06102f738f54ec68763ea2597f330393dc2075112a8baa529aab198d8a8a"
},
{
"id": 2322,
"name": "OPL",
"hash_image": "277326bb0013ae58e177a7fb65a20d84d84dbf3c27fb01420df7a4e867ab8650"
},
{
"id": 2344,
"name": "PCS",
"hash_image": "8200a771f583989ba5dc2e8fc53a802f0c8515feadf8bd29e712febff7a025a7"
},
{
"id": 2371,
"name": "TCL",
"hash_image": "a49fce5db0b70737cfd36ceb6e8012f16acd733fec53b2aa0f375242093694d1"
},
{
"id": 2386,
"name": "VCS",
"hash_image": "893dc0f58848f44a96fcf3204f4e89d522b7ac09f9026478ef907f1745b9eb04"
},
{
"id": 2402,
"name": "Worlds",
"hash_image": "3ee1ad7f8c492f67bb0f98dd9fdb39a3a24d7e5ba48377409e5a2cd401b9da66"
},
{
"id": 2417,
"name": "Baltic Masters",
"hash_image": "9e1060886567251094f3f08f57935c320c03acde052524703d7fdc974adf6087"
},
{
"id": 2436,
"name": "Belgian League",
"hash_image": "33cad737fd6dfafdf3125917f28b0cd0bc0f48efb7026ce88b55165d9f0d0b8a"
},
{
"id": 2458,
"name": "CDLN",
"hash_image": "775c55e436c7d9e427cbe28e3abd31448bae354d823d695b325d93a7a1a29b8f"
},
{
"id": 2470,
"name": "CDLS",
"hash_image": "230bb429e7813f2ade357e06bec21855ab862d73d11ae05b16cad0b6696f11eb"
},
{
"id": 2485,
"name": "Challenge France",
"hash_image": "1a403908ac3921686ba8f520292122b3508f25d809b5bd3f36a18e55563ac407"
},
{
"id": 2502,
"name": "Copa Latinoamérica Norte",
"hash_image": "1a89c952915057f416a71e80f9d3ad0523c0d6826ef3531d9338c3cd8e032a19"
},
{
"id": 2515,
"name": "Copa Latinoamérica Sur",
"hash_image": "faa913cb0a67f5428b735eb8b6c7ed525093810ace7f4fe04c77580093083b11"
},
{
"id": 2527,
"name": "Demacia Cup",
"hash_image": "6eaabab8541631a529226ce45fe8c14e9902ead97baf6a4f9b784c50c14e789e"
},
{
"id": 2544,
"name": "Dutch League",
"hash_image": "11267b87bd7fcc2ad127f3fe5a708b22c692a2712f4db09ef1d532525aea3ba5"
},
{
"id": 2570,
"name": "EBL",
"hash_image": "380ebde5f0c1f076f6664924c2f66618d6f010a0a23c3ca44e60981cf72961db"
},
{
"id": 2594,
"name": "ESL Meisterschaft",
"hash_image": "59a80939e1a51588bea4b7da2e22ed4251696daf6e6bbfeb50e9f93505ac43bb"
},
{
"id": 2613,
"name": "EU Challenger Series",
"hash_image": "e6b368665b8042064156983476cbeac6b20df13690be6c3082f75243b38cefa4"
},
{
"id": 2628,
"name": "EU LCS",
"hash_image": "5c0fac1b966f92a0338ce3e7b018ddbbdb51ad868424c08b5ff1761aecaed9f4"
},
{
"id": 2638,
"name": "Hitpoint Masters",
"hash_image": "7c0be46db4fbc8a5da196c91959288ee44d1d8e0d5c26768785b2f5ff895755e"
},
{
"id": 2652,
"name": "Iberian Cup",
"hash_image": "e5a073a79b0400a7106f54fc29be48a1a10b5089af8c797414e62036573b9a39"
},
{
"id": 2659,
"name": "Intel Extreme Masters",
"hash_image": "1c05455c6a16412c7c205bc35f381c94f096df137db7a3a1ee8f1eb2abd7f974"
},
{
"id": 2678,
"name": "International Wildcard",
"hash_image": "d28b18b7245e452a43a74efe5c8f017e51401f1eae8b7785c46736659a85237f"
},
{
"id": 2701,
"name": "KeSPA Cup",
"hash_image": "d324ff63f68a115ca2387d64e0c4bdbb29cb618a11ffc69bb5f5fdb55739c97d"
},
{
"id": 2710,
"name": "LDL",
"hash_image": "11c01934ef3b21c8c2ab7dc111886d22cbb44de9bfcb7470103de104efc80c2c"
},
{
"id": 2723,
"name": "League of Origin",
"hash_image": "647702cc6b25cfe3f0146f2e016163e450af54672f05834f6eedcb78eef24309"
},
{
"id": 2733,
"name": "LFL",
"hash_image": "22ca711cbd4b7e34c09310281f8c6eece7a6492d79a17ddafe89086d12539f8d"
},
{
"id": 2738,
"name": "Liga Latinoamerica Norte",
"hash_image": "aa00211a013bcbd0bead7708ceb6eb60c78f2bc3d08449ff01529f3bb8f605fa"
},
{
"id": 2746,
"name": "LMS",
"hash_image": "e2764010ecd963bf965811cc64a9780a4ee58ee91f5437b17ff784c59ebda6d9"
},
{
"id": 2758,
"name": "LPLOL",
"hash_image": "831ee9ebc46215628dac0385ca0987dd8378193908ffeb52032d2b93b935ba8b"
},
{
"id": 2768,
"name": "LVP SLO",
"hash_image": "de2e68bfdd1234c349cdbcad8dd6ca06f11b1e5d3606dd01a717f3d10fc9092e"
},
{
"id": 2787,
"name": "Mid-Season Cup",
"hash_image": "f9a6a384c3ebdaecc9c3fe314f13ff0b7bf360ece69cffb0f56f71f148ba290f"
},
{
"id": 2795,
"name": "NA Academy",
"hash_image": "a8ca5cd0c4080aaa73a4700bff1f285bd94df649b4c8d1760dd62220ab78d9b6"
},
{
"id": 2808,
"name": "NA Challenger Series",
"hash_image": "159bfcb8d506096acdd3cf1c7df0a47a25dda9fc8739b78638e70af57137068c"
},
{
"id": 2822,
"name": "NA LCS",
"hash_image": "14901ea5924f48342fb4b40515eb8e727867cb654d402e7909e221a5837eeac8"
},
{
"id": 2839,
"name": "NA Scouting Grounds",
"hash_image": "25b551365e1c523f71e5a14c7a6cccf5b2d0c8fd2a208b3ce5313e656191cfe0"
},
{
"id": 2852,
"name": "NEST",
"hash_image": "e0acc64ae81d61e9e50c85c874f218a004c0acfee8fb010d8b1d42387026ded5"
},
{
"id": 2905,
"name": "NLC",
"hash_image": "9c742969c86d18de00acfe8ecd7f7b41f6219d90bcd2e33f11477b79a4833d75"
},
{
"id": 2923,
"name": "PG Nationals",
"hash_image": "5c509ee18d6917b68f90a6f2c154fc2a3ce53815d0e42e40b2c01f1ac031e50c"
},
{
"id": 2941,
"name": "Polska Liga Esportowa",
"hash_image": "e9f621d38bb3f4436065e86cd28c7466b1464354082dfe8d22c56a7ce9bd811d"
},
{
"id": 2965,
"name": "Prime League Pro Division",
"hash_image": "14b3dc7d2d3fb17b6efcbd57ebba7036684f123b144250fb288514bab8ea2a54"
},
{
"id": 2985,
"name": "Pulsefire Cup",
"hash_image": "0c907670d5b3b6b888223937c69993f8b7431ba34ec99a29b5561d5955ee5004"
},
{
"id": 3001,
"name": "Rift Rivals: CB vs. CLS vs. LLN",
"hash_image": "2deee20c3b52f64a1d7e4040c216ef66bcfb73bacf4b1da69afe6efdad3bae48"
},
{
"id": 3030,
"name": "Rift Rivals: GPL vs. LJL vs. OPL",
"hash_image": "8b1ce8a369b87086ebe0441c1168b7de647f48b869eab448cd98a44f0652d313"
},
{
"id": 3059,
"name": "Rift Rivals: LCK vs. LPL vs. LMS",
"hash_image": "5bb4b94df1b781ce5c1de9dd830f049af7fc990d70ab867755fc523659e20f9a"
},
{
"id": 3082,
"name": "Rift Rivals: LCK vs LPL vs LMS/VCS",
"hash_image": "67d96597848e9f29329b7b31c868b0b2ad3fc11e28bccc3b3d37ad57bd283271"
},
{
"id": 3105,
"name": "Rift Rivals: LCL vs. TCL",
"hash_image": "dd7b8b99d9a397cb0215c5afb55841dc3502f8dd0bbb6de7f036afc39a6ea663"
},
{
"id": 3132,
"name": "Rift Rivals: LCL vs. TCL vs. VCS",
"hash_image": "ca8e768d7ee7b452c395ed627c39680e0fd0d4cf99ae40fb1f4c575845ad0c74"
},
{
"id": 3156,
"name": "Rift Rivals: NA vs. EU",
"hash_image": "900a2d22ac096dea945a716a90d6de1ae01772da047de326e34ce1eaaed14010"
},
{
"id": 3179,
"name": "Torneo de Pre-Copa",
"hash_image": "06c8203f2dd4facbafc47bb21f9f9558e5771edfb4fc7542e47543dd4f463c1d"
},
{
"id": 3217,
"name": "Turkey Challenger Series",
"hash_image": "47b915dd41b3af3919f5c6689eac383ebd4fe7ab59485fdd2e89eabb0d48ec68"
},
{
"id": 3229,
"name": "Ultraliga",
"hash_image": "c050cc24cb4f7336bcf59d3acf4e5bfba2c918a049318f279076d5403d9366a9"
},
{
"id": 3254,
"name": "CBLOL Academy",
"hash_image": "d8195429359b0500f94e8af1a48bb21e20f9b0aef05517779add5550538ffb8f"
},
{
"id": 3269,
"name": "GPL",
"hash_image": "b26c8aef28c567528c49091e103307008f07ac9c57d951f4a7b27d8c6cde220f"
},
{
"id": 3284,
"name": "LCO",
"hash_image": "f56915de45d47bd28c9284fc97b7fee8dcf69560a81516712a8b3d1626409bea"
},
{
"id": 3304,
"name": "LCS Proving Grounds",
"hash_image": "95a6f01a57c34389771a1fae7cd676ffa8e35e92e60014336205488a714c10cb"
},
{
"id": 3339,
"name": "Karmine Corp vs Ibai Showmatch",
"hash_image": "234b2deaff7c8c57cd7e986676f71131fa3bc4045b2a41c059bba545bfef3ba7"
},
{
"id": 3355,
"name": "Elite Series",
"hash_image": "db4b32a10a84ec7dbb8b7d035630be9eb78c4c298afd1bee7bc7eb5bdd97a0e1"
},
{
"id": 3366,
"name": "GLL",
"hash_image": "2971d59d4d63371415bf0fcbd1df5280ac2f37064c774cd2c2e22e68216e643b"
},
{
"id": 3381,
"name": "LFL Division 2",
"hash_image": "ea8a7b54960c92a3b56209394cd719bb4c0076d938e28ec00303168cccaa051b"
},
{
"id": 3411,
"name": "Sea Games",
"hash_image": "d338f6ba2003f52ae7580448247a7a030ea18805ea351d7a80a8a798f4212556"
},
{
"id": 3421,
"name": "Division of honor",
"hash_image": "c5039cbf3e9679bedddbe0f9bcb08573b083a0f5d017e0a3ca13eec09b7da2cb"
},
{
"id": 3446,
"name": "LCK Academy Series",
"hash_image": "6612f1484a666f88f9306650bf5478a9b009f49aa8ff39836551841bd0ece728"
},
{
"id": 3464,
"name": "LMF",
"hash_image": "b76fc67f9bba8e28a967bb5608e5cb93b74210a8b5961c0788b1d31b728942d5"
},
{
"id": 3501,
"name": "Intel Arabian Cup",
"hash_image": "608e4760afe924369312d8d89f18fc18a69542f04876415d586ffb3d4557895f"
},
{
"id": 3561,
"name": "Entel Honor League",
"hash_image": "fa1f3a9cb4902c41b962cf38fe773796779ca11a2b7170ecee9b8de1190afee7"
},
{
"id": 3582,
"name": "Elements League",
"hash_image": "d6f29a62d3e23cdb3505867efc01b7bcaa7b5615091c8e7c85c8b286861c8a25"
},
{
"id": 3626,
"name": "Asia Star Challengers Invitational",
"hash_image": "e726a0f6c1a0d466794200b398d4186ec2618735ecde683765f6d2041918ceb5"
},
{
"id": 3649,
"name": "Arabian League",
"hash_image": "4c35de2e7eb996679079aa3cd8f95f53298f9d47ef51e2dff21db16ea10a5aee"
},
{
"id": 3673,
"name": "Asian Games",
"hash_image": "6cc36d469ecf106cee3776a29a696089f4bd81bea266ee5f1493912e88321e23"
},
{
"id": 3699,
"name": "Choque de Reinos",
"hash_image": "fff795e0f2f631aafbae898d5d6846fbb09a0d562ea880f67de9e479759b74ec"
},
{
"id": 3717,
"name": "Coupe de France",
"hash_image": "5081f5733f3fbd662223740065dc47329d8bb6cd09806b973c9bdaf0badf0032"
},
{
"id": 3738,
"name": "EMEA Masters",
"hash_image": "18733166229e4c9478541ad724a695953c549a2cdb7fa3af12ef170d9014ef46"
},
{
"id": 3761,
"name": "European Pro League",
"hash_image": "24fb29606e9b9843232830ed45091b8ce321d27e2a470b5b6ad1574656dcd4b5"
},
{
"id": 3819,
"name": "Ignis Cup",
"hash_image": "fada6b98fe5a587e1703add5a927f8cfb4cf2f8d08d683930ba9a659b2d99f99"
},
{
"id": 3838,
"name": "LA Comic Con Invitational",
"hash_image": "e307d4b9ba72b9d717b9e073ea1c7af74ebc6eb7052b813c8e646258af3da57b"
},
{
"id": 3854,
"name": "LVP SL 2nd Division",
"hash_image": "3deabe1aa46c8bb4d811e24fa3d3ed84726e07e71333f334ee0645b139aabcb5"
},
{
"id": 3861,
"name": "North American Challengers League",
"hash_image": "568b202953815c623064ceb40e1e8ae85f155efcd8a0c4cb0a4c47f9434e1398"
},
{
"id": 3874,
"name": "Prime League Super Cup",
"hash_image": "9957a572d8d2d6ce8a34611739c0b6b9352ad648e57a099a62d16a6a70eb4d18"
},
{
"id": 3898,
"name": "Prime Pokal",
"hash_image": "5d95bbb890b23df8ae103a98f75b2f293bbbe64f7b781ce22c07042fa018d70b"
},
{
"id": 3913,
"name": "Season Kickoff",
"hash_image": "33573617f18d87789376b24eae8928bbfb629f68da69d7c83beeea258ef4de23"
},
{
"id": 3929,
"name": "TCL Division 2",
"hash_image": "9f90391e266f0146d5cf3c75041205e5b64c0e818eb742cb12f1840c4ee77c3c"
},
{
"id": 3962,
"name": "Weibo Cup",
"hash_image": "6104c4ae1470f15e02f1c00b31990bab92b841080e75c04f802d382dfcb0b0e8"
},
{
"id": 8551,
"name": "MEG",
"hash_image": "473cc3d08be10b79b7b6bc886d88becdf517212897d8eb7d2daad1de69b57291"
},
{
"id": 14548,
"name": "Elite Series Benelux Masters",
"hash_image": "a940dc0a60df46954211e9403ba33b1f5ef103bf550aa4c36f99f930be992e4d"
},
{
"id": 15021,
"name": "Superdome",
"hash_image": "ccb582735156069453723714a9a682fecc5d338ba6e7485c943f19d8e853a046"
},
{
"id": 15022,
"name": "Esports Shanghai Masters",
"hash_image": "167e638033d80c91aebb39592651eef26145ec2bf04cb6c77ecc0139f54f2bf4"
},
{
"id": 15037,
"name": "Red Bull League of Its Own",
"hash_image": "66e2f949a68dfb2d0e271a65977749bfe5bbd9bfd122f907423518c4f0c9a069"
}
]
}
]