apyhub
Back
โ–ฃ VERIFICATION KIT

BIN IP Checker API

What it does

BIN IP Checker lets you send a BIN and an IP address, then returns a simple response envelope with a numeric code and a success flag. Use it when you need to check card issuer information against an IP-based signal in your backend flow.

The request is straightforward: pass bin and ip as query parameters. The response schema is minimal, so you should expect the standard envelope fields and any additional module blocks returned by the service. That makes it easy to integrate into risk checks, checkout validation, or fraud-routing logic without parsing a large payload.

Because the output is lightweight, this service fits well into real-time decisioning. For example, you can call BIN IP Checker during payment initiation to gate suspicious combinations before you move to authorisation, or use it in a rules engine alongside other identity and transaction checks.

If you just need a quick yes/no-style result with a code for handling, BIN IP Checker keeps the contract simple.

GET
BIN/IP Checker
https://api.eu.apyhub.com/quadlem/bin-ip-checker

QUICKSTART

GUIDE

Quickstart

Use the following request to analyze a payment card BIN and compare it with an IP address to detect potential country mismatches and fraud indicators.

curl -X GET "https://api.eu.apyhub.com/quadlem/bin-ip-checker?bin=123456&ip=8.8.8.8" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

A successful request returns details about the payment card BIN, IP address intelligence, and whether the issuing country of the card matches the IP address location.

{
  "success": true,
  "code": 200,
  "BIN": {
    "valid": true,
    "number": 123456,
    "scheme": "EXAMPLE BRAND",
    "type": "CREDIT",
    "currency": "NIO",
    "country": {
      "name": "NICARAGUA",
      "alpha2": "NI",
      "flag": "๐Ÿ‡ณ๐Ÿ‡ฎ"
    }
  },
  "IP": {
    "IP": "8.8.8.8",
    "country": "United States of America",
    "is_proxy": false,
    "is_vpn": false,
    "IP_BIN_match": false,
    "IP_BIN_match_message": "The IP address country doesn't match the country of the BIN",
    "risk_score": 0,
    "risk_level": "low",
    "recommendation": "accept"
  }
}

Note: When both bin and ip are provided, the response includes cross-validation signals such as IP_BIN_match and IP_BIN_match_message to help identify geographic inconsistencies that may indicate potential fraud.

TRY ITLIVE ยท 40 ATOMS
Loading your default keyโ€ฆ
The full key is used to call the gateway and stays in this tab โ€” never sent to orbit or saved.

About this endpoint

What it does

Checks a card's BIN against an IP address to verify whether the card's issuer country matches the IP's geolocated country โ€” a common signal for cross-border fraud detection.

Query Parameter(s)

AttributeTypeDescription
binStringBIN to check.
ipStringIP address to check.

Response

Returns a JSON object holding the card issuer details under BIN, the IP intelligence under IP, and a cross-check of whether the two countries agree.

AttributeTypeDescription
successBooleantrue if the request succeeded.
codeIntegerHTTP-style response code, e.g. 200.
BINObjectCard issuer details for the BIN you sent.
BIN.validBooleantrue if the BIN was found.
BIN.numberIntegerThe BIN that was looked up.
BIN.lengthIntegerCard number length for this BIN, e.g. 16.
BIN.schemeStringCard network, e.g. VISA, MASTERCARD.
BIN.brandStringCard brand or product name.
BIN.typeStringCard type, e.g. DEBIT or CREDIT.
BIN.levelStringCard level, e.g. CLASSIC, GOLD, PLATINUM.
BIN.is_commercialStringWhether it is a business card (true / false).
BIN.is_prepaidStringWhether it is a prepaid card (true / false).
BIN.currencyStringCard currency code, e.g. DKK.
BIN.issuerObjectThe bank that issued the card.
BIN.issuer.nameStringIssuing bank name.
BIN.issuer.websiteStringIssuing bank website.
BIN.issuer.phoneStringIssuing bank phone number.
BIN.countryObjectCountry where the card was issued.
BIN.country.nameStringCountry name.
BIN.country.nativeStringCountry name in its own language.
BIN.country.flagStringFlag emoji.
BIN.country.numericStringISO 3166 numeric code.
BIN.country.alpha2StringISO 3166 two-letter code, e.g. DK.
BIN.country.alpha3StringISO 3166 three-letter code, e.g. DNK.
BIN.country.capitalStringCapital city.
BIN.country.currencyStringLocal currency code.
BIN.country.currency_nameStringLocal currency name.
BIN.country.currency_symbolStringLocal currency symbol.
BIN.country.regionStringWorld region, e.g. Europe.
BIN.country.subregionStringSub-region, e.g. Northern Europe.
BIN.country.iddStringInternational dialling code.
BIN.country.languageStringMain language.
BIN.country.language_codeStringMain language code.
IPObjectLocation, network and risk details for the IP you sent, plus the cross-check with the BIN country.
IP.IPStringThe IP address that was checked.
IP.ip_versionInteger4 or 6.
IP.validBooleantrue if the IP address is valid.
IP.alpha2StringTwo-letter country code of the IP.
IP.flagStringFlag emoji of the IP country.
IP.countryStringCountry of the IP.
IP.regionStringRegion or state of the IP.
IP.cityStringCity of the IP.
IP.latitudeNumberApproximate latitude.
IP.longitudeNumberApproximate longitude.
IP.zip_codeStringPostal code, when known.
IP.time_zoneStringTime zone offset of the IP location.
IP.current_timeStringCurrent local time at the IP location.
IP.ispStringInternet provider, e.g. Google LLC.
IP.asnStringAutonomous system number of the network.
IP.IP_BIN_matchBooleantrue if the IP country is the same as the card issuing country. A mismatch is a common fraud signal.
IP.IP_BIN_match_messageStringPlain-language result of the match, e.g. The IP address country doesn't match the country of the BIN.
IP.is_proxyBooleantrue if the IP is a proxy of any kind.
IP.is_vpnBooleantrue if the IP belongs to a VPN.
IP.is_torBooleantrue if the IP is a Tor exit node.
IP.is_datacenterBooleantrue if the IP belongs to a hosting or data center network.
IP.is_public_proxyBooleantrue if the IP is an open public proxy.
IP.is_residential_proxyBooleantrue if the IP is a residential proxy.
IP.threat_typesString ArrayThreat categories found for the IP. Empty when none.
IP.risk_scoreIntegerIP risk from 0 (low) to 100 (high).
IP.risk_levelStringlow, medium or high.
IP.recommendationStringSuggested action, e.g. accept, review or reject.
IP.reasonsString ArrayReasons behind the risk score. Empty when there are none.
IP.summaryStringOne-line summary of the IP risk.
IP.risk_model_versionStringVersion of the risk model used.
โ–ฃ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.