This BIN checker application allows users to search for information about bank identification numbers (BINs) using the CSV data stored in your public folder. Here's how it works:
- The application reads the
bins_all.csv
file from the public folder - Users can enter the first 6-8 digits of a card number (the BIN) in the search field
- The API searches the CSV file for matching records and returns the information
- The results display the card's country, flag, vendor, type, level, and bank name
- Frontend: A clean, responsive interface with a search input and results display
- API Endpoint: A server-side route that handles BIN lookup requests
- CSV Parsing: Server-side logic to read and search the CSV file efficiently
To complete the setup:
- Make sure your
bins_all.csv
file is placed in thepublic
folder of your Next.js project - The CSV should have the exact column structure:
number,country,flag,vendor,type,level,bank_name
- Deploy your application to make it accessible online