Aller au contenu
GET /v1/parse

Parse a BIC into parts

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/bic-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/bic-api/v1/parse" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bic-api/v1/parse", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bic-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/bic-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": {
        "note": "BIC breakdown. The second location character flags status: '0' test/non-SWIFT, '1' passive, '2' reverse-billing. Branch 'XXX' or none means the head office.",
        "inputs": {
            "bic": "DEUTDEFF500"
        },
        "office": "branch",
        "passive": false,
        "connected": true,
        "normalized": "DEUTDEFF500",
        "branch_code": "500",
        "is_test_bic": false,
        "country_code": "DE",
        "location_code": "FF",
        "reverse_billing": false,
        "institution_code": "DEUT"
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:13.625Z",
        "request_id": "4439642d-2c06-4724-a536-f055213b0187"
    },
    "status": "ok",
    "message": "Parse BIC",
    "success": true
}