# Bindex > BIN/IIN lookup API. Resolves the first 6-8 digits of a card to its issuer, scheme, funding type, product tier and issuing country. First 6-8 digits only -- never send a full card number. Prepaid token packs; /api/v1 responses carry matched_on (exact / 6-digit-prefix / none) and a confidence provenance grade, never a fraud verdict. Built from open, publicly available card-range data. This is an agent signpost, not an AI-search ranking signal. Base URL: https://bindex.cc/ ### How agents should use these docs - Read /openapi.json and /docs.md first; do not rely on memorised endpoints. - Send only the first 6-8 digits of a card; a 422 FULL_PAN_REJECTED is final, never retry with a full number. - Treat confidence as data provenance (source agreement / freshness), never a fraud, accuracy or approval verdict. - Never invent a price: read /api/v1/packs and /api/v1/plans (prices come from the server). - Authenticate /api/v1 calls with the X-API-Key header (name only; keep the value in your secret store). - Honour 402 (out of tokens), 429 (quota, Retry-After) and X-RateLimit-* headers. - For native tool use, connect an MCP client to /mcp (Streamable HTTP, Authorization: Bearer ). - Ask for approval before changing account resources. ## Start here - [Quickstart](/docs.md#quickstart): Key, first lookup, error codes - [API guide (Markdown)](/docs.md): Full guide, canonical field dictionary, 6 code examples - [OpenAPI 3 schema (JSON)](/openapi.json): Customer paths only; admin and webhook namespaces are not published - [Full documentation](/llms-full.txt): Everything in one file (de-facto convention, not part of the spec) ## Product facts (live, never hardcoded) - [Token packs / prices](/api/v1/packs): Live prices; do not cache a price - [Recurring plans](/api/v1/plans): Live plan catalogue - [Limits & quotas](/docs.md#errors): 402 / 429 / 422 semantics, Retry-After - [Dataset coverage](/api/v1/dataset): Counts only; corpus source list is private - [Machine health](/health/data): Freshness and import status - [Dataset & release changelog (JSON)](/changelog.json): Release metadata, no per-BIN diffs - [Release feed (RSS)](/feed.xml): Dated dataset releases ## Agent & MCP integration - [Integrate with AI (copy-paste prompt)](/ai): Also at /integrate - [MCP server](/mcp): Streamable HTTP, protocol 2026-07-28, Bearer API key - [llms.txt (well-known alias)](/.well-known/llms.txt): Same index at the RFC 8615 path - [OpenAPI schema (well-known alias)](/.well-known/openapi.json): Same schema at the RFC 8615 path ## API reference (44 customer paths) - [OpenAPI schema (JSON)](/openapi.json): Canonical machine contract; detail lives here, not in these lines - [POST /api/v1/auth/login](/api/v1/auth/login): Login Account - [POST /api/v1/auth/logout](/api/v1/auth/logout): Logout - [GET /api/v1/auth/me](/api/v1/auth/me): Whoami - [POST /api/v1/auth/me/checkout/finalize](/api/v1/auth/me/checkout/finalize): Finalize Checkout - [GET,POST /api/v1/auth/me/keys](/api/v1/auth/me/keys): My Keys - [DELETE /api/v1/auth/me/keys/{key_id}](/api/v1/auth/me/keys/{key_id}): Revoke My Key - [GET /api/v1/auth/me/limits](/api/v1/auth/me/limits): My Limits - [POST /api/v1/auth/me/password](/api/v1/auth/me/password): Change Password - [GET /api/v1/auth/me/payment-methods](/api/v1/auth/me/payment-methods): My Payment Methods - [DELETE /api/v1/auth/me/payment-methods/{method_id}](/api/v1/auth/me/payment-methods/{method_id}): Remove Payment Method - [POST /api/v1/auth/me/redeem](/api/v1/auth/me/redeem): Redeem - [GET /api/v1/auth/me/subscription](/api/v1/auth/me/subscription): My Subscription - [POST /api/v1/auth/me/subscription/cancel](/api/v1/auth/me/subscription/cancel): Cancel Subscription - [POST /api/v1/auth/me/subscription/subscribe](/api/v1/auth/me/subscription/subscribe): Subscribe - [GET /api/v1/auth/me/tokens](/api/v1/auth/me/tokens): My Tokens - [GET /api/v1/auth/me/topups](/api/v1/auth/me/topups): My Topups - [GET /api/v1/auth/me/usage](/api/v1/auth/me/usage): My Usage - [POST /api/v1/auth/register](/api/v1/auth/register): Register Account - [GET /api/v1/billing/balance](/api/v1/billing/balance): Balance - [GET,POST /api/v1/billing/topups](/api/v1/billing/topups): List Topups Endpoint - [GET /api/v1/billing/topups/{topup_id}](/api/v1/billing/topups/{topup_id}): Get Topup Endpoint - [GET /api/v1/billing/transactions](/api/v1/billing/transactions): Transactions - [GET /api/v1/bins](/api/v1/bins): Search - [POST /api/v1/bins/batch](/api/v1/bins/batch): Batch Lookup - [GET /api/v1/bins/{prefix}](/api/v1/bins/{prefix}): Get Bin - [GET /api/v1/checkout/{topup_id}](/api/v1/checkout/{topup_id}): Checkout Details - [POST /api/v1/checkout/{topup_id}/verify](/api/v1/checkout/{topup_id}/verify): Verify Checkout - [GET /api/v1/dataset](/api/v1/dataset): Dataset - [GET /api/v1/me](/api/v1/me): Me - [GET /api/v1/me/usage](/api/v1/me/usage): Me Usage - [GET /api/v1/packs](/api/v1/packs): List Token Packs - [POST /api/v1/packs/{pack_name}/purchase](/api/v1/packs/{pack_name}/purchase): Buy Token Pack - [GET /api/v1/plans](/api/v1/plans): List Public Plans - [POST /api/v1/public/bins/batch](/api/v1/public/bins/batch): Public Batch - [GET /api/v1/public/bins/{prefix}](/api/v1/public/bins/{prefix}): Public Lookup - [GET /api/v1/public/dataset](/api/v1/public/dataset): Public Dataset - [GET /api/v1/public/packs](/api/v1/public/packs): List Token Packs Public - [GET /api/v1/public/plans](/api/v1/public/plans): List Public Plans Keyless - [GET /api/v1/public/site-config](/api/v1/public/site-config): Public Site Config - [GET /api/v1/subscriptions/locales](/api/v1/subscriptions/locales): Locales - [GET /api/v1/subscriptions/plans](/api/v1/subscriptions/plans): Recurring Plans - [GET /api/v1/tokens](/api/v1/tokens): Token Balance - [GET /api/v1/tokens/ledger](/api/v1/tokens/ledger): Token Ledger - [GET /healthz](/healthz): Healthz ## Policies & status - [Glossary](/glossary): BIN/IIN terminology hub - [AI crawl & usage policy](/robots.txt): Which crawlers may do what - [Deprecations & release notes](/changelog.json): Dataset-release metadata ## External resources - [llms.txt proposal v2.1](https://llmstxt.org/): The informal specification this file follows - [OpenAPI Initiative](https://spec.openapis.org/oas/latest.html): The schema format used by /openapi.json - [Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/): The protocol used by /mcp