Aller au contenu
GET /v1/meta

Spec

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/fertilizer-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/fertilizer-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fertilizer-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fertilizer-api/v1/meta");
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/fertilizer-api/v1/meta",
    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": {
        "note": "Rates default to per 1000 ft² (US lawn convention); pass rate_basis=100sqm for metric. P₂O₅→P ×0.4364, K₂O→K ×0.8301.",
        "service": "fertilizer",
        "endpoints": {
            "/v1/rate": "Product needed to apply a target nitrogen rate over an area, with the nutrient breakdown.",
            "/v1/coverage": "How much area a bag covers at a target nitrogen rate.",
            "/v1/nutrients": "Pounds of N, P₂O₅/P and K₂O/K in a bag of a given weight and analysis."
        },
        "description": "Fertilizer maths: N-P-K analysis, product rate for a target nutrient over an area, nutrient pounds per bag, and bag coverage."
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:14.259Z",
        "request_id": "8870ccdd-530d-49bc-a2e4-19c4556a7b00"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}