TestingAPIs is still being built. If something breaks, email support@testingapis.com.

List supported API versions and how to select them

GEThttps://api.testingapis.com/api/versionsSign in to see this endpoint's URL

Responses

200
Current version, supported versions and the selection options.

Example

Request
curl -X GET "https://api.testingapis.com/api/versions" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "current": "2",
  "supported": [
    {
      "version": "1",
      "status": "deprecated",
      "sunset": "2026-12-31T23:59:59Z",
      "url": "/api/v1/profile"
    },
    {"version": "2", "status": "current", "sunset": null, "url": "/api/v2/profile"}
  ],
  "negotiation": {
    "path": "/api/v{version}/profile",
    "header": "X-API-Version: 2",
… (5 more lines)

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.