# Validate a number with GET /phone/details

> The standard lookup: the request, every field it answers with, and what it costs.

`GET /phone/details` validates one number and returns its country, line type, carrier and network, place, time zones and disposable flag. It costs 1 credit.

## Request

```bash
curl --get "https://api.phone-check.app/phone/details" \
  --data-urlencode "phone=+14155552671" \
  -H "x-api-key: $API_KEY"
```

| Parameter | In | Notes |
| --- | --- | --- |
| `phone` | query, required | International format (`+` and the country code) or a 10-digit NANP number; 6 to 20 characters |
| `x-api-key` | header, required | Your workspace API key |

## Response

Only `valid` is always present; read every other field defensively (for example `phone.carrier ?? ''`). An answer looks like this (the reference's example values):

```json
{
  "number": "+14155552671",
  "valid": true,
  "country": "US",
  "callingCode": "1",
  "nationalNumber": "4155552671",
  "type": "MOBILE",
  "isDisposable": false,
  "carrier": "T-Mobile",
  "geo": "San Francisco, CA",
  "timezones": ["America/Los_Angeles"]
}
```

| Field | Meaning |
| --- | --- |
| `number` | The number as looked up: digits and a leading `+` |
| `valid` | Whether the number is a valid, assignable number in its country |
| `country` | ISO 3166-1 alpha-2 country, such as `US` |
| `callingCode` | Country calling code, without `+` |
| `nationalNumber` | The number without its calling code |
| `type` | Line type: `MOBILE`, `FIXED_LINE`, `FIXED_LINE_OR_MOBILE`, `VOIP`, `TOLL_FREE`, `PAGER` and others |
| `isDisposable` | The number is a known disposable or temporary number |
| `carrier` | Operator of the number range |
| `matchedCarriers` | Operators sharing the range when it can't be narrowed to one carrier |
| `network` | The carrier's mobile network identity, when it holds network codes: `brand`, `operator`, `mcc`, `mnc` and `plmn` |
| `geo` | Place of the number range |
| `timezones` | IANA time zones of the number range |

## Good to know

- An invalid number is still an answer: `200` with `valid: false`, and it spends its credit.
- A `phone` shorter than 6 or longer than 20 characters is rejected with `400` before any lookup.
- Need the operating carrier or exchange data for US numbers? See [Carrier context with GET /phone/extra-details](https://support.phone-check.app/api-reference/carrier-context-extra-details).

The full schema is in the [API reference](https://api.phone-check.app/developers/reference).
