Aller au contenu
ecdsa.com

API

This specification

GEThttps://ecdsa.com/api/v1/openapi.json

The OpenAPI 3.1 document of this API, generated from the same operation definitions the server runs. The same document for every caller: cached by the CDN for an hour, not rate limited.

Clé d’API
Non lue : la réponse est la même pour tout le monde
Limite de requêtes
Aucune : réponse servie depuis le cache du CDN

Requête

Cette opération ne prend aucune entrée.

Réponses

200OpenAPI 3.1 document.

ChampTypeObligatoireDescription
openapistringoui

The OpenAPI version, "3.1.0".

infoobjectoui
  • d’autres membres peuvent apparaître
info.titlestringoui
info.versionstringoui
pathsobjectoui
  • noms de membres libres
StatutSignificationCodes
404Not found.
405Method not allowed.
500Internal server error.

Chaque réponse d’erreur porte l’enveloppe JSON ; le tableau des erreurs indique ce que signifie chaque code et que faire.

Exemple

The OpenAPI document

curl
curl -sS 'https://ecdsa.com/api/v1/openapi.json'
JavaScript (fetch)
const response = await fetch("https://ecdsa.com/api/v1/openapi.json");
console.log(response.status, await response.json());
Python (httpx)
import httpx

response = httpx.get("https://ecdsa.com/api/v1/openapi.json", timeout=30.0)
print(response.status_code, response.json())

La réponse 200 fait 109 Ko de JSON, trop longue pour être affichée ici : ouvrez-la.

La réponse de l’API à cet exemple, générée pour cette page le 20 octobre 2026 ; les temps relatifs et les nombres de jours qu’elle contient se rapportent à ce jour-là.

Codes d’erreur

CodeStatutSignification
not_found404No operation exists at this path.
method_not_allowed405The path exists but does not accept this HTTP method; see the Allow header.
internal_error500Unexpected server error.

Schémas

Error

The error envelope of every non-2xx response.

ChampTypeObligatoireDescription
errorobjectoui
error.codestringoui

Machine-readable error code. Each response lists the codes it can carry; new codes may be added within v1, so treat an unknown code by its HTTP status.

error.messagestringoui

Human-readable explanation (English).

error.requestIdstringnon

The X-Request-Id of this request — quote it when reporting a problem. Sent since v1.1.

error.detailobjectnon

Structured context for the error, such as the offending field; omitted when there is none.

  • noms de membres libres
error.docsstringnon

Where the error codes are explained. Sent since v1.1.

  • format uri

Toutes les opérations sont répertoriées dans la référence de l’API.