Skip to content

An API to get BIN details from bins.su ( Unofficial & may break if the bins.su do any changes )

License

Notifications You must be signed in to change notification settings

ThevenRexOff/bins-su-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bins-Su-API

An API to get BIN details from bins.su (Unofficial & may not work if bins.su do any changes to their site)


API

Send Get Request to http://yourhost:port/api/{bin}

Example

Request to : https://yourhost:port/api/439129

Response :

{
  "result": true,
  "message": "BIN Found",
  "data": {
    "bin": 439129,
    "country": "NEPAL",
    "countryInfo": {
      "name": "NEPAL",
      "alpha2": "NP",
      "alpha3": "NPL",
      "numeric": "524",
      "emoji": "🇳🇵"
    },
    "bank": "KUMARI BANK, LTD.",
    "level": "ELECTRON",
    "type": "DEBIT",
    "vendor": "VISA"
  }
}

Errors :

// No Results Found
{"result":false,"message":"No Results Found"}

// Invalid Bin
{"result":false,"message":"Request a Valid BIN"}

Running Locally

$ git clone https://github.com/ArnabXD/bins-su-api
$ cd bins-su-api
$ yarn install
$ yarn run start

Deploy

Deploy to Cloudflare Workers

About

An API to get BIN details from bins.su ( Unofficial & may break if the bins.su do any changes )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.1%
  • CSS 4.3%
  • JavaScript 2.6%