{"library":"discord-api-types","type":"library","category":null,"description":"discord-api-types provides comprehensive TypeScript definitions for the Discord API, covering various data structures, enumerators, and REST endpoints. Maintained by the Discord.js team, it is essential for developing Discord bots, clients, and tools with robust type safety. The package is currently at version 0.38.47 (as of April 2026) and receives frequent updates, often multiple times a month, to promptly reflect changes and additions to the official Discord API specification. Its key differentiator is its close alignment with Discord's rapidly evolving API, offering up-to-date and accurate type definitions that are critical for libraries built on top of the Discord API, such as discord.js itself. This package aims to be a single, reliable source of truth for Discord's API structure, facilitating more robust and error-resistant development.","language":"javascript","status":"active","version":"0.38.47","tags":["javascript","discord","discord api","types","discordjs"],"last_verified":"Wed May 27","install":[{"cmd":"npm install discord-api-types","imports":["import type { APIGuild } from 'discord-api-types/v10'","import { Routes } from 'discord-api-types/v10'","import { GatewayDispatchEvents } from 'discord-api-types/v10'","import { RESTJSONErrorCodes } from 'discord-api-types/v10'"]},{"cmd":"yarn add discord-api-types","imports":[]},{"cmd":"pnpm add discord-api-types","imports":[]}],"homepage":"https://discord-api-types.dev","github":"https://github.com/discordjs/discord-api-types","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/discord-api-types","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/discord-api-types/compatibility"}}