Sinch Number Lookup API icon

Sinch Number Lookup API

Interact with the Sinch Number Lookup API

Number Lookup → Lookup

AI-generated

Summary

Perform a lookup on a phone number using the Sinch Number Lookup API to retrieve information like line type, assignment status, SIM swaps, and VoIP detection.

Inputs

  • Project ID (required) — Your Sinch project ID
  • Number (required) — The phone number to lookup in E.164 format (must start with + followed by country code and number)
  • Features (required) — One or more features to include in the lookup request: Line Type, RND (Reassigned Number Database), SIM Swap, and/or VoIP Detection. At least one feature must be selected.
  • Contact Date (required) — Last contact date with this number in YYYY-MM-DD format, required only if the RND feature is selected

Output shape

the operation returns the original input items if the lookup is successful

On success (HTTP 2xx), the node passes through input items unchanged. On error, a NodeApiError with a descriptive message is thrown. The phone number must be in valid E.164 format, or the node throws an error before sending the request.

Examples

Example 1: Lookup a phone number's line type and check if it is a VoIP number

Provide your project ID, enter a phone number in E.164 format, and select 'Line Type' and 'VoIP Detection' features. Executes a POST request to Sinch API and passes through original items on success.

Links

Discussion