DuolingoDMH API versioning and deprecation policy
This page explains how the DuolingoDMH API changes over time, so that agents and integrations built on /api/v1 keep working. Every API response links here with Link: </developers/versioning>; rel="deprecation" (RFC 9745).
Current version
v1at/api/v1: stable. No endpoint or parameter of v1 is deprecated.- Contract version
1.1.0, reported asversionbyGET /api/v1and asinfo.versionin openapi.json.
How the API is versioned
The major version is part of the URL path. The contract version follows semantic versioning: the minor number grows when something is added, the patch number when something is fixed.
- Non-breaking changes ship in the current version: new endpoints, new optional parameters, new response fields, new error codes and new headers.
- Breaking changes only ship under a new major path such as
/api/v2: removing or renaming an endpoint, parameter or field, changing a type or the meaning of a value, or making an optional parameter required. - Write clients that ignore unknown fields and headers, and that branch on the error
coderather than on the message text.
How deprecation is announced
When an endpoint is deprecated, every response from it carries:
Deprecation: @1798761600
Sunset: Sun, 31 Oct 2027 00:00:00 GMT
Link: </api/v2/plans>; rel="successor-version", </developers/versioning>; rel="deprecation"Deprecation(RFC 9745): the date from which the endpoint is deprecated, as@and Unix seconds.Sunset(RFC 8594): the date after which the endpoint may stop responding.Linkwithrel="successor-version": the endpoint to move to, when there is one.- The operation is marked
deprecated: truein openapi.json and listed in the changelog below.
Timeline
- The Sunset date is at least 180 days after the Deprecation date, and never earlier.
- When a new major version ships, the previous one keeps working for at least 180 days.
- After the Sunset date the endpoint answers with a JSON error that has a stable
code, never with an HTML page.
Deprecated features
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Resetresponse headers: replaced on 2026-10-26 byRateLimitandRateLimit-Policy(see rate limits). They are still sent. A removal date will be announced here at least 180 days in advance.
Changelog
1.1.0(2026-10-26): IETFRateLimitandRateLimit-Policyheaders;Linkto this policy on every response;tagparameter ongetApiIndex;langparameter andlanguagefield ongetContactChannels;deprecation_policy_url,cli_urland per-endpointtaganddeprecatedin the API index.1.0.0(2026-10-26): first public version withgetApiIndex,listPlans,listFaqsandgetContactChannels.