Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/unorouter-com:unorouter-com-2-fa-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
description: ' '
title: New 2 FA API
version: 0.0.1
tags:
- name: 2 FA
paths:
/api/user/2fa/backup_codes:
post:
operationId: regenerateBackupCodes
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Response_dto.BackupCodesData'
application/xml:
schema:
$ref: '#/components/schemas/Response_dto.BackupCodesData'
description: OK
security:
- accessToken: []
newApiUser: []
- newApiUser: []
sessionAuth: []
summary: Regenerate Backup Codes
tags:
- 2 FA
/api/user/2fa/disable:
post:
operationId: disable2FA
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Response_dto.AuthRotationData'
application/xml:
schema:
$ref: '#/components/schemas/Response_dto.AuthRotationData'
description: OK
security:
- accessToken: []
newApiUser: []
- newApiUser: []
sessionAuth: []
summary: Disable2 F A
tags:
- 2 FA
/api/user/2fa/enable:
post:
operationId: enable2FA
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Verify2FARequest'
description: Request body for dto.Verify2FARequest
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Response_dto.AuthRotationData'
application/xml:
schema:
$ref: '#/components/schemas/Response_dto.AuthRotationData'
description: OK
security:
- accessToken: []
newApiUser: []
- newApiUser: []
sessionAuth: []
summary: Enable2 F A
tags:
- 2 FA
/api/user/2fa/setup:
post:
operationId: setup2FA
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Response_dto.Setup2FAResponse'
application/xml:
schema:
$ref: '#/components/schemas/Response_dto.Setup2FAResponse'
description: OK
security:
- accessToken: []
newApiUser: []
- newApiUser: []
sessionAuth: []
summary: Setup2 F A
tags:
- 2 FA
/api/user/2fa/status:
get:
operationId: get2FAStatus
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Response_dto.TwoFAStatusData'
application/xml:
schema:
$ref: '#/components/schemas/Response_dto.TwoFAStatusData'
description: OK
security:
- accessToken: []
newApiUser: []
- newApiUser: []
sessionAuth: []
summary: Get2 F A Status
tags:
- 2 FA
components:
schemas:
BackupCodesData:
properties:
access_expires_at:
format: int64
type: integer
access_token:
type: string
backup_codes:
items:
type: string
type:
- array
- 'null'
session:
$ref: '#/components/schemas/LoginSessionView'
token_type:
type: string
required:
- backup_codes
type: object
AuthRotationData:
properties:
access_expires_at:
format: int64
type: integer
access_token:
type: string
session:
$ref: '#/components/schemas/LoginSessionView'
token_type:
type: string
type: object
Setup2FAResponse:
properties:
backup_codes:
items:
type: string
type:
- array
- 'null'
expires_at:
format: int64
type: integer
flow_token:
type: string
qr_code_data:
type: string
secret:
type: string
required:
- backup_codes
- expires_at
- flow_token
- qr_code_data
- secret
type: object
Verify2FARequest:
description: Verify2FARequest schema
properties:
code:
type: string
flow_token:
type: string
required:
- code
type: object
Response_dto.Setup2FAResponse:
description: Response_dto.Setup2FAResponse schema
properties:
data:
$ref: '#/components/schemas/Setup2FAResponse'
message:
type: string
success:
type: boolean
required:
- data
- message
- success
type: object
Response_dto.TwoFAStatusData:
description: Response_dto.TwoFAStatusData schema
properties:
data:
$ref: '#/components/schemas/TwoFAStatusData'
message:
type: string
success:
type: boolean
required:
- data
- message
- success
type: object
TwoFAStatusData:
properties:
backup_codes_remaining:
type: integer
enabled:
type: boolean
locked:
type: boolean
required:
- enabled
- locked
type: object
LoginSessionView:
properties:
created_at:
format: int64
type: integer
current:
type: boolean
expires_at:
format: int64
type: integer
ip:
type: string
last_active_at:
format: int64
type: integer
login_method:
type: string
sid:
type: string
user_agent:
type: string
required:
- created_at
- current
- expires_at
- ip
- last_active_at
- login_method
- sid
- user_agent
type: object
Response_dto.BackupCodesData:
description: Response_dto.BackupCodesData schema
properties:
data:
$ref: '#/components/schemas/BackupCodesData'
message:
type: string
success:
type: boolean
required:
- data
- message
- success
type: object
Response_dto.AuthRotationData:
description: Response_dto.AuthRotationData schema
properties:
data:
$ref: '#/components/schemas/AuthRotationData'
message:
type: string
success:
type: boolean
required:
- data
- message
- success
type: object
securitySchemes:
accessToken:
description: System access token for dashboard API routes. Must be paired with New-Api-User header.
in: header
name: Authorization
type: apiKey
anthropicApiKey:
description: Anthropic-style API key. Used by /v1/messages and /v1/models.
in: header
name: x-api-key
type: apiKey
bearerAuth:
description: API token (sk-...). Used by relay routes (/v1/*) and token-based query endpoints.
scheme: bearer
type: http
newApiUser:
description: User ID header. Required together with the access token or session cookie for dashboard API routes.
in: header
name: New-Api-User
type: apiKey
sessionAuth:
description: Session cookie from /api/user/login. Used by dashboard routes as an alternative to access token.
in: cookie
name: session
type: apiKey