BIN Code Lookup with apilayer API

This workflow is designed to validate and fetch information about a card using the BIN code. It utilizes apilayers BIN Check API and provides details like the card brand, type, issuing bank, and country. Prerequisites: - An apilayer account - API Key for the BIN Check API --- Steps in n8n: **Step 1: Manual Trigger** - Node Type: Manual Trigger - Purpose: Starts the workflow manually **Step 2: Set BIN Code and API Key** - Node Type: Set - Fields to set: - bin_code: A sample BIN like JH4KA7560RC003647 - apikey: Your apilayer API key **Step 3: HTTP Request** - Node Type: HTTP Request - Method: GET - URL: https://api.apilayer.com/bincheck/{{ $json.bin_code }} - Headers: - Name: apiKey - Value: {{ $json.apikey }} **(Optional) Step 4: Handle the Output** - Add nodes to store, parse, or visualize the API response. --- Expected Output: The response from apilayer contains detailed information about the provided BIN: - Card scheme (e.g., VISA, MasterCard) - Type (credit, debit, prepaid) - Issuing bank - Country of issuance --- Example Use Case: Use this to build a fraud prevention microservice, pre-validate card data before sending to payment gateways, or enrich card-related logs.

Platform
n8n
Category
Data & Analytics
Price
$4.99
Creator
Sarfaraz Muhammad Sajib

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Data & Analytics workflows

More from Sarfaraz Muhammad Sajib

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.