Skip to content

Move from the /v1-* paths

The previous lookup paths still work; here is how they map to the current ones.

Last updated

Integrations built on the previous paths keep working with the same API keys, so nothing breaks. New code should use the current paths, which are the ones the API reference (opens another site) documents.

Previous pathCurrent path
/v1-get-phone-detailsGET /phone/details
/v1-get-phone-extra-detailsGET /phone/extra-details
/v1-get-phone-full-detailsGET /phone/full-details

What changes when you switch#

  • The lookup and the credits are the same.
  • The previous paths answer with their old body, which can carry an error string beside the fields. The current paths answer the documented fields only and report failures as an HTTP error status with { "error", "message" }. See Errors, credits and rate limits.

Switch safely#

  1. Change the base path in one place in your code.
  2. Compare a few answers from both paths for numbers you know, field by field.
  3. Remove any check of the old error field and handle HTTP error statuses instead.

Was this helpful?

Still need help?