Quickstart
Get your first BIN lookup in under 2 minutes.
1. Get your API key
Sign up for a free account at binlookupapi.com/signup
Your API key will be displayed in your dashboard immediately after signup.
2. Make your first request
curl -X GET "https://api.binlookupapi.com/v1/414720" \
-H "Authorization: Bearer YOUR_API_KEY"
3. Parse the response
The API returns JSON with detailed card information:
{
"bin": "414720",
"brand": "Visa",
"type": "credit",
"level": "Classic",
"bank": {
"name": "JPMorgan Chase",
"url": "https://chase.com"
},
"country": {
"name": "United States",
"code": "US",
"flag": "🇺🇸"
},
"prepaid": false,
"commercial": false
}
Code Examples
JavaScript / Node.js
const response = await fetch('https://api.binlookupapi.com/v1/414720', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
'https://api.binlookupapi.com/v1/414720',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
data = response.json()
print(data)
PHP
<?php
$ch = curl_init('https://api.binlookupapi.com/v1/414720');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);
print_r($data);
?>
Next Steps
- Authentication - Learn about API keys and security
- API Reference - Explore all available endpoints
- Error Handling - Handle errors properly