apyhub
DATA VALIDATION · FINANCE

Search & Filter BIN Database API

What it does

BIN Lookup helps you search card issuer data by bank and card attributes. Send query parameters such as bank, type, brand, level, prefix, country, or bankExact, and get back a response envelope with a numeric code, a success flag, and module blocks.

Use it when you need to check a card prefix against issuer metadata before accepting a payment, filtering test card sets, or grouping payment traffic by brand or card type. The search supports pagination with limit and offset, and can optionally include total counts with withTotal=1.

The type filter accepts DEBIT, CREDIT, or CHARGE, which makes it useful for payment flows that need to distinguish card classes. You can combine filters to narrow results by bank name, exact bank name, country, brand, or level.

BIN Lookup is a lightweight way to query BIN-related records without parsing payment data yourself. It is useful anywhere you need issuer lookup, card classification, or BIN-based filtering in real time.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.