South Star

BIN Lookup Card Issuer Scheme Country API

Free tier included · Finance
Look up any card BIN/IIN: issuing bank, scheme, funding type, product tier and country. Offline, fast, batch up to 1000.

BIN Lookup API resolves a card BIN/IIN prefix into structured data: the issuing bank (name, support phone, website), card scheme (VISA, MASTERCARD, ...), funding type (credit, debit, prepaid), product tier, and the issuer's country and ISO code. It reads from a local community dataset of roughly 458,000 BIN prefixes (binlist community data, CC BY 4.0) — there are no external network calls, no live lookups to third parties, and no request logging.

It is built for payment teams, fraud and risk tooling, checkout validation, KYC/onboarding flows, and data enrichment pipelines that need to know what a card is before charging it. Typical uses: block prepaid cards, route traffic by issuer country, auto-fill the card brand, or reconcile transactions by issuing bank.

Why it is better: everything runs offline against a local database, so responses are consistently fast and deterministic, requests are stateless, and nothing about your customers leaves the service. Batch mode accepts up to 1000 prefixes in one POST, so enrichment jobs need a single call instead of a thousand.

Honest limits: this is a static community dataset, not a live issuer feed. Issuer names may be outdated and are not guaranteed to reflect the current issuer. It does not perform any live network verification, and a "not found" result is a normal answer rather than an error.

Endpoints

MethodPathWhat it does
GET/Service info Returns the API name, version and links to /docs and /health. bash curl -X GET "https://bin.p.rapidapi.com/" \ -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: bin.p.rapidapi.com" json { "api": "BIN Lookup API", "version": "1.0.0", "docs": "/docs", "health": "/health" } ### GET /health — Healthcheck Liveness probe: "ok" when the local BIN database is present and readable, "degraded" when it is missing or cannot be opened. bash curl -X GET "https://bin.p.rapidapi.com/health" \ -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: bin.p.rapidapi.com" json { "status": "ok", "db": true, "db_readable": true } ### GET /stats — Database statistics Returns the number of stored prefixes, the database build date and the data license. Returns 503 when the database file is missing. bash curl -X GET "https://bin.p.rapidapi.com/stats" \ -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: bin.p.rapidapi.com" json { "records": 458000, "built_at": "2026-09-19T00:00:00", "data_license": "binlist community data, CC BY 4.0 (binlist-data merge)" } ### GET /lookup — Look up a BIN/IIN prefix Looks up one BIN/IIN prefix and returns the issuer, card scheme, funding type, product tier and country. Values longer than 6 digits use the first 6 digits; a 5-digit legacy prefix is tried next; a 4-digit prefix falls back to the first key inside that range (match_type="range"). Not found is a normal answer (found=false). Query parameter: bin (required) — BIN/IIN prefix, 4-16 characters with at least 4 digits; spaces and dashes are ignored. bash curl -X GET "https://bin.p.rapidapi.com/lookup?bin=414720" \ -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: bin.p.rapidapi.com" json { "bin": "414720", "found": true, "searched_prefix": "414720", "match_type": "exact", "brand": "VISA", "type": "CREDIT", "category": "WORLD ELITE", "issuer": "JPMORGAN CHASE BANK N.A.", "issuer_phone": "+1 555", "issuer_url": "https://b.example", "country_code": "US", "country": "UNITED STATES", "source": "merged", "last_confirmed": "2024-01-01", "data_license": "binlist community data, CC BY 4.0 (binlist-data merge)", "error": null } ### POST /lookup-batch — Look up many BIN/IIN prefixes Looks up up to 1000 BIN/IIN prefixes in one request and returns per-item results in request order. Request body is limited in size and every item in length; items that are not valid prefixes are reported as found=false inside the result list. Request body: {"bins": ["414720", "510000", "999999"]} — maximum 1000 items, each item up to 32 characters. bash curl -X POST "https://bin.p.rapidapi.com/lookup-batch" \ -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: bin.p.rapidapi.com" \ -H "Content-Type: application/json" \ -d '{"bins":["414720","510000","999999"]}' json { "total": 3, "found_count": 2, "not_found_count": 1, "results": [ { "bin": "414720", "found": true, "searched_prefix": "414720", "match_type": "exact", "brand": "VISA", "type": "CREDIT", "category": "WORLD ELITE", "issuer": "JPMORGAN CHASE BANK N.A.", "issuer_phone": "+1 555", "issuer_url": "https://b.example", "country_code": "US", "country": "UNITED STATES", "source": "merged", "last_confirmed": "2024-01-01", "data_license": "binlist community data, CC BY 4.0 (binlist-data merge)", "error": null }, { "bin": "510000", "found": true, "searched_prefix": "510000", "match_type": "exact", "brand": "MASTERCARD", "type": "CREDIT", "category": null, "issuer": "EXAMPLE BANK", "issuer_phone": null, "issuer_url": null, "country_code": "GB", "country": "UNITED KINGDOM", "source": "merged", "last_confirmed": "2024-01-01", "data_license": "binlist community data, CC BY 4.0 (binlist-data merge)", "error": null }, { "bin": "999999", "found": false, "searched_prefix": null, "match_type": null, "brand": null, "type": null, "category": null, "issuer": null, "issuer_phone": null, "issuer_url": null, "country_code": null, "country": null, "source": null, "last_confirmed": null, "data_license": null, "error": null } ] }

Quick start

curl -X GET "https://bin.p.rapidapi.com/" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: bin.p.rapidapi.com"

FAQ

Is this a live check against the card networks?

No. It is a static offline lookup against a local community dataset of ~458,000 BIN prefixes. There are no external network calls and no live issuer verification.

How current is the data?

The dataset is built from binlist community data (CC BY 4.0) and carries a build date available via /stats. Issuer names may be outdated and are not guaranteed to reflect the current issuer.

Can I look up many BINs at once?

Yes — POST /lookup-batch accepts up to 1000 prefixes per request and returns results in request order, with counts of found and not-found items.

What does a "not found" result mean?

It is a normal answer, not an error. The response returns found=false for prefixes that are not in the dataset, and invalid items inside a batch are reported the same way without failing the whole request.

Try BIN Lookup Card Issuer Scheme Country free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs