# BINLookupAPI > BIN Lookup API for payment card identification. One documentation hub covers the API, language guides, and support. Read the page that matches the task. Do not use the old blog guides. Language-guide URLs on this site redirect to /docs/guides/. Support-article paths (/articles/ and /collections/) on this site redirect into this hub. - Documentation hub: https://binlookupapi.com/docs/ - Full Markdown bundle: https://binlookupapi.com/docs.md - OpenAPI specification: https://app.binlookupapi.com/openapi.json - Changelog: https://binlookupapi.com/changelog/ ## Pages Each item has an HTML page and a Markdown file with the same content. ### API - [Overview](https://binlookupapi.com/docs/): BIN lookup API documentation. Integrate card issuer identification, BIN validation, fraud prevention, and payment routing with a single REST endpoint. Markdown: https://binlookupapi.com/docs/index.md - [Quickstart](https://binlookupapi.com/docs/quickstart/): Get started with the BIN lookup API in minutes. Create an account, generate an API key, and make your first BIN lookup request with cURL in four steps. Markdown: https://binlookupapi.com/docs/quickstart.md - [API Reference](https://binlookupapi.com/docs/api-reference/): Complete BIN lookup REST API reference. POST /v1/bin endpoint, request parameters, JSON response fields, error codes, and code examples in 7 languages. Markdown: https://binlookupapi.com/docs/api-reference.md - [Batch Lookups](https://binlookupapi.com/docs/batch-lookups/): Bulk BIN lookup endpoint: check up to 2,000 BINs in a single API request. Request format, per-item errors, quota accounting, and code examples. Markdown: https://binlookupapi.com/docs/batch-lookups.md - [Batch CSV](https://binlookupapi.com/docs/batch-csv/): Upload a CSV of up to 2,000 BINs in the dashboard and download an enriched file with scheme, issuer, country, and card flags. No code required. Markdown: https://binlookupapi.com/docs/batch-csv.md ### Support - [Overview](https://binlookupapi.com/docs/support/): Billing, dashboard, API keys, team settings, data definitions, security, and troubleshooting for BINLookupAPI. Markdown: https://binlookupapi.com/docs/support.md - [Billing](https://binlookupapi.com/docs/subscriptions/): BIN lookup API plans and rate limits. Start free with 10 real lookups per day, then compare paid plans by monthly quota and features. Markdown: https://binlookupapi.com/docs/subscriptions.md - [Dashboard](https://binlookupapi.com/docs/support/dashboard/): How to read the BINLookupAPI dashboard home page, Usage page, banners, and organisation settings. Markdown: https://binlookupapi.com/docs/support/dashboard.md - [API Keys](https://binlookupapi.com/docs/api-keys/): Authenticate BIN lookup API requests. Generate a free API key, rotate credentials securely, and use Bearer token authentication. Markdown: https://binlookupapi.com/docs/api-keys.md - [Team](https://binlookupapi.com/docs/support/team/): Invite teammates, accept an invitation, change roles, and transfer ownership of a BINLookupAPI organisation. Markdown: https://binlookupapi.com/docs/support/team.md - [Data](https://binlookupapi.com/docs/support/data/): Where BINLookupAPI BIN data comes from, what response fields mean, and how to report incorrect data. Markdown: https://binlookupapi.com/docs/support/data.md - [Security](https://binlookupapi.com/docs/support/security/): What BINLookupAPI stores about API keys and requests, card-number rules, service providers, and how to delete an organisation. Markdown: https://binlookupapi.com/docs/support/security.md - [Troubleshooting](https://binlookupapi.com/docs/support/troubleshooting/): Causes and corrections for BIN lookup HTTP errors, quota errors, CSV upload failures, and billing problems. Markdown: https://binlookupapi.com/docs/support/troubleshooting.md - [Contact](https://binlookupapi.com/docs/support/contact/): How to contact BINLookupAPI support, what to include in a request, and the response time for each plan. Markdown: https://binlookupapi.com/docs/support/contact.md ### Guides - [All guides](https://binlookupapi.com/docs/guides/): Language guides for the BIN Lookup API. Examples for curl, JavaScript, Python, PHP, Java, C#, and Go use the current POST /v1/bin endpoint. Markdown: https://binlookupapi.com/docs/guides.md - [curl](https://binlookupapi.com/docs/guides/curl/): Call the BIN Lookup API with curl. Send one BIN, read quota headers, and send a batch of up to 2,000 BINs. Markdown: https://binlookupapi.com/docs/guides/curl.md - [JavaScript](https://binlookupapi.com/docs/guides/javascript/): Call the BIN Lookup API from Node.js with fetch. Handle current error codes and send a batch lookup. Markdown: https://binlookupapi.com/docs/guides/javascript.md - [Python](https://binlookupapi.com/docs/guides/python/): Call the BIN Lookup API from Python with requests. Handle current error codes and send a batch lookup. Markdown: https://binlookupapi.com/docs/guides/python.md - [PHP](https://binlookupapi.com/docs/guides/php/): Call the BIN Lookup API from PHP with cURL. Handle current error codes and send a batch lookup. Markdown: https://binlookupapi.com/docs/guides/php.md - [Java](https://binlookupapi.com/docs/guides/java/): Call the BIN Lookup API from Java 11 or later with HttpClient. Handle current error codes and send a batch lookup. Markdown: https://binlookupapi.com/docs/guides/java.md - [C#](https://binlookupapi.com/docs/guides/csharp/): Call the BIN Lookup API from C# with HttpClient. Handle current error codes and send a batch lookup. Markdown: https://binlookupapi.com/docs/guides/csharp.md - [Go](https://binlookupapi.com/docs/guides/go/): Call the BIN Lookup API from Go with net/http. Handle current error codes and send a batch lookup. Markdown: https://binlookupapi.com/docs/guides/go.md ## API facts - Base URL: https://api.binlookupapi.com - Single lookup: POST /v1/bin with JSON body `{"number": 42467101}` - Batch lookup: POST /v1/bins with JSON body `{"numbers": [42467101]}` (1 to 2,000 values, BLAPI-500KPM, BLAPI-1MPM and test mode) - Authentication: `Authorization: Bearer YOUR_API_KEY` - Send 6 to 11 digits. Do not send a full card number. - A digit string is accepted. Leading zeros are removed. - The request body must be 1 KB or smaller. - Success body: `{ "mode": "live" | "test", "data": { ... } }`. Plans BLAPI-150KPM and above (including BLAPI-1MPM) also return `meta.longer_bin_available`. - There is no fixed per-second limit. On the free tier and BLAPI-30KPM to BLAPI-500KPM the daily quota is the plan limit; BLAPI-1MPM uses a monthly allowance. Technical capacity and acceptable-use limits apply to every plan. - Quota headers: X-Quota-Limit, X-Quota-Remaining, X-Quota-Reset. On BLAPI-1MPM they describe the billing period (limit 1000000, included lookups left, period end), and X-Credits-Remaining gives the usable prepaid credits. - On the free tier and BLAPI-30KPM to BLAPI-500KPM, the daily quota resets at 00:00 UTC. BLAPI-1MPM has no daily reset: its 1,000,000 included lookups reset each billing period, then prepaid credits are used (earliest expiry first; usable only while on BLAPI-1MPM) (see /docs/subscriptions/#monthly-allowance). All API keys in one organisation share the quota. - Error body: `{ "error": "ERROR_CODE", "message": "..." }`. Some errors also include `upgrade_url`. - Error codes: 400 BAD_REQUEST, 401 UNAUTHORIZED, 403 FORBIDDEN, 403 FEATURE_NOT_AVAILABLE, 404 NOT_FOUND, 429 QUOTA_EXCEEDED, 502 SERVICE_ERROR. - Free tier: 10 real lookups per day. BLAPI-30KPM is US$20/month (1,000/day). BLAPI-150KPM is US$50/month (5,000/day, meta signal). BLAPI-500KPM is US$100/month (20,000/day, batch lookup, Batch CSV, priority support). BLAPI-1MPM is US$200/month (1,000,000 lookups per billing period, no fixed daily quota, every BLAPI-500KPM feature, access to discounted prepaid credit packs; plan and packs are self-serve from Billing, see /pricing/#prepaid-credits). - A test-mode organisation can use every plan feature with mock data. The test-mode daily limit is 500 lookups. ## Moved URLs - Language guides moved from `/blog/*-bin-lookup-api-guide/` to `/docs/guides/`. The old blog URLs on this site redirect. - Support articles from support.binlookupapi.com are now in this hub. This site redirects `/articles/*` and `/collections/*` to the pages below. ## Contact - Website: https://binlookupapi.com - Support: https://binlookupapi.com/docs/support/contact/ - Email: support@binlookupapi.com - Sign in: https://app.binlookupapi.com/sign-in