{"uid":"cap_LMO-xOpmrWAdnEBSoRc0c","slug":"card-bin-lookup-91619b0d","name":"Card BIN Lookup","description":"Instant card BIN intelligence. Bank, brand, country, type, funding &amp; more via x402.","url":"https://binx402.com/v1/bin","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["bin"],"properties":{"bin":{"type":"string","minLength":6,"description":"The first 6 to 8 digits of a payment card, e.g. \"448590\"."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","BIN"],"properties":{"BIN":{"type":"object","required":["valid","scheme"],"properties":{"type":{"type":"string","description":"CREDIT, DEBIT or CHARGE."},"brand":{"type":"string","description":"Card brand."},"level":{"type":"string","description":"Product level, e.g. PURCHASING."},"valid":{"type":"boolean"},"issuer":{"type":"object","properties":{"name":{"type":"string","description":"Issuing bank."},"phone":{"type":"string"},"website":{"type":"string"}}},"length":{"type":"integer"},"number":{"type":"integer","description":"The BIN that was looked up."},"scheme":{"type":"string","description":"Card scheme, e.g. VISA."},"country":{"type":"object","properties":{"name":{"type":"string"},"alpha2":{"type":"string"},"currency":{"type":"string"}}},"currency":{"type":"string"},"is_prepaid":{"type":"string"},"is_commercial":{"type":"string"}},"description":"Card metadata resolved from the BIN."},"code":{"type":"integer","description":"Upstream status code."},"success":{"type":"boolean","description":"Whether the lookup succeeded."}}}}}}},"responseSchema":{"type":"json","example":{"BIN":{"type":"CREDIT","level":"PURCHASING","valid":true,"issuer":{"name":"JPMORGAN CHASE BANK N.A. - COMMERCIAL"},"number":448590,"scheme":"VISA","currency":"USD"},"code":200,"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SPArjT0MHoOKRPEBZjZgi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a payment card BIN (first 6-8 digits) to issuer, card scheme, type, country, and other card metadata","exampleAgentPrompt":"Can you look up the BIN 448590 and tell me what bank issued it, whether it's a credit or debit card, and what country it's from?","exampleUseCases":[{"title":"Fraud screening at checkout","prompt":"We just received a payment attempt with card starting with 524130 — can you look up that BIN and tell me if it's a prepaid card, what country it's from, and who issued it so we can flag it for review?"},{"title":"Payment routing by card scheme","prompt":"Before I route this transaction, can you check BIN 45717360 and confirm whether it's a Visa or Mastercard, and whether it's credit or debit?"},{"title":"Customer support card identification","prompt":"A customer says their card is declining and gave me the first 8 digits: 40660347. Can you look that BIN up and tell me what bank issued it and what type of card it is?"}],"resultDescription":"A JSON object with a BIN sub-object containing: validity flag, card scheme (e.g. VISA), card type (CREDIT/DEBIT/CHARGE), card level (e.g. PURCHASING), brand, currency, issuer name/phone/website, country name/alpha2/currency, is_prepaid, and is_commercial fields. Also includes a success boolean and upstream status code.","failureModes":["Invalid or too-short BIN (fewer than 6 digits) returns validation error","Unknown or unregistered BIN returns success:false with no card metadata","Network or upstream provider timeout returns non-200 status","Payment failure (x402) if USDC balance is insufficient or wallet not configured"],"whenToPreferThis":"Choose this endpoint when you need real-time BIN resolution for a single card prefix and want structured data covering issuer, scheme, type, country, and prepaid/commercial flags. Ideal for fraud checks, payment routing, and customer support workflows where per-lookup micropayment billing ($0.01 USDC via x402) is acceptable. Prefer over batch BIN databases when freshness and accuracy matter more than bulk throughput.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:37.432Z","isFirstParty":false}