Zum Inhalt springen
GET /v1/parse

Parse a .env file

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/dotenv-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/dotenv-api/v1/parse" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dotenv-api/v1/parse", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dotenv-api/v1/parse");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/dotenv-api/v1/parse",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 2,
        "parsed": {
            "BAZ": "hello world",
            "FOO": "bar"
        },
        "expanded": false
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:21.771Z",
        "request_id": "ce5aa50c-af0c-4c00-bf8a-92f1ee1b069d"
    },
    "status": "ok",
    "message": "Parse a .env file",
    "success": true
}