BIN Lookup API - Dart/Flutter Client
BIN Lookup is a simple tool for looking up BIN number information. It returns information such as the bank, card type, and more based on the BIN number provided.
This is the Dart/Flutter client for the BIN Lookup API.
Installation
Add this to your pubspec.yaml:
dependencies:
apiverve_binlookup: ^1.1.14
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage
import 'package:apiverve_binlookup/apiverve_binlookup.dart';
void main() async {
final client = BinlookupClient('YOUR_API_KEY');
try {
final response = await client.execute({
'bin': '448590'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response
{
"status": "ok",
"error": null,
"data": {
"bin": "448590",
"brand": "VISA",
"type": "CREDIT",
"category": "PURCHASING",
"issuer": {
"name": "JPMORGAN CHASE BANK, N.A.",
"country": "United States",
"phone": "1-800-432-3117",
"website": "www.chase.com"
},
"location": {
"country": "United States",
"latitude": "37.0902",
"longitude": "-95.7129",
"alpha2": "US",
"alpha3": "USA"
}
}
}
API Reference
- API Home: BIN Lookup API
- Documentation: docs.apiverve.com/ref/binlookup
Authentication
All requests require an API key. Get yours at apiverve.com.
License
MIT License - see LICENSE for details.
Built with Dart for APIVerve
Libraries
- apiverve_binlookup
- BIN Lookup API client for Dart/Flutter