$ man bin-lookup
/bin-lookup
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
utilities
STATUS
● live
NAME
bin-lookup — looks up a credit card bin: the first 6-8 digits resolve to issuer, country, brand, and card type via binlist.net
SYNOPSIS
POST https://x402.agentutility.ai/bin-lookup
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Looks up a credit card BIN: the first 6-8 digits resolve to issuer, country, brand, and card type via binlist.net. Useful for fraud screening, payment routing, and geo-risk. Use it as a bin lookup or IIN lookup.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| bin | string | — | required |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| bin | string | First 6-8 digits of the card number used for the lookup. |
| scheme | string | Card network scheme such as visa, mastercard, amex, discover, or jcb. |
| type | string | Card type indicator: debit, credit, or charge. |
| brand | string | Specific product brand within the scheme, like Visa Classic, World Elite, or Platinum. |
| prepaid | boolean | True if the BIN identifies a prepaid card, false for funded credit/debit accounts. |
| card_number | object | Card number metadata: length and whether the Luhn checksum applies. |
| country | object | Issuing country block with ISO alpha-2/alpha-3 codes, name, emoji, currency, and lat/lon. |
| issuer | object | Issuing bank details including name, website URL, and customer phone where known. |
| source | string | Upstream data source for the lookup, typically binlist.net. |
| note | string | Optional note about data freshness, partial matches, or fallback behavior. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/bin-lookup \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the bin-lookup tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- biniincredit-cardfraudpaymentskyc
- methods
- POST
- cluster
- locale
- price
- $0.02 USDC per call
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| address-geocode | Converts a free-form address, postal code, place name, or POI into latitude/longitude. | $0.02 |
| airport-delays | Reports live US airport delays, ground stops, and closures from the FAA National Airspace System Status feed. | $0.02 |
| bin-lookup-api | Looks up card BINs, resolving the first 6-8 card digits to scheme, issuer, country, card type, prepaid/debit/credit signal, and payment-r… | $0.02 |
| card-bin-lookup | Resolves the first 6-8 digits of a card number to issuer bank, country, brand (Visa/Mastercard/Amex/Discover/JCB/UnionPay), and card type… | $0.02 |
| geocode | Geocodes addresses and place names to coordinates; exact short alias for address-geocode so agents searching for 'geocode' can discover t… | $0.02 |
| iin-lookup | Resolves an issuer identification number (the first 6-8 card digits) to scheme, issuer, country, card type, and prepaid/debit/credit sign… | $0.02 |
| reverse-geocode | Converts latitude/longitude coordinates into a structured street address. | $0.02 |
| satellite-bbox | Builds a cloud-free Sentinel-2 mosaic over any bounding box and returns it as a single PNG composite. | $0.02 |
SEE ALSO