# Twilio Lookup API reference

> Twilio Lookup v2 returns formatting and validation for a phone number, and with data packages, line type, carrier, caller name, SIM swap, call forwarding and other details. An investigator can use it to check whether a number is valid and what kind of line it is. Calls are GET requests to…

Source: https://osinttools.io/apis/twilio-lookup/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/twilio-lookup/

- Base URL: https://lookups.twilio.com/v2
- Authentication: HTTP basic authentication. Get a key: https://www.twilio.com/try-twilio Username is the API key SID, password is the API key secret
- Free tier: yes
- Pricing: Pay per request
- Rate limits: Not stated in the docs
- Vendor docs: https://www.twilio.com/docs/lookup/v2-api

## Overview

Twilio Lookup v2 returns formatting and validation for a phone number, and with data packages, line type, carrier, caller name, SIM swap, call forwarding and other details. An investigator can use it to check whether a number is valid and what kind of line it is.

Calls are GET requests to `https://lookups.twilio.com/v2/PhoneNumbers/{PhoneNumber}` over HTTPS with HTTP Basic authentication: an API key SID as username and the key secret as password. Basic formatting and validation is free; data packages requested through `Fields` are charged to the account, and some need carrier approval or a form first.

Send numbers in E.164 or include `CountryCode`; national-format numbers without either can give ambiguous results.

## Phone lookup

### Validate and format a phone number, with optional data packages.

`GET /PhoneNumbers/{PhoneNumber}`

- Takes: Phone number
- Footprint: passive (the target is not contacted)
- Cost: Basic lookup free; data packages are charged

Always returns formatting and validation. Package objects are null unless named in Fields. Identity fields are sensitive PII: send them only when identity_match is in use.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `PhoneNumber` | path | string | yes | E.164 or national format; URL-encode the plus sign as %2B Example: +14155550100 |
| `Fields` | query | string | no | Comma-separated data packages: validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score, pre_fill Example: line_type_intelligence |
| `CountryCode` | query | string | no | ISO 3166-1 alpha-2 country used to read a national-format number Example: US |
| `FirstName` | query | string | no | For identity_match: first name Example: Jane |
| `LastName` | query | string | no | For identity_match: last name Example: Doe |
| `AddressLine1` | query | string | no | For identity_match: first address line Example: 1 Example Street |
| `City` | query | string | no | For identity_match: city Example: Exampleville |
| `PostalCode` | query | string | no | For identity_match: postal or ZIP code Example: 00000 |
| `DateOfBirth` | query | string | no | For identity_match: YYYYMMDD Example: 19800101 |
| `LastVerifiedDate` | query | string | no | For reassigned_number: YYYYMMDD of the last consent or contact Example: 20240101 |

Response fields:

- `calling_country_code` (string): International dialing prefix
- `country_code` (string): ISO country code
- `phone_number` (string): E.164 format
- `national_format` (string): National format
- `valid` (boolean): Whether the number is in a range a carrier can assign
- `validation_errors[]` (string): Why the number is invalid, e.g. TOO_SHORT, TOO_LONG, INVALID_COUNTRY_CODE
- `caller_name.caller_name` (string): CNAM caller name (US carriers only)
- `line_type_intelligence.type` (string): Line type such as mobile, landline, VoIP
- `line_type_intelligence.carrier_name` (string): Carrier name
- `sim_swap.last_sim_swap.last_sim_swap_date` (string): Date of the last SIM change
- `call_forwarding.call_forwarding_enabled` (boolean): Unconditional call forwarding status
- `line_status.status` (string): Status of a mobile line
- `sms_pumping_risk.sms_pumping_risk_score` (integer): SMS pumping risk score
- `url` (string): Absolute URL of the resource

```bash
curl 'https://lookups.twilio.com/v2/PhoneNumbers/%2B14155550100' \
  -u 'USERNAME:PASSWORD'
```

Example response (200):

```json
{
  "calling_country_code": "1",
  "country_code": "US",
  "phone_number": "+14155550100",
  "national_format": "(415) 555-0100",
  "valid": true,
  "validation_errors": null,
  "line_type_intelligence": {
    "type": "mobile",
    "carrier_name": "Example Carrier",
    "mobile_country_code": "310",
    "mobile_network_code": "000",
    "error_code": null
  },
  "url": "https://lookups.twilio.com/v2/PhoneNumbers/+14155550100"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
