/v1/brands
List supported brands
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/creditcard-api/v1/brands" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/creditcard-api/v1/brands", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/creditcard-api/v1/brands");
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/creditcard-api/v1/brands",
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": {
"brands": [
{
"brand": "amex",
"lengths": [
15
],
"cvv_length": 4
},
{
"brand": "diners",
"lengths": [
14,
16,
19
],
"cvv_length": 3
},
{
"brand": "jcb",
"lengths": [
16,
17,
18,
19
],
"cvv_length": 3
},
{
"brand": "discover",
"lengths": [
16,
17,
18,
19
],
"cvv_length": 3
},
{
"brand": "unionpay",
"lengths": [
16,
17,
18,
19
],
"cvv_length": 3
},
{
"brand": "mastercard",
"lengths": [
16
],
"cvv_length": 3
},
{
"brand": "maestro",
"lengths": [
12,
13,
14,
15,
16,
17,
18,
19
],
"cvv_length": 3
},
{
"brand": "visa",
"lengths": [
13,
16,
19
],
"cvv_length": 3
}
]
},
"meta": {
"timestamp": "2026-05-30T09:00:24.740Z",
"request_id": "7276e917-e896-4912-a99d-f450aa4ddbf5"
},
"status": "ok",
"message": "Brands listed",
"success": true
}