Skip to content

ArnabXD/bins-ws-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bins-Ws-API (Unofficial)

This is an unofficial API to fetch data from bins.ws

Note: Although bins.ws looks similar to bins.su but I don't know if they have the same database or not.

Deploy

Deta Heroku Vercel
Deploy Deploy to Heroku Deploy to Vercel

API

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

Example

Request to : https://localhost:3000/api/439192

Response :

{
  "result": true,
  "message": "Search Successful",
  "data": {
    "bin": "439192",
    "vendor": "VISA",
    "type": "CREDIT",
    "level": "PLATINUM",
    "bank": "KRUNGTHAI CARD PUBLIC CO., LTD.",
    "country": "THAILAND",
    "countryInfo": {
      "name": "THAILAND",
      "emoji": "🇹🇭",
      "unicode": "U+1F1F9 U+1F1ED",
      "code": "TH",
      "dialCode": "+66"
    }
  }
}

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-ws-api
$ cd bins-ws-api
$ npm install 
$ npm start

Your app should now be running on localhost:3000.

About

Unofficial API to fetch bin details from bins.ws

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •