# How to Approve Real Users and Block Fake Accounts at Sign Up with Lookup and Verify in Python

DevFeed: [How to Approve Real Users and Block Fake Accounts at Sign Up with Lookup and Verify in Python](<https://devfeed.tech/articles/how-to-approve-real-users-and-block-fake-accounts-at-sign-up-with-lookup-and-verify-in-python-16097.md>)

Original publisher: [Read original article](<https://www.twilio.com/en-us/blog/developers/tutorials/product/block-fake-accounts-lookup-verify-python>)

Author: Kelley Robinson, Dylan Frankcom

Published: 2026-08-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Twilio Blog](<https://devfeed.tech/sources/twilio-blog.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [API](<https://devfeed.tech/topics/api.md>), [Code](<https://devfeed.tech/topics/code.md>), [zero-knowledge](<https://devfeed.tech/topics/zero-knowledge.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [code](<https://devfeed.tech/tags/code.md>), [developer-insights](<https://devfeed.tech/tags/developer-insights.md>), [fake-accounts](<https://devfeed.tech/tags/fake-accounts.md>), [fraud](<https://devfeed.tech/tags/fraud.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [identity](<https://devfeed.tech/tags/identity.md>), [python](<https://devfeed.tech/tags/python.md>), [verification](<https://devfeed.tech/tags/verification.md>), [zero-knowledge](<https://devfeed.tech/tags/zero-knowledge.md>)

## AI overview

This tutorial shows how to use Twilio Lookup and Verify APIs in Python to build a multi-step sign-up verification flow. It combines phone line-type, reachability, identity-match, and phone-possession checks to filter fake accounts while maintaining a smooth onboarding experience.

## Source excerpt

Utilize Twilio Lookup and Verify APIs to build secure onboarding flow in Python, blocking fake accounts and approving real users.