hhjfdgdfgdfg

hype

Apr 8th, 2024
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.23 KB | None | 0 0
  1. {
  2. "openapi": "3.0.3",
  3. "info": {
  4. "title": "Hypixel Public API",
  5. "x-logo": {
  6. "url": "https://api.hypixel.net/assets/images/logo.png",
  7. "altText": "Hypixel Logo",
  8. "href": "#"
  9. },
  10. "description": "# Introduction\nThis is the official Hypixel API documentation. [Hypixel Website](https://hypixel.net/) - [GitHub Repo](https://github.com/HypixelDev/PublicAPI) - [API Help Forum](https://hypixel.net/forums/api-help.111/)\n\nAll use of the API must conform to the [API policies](https://developer.hypixel.net/policies), violation of these policies may lead to applications being revoked or users banned from the API.\n## Limits\nAPI keys are limited to a maximum amount of requests per 5 minute intervals. These limits will depend on the type of application that the key is assigned to.\n\nEndpoints which require the use of an API key will also respond with headers to assist with managing the rate limit:\n- 'RateLimit-Limit' - The limit of requests per minute for the provided API key.\n- 'RateLimit-Remaining' - The remaining amount of requests allowed for the current minute.\n- 'RateLimit-Reset' - The amount of seconds until the next minute and the reset of the API key usages.\n\n## GameTypes\n| ID | Type Name | Database Name | Clean Name |\n |----|----------------|---------------|----------------------|\n | 2 | QUAKECRAFT | Quake | Quake |\n | 3 | WALLS | Walls | Walls |\n | 4 | PAINTBALL | Paintball | Paintball |\n | 5 | SURVIVAL_GAMES | HungerGames | Blitz Survival Games |\n | 6 | TNTGAMES | TNTGames | TNT Games |\n | 7 | VAMPIREZ | VampireZ | VampireZ |\n | 13 | WALLS3 | Walls3 | Mega Walls |\n | 14 | ARCADE | Arcade | Arcade |\n | 17 | ARENA | Arena | Arena |\n | 20 | UHC | UHC | UHC Champions |\n | 21 | MCGO | MCGO | Cops and Crims |\n | 23 | BATTLEGROUND | Battleground | Warlords |\n | 24 | SUPER_SMASH | SuperSmash | Smash Heroes |\n | 25 | GINGERBREAD | GingerBread | Turbo Kart Racers |\n | 26 | HOUSING | Housing | Housing |\n | 51 | SKYWARS | SkyWars | SkyWars |\n | 52 | TRUE_COMBAT | TrueCombat | Crazy Walls |\n | 54 | SPEED_UHC | SpeedUHC | Speed UHC |\n | 55 | SKYCLASH | SkyClash | SkyClash |\n | 56 | LEGACY | Legacy | Classic Games |\n | 57 | PROTOTYPE | Prototype | Prototype |\n | 58 | BEDWARS | Bedwars | Bed Wars |\n | 59 | MURDER_MYSTERY | MurderMystery | Murder Mystery |\n | 60 | BUILD_BATTLE | BuildBattle | Build Battle |\n | 61 | DUELS | Duels | Duels |\n | 63 | SKYBLOCK | SkyBlock | SkyBlock |\n | 64 | PIT | Pit | Pit |\n | 65 | REPLAY | Replay | Replay |\n | 67 | SMP | SMP | SMP |\n | 68 | WOOL_GAMES | WoolGames | Wool Wars |\n\n### Storage\nGames store their respective stats and data in a Player's `stats` collection. The game's specific data is held within a JSON object named after it's `Database Name` (seen above.)\n### GameType Notes\n* Clean names are what is displayed to the user when referencing the name.\n* Database names or IDs are used when the API references a specific GameType.\n## Notes\n\n### Date and Time\nGenerally dates are stored as a Unix Epoch times in milliseconds.\n### Response Format\nResponses are served in JSON format.\n### UUID Parameters\nAll uuid parameters support both dashed and undashed versions.\n### SkyBlock items and inventories\nItems and inventory data are stored as a base64 encoded string containing gzipped nbt data.\nIf a method is missing important information about an item or inventory, you should try checking this!\n>Note: the base64 string may contain a unicode escape for non-alphabetical symbols, and some programming languages may have silent defects when interpreting the string. \n\n# Authentication\n\n<!-- ReDoc-Inject: <security-definitions> -->",
  11. "version": "v2",
  12. "termsOfService": "https://hypixel.net/tos",
  13. "contact": {
  14. "name": "Hypixel Support",
  15. "url": "https://developer.hypixel.net"
  16. }
  17. },
  18. "servers": [
  19. {
  20. "url": "https://api.hypixel.net"
  21. }
  22. ],
  23. "components": {
  24. "securitySchemes": {
  25. "ApiKey": {
  26. "type": "apiKey",
  27. "in": "header",
  28. "name": "API-Key",
  29. "description": "Obtained via the [Hypixel Developer Dashboard](https://developer.hypixel.net) when creating an application. You can also request higher limits for production applications in this dashboard."
  30. }
  31. },
  32. "responses": {
  33. "DataMissing": {
  34. "description": "Some data is missing, this is usually a field.",
  35. "content": {
  36. "application/json": {
  37. "schema": {
  38. "type": "object",
  39. "properties": {
  40. "success": {
  41. "type": "boolean",
  42. "example": false
  43. },
  44. "cause": {
  45. "type": "string",
  46. "example": "Missing one or more fields [...]"
  47. }
  48. }
  49. }
  50. }
  51. }
  52. },
  53. "InvalidKey": {
  54. "description": "Access is forbidden, usually due to an invalid API key being used.",
  55. "content": {
  56. "application/json": {
  57. "schema": {
  58. "type": "object",
  59. "properties": {
  60. "success": {
  61. "type": "boolean",
  62. "example": false
  63. },
  64. "cause": {
  65. "type": "string",
  66. "example": "Invalid API key"
  67. }
  68. }
  69. }
  70. }
  71. }
  72. },
  73. "RateLimited": {
  74. "description": "A request limit has been reached, usually this is due to the limit on the key being reached but can also be triggered by a global throttle.",
  75. "content": {
  76. "application/json": {
  77. "schema": {
  78. "type": "object",
  79. "properties": {
  80. "success": {
  81. "type": "boolean",
  82. "example": false
  83. },
  84. "cause": {
  85. "type": "string",
  86. "example": "Key throttle"
  87. },
  88. "throttle": {
  89. "type": "boolean",
  90. "example": true
  91. },
  92. "global": {
  93. "type": "boolean",
  94. "description": "When this boolean exists and is true, the throttle occurring is a global throttle applied to all users",
  95. "example": true
  96. }
  97. }
  98. }
  99. }
  100. }
  101. },
  102. "InvalidPage": {
  103. "description": "The page provided is invalid.",
  104. "content": {
  105. "application/json": {
  106. "schema": {
  107. "type": "object",
  108. "properties": {
  109. "success": {
  110. "type": "boolean",
  111. "example": false
  112. },
  113. "cause": {
  114. "type": "string",
  115. "example": "Invalid page"
  116. }
  117. }
  118. }
  119. }
  120. }
  121. },
  122. "MissingPage": {
  123. "description": "The page provided does not exist.",
  124. "content": {
  125. "application/json": {
  126. "schema": {
  127. "type": "object",
  128. "properties": {
  129. "success": {
  130. "type": "boolean",
  131. "example": false
  132. },
  133. "cause": {
  134. "type": "string",
  135. "example": "Page not found"
  136. }
  137. }
  138. }
  139. }
  140. }
  141. },
  142. "MalformedData": {
  143. "description": "Some data provided is invalid.",
  144. "content": {
  145. "application/json": {
  146. "schema": {
  147. "type": "object",
  148. "properties": {
  149. "success": {
  150. "type": "boolean",
  151. "example": false
  152. },
  153. "cause": {
  154. "type": "string",
  155. "example": "Malformed UUID"
  156. }
  157. }
  158. }
  159. }
  160. }
  161. },
  162. "NotPopulated": {
  163. "description": "The data is not yet populated and should be available shortly",
  164. "content": {
  165. "application/json": {
  166. "schema": {
  167. "type": "object",
  168. "properties": {
  169. "success": {
  170. "type": "boolean",
  171. "example": false
  172. },
  173. "cause": {
  174. "type": "string",
  175. "example": "Leaderboard data has not yet been populated"
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }
  182. },
  183. "schemas": {
  184. "Booster": {
  185. "properties": {
  186. "_id": {
  187. "type": "string",
  188. "format": "objectid"
  189. },
  190. "purchaserUuid": {
  191. "type": "string",
  192. "format": "uuid",
  193. "example": "ad8fefaa8351454bb739a4eaa872173f"
  194. },
  195. "amount": {
  196. "type": "number"
  197. },
  198. "originalLength": {
  199. "type": "integer"
  200. },
  201. "length": {
  202. "type": "integer"
  203. },
  204. "gameType": {
  205. "type": "integer"
  206. },
  207. "dateActivated": {
  208. "type": "integer",
  209. "format": "int64"
  210. }
  211. }
  212. },
  213. "ActiveBooster": {
  214. "allOf": [
  215. {
  216. "$ref": "#/components/schemas/Booster"
  217. },
  218. {
  219. "type": "object",
  220. "properties": {
  221. "stacked": {
  222. "type": "array",
  223. "nullable": true,
  224. "items": {
  225. "type": "string",
  226. "description": "UUID of the player in a dashed format",
  227. "format": "uuid",
  228. "example": "ad8fefaa-8351-454b-b739-a4eaa872173f"
  229. }
  230. }
  231. }
  232. }
  233. ]
  234. },
  235. "QueuedBooster": {
  236. "allOf": [
  237. {
  238. "$ref": "#/components/schemas/Booster"
  239. },
  240. {
  241. "type": "object",
  242. "properties": {
  243. "stacked": {
  244. "type": "boolean",
  245. "nullable": true
  246. }
  247. }
  248. }
  249. ]
  250. },
  251. "SkyBlockAuction": {
  252. "properties": {
  253. "_id": {
  254. "type": "string",
  255. "format": "objectid"
  256. },
  257. "uuid": {
  258. "type": "string",
  259. "format": "uuid"
  260. },
  261. "auctioneer": {
  262. "type": "string",
  263. "format": "uuid"
  264. },
  265. "profile_id": {
  266. "type": "string",
  267. "format": "uuid"
  268. },
  269. "coop": {
  270. "type": "array",
  271. "items": {
  272. "type": "string",
  273. "format": "uuid"
  274. }
  275. },
  276. "start": {
  277. "type": "number",
  278. "format": "int64"
  279. },
  280. "end": {
  281. "type": "number",
  282. "format": "int64"
  283. },
  284. "item_name": {
  285. "type": "string"
  286. },
  287. "item_lore": {
  288. "type": "string"
  289. },
  290. "extra": {
  291. "type": "string"
  292. },
  293. "category": {
  294. "type": "string"
  295. },
  296. "tier": {
  297. "type": "string"
  298. },
  299. "starting_bid": {
  300. "type": "number"
  301. },
  302. "item_bytes": {
  303. "type": "object",
  304. "properties": {
  305. "type": {
  306. "type": "number"
  307. },
  308. "data": {
  309. "type": "string"
  310. }
  311. }
  312. },
  313. "claimed": {
  314. "type": "boolean"
  315. },
  316. "claimed_bidders": {
  317. "type": "array"
  318. },
  319. "highest_bid_amount": {
  320. "type": "number"
  321. },
  322. "bids": {
  323. "type": "array",
  324. "items": {
  325. "type": "object",
  326. "properties": {
  327. "auction_id": {
  328. "type": "string",
  329. "format": "uuid"
  330. },
  331. "bidder": {
  332. "type": "string",
  333. "format": "uuid"
  334. },
  335. "profile_id": {
  336. "type": "string",
  337. "format": "uuid"
  338. },
  339. "amount": {
  340. "type": "number"
  341. },
  342. "timestamp": {
  343. "type": "number",
  344. "format": "int64"
  345. }
  346. }
  347. }
  348. }
  349. },
  350. "example": {
  351. "uuid": "409a1e0f261a49849493278d6cd9305a",
  352. "auctioneer": "347ef6c1daac45ed9d1fa02818cf0fb6",
  353. "profile_id": "347ef6c1daac45ed9d1fa02818cf0fb6",
  354. "coop": [
  355. "347ef6c1daac45ed9d1fa02818cf0fb6"
  356. ],
  357. "start": 1573760802637,
  358. "end": 1573761102637,
  359. "item_name": "Azure Bluet",
  360. "item_lore": "§f§lCOMMON",
  361. "extra": "Azure Bluet Red Rose",
  362. "category": "blocks",
  363. "tier": "COMMON",
  364. "starting_bid": 1,
  365. "item_bytes": {
  366. "type": 0,
  367. "data": "H4sIAAAAAAAAAB2NQQqCQBhGv1ErHaKu0KoLtGtnarRIhTpA/OGfDIwZ4wxUF/IeHiyyto/3eBKIIJQEIDx4qsJaYJK07m6FhG+p9hEdVMV7TXU3Wh+JWaW6h6ZXhODYGg5/LeZDfxt6nZR5XhYhgoIaxmKE8dsZXu20YwuJZfa0hmJrjbo6y134f8pTll5O5TnbbgAP05Qaqhk+8AVIrd2eoAAAAA=="
  368. },
  369. "claimed": true,
  370. "claimed_bidders": [],
  371. "highest_bid_amount": 7607533,
  372. "bids": [
  373. {
  374. "auction_id": "409a1e0f261a49849493278d6cd9305a",
  375. "bidder": "99748e629dee463892f68abf3a780094",
  376. "profile_id": "99748e629dee463892f68abf3a780094",
  377. "amount": 7607533,
  378. "timestamp": 1573760824844
  379. }
  380. ]
  381. }
  382. },
  383. "SkyBlockProfile": {
  384. "properties": {
  385. "profile_id": {
  386. "type": "string",
  387. "format": "uuid"
  388. },
  389. "members": {
  390. "description": "A map of member UUIDs to member profiles objects",
  391. "type": "object",
  392. "properties": {
  393. "player_id": {
  394. "type": "string",
  395. "format": "uuid"
  396. },
  397. "profile": {
  398. "type": "object",
  399. "properties": {
  400. "deletion_notice": {
  401. "description": "If this field exists, the member profile is marked as deleted",
  402. "nullable": true,
  403. "type": "object",
  404. "properties": {
  405. "timestamp": {
  406. "type": "integer",
  407. "format": "int64"
  408. }
  409. }
  410. }
  411. }
  412. }
  413. }
  414. },
  415. "cute_name": {
  416. "description": "The cute name of the profile, only provided on the profiles endpoint",
  417. "nullable": true,
  418. "type": "string"
  419. },
  420. "selected": {
  421. "description": "Whether or not this is the currently selected profile, only provided on the profiles endpoint",
  422. "nullable": true,
  423. "type": "boolean"
  424. },
  425. "community_upgrades": {
  426. "nullable": true,
  427. "type": "object"
  428. },
  429. "banking": {
  430. "description": "Information about the bank account for this profile, only present if the API banking setting is enabled",
  431. "nullable": true,
  432. "type": "object",
  433. "properties": {
  434. "balance": {
  435. "type": "number",
  436. "format": "double"
  437. },
  438. "transactions": {
  439. "type": "array",
  440. "items": {
  441. "type": "object",
  442. "properties": {
  443. "timestamp": {
  444. "type": "integer",
  445. "format": "int64"
  446. },
  447. "action": {
  448. "type": "string",
  449. "enum": [
  450. "DEPOSIT",
  451. "WITHDRAW"
  452. ]
  453. },
  454. "initiator_name": {
  455. "type": "string"
  456. },
  457. "amount": {
  458. "type": "number",
  459. "format": "double"
  460. }
  461. }
  462. }
  463. }
  464. }
  465. },
  466. "game_mode": {
  467. "description": "The SkyBlock game mode of the profile, not present if normal mode",
  468. "nullable": true,
  469. "type": "string",
  470. "enum": [
  471. "ironman",
  472. "island",
  473. "bingo"
  474. ]
  475. }
  476. }
  477. },
  478. "SkyBlockItem": {
  479. "properties": {
  480. "id": {
  481. "description": "The unique identifier for this item",
  482. "type": "string"
  483. },
  484. "material": {
  485. "description": "The Bukkit material enum value for the item",
  486. "type": "string"
  487. },
  488. "name": {
  489. "description": "The name of the item",
  490. "type": "string"
  491. },
  492. "tier": {
  493. "description": "The rarity tier of the item",
  494. "type": "string",
  495. "enum": [
  496. "COMMON",
  497. "UNCOMMON",
  498. "RARE",
  499. "EPIC",
  500. "LEGENDARY",
  501. "MYTHIC",
  502. "SUPREME",
  503. "SPECIAL",
  504. "VERY_SPECIAL"
  505. ]
  506. },
  507. "color": {
  508. "description": "The color metadata to be applied to an item, usually leather armor pieces",
  509. "pattern": "^(?:(?:^|,\\s*)([01]?\\d\\d?|2[0-4]\\d|25[0-5])){3}$",
  510. "type": "string"
  511. },
  512. "skin": {
  513. "description": "The skin value for a skull based item",
  514. "type": "string"
  515. }
  516. },
  517. "example": {
  518. "material": "LEATHER_CHESTPLATE",
  519. "color": "255,215,0",
  520. "name": "Farm Armor Chestplate",
  521. "category": "CHESTPLATE",
  522. "tier": "RARE",
  523. "stats": {
  524. "DEFENSE": 75,
  525. "HEALTH": 20
  526. },
  527. "npc_sell_price": 5200,
  528. "id": "FARM_ARMOR_CHESTPLATE"
  529. }
  530. },
  531. "SkyBlockMuseum": {
  532. "properties": {
  533. "value": {
  534. "type": "integer",
  535. "format": "int64"
  536. },
  537. "appraisal": {
  538. "type": "boolean"
  539. },
  540. "items": {
  541. "type": "object"
  542. },
  543. "special": {
  544. "type": "array",
  545. "properties": {
  546. "donated_time": {
  547. "type": "integer",
  548. "format": "int64"
  549. },
  550. "items": {
  551. "type": "object"
  552. }
  553. }
  554. }
  555. }
  556. },
  557. "Game": {
  558. "description": "Information about a specific game. When a field is not present you should fallback to the provided default if there is one, required fields will always exist.",
  559. "required": [
  560. "id",
  561. "name",
  562. "databaseName"
  563. ],
  564. "properties": {
  565. "id": {
  566. "type": "integer",
  567. "description": "The backend ID of the game.",
  568. "example": 1
  569. },
  570. "name": {
  571. "type": "string",
  572. "description": "The display name of the game.",
  573. "example": "Bed Wars"
  574. },
  575. "databaseName": {
  576. "type": "string",
  577. "description": "The key used for database storage, such as for stats.",
  578. "example": "Bedwars"
  579. },
  580. "modeNames": {
  581. "type": "object",
  582. "description": "A map of mode key to display name",
  583. "example": {
  584. "solo_normal": "Solo",
  585. "team_normal": "Doubles"
  586. }
  587. },
  588. "retired": {
  589. "type": "boolean",
  590. "description": "True if the game is retired and no longer playable.",
  591. "default": false
  592. },
  593. "legacy": {
  594. "type": "boolean",
  595. "description": "True if the game is legacy and part of the Classic Lobby.",
  596. "default": false
  597. }
  598. },
  599. "example": {
  600. "id": 58,
  601. "name": "Bed Wars",
  602. "databaseName": "Bedwars",
  603. "modeNames": {
  604. "BEDWARS_TWO_FOUR": "4v4",
  605. "BEDWARS_EIGHT_ONE": "Solo"
  606. }
  607. }
  608. },
  609. "SkyBlockFireSale": {
  610. "properties": {
  611. "item_id": {
  612. "description": "The SkyBlock item ID for this sale",
  613. "type": "string"
  614. },
  615. "start": {
  616. "description": "The start time in unix milliseconds for the sale",
  617. "type": "number"
  618. },
  619. "end": {
  620. "description": "The end time in unix milliseconds for the sale",
  621. "type": "number"
  622. },
  623. "amount": {
  624. "description": "The amount of items available for this sale",
  625. "type": "integer"
  626. },
  627. "price": {
  628. "description": "The price in Gems for this sale",
  629. "type": "integer"
  630. }
  631. }
  632. }
  633. }
  634. },
  635. "paths": {
  636. "/v2/player": {
  637. "get": {
  638. "summary": "Data of a specific player, including game stats",
  639. "tags": [
  640. "Player Data"
  641. ],
  642. "security": [
  643. {
  644. "ApiKey": []
  645. }
  646. ],
  647. "parameters": [
  648. {
  649. "in": "query",
  650. "name": "uuid",
  651. "schema": {
  652. "type": "string"
  653. },
  654. "required": true
  655. }
  656. ],
  657. "responses": {
  658. "200": {
  659. "description": "Get player's data",
  660. "content": {
  661. "application/json": {
  662. "schema": {
  663. "type": "object",
  664. "properties": {
  665. "success": {
  666. "type": "boolean",
  667. "example": true
  668. },
  669. "player": {
  670. "type": "object",
  671. "properties": {
  672. "uuid": {
  673. "type": "string",
  674. "example": "3fa85f6457174562b3fc2c963f66afa6"
  675. },
  676. "displayname": {
  677. "type": "string",
  678. "nullable": true
  679. },
  680. "rank": {
  681. "type": "string",
  682. "nullable": true,
  683. "enum": [
  684. "ADMIN",
  685. "MODERATOR",
  686. "HELPER",
  687. "NORMAL"
  688. ]
  689. },
  690. "packageRank": {
  691. "type": "string",
  692. "nullable": true,
  693. "enum": [
  694. "MVP_PLUS",
  695. "MVP",
  696. "VIP_PLUS",
  697. "VIP",
  698. "NONE"
  699. ]
  700. },
  701. "newPackageRank": {
  702. "type": "string",
  703. "nullable": true,
  704. "enum": [
  705. "MVP_PLUS",
  706. "MVP",
  707. "VIP_PLUS",
  708. "VIP",
  709. "NONE"
  710. ]
  711. },
  712. "monthlyPackageRank": {
  713. "type": "string",
  714. "nullable": true,
  715. "enum": [
  716. "SUPERSTAR",
  717. "NONE"
  718. ]
  719. },
  720. "firstLogin": {
  721. "type": "number",
  722. "nullable": true
  723. },
  724. "lastLogin": {
  725. "type": "number",
  726. "nullable": true
  727. },
  728. "lastLogout": {
  729. "type": "number",
  730. "nullable": true
  731. },
  732. "stats": {
  733. "type": "object",
  734. "nullable": true
  735. }
  736. }
  737. }
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "400": {
  744. "$ref": "#/components/responses/DataMissing"
  745. },
  746. "403": {
  747. "$ref": "#/components/responses/InvalidKey"
  748. },
  749. "429": {
  750. "$ref": "#/components/responses/RateLimited"
  751. }
  752. }
  753. }
  754. },
  755. "/v2/recentgames": {
  756. "get": {
  757. "summary": "The recently played games of a specific player",
  758. "tags": [
  759. "Player Data"
  760. ],
  761. "security": [
  762. {
  763. "ApiKey": []
  764. }
  765. ],
  766. "parameters": [
  767. {
  768. "in": "query",
  769. "name": "uuid",
  770. "schema": {
  771. "type": "string"
  772. },
  773. "required": true
  774. }
  775. ],
  776. "responses": {
  777. "200": {
  778. "description": "Get player's recent game",
  779. "content": {
  780. "application/json": {
  781. "schema": {
  782. "type": "object",
  783. "properties": {
  784. "success": {
  785. "type": "boolean"
  786. },
  787. "uuid": {
  788. "type": "string",
  789. "format": "uuid"
  790. },
  791. "games": {
  792. "type": "array",
  793. "items": {
  794. "type": "object",
  795. "properties": {
  796. "date": {
  797. "type": "number",
  798. "format": "int64"
  799. },
  800. "gameType": {
  801. "type": "string"
  802. },
  803. "mode": {
  804. "type": "string"
  805. },
  806. "map": {
  807. "type": "string"
  808. },
  809. "ended": {
  810. "type": "number",
  811. "format": "int64"
  812. }
  813. }
  814. }
  815. }
  816. }
  817. }
  818. }
  819. }
  820. },
  821. "400": {
  822. "$ref": "#/components/responses/DataMissing"
  823. },
  824. "403": {
  825. "$ref": "#/components/responses/InvalidKey"
  826. },
  827. "422": {
  828. "$ref": "#/components/responses/MalformedData"
  829. },
  830. "429": {
  831. "$ref": "#/components/responses/RateLimited"
  832. }
  833. }
  834. }
  835. },
  836. "/v2/status": {
  837. "get": {
  838. "summary": "The current online status of a specific player",
  839. "tags": [
  840. "Player Data"
  841. ],
  842. "security": [
  843. {
  844. "ApiKey": []
  845. }
  846. ],
  847. "parameters": [
  848. {
  849. "in": "query",
  850. "name": "uuid",
  851. "schema": {
  852. "type": "string"
  853. },
  854. "required": true
  855. }
  856. ],
  857. "responses": {
  858. "200": {
  859. "description": "Get player status",
  860. "content": {
  861. "application/json": {
  862. "schema": {
  863. "type": "object",
  864. "properties": {
  865. "success": {
  866. "type": "boolean"
  867. },
  868. "uuid": {
  869. "type": "string",
  870. "format": "uuid",
  871. "example": "ad8fefaa8351454bb739a4eaa872173f"
  872. },
  873. "session": {
  874. "type": "object",
  875. "properties": {
  876. "online": {
  877. "type": "boolean"
  878. },
  879. "gameType": {
  880. "type": "string"
  881. },
  882. "mode": {
  883. "type": "string"
  884. },
  885. "map": {
  886. "type": "string"
  887. }
  888. }
  889. }
  890. }
  891. }
  892. }
  893. }
  894. },
  895. "400": {
  896. "$ref": "#/components/responses/DataMissing"
  897. },
  898. "403": {
  899. "$ref": "#/components/responses/InvalidKey"
  900. },
  901. "429": {
  902. "$ref": "#/components/responses/RateLimited"
  903. }
  904. }
  905. }
  906. },
  907. "/v2/guild": {
  908. "get": {
  909. "summary": "Retrieve a Guild by a player, id, or name",
  910. "tags": [
  911. "Player Data"
  912. ],
  913. "security": [
  914. {
  915. "ApiKey": []
  916. }
  917. ],
  918. "parameters": [
  919. {
  920. "in": "query",
  921. "name": "id",
  922. "schema": {
  923. "type": "string",
  924. "format": "objectid"
  925. }
  926. },
  927. {
  928. "in": "query",
  929. "name": "player",
  930. "schema": {
  931. "type": "string",
  932. "format": "uuid"
  933. }
  934. },
  935. {
  936. "in": "query",
  937. "name": "name",
  938. "schema": {
  939. "type": "string"
  940. }
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "Get guild information",
  946. "content": {
  947. "application/json": {
  948. "schema": {
  949. "type": "object",
  950. "properties": {
  951. "success": {
  952. "type": "boolean"
  953. },
  954. "guild": {
  955. "type": "object"
  956. }
  957. }
  958. }
  959. }
  960. }
  961. },
  962. "400": {
  963. "$ref": "#/components/responses/DataMissing"
  964. },
  965. "403": {
  966. "$ref": "#/components/responses/InvalidKey"
  967. },
  968. "429": {
  969. "$ref": "#/components/responses/RateLimited"
  970. }
  971. }
  972. }
  973. },
  974. "/v2/resources/games": {
  975. "get": {
  976. "summary": "Game Information",
  977. "description": "Returns information about Hypixel Games. This endpoint is in early development and we are working to add more information when possible <a href=\"https://github.com/HypixelDev/PublicAPI/discussions/197#discussioncomment-1047648\">HypixelDev/PublicAPI#197</a>",
  978. "tags": [
  979. "Resources"
  980. ],
  981. "responses": {
  982. "200": {
  983. "description": "A successful response",
  984. "content": {
  985. "application/json": {
  986. "schema": {
  987. "type": "object",
  988. "properties": {
  989. "success": {
  990. "type": "boolean"
  991. },
  992. "lastUpdated": {
  993. "type": "number"
  994. },
  995. "games": {
  996. "type": "object",
  997. "description": "A map where the key is the backend name of the game",
  998. "additionalProperties": {
  999. "$ref": "#/components/schemas/Game"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. }
  1005. }
  1006. }
  1007. }
  1008. }
  1009. },
  1010. "/v2/resources/achievements": {
  1011. "get": {
  1012. "summary": "Achievements",
  1013. "tags": [
  1014. "Resources"
  1015. ],
  1016. "responses": {
  1017. "200": {
  1018. "description": "A successful response",
  1019. "content": {
  1020. "application/json": {
  1021. "schema": {
  1022. "type": "object",
  1023. "properties": {
  1024. "success": {
  1025. "type": "boolean"
  1026. },
  1027. "lastUpdated": {
  1028. "type": "number"
  1029. },
  1030. "achievements": {
  1031. "type": "object"
  1032. }
  1033. }
  1034. }
  1035. }
  1036. }
  1037. }
  1038. }
  1039. }
  1040. },
  1041. "/v2/resources/challenges": {
  1042. "get": {
  1043. "summary": "Challenges",
  1044. "tags": [
  1045. "Resources"
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "A successful response",
  1050. "content": {
  1051. "application/json": {
  1052. "schema": {
  1053. "type": "object",
  1054. "properties": {
  1055. "success": {
  1056. "type": "boolean"
  1057. },
  1058. "lastUpdated": {
  1059. "type": "number"
  1060. },
  1061. "challenges": {
  1062. "type": "object"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. }
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "/v2/resources/quests": {
  1073. "get": {
  1074. "summary": "Quests",
  1075. "tags": [
  1076. "Resources"
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "A successful response",
  1081. "content": {
  1082. "application/json": {
  1083. "schema": {
  1084. "type": "object",
  1085. "properties": {
  1086. "success": {
  1087. "type": "boolean"
  1088. },
  1089. "lastUpdated": {
  1090. "type": "number"
  1091. },
  1092. "quests": {
  1093. "type": "object"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. }
  1099. }
  1100. }
  1101. }
  1102. },
  1103. "/v2/resources/guilds/achievements": {
  1104. "get": {
  1105. "summary": "Guild Achievements",
  1106. "tags": [
  1107. "Resources"
  1108. ],
  1109. "responses": {
  1110. "200": {
  1111. "description": "A successful response",
  1112. "content": {
  1113. "application/json": {
  1114. "schema": {
  1115. "type": "object",
  1116. "properties": {
  1117. "success": {
  1118. "type": "boolean"
  1119. },
  1120. "lastUpdated": {
  1121. "type": "number"
  1122. },
  1123. "one_time": {
  1124. "type": "object"
  1125. },
  1126. "tiered": {
  1127. "type": "object"
  1128. }
  1129. }
  1130. }
  1131. }
  1132. }
  1133. }
  1134. }
  1135. }
  1136. },
  1137. "/v2/resources/vanity/pets": {
  1138. "get": {
  1139. "summary": "Vanity Pets",
  1140. "tags": [
  1141. "Resources"
  1142. ],
  1143. "responses": {
  1144. "200": {
  1145. "description": "A successful response",
  1146. "content": {
  1147. "application/json": {
  1148. "schema": {
  1149. "type": "object",
  1150. "properties": {
  1151. "success": {
  1152. "type": "boolean"
  1153. },
  1154. "lastUpdated": {
  1155. "type": "number"
  1156. },
  1157. "types": {
  1158. "type": "object"
  1159. },
  1160. "rarities": {
  1161. "type": "object"
  1162. }
  1163. }
  1164. }
  1165. }
  1166. }
  1167. }
  1168. }
  1169. }
  1170. },
  1171. "/v2/resources/vanity/companions": {
  1172. "get": {
  1173. "summary": "Vanity Companions",
  1174. "tags": [
  1175. "Resources"
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "A successful response",
  1180. "content": {
  1181. "application/json": {
  1182. "schema": {
  1183. "type": "object",
  1184. "properties": {
  1185. "success": {
  1186. "type": "boolean"
  1187. },
  1188. "lastUpdated": {
  1189. "type": "number"
  1190. },
  1191. "types": {
  1192. "type": "object"
  1193. },
  1194. "rarities": {
  1195. "type": "object"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. }
  1201. }
  1202. }
  1203. }
  1204. },
  1205. "/v2/resources/skyblock/collections": {
  1206. "get": {
  1207. "summary": "Collections",
  1208. "description": "Information regarding Collections in the SkyBlock game.",
  1209. "tags": [
  1210. "SkyBlock"
  1211. ],
  1212. "responses": {
  1213. "200": {
  1214. "description": "A successful response",
  1215. "content": {
  1216. "application/json": {
  1217. "schema": {
  1218. "type": "object",
  1219. "properties": {
  1220. "success": {
  1221. "type": "boolean"
  1222. },
  1223. "lastUpdated": {
  1224. "type": "number"
  1225. },
  1226. "version": {
  1227. "type": "string",
  1228. "example": "0.11.22"
  1229. },
  1230. "collections": {
  1231. "type": "object"
  1232. }
  1233. }
  1234. }
  1235. }
  1236. }
  1237. }
  1238. }
  1239. }
  1240. },
  1241. "/v2/resources/skyblock/skills": {
  1242. "get": {
  1243. "summary": "Skills",
  1244. "description": "Information regarding skills in the SkyBlock game.",
  1245. "tags": [
  1246. "SkyBlock"
  1247. ],
  1248. "responses": {
  1249. "200": {
  1250. "description": "A successful response",
  1251. "content": {
  1252. "application/json": {
  1253. "schema": {
  1254. "type": "object",
  1255. "properties": {
  1256. "success": {
  1257. "type": "boolean"
  1258. },
  1259. "lastUpdated": {
  1260. "type": "number"
  1261. },
  1262. "version": {
  1263. "type": "string",
  1264. "example": "0.11.22"
  1265. },
  1266. "skills": {
  1267. "type": "object"
  1268. }
  1269. }
  1270. }
  1271. }
  1272. }
  1273. }
  1274. }
  1275. }
  1276. },
  1277. "/v2/resources/skyblock/items": {
  1278. "get": {
  1279. "summary": "Items",
  1280. "description": "Information regarding items in the SkyBlock game.",
  1281. "tags": [
  1282. "SkyBlock"
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "A successful response",
  1287. "content": {
  1288. "application/json": {
  1289. "schema": {
  1290. "type": "object",
  1291. "properties": {
  1292. "success": {
  1293. "type": "boolean"
  1294. },
  1295. "lastUpdated": {
  1296. "type": "number"
  1297. },
  1298. "items": {
  1299. "type": "array",
  1300. "items": {
  1301. "$ref": "#/components/schemas/SkyBlockItem"
  1302. }
  1303. }
  1304. }
  1305. }
  1306. }
  1307. }
  1308. }
  1309. }
  1310. }
  1311. },
  1312. "/v2/resources/skyblock/election": {
  1313. "get": {
  1314. "summary": "Election and Mayor",
  1315. "description": "Information regarding the current mayor and ongoing election in SkyBlock.",
  1316. "tags": [
  1317. "SkyBlock"
  1318. ],
  1319. "responses": {
  1320. "200": {
  1321. "description": "A successful response",
  1322. "content": {
  1323. "application/json": {
  1324. "schema": {
  1325. "type": "object",
  1326. "properties": {
  1327. "success": {
  1328. "type": "boolean"
  1329. },
  1330. "lastUpdated": {
  1331. "type": "number"
  1332. },
  1333. "mayor": {
  1334. "type": "object",
  1335. "description": "Data regarding the current mayor"
  1336. },
  1337. "current": {
  1338. "type": "object",
  1339. "description": "Data regarding the current election, will not be provided if there is no open election ongoing"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. }
  1345. }
  1346. }
  1347. }
  1348. },
  1349. "/v2/resources/skyblock/bingo": {
  1350. "get": {
  1351. "summary": "Current Bingo Event",
  1352. "description": "Information regarding the current bingo event and its goals.",
  1353. "tags": [
  1354. "SkyBlock"
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "A successful response",
  1359. "content": {
  1360. "application/json": {
  1361. "schema": {
  1362. "type": "object",
  1363. "required": [
  1364. "success",
  1365. "lastUpdated",
  1366. "id",
  1367. "name",
  1368. "start",
  1369. "end",
  1370. "modifier",
  1371. "goals"
  1372. ],
  1373. "properties": {
  1374. "success": {
  1375. "type": "boolean"
  1376. },
  1377. "lastUpdated": {
  1378. "type": "number",
  1379. "format": "int64",
  1380. "description": "The unix milliseconds timestamp of the last time this data was updated"
  1381. },
  1382. "id": {
  1383. "type": "number",
  1384. "format": "int32",
  1385. "description": "The current bingo event ID, increments by 1 for each bingo hosted",
  1386. "example": 27
  1387. },
  1388. "name": {
  1389. "type": "string",
  1390. "description": "The display name for the current bingo event",
  1391. "example": "March 2024"
  1392. },
  1393. "start": {
  1394. "type": "number",
  1395. "format": "int64",
  1396. "description": "The start time of the current bingo event in unix milliseconds",
  1397. "example": 1709269200000
  1398. },
  1399. "end": {
  1400. "type": "number",
  1401. "format": "int64",
  1402. "description": "The end time of the current bingo event in unix milliseconds",
  1403. "example": 1709874000000
  1404. },
  1405. "modifier": {
  1406. "type": "string",
  1407. "enum": [
  1408. "NORMAL",
  1409. "EXTREME",
  1410. "SECRET"
  1411. ],
  1412. "description": "The modifier for the current bingo event",
  1413. "example": "NORMAL"
  1414. },
  1415. "goals": {
  1416. "type": "array",
  1417. "description": "The goals for the current bingo event, as well as their progress",
  1418. "items": {
  1419. "type": "object",
  1420. "required": [
  1421. "id",
  1422. "name"
  1423. ],
  1424. "properties": {
  1425. "id": {
  1426. "description": "The backend ID for this goal",
  1427. "type": "string"
  1428. },
  1429. "name": {
  1430. "description": "The user friendly display name for this goal",
  1431. "type": "string"
  1432. },
  1433. "lore": {
  1434. "description": "Description of this goal",
  1435. "type": "string"
  1436. },
  1437. "fullLore": {
  1438. "description": "The full description of this goal",
  1439. "type": "array"
  1440. },
  1441. "tiers": {
  1442. "description": "The tiers of this goal, if a global goal",
  1443. "type": "array",
  1444. "items": {
  1445. "type": "number",
  1446. "format": "int64"
  1447. }
  1448. },
  1449. "progress": {
  1450. "description": "The global progress of this goal",
  1451. "type": "number",
  1452. "format": "int64"
  1453. },
  1454. "requiredAmount": {
  1455. "description": "The required amount for this specific goal",
  1456. "type": "number",
  1457. "format": "int32"
  1458. }
  1459. }
  1460. }
  1461. }
  1462. }
  1463. }
  1464. }
  1465. }
  1466. }
  1467. }
  1468. }
  1469. },
  1470. "/v2/skyblock/news": {
  1471. "get": {
  1472. "summary": "News",
  1473. "tags": [
  1474. "SkyBlock"
  1475. ],
  1476. "security": [
  1477. {
  1478. "ApiKey": []
  1479. }
  1480. ],
  1481. "responses": {
  1482. "200": {
  1483. "description": "A successful response",
  1484. "content": {
  1485. "application/json": {
  1486. "schema": {
  1487. "type": "object",
  1488. "properties": {
  1489. "success": {
  1490. "type": "boolean"
  1491. },
  1492. "items": {
  1493. "items": {
  1494. "example": {
  1495. "item": {
  1496. "material": "DIAMOND"
  1497. },
  1498. "link": "https://hypixel.net",
  1499. "title": "SkyBlock v0.11",
  1500. "text": "15th January 2021"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. }
  1506. }
  1507. }
  1508. },
  1509. "403": {
  1510. "$ref": "#/components/responses/InvalidKey"
  1511. },
  1512. "429": {
  1513. "$ref": "#/components/responses/RateLimited"
  1514. }
  1515. }
  1516. }
  1517. },
  1518. "/v2/skyblock/auction": {
  1519. "get": {
  1520. "summary": "Request auction(s) by the auction UUID, player UUID, or profile UUID.",
  1521. "description": "Returns the auctions selected by the provided query. Only one query parameter can be used in a single request, and cannot be filtered by multiple.",
  1522. "tags": [
  1523. "SkyBlock"
  1524. ],
  1525. "security": [
  1526. {
  1527. "ApiKey": []
  1528. }
  1529. ],
  1530. "parameters": [
  1531. {
  1532. "in": "query",
  1533. "name": "uuid",
  1534. "description": "The auction UUID that you wish to request",
  1535. "schema": {
  1536. "type": "string"
  1537. }
  1538. },
  1539. {
  1540. "in": "query",
  1541. "name": "player",
  1542. "description": "The player UUID that you wish to request",
  1543. "schema": {
  1544. "type": "string"
  1545. }
  1546. },
  1547. {
  1548. "in": "query",
  1549. "name": "profile",
  1550. "description": "The profile UUID that you wish to request",
  1551. "schema": {
  1552. "type": "string"
  1553. }
  1554. }
  1555. ],
  1556. "responses": {
  1557. "200": {
  1558. "description": "A successful response",
  1559. "content": {
  1560. "application/json": {
  1561. "schema": {
  1562. "type": "object",
  1563. "properties": {
  1564. "success": {
  1565. "type": "boolean"
  1566. },
  1567. "auctions": {
  1568. "type": "array",
  1569. "items": {
  1570. "$ref": "#/components/schemas/SkyBlockAuction"
  1571. }
  1572. }
  1573. }
  1574. }
  1575. }
  1576. }
  1577. },
  1578. "400": {
  1579. "$ref": "#/components/responses/DataMissing"
  1580. },
  1581. "403": {
  1582. "$ref": "#/components/responses/InvalidKey"
  1583. },
  1584. "422": {
  1585. "$ref": "#/components/responses/MalformedData"
  1586. },
  1587. "429": {
  1588. "$ref": "#/components/responses/RateLimited"
  1589. }
  1590. }
  1591. }
  1592. },
  1593. "/v2/skyblock/auctions": {
  1594. "get": {
  1595. "summary": "Active auctions",
  1596. "description": "Returns the currently active auctions sorted by last updated first and paginated.",
  1597. "tags": [
  1598. "SkyBlock"
  1599. ],
  1600. "parameters": [
  1601. {
  1602. "in": "query",
  1603. "name": "page",
  1604. "schema": {
  1605. "type": "number",
  1606. "default": 0
  1607. }
  1608. }
  1609. ],
  1610. "responses": {
  1611. "200": {
  1612. "description": "A successful response",
  1613. "content": {
  1614. "application/json": {
  1615. "schema": {
  1616. "type": "object",
  1617. "properties": {
  1618. "success": {
  1619. "type": "boolean"
  1620. },
  1621. "page": {
  1622. "type": "number"
  1623. },
  1624. "totalPages": {
  1625. "type": "number",
  1626. "example": 32
  1627. },
  1628. "totalAuctions": {
  1629. "type": "number",
  1630. "example": 31267
  1631. },
  1632. "lastUpdated": {
  1633. "type": "number",
  1634. "format": "int64",
  1635. "example": 1571065561345
  1636. },
  1637. "auctions": {
  1638. "type": "array",
  1639. "items": {
  1640. "$ref": "#/components/schemas/SkyBlockAuction"
  1641. }
  1642. }
  1643. }
  1644. }
  1645. }
  1646. }
  1647. },
  1648. "404": {
  1649. "$ref": "#/components/responses/MissingPage"
  1650. },
  1651. "422": {
  1652. "$ref": "#/components/responses/InvalidPage"
  1653. },
  1654. "503": {
  1655. "$ref": "#/components/responses/NotPopulated"
  1656. }
  1657. }
  1658. }
  1659. },
  1660. "/v2/skyblock/auctions_ended": {
  1661. "get": {
  1662. "summary": "Recently ended auctions",
  1663. "description": "SkyBlock auctions which ended in the last 60 seconds.",
  1664. "tags": [
  1665. "SkyBlock"
  1666. ],
  1667. "responses": {
  1668. "200": {
  1669. "description": "A successful response",
  1670. "content": {
  1671. "application/json": {
  1672. "schema": {
  1673. "type": "object",
  1674. "properties": {
  1675. "success": {
  1676. "type": "boolean"
  1677. },
  1678. "lastUpdated": {
  1679. "type": "number",
  1680. "format": "int64",
  1681. "example": 1607456463916
  1682. },
  1683. "auctions": {
  1684. "type": "array",
  1685. "items": {
  1686. "example": {
  1687. "auction_id": "015fe0c67e6041e69797bbe0c2725a21",
  1688. "seller": "fc76242bf64a4698ae0ebc136d900929",
  1689. "seller_profile": "85b96cd3e73e4580b8379162ec059141",
  1690. "buyer": "c1eff55de0d24ec6b44848799e9323ba",
  1691. "timestamp": 1607456400329,
  1692. "price": 190000,
  1693. "bin": true,
  1694. "item_bytes": "H4sIAAAAAAAAAEWR3W7TQBCFx2mBxKgtSH2ArUACZKL6L9jtndUYBdHQyGlV7qq1PXZX9U+03kB6yYNw7ffwo/AgiHEC4m7mmz1nz87qACPQhA4A2gAGItUGGjy5qNeV0nTYUzzX4PlNFUvkDzwuUNuD0Uyk+LHgeUOi3zo8S0WzKvjjCPYva4lDoofwsmu9KS95juesaxPDN+GY0FJJrHJ1v4PWxKTDAfGQy4rQB8M2WVKLqqHGy2RdsrKuGoWSPYiiaNjbS/yGBQ3RMo3+TF0Vj+/I5NXWj+2u7Acr0hCbmGbfbdWgd60/5xtmOBM4JPq5p9sofY43W4tfP3+wfyn/++Bfn+91nYJBxS0VlLQoMFGCIvYu6FnvXcenindtMQ++htMT8u11dPH1vWiYUFiyhFcsRiYxq2WO6Qm86NozUkRBFLLl7VU0HcL+F14iHNAg4rRuyYINgg5H4UZJHiglRbxW2AxhVEuRi+qa53CwnF0t7hY30cUsWIbD/jdBj4JP0zC6ozBkul4Teu34Tua7vj124tQduz73xtxOvbGVoZtMbN/xnIyMlSixUbxcwZFln/qn9DX2ue2wxRxgAE93q6b3wR9BYJa/RAIAAA=="
  1695. }
  1696. }
  1697. }
  1698. }
  1699. }
  1700. }
  1701. }
  1702. }
  1703. }
  1704. }
  1705. },
  1706. "/v2/skyblock/bazaar": {
  1707. "get": {
  1708. "summary": "Bazaar",
  1709. "description": "Returns the list of products along with their sell summary, buy summary and quick status.\n ### Product Description\n The returned product info has 3 main fields:\n - `buy_summary`\n - `sell_summary`\n - `quick_status`\n\n`buy_summary` and `sell_summary` are the current top 30 orders for each transaction type (in-game example: [Stock of Stonks](https://i.imgur.com/SjRONxq.png)).\n\n`quick_status` is a computed summary of the live state of the product (used for advanced mode view in the bazaar):\n- `sellVolume` and `buyVolume` are the sum of item amounts in all orders.\n - `sellPrice` and `buyPrice` are the weighted average of the top 2% of orders by volume.\n - `movingWeek` is the historic transacted volume from last 7d + live state.\n - `sellOrders` and `buyOrders` are the count of active orders. ",
  1710. "tags": [
  1711. "SkyBlock"
  1712. ],
  1713. "responses": {
  1714. "200": {
  1715. "description": "A successful response",
  1716. "content": {
  1717. "application/json": {
  1718. "schema": {
  1719. "type": "object",
  1720. "properties": {
  1721. "success": {
  1722. "type": "boolean"
  1723. },
  1724. "lastUpdated": {
  1725. "type": "number",
  1726. "format": "int64",
  1727. "example": 1590854517479
  1728. },
  1729. "products": {
  1730. "type": "object",
  1731. "example": {
  1732. "INK_SACK:3": {
  1733. "product_id": "INK_SACK:3",
  1734. "sell_summary": [
  1735. {
  1736. "amount": 20569,
  1737. "pricePerUnit": 4.2,
  1738. "orders": 1
  1739. },
  1740. {
  1741. "amount": 140326,
  1742. "pricePerUnit": 3.8,
  1743. "orders": 2
  1744. }
  1745. ],
  1746. "buy_summary": [
  1747. {
  1748. "amount": 640,
  1749. "pricePerUnit": 4.8,
  1750. "orders": 1
  1751. },
  1752. {
  1753. "amount": 640,
  1754. "pricePerUnit": 4.9,
  1755. "orders": 1
  1756. },
  1757. {
  1758. "amount": 25957,
  1759. "pricePerUnit": 5,
  1760. "orders": 3
  1761. }
  1762. ],
  1763. "quick_status": {
  1764. "productId": "INK_SACK:3",
  1765. "sellPrice": 4.2,
  1766. "sellVolume": 409855,
  1767. "sellMovingWeek": 8301075,
  1768. "sellOrders": 11,
  1769. "buyPrice": 4.99260315136572,
  1770. "buyVolume": 1254854,
  1771. "buyMovingWeek": 5830656,
  1772. "buyOrders": 85
  1773. }
  1774. }
  1775. }
  1776. }
  1777. }
  1778. }
  1779. }
  1780. }
  1781. },
  1782. "503": {
  1783. "$ref": "#/components/responses/NotPopulated"
  1784. }
  1785. }
  1786. }
  1787. },
  1788. "/v2/skyblock/profile": {
  1789. "get": {
  1790. "summary": "Profile by UUID",
  1791. "description": "SkyBlock profile data, such as stats, objectives etc. The data returned can differ depending on the players in-game API settings.",
  1792. "tags": [
  1793. "SkyBlock"
  1794. ],
  1795. "security": [
  1796. {
  1797. "ApiKey": []
  1798. }
  1799. ],
  1800. "parameters": [
  1801. {
  1802. "in": "query",
  1803. "name": "profile",
  1804. "schema": {
  1805. "type": "string",
  1806. "format": "uuid"
  1807. }
  1808. }
  1809. ],
  1810. "responses": {
  1811. "200": {
  1812. "description": "A successful response",
  1813. "content": {
  1814. "application/json": {
  1815. "schema": {
  1816. "type": "object",
  1817. "properties": {
  1818. "success": {
  1819. "type": "boolean"
  1820. },
  1821. "profile": {
  1822. "$ref": "#/components/schemas/SkyBlockProfile"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. }
  1828. },
  1829. "400": {
  1830. "$ref": "#/components/responses/DataMissing"
  1831. },
  1832. "403": {
  1833. "$ref": "#/components/responses/InvalidKey"
  1834. },
  1835. "422": {
  1836. "$ref": "#/components/responses/MalformedData"
  1837. },
  1838. "429": {
  1839. "$ref": "#/components/responses/RateLimited"
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/v2/skyblock/profiles": {
  1845. "get": {
  1846. "summary": "Profiles by player",
  1847. "tags": [
  1848. "SkyBlock"
  1849. ],
  1850. "security": [
  1851. {
  1852. "ApiKey": []
  1853. }
  1854. ],
  1855. "parameters": [
  1856. {
  1857. "in": "query",
  1858. "name": "uuid",
  1859. "schema": {
  1860. "type": "string",
  1861. "format": "uuid"
  1862. }
  1863. }
  1864. ],
  1865. "responses": {
  1866. "200": {
  1867. "description": "A successful response",
  1868. "content": {
  1869. "application/json": {
  1870. "schema": {
  1871. "type": "object",
  1872. "properties": {
  1873. "success": {
  1874. "type": "boolean"
  1875. },
  1876. "profiles": {
  1877. "type": "array",
  1878. "items": {
  1879. "$ref": "#/components/schemas/SkyBlockProfile"
  1880. }
  1881. }
  1882. }
  1883. }
  1884. }
  1885. }
  1886. },
  1887. "400": {
  1888. "$ref": "#/components/responses/DataMissing"
  1889. },
  1890. "403": {
  1891. "$ref": "#/components/responses/InvalidKey"
  1892. },
  1893. "422": {
  1894. "$ref": "#/components/responses/MalformedData"
  1895. },
  1896. "429": {
  1897. "$ref": "#/components/responses/RateLimited"
  1898. }
  1899. }
  1900. }
  1901. },
  1902. "/v2/skyblock/museum": {
  1903. "get": {
  1904. "summary": "Museum data by profile ID",
  1905. "description": "SkyBlock museum data for all members of the provided profile. The data returned can differ depending on the players in-game API settings.",
  1906. "tags": [
  1907. "SkyBlock"
  1908. ],
  1909. "security": [
  1910. {
  1911. "ApiKey": []
  1912. }
  1913. ],
  1914. "parameters": [
  1915. {
  1916. "in": "query",
  1917. "name": "profile",
  1918. "schema": {
  1919. "type": "string",
  1920. "format": "uuid"
  1921. }
  1922. }
  1923. ],
  1924. "responses": {
  1925. "200": {
  1926. "description": "A successful response",
  1927. "content": {
  1928. "application/json": {
  1929. "schema": {
  1930. "type": "object",
  1931. "properties": {
  1932. "success": {
  1933. "type": "boolean"
  1934. },
  1935. "profile": {
  1936. "$ref": "#/components/schemas/SkyBlockMuseum"
  1937. }
  1938. }
  1939. }
  1940. }
  1941. }
  1942. },
  1943. "403": {
  1944. "$ref": "#/components/responses/InvalidKey"
  1945. },
  1946. "422": {
  1947. "$ref": "#/components/responses/MalformedData"
  1948. },
  1949. "429": {
  1950. "$ref": "#/components/responses/RateLimited"
  1951. }
  1952. }
  1953. }
  1954. },
  1955. "/v2/skyblock/bingo": {
  1956. "get": {
  1957. "summary": "Bingo data by player",
  1958. "description": "Bingo data for participated events of the provided player.",
  1959. "tags": [
  1960. "SkyBlock"
  1961. ],
  1962. "security": [
  1963. {
  1964. "ApiKey": []
  1965. }
  1966. ],
  1967. "parameters": [
  1968. {
  1969. "in": "query",
  1970. "name": "uuid",
  1971. "schema": {
  1972. "type": "string",
  1973. "format": "uuid"
  1974. }
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "A successful response",
  1980. "content": {
  1981. "application/json": {
  1982. "schema": {
  1983. "type": "object",
  1984. "properties": {
  1985. "success": {
  1986. "type": "boolean"
  1987. },
  1988. "events": {
  1989. "type": "array",
  1990. "items": {
  1991. "type": "object",
  1992. "required": [
  1993. "key",
  1994. "points",
  1995. "completed_goals"
  1996. ],
  1997. "properties": {
  1998. "key": {
  1999. "description": "The id for this event",
  2000. "type": "number",
  2001. "format": "int32",
  2002. "example": 2
  2003. },
  2004. "points": {
  2005. "description": "The amount of points earned",
  2006. "type": "number",
  2007. "format": "int32",
  2008. "example": 117
  2009. },
  2010. "completed_goals": {
  2011. "description": "The completed goal IDs",
  2012. "type": "array",
  2013. "items": {
  2014. "type": "string",
  2015. "example": [
  2016. "stat_walk_speed",
  2017. "KILL_TRAPPER_MOB"
  2018. ]
  2019. }
  2020. }
  2021. }
  2022. }
  2023. }
  2024. }
  2025. }
  2026. }
  2027. }
  2028. },
  2029. "400": {
  2030. "$ref": "#/components/responses/DataMissing"
  2031. },
  2032. "403": {
  2033. "$ref": "#/components/responses/InvalidKey"
  2034. },
  2035. "404": {
  2036. "description": "No data could be found for the provided player uuid.",
  2037. "content": {
  2038. "application/json": {
  2039. "schema": {
  2040. "type": "object",
  2041. "properties": {
  2042. "success": {
  2043. "type": "boolean",
  2044. "example": false
  2045. },
  2046. "cause": {
  2047. "type": "string",
  2048. "example": "No bingo data could be found"
  2049. }
  2050. }
  2051. }
  2052. }
  2053. }
  2054. },
  2055. "422": {
  2056. "$ref": "#/components/responses/MalformedData"
  2057. },
  2058. "429": {
  2059. "$ref": "#/components/responses/RateLimited"
  2060. }
  2061. }
  2062. }
  2063. },
  2064. "/v2/skyblock/firesales": {
  2065. "get": {
  2066. "summary": "Active/Upcoming Fire Sales",
  2067. "description": "Retrieve the currently active or upcoming Fire Sales for SkyBlock.",
  2068. "tags": [
  2069. "SkyBlock"
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "A successful response",
  2074. "content": {
  2075. "application/json": {
  2076. "schema": {
  2077. "type": "object",
  2078. "properties": {
  2079. "success": {
  2080. "type": "boolean"
  2081. },
  2082. "sales": {
  2083. "type": "array",
  2084. "items": {
  2085. "$ref": "#/components/schemas/SkyBlockFireSale"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. }
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/v2/boosters": {
  2097. "get": {
  2098. "summary": "Active Network Boosters",
  2099. "tags": [
  2100. "Other"
  2101. ],
  2102. "security": [
  2103. {
  2104. "ApiKey": []
  2105. }
  2106. ],
  2107. "responses": {
  2108. "200": {
  2109. "description": "Get boosters list",
  2110. "content": {
  2111. "application/json": {
  2112. "schema": {
  2113. "type": "object",
  2114. "properties": {
  2115. "success": {
  2116. "type": "boolean"
  2117. },
  2118. "boosters": {
  2119. "type": "array",
  2120. "items": {
  2121. "oneOf": [
  2122. {
  2123. "$ref": "#/components/schemas/ActiveBooster"
  2124. },
  2125. {
  2126. "$ref": "#/components/schemas/QueuedBooster"
  2127. }
  2128. ]
  2129. }
  2130. },
  2131. "boosterState": {
  2132. "type": "object",
  2133. "properties": {
  2134. "decrementing": {
  2135. "type": "boolean"
  2136. }
  2137. }
  2138. }
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "403": {
  2145. "$ref": "#/components/responses/InvalidKey"
  2146. },
  2147. "429": {
  2148. "$ref": "#/components/responses/RateLimited"
  2149. }
  2150. }
  2151. }
  2152. },
  2153. "/v2/counts": {
  2154. "get": {
  2155. "summary": "Current Player Counts",
  2156. "tags": [
  2157. "Other"
  2158. ],
  2159. "security": [
  2160. {
  2161. "ApiKey": []
  2162. }
  2163. ],
  2164. "responses": {
  2165. "200": {
  2166. "description": "A successful response",
  2167. "content": {
  2168. "application/json": {
  2169. "schema": {
  2170. "type": "object",
  2171. "properties": {
  2172. "success": {
  2173. "type": "boolean"
  2174. },
  2175. "playerCount": {
  2176. "type": "integer"
  2177. },
  2178. "games": {
  2179. "type": "object",
  2180. "example": {
  2181. "GAME_TYPE": {
  2182. "players": 2,
  2183. "modes": {
  2184. "mode_1": 1,
  2185. "mode_2": 1
  2186. }
  2187. }
  2188. }
  2189. }
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "403": {
  2196. "$ref": "#/components/responses/InvalidKey"
  2197. },
  2198. "429": {
  2199. "$ref": "#/components/responses/RateLimited"
  2200. }
  2201. }
  2202. }
  2203. },
  2204. "/v2/leaderboards": {
  2205. "get": {
  2206. "summary": "Current Leaderboards",
  2207. "tags": [
  2208. "Other"
  2209. ],
  2210. "security": [
  2211. {
  2212. "ApiKey": []
  2213. }
  2214. ],
  2215. "responses": {
  2216. "200": {
  2217. "description": "A successful response",
  2218. "content": {
  2219. "application/json": {
  2220. "schema": {
  2221. "type": "object",
  2222. "properties": {
  2223. "success": {
  2224. "type": "boolean"
  2225. },
  2226. "leaderboards": {
  2227. "type": "object"
  2228. }
  2229. }
  2230. }
  2231. }
  2232. }
  2233. },
  2234. "403": {
  2235. "$ref": "#/components/responses/InvalidKey"
  2236. },
  2237. "429": {
  2238. "$ref": "#/components/responses/RateLimited"
  2239. },
  2240. "503": {
  2241. "$ref": "#/components/responses/NotPopulated"
  2242. }
  2243. }
  2244. }
  2245. },
  2246. "/v2/punishmentstats": {
  2247. "get": {
  2248. "tags": [
  2249. "Other"
  2250. ],
  2251. "summary": "Punishment Statistics",
  2252. "security": [
  2253. {
  2254. "ApiKey": []
  2255. }
  2256. ],
  2257. "responses": {
  2258. "200": {
  2259. "description": "A successful response",
  2260. "content": {
  2261. "application/json": {
  2262. "schema": {
  2263. "type": "object",
  2264. "properties": {
  2265. "success": {
  2266. "type": "boolean"
  2267. },
  2268. "watchdog_lastMinute": {
  2269. "type": "integer"
  2270. },
  2271. "staff_rollingDaily": {
  2272. "type": "integer"
  2273. },
  2274. "watchdog_total": {
  2275. "type": "integer"
  2276. },
  2277. "watchdog_rollingDaily": {
  2278. "type": "integer"
  2279. },
  2280. "staff_total": {
  2281. "type": "integer"
  2282. }
  2283. }
  2284. }
  2285. }
  2286. }
  2287. },
  2288. "403": {
  2289. "$ref": "#/components/responses/InvalidKey"
  2290. },
  2291. "429": {
  2292. "$ref": "#/components/responses/RateLimited"
  2293. },
  2294. "503": {
  2295. "$ref": "#/components/responses/NotPopulated"
  2296. }
  2297. }
  2298. }
  2299. }
  2300. }
  2301. }
Add Comment
Please, Sign In to add comment