# Wholesale-hosted numbers and carrier identity

> What isWholesaleHosted and the OCN fields mean, and how to use them in rules.

For NANP numbers, the extended lookup (`GET /phone/extra-details`) names the carrier actually operating the number's block, not just the brand on the range.

## The wholesale-hosted flag

`isWholesaleHosted: true` marks a block run by a wholesale or reseller carrier. That is where MVNO SIMs, VoIP apps and second-number services concentrate. It doesn't make a number bad on its own, but it is a strong input for suppression, routing and fraud rules.

## Carrier identity fields

- `ocn`: the Operating Company Number of the carrier running the block.
- `ocnType`: the carrier class, such as `WIRELESS`, `ILEC`, `CLEC`, `IPES` or `WRSL` (wholesale).
- `ocnHolding`: the holding company, so blocks of brands from one corporate family group together.
- `lineTypeCode`: the registry line type behind the resolved `type` (`S` fixed, `C` mobile, `V` VoIP, `P` pager), for rules that go deeper than the summary field.

## Example rule

```ts
const extra = await response.json();
const isReseller = extra.isWholesaleHosted === true || extra.ocnType === 'WRSL';
if (extra.valid && isReseller) {
  // send to manual review, or ask for another verification step
}
```

## Keep in mind

- Block data describes the original assignment. When `portable` is `Y`, the number may have been ported to another carrier since.
- `contamination: 'Y'` means numbers of other carriers are ported or assigned inside the block.
- To see how much of the whole exchange runs on resellers, use `nxxSummary.wholesaleShare` from [GET /phone/full-details](https://support.phone-check.app/api-reference/exchange-intelligence-full-details).
