← Back to API Ninjas
Lookup bank information by BIN
Returns bank and issuer information for a Bank Identification Number. Requires a `bin`, typically the first 6-8 digits of a credit card number.
API Ninjas·$0.001 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v2/bin",
query: {
"bin": "example"
}
});
console.log(output);Query parameters
binrequired
string
The Bank Identification Number (BIN) to look up. This is typically the first 6-8 digits of a credit card number.