# BIN Lookup API: brand, type, bank and country from six digits

Orchestrapay's BIN Lookup returns a card's brand, type, level, issuing country
and issuing bank from its first six to eight digits, and searches BIN ranges by
country or issuer, through a public API. Payments through Orchestrapay get the
same attributes automatically: see
[Card Attributes](https://www.orchestrapay.com/products/card-attributes.md).

Page: https://www.orchestrapay.com/products/bin-lookup

## API

```
GET https://api.orchestrapay.com/binlookup/lookup/{bin}   # bin: 6+ digits
GET https://api.orchestrapay.com/binlookup/search?iin=|country=|issuer=
GET https://api.orchestrapay.com/binlookup/issuers?search=
```

Lookup response fields: `bin`, `cardBrand`, `cardType`, `cardLevel`,
`countryIso2`, `issuerName`, `issuerWebsite`, `issuerPhone`, `isPrepaid`,
`isCommercial`.

## What it is for

Checkout, support tools, risk models and reporting: any service that needs to
know the card behind a BIN, or to search ranges by country or issuer.

## How it resolves

BINs are matched against Orchestrapay's own range table first; unknown BINs are
resolved from an external source and stored for next time. Ranges can also be
bulk-imported. A BIN alone is not cardholder data.

## Related

- [Card Attributes](https://www.orchestrapay.com/products/card-attributes.md)
- [Smart Routing](https://www.orchestrapay.com/products/smart-routing.md)
- [Antifraud Engine](https://www.orchestrapay.com/products/antifraud.md)
- [Reduce processing costs](https://www.orchestrapay.com/solutions/reduce-processing-costs.md)
- [Talk to sales](https://www.orchestrapay.com/contact)
