Aller au contenu
GET /v1/parse

Parse a query string to an object

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/querystring-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/querystring-api/v1/parse" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/querystring-api/v1/parse", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/querystring-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/querystring-api/v1/parse",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "parsed": {
            "a": {
                "b": {
                    "c": "1"
                }
            },
            "tags": [
                "x",
                "y"
            ]
        }
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:54.430Z",
        "request_id": "a61af415-21d6-42eb-85f1-f5f3c0ea9e15"
    },
    "status": "ok",
    "message": "Parse a query string",
    "success": true
}