Skip to content

API CaptchEtat API

by Agence pour l'Informatique Financière de l'Etat

Restricted accessHTTPSGovernment
Open documentation ↗

Overview

L’API CaptchEtat permet de générer un CAPTCHA de type de chaine de caractères déformée à reproduire. Elle est destinée aux partenaires interministériels ou à des entités publiques. ## Contenu accessible via cette API Elle contient les données suivantes : - structure HTML - images - sons - chaînes de caractères - icones.

API CaptchEtat is a government API from Agence pour l'Informatique Financière de l'Etat. Requests are authenticated with credentials issued on request. It is served over HTTPS.

At a glance

Authentication
Restricted access
HTTPS
Yes
CORS
Unknown
Category
Government
Base URL
https://sandbox-api.piste.gouv.fr/piste/captchetat/v2

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://sandbox-api.piste.gouv.fr/piste/captchetat/v2" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://sandbox-api.piste.gouv.fr/piste/captchetat/v2", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://sandbox-api.piste.gouv.fr/piste/captchetat/v2",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Questions

Does the API CaptchEtat API need an API key?

Yes. The API CaptchEtat API uses Restricted access authentication; the documentation explains how to get credentials.

Does the API CaptchEtat API support HTTPS?

Yes, the API CaptchEtat API is served over HTTPS.

What are alternatives to the API CaptchEtat API?

Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.

Compare alternatives →

Listed from data.gouv.fr (Licence Ouverte).