# Institution lookup

Lookup ACH and wire participating financial institutions. We recommend using this endpoint when an end-user enters a routing number to confirm their bank or credit union.

## Rail data for institutions

Retrieve rail support data for a given institution.

To retrieve rail data for an institution, you'll need to specify the `/fed.read` scope when generating a token.

#### Parameters

| Name            | Type   |
|-----------------|--------|
| `routingNumber` | string |

```javascript
const routingNumber = routingNumber;
moov.institutions.lookupAllRailsByRoutingNumber(routingNumber);
```

## Search institutions

Search for institutions by their routing number or name.

To search institutions, you'll need to specify the `/fed.read` scope when generating a token.

#### Parameters

| Name            | Type             |
|-----------------|------------------|
| `routingNumber` | string           |
| `exact`         | Optional boolean |

```javascript
const routingNumber = routingNumber;
const exact = true;
moov.institutions.lookupByRoutingNumber(routingNumber, exact);
```
