You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data collected for the 2fa.directory website is also available as JSON files in order to enable developers to use it in their own programs. It is recommended to use the API with the highest version number, since older versions might not include all available information.
Caching
If you intend to query our JSON files often and with a lot of traffic, you may be blocked by Cloudflare, our reverse proxy provider. We therefore recommend that you cache the files locally for any large traffic cases.
Avoid downloading unnecessary data
If you only intent on using a specific dataset, like all sites supporting RFC-6238, we recommend that you use the URI which lists just that. See URIs for a list of available paths. The smaller the better.
Image name used. If this is not defined, the image name is domain.svg
url
URL
URL of the site. If this is not defined, the url is https://domain
tfa
Array<String>
Array containing all supported 2FA methods
documentation
URL
URL to documentation page
recovery
URL
URL to recovery documentation page
notes
String
Text describing any discrepancies in the 2FA implementation
contact
Object
Object containing contact details. See table below for elements
regions
array<String>
Array containing ISO 3166-1 country codes of the regions in which the site is available. If the site is available everywhere apart from a specific region, that region will be prefixed by a - symbol
additional-domains
Array<hostname>
Array of domains that the site exists at in addition to the main domain listed in the domain field.
custom-(software|hardware)
Array<String>
Array of custom software/hardware methods that the site supports. Only present if the tfa element contains one of these 2FA types
keywords
Array<String>
✔️
Array of categories to which the site belongs
Contact Object Elements
Key
Value
Always defined
Description
twitter
String
Twitter handle
facebook
String
Facebook page name
email
String
Email address to support
language
String
Lowercase ISO 639-1 language code for the site if it is not in English