# Full Download
source: https://developer.mastercard.com/bin-lookup/documentation/use-cases/get-all-bins/index.md

## Get all Bins {#get-all-bins}

This API allows BIN Lookup integrators (Merchants/Acquirers/Payment Service Providers - PSPs) to receive a list of all the most up-to-date BIN range information available from issuing banks. A BIN range update from an issuing bank is made available as soon as it is received on a daily basis.

### Request {#request}

**POST** {{baseurl}}/bin-ranges?page=1\&size=500

### Response {#response}

```json
{
  "currentPageNumber": 1,
  "currentPageSize": 500,
  "totalPages": 224,
  "totalRecords": 112000,
  "items": [
    {
      "lowAccountRange": 2229293150000000000,
      "highAccountRange": 2229293200000000000,
      "binNum": "222929",
      "binLength": 6,
      "acceptanceBrand": "MCC",
      "ica": "00000023460",
      "customerName": "Citi",
      "country": {
                "code": 360,
                "alpha3": "IDN",
                "name": "Indonesia"
            },
      "localUse": false,
      "authorizationOnly": false,
      "productCode": "MCO",
      "productDescription": "MASTERCARD CORPORATE",
      "nonReloadableIndicator": false,
      "anonymousPrepaidIndicator": "N",
      "programName": null,
      "vertical": null,
      "fundingSource": "CREDIT",
      "consumerType": "CONSUMER",
      "smartDataEnabled": true,
      "affiliate": null,
      "comboCardIndicator": "N",
      "flexCardIndicator": "N",
      "gamblingBlockEnabled": false,
      "paymentAccountType": "P"
    },
    {
      "lowAccountRange": 2184415000000000000,
      "highAccountRange": 2184416000000000000,
      "binNum": "218441",
      "binLength": 6,
      "acceptanceBrand": "MSI",
      "ica": "00000002535",
      "customerName": "Citi",
      "country": {
                "code": 840,
                "alpha3": "USA",
                "name": "United States of America"
            },
      "localUse": false,
      "authorizationOnly": false,
      "productCode": "MSI",
      "productDescription": "MAESTRO",
      "nonReloadableIndicator": false,
      "anonymousPrepaidIndicator": "N",
      "programName": null,
      "vertical": null,
      "fundingSource": "DEBIT",
      "consumerType": "CONSUMER",
      "smartDataEnabled": true,
      "affiliate": null,
      "comboCardIndicator": "N",
      "flexCardIndicator": "N",
      "gamblingBlockEnabled": false,
      "paymentAccountType": "P"
    }
    ...
  ]
}
```

### Example Sequence {#example-sequence}

The following example sequence shows how you might use the Get BIN Ranges API.

![How to download all BINs](https://static.developer.mastercard.com/content/bin-lookup/uploads/allbins.svg "How to download all BINs")

## Next Steps {#next-steps}

To learn how to use the paginated download functionality check out the following [tutorial](https://developer.mastercard.com/bin-lookup/documentation/tutorials-and-guides/pagination-tutorial/index.md).

### Useful Links {#useful-links}

* View the full Open API specification [here](https://developer.mastercard.com/bin-lookup/documentation/api-section/api-reference/index.md).
* Review the API's error responses [here](https://developer.mastercard.com/bin-lookup/documentation/code-and-formats/index.md).
