What we’re building
Our signup radar will:- Take an email address as input
- Use Linkup API to search for information about the person
- Return structured data about the person (name, position, company, LinkedIn URL, etc.)
Prerequisites
- A Linkup API key
- Python or Node.js installed
Get your API key
Create a Linkup account for free to get your API key.
Define the Structured Output Schema
The key to our signup radar is using Linkup’s structured output feature. We need to define a schema that specifies what information we want to extract.
How it works
- Email analysis: the tool parses the email to extract the username and domain.
- Query generation: it creates a smart search query based on the email components:
- Formats the username to handle common patterns (first.last, first_last)
- Uses the domain as a company hint if it’s not a common email provider
- Structured output: uses Linkup’s structured output feature with a custom schema to ensure consistent, well-formatted results.
- Deep search: uses the
"deep"depthfor more comprehensive results.
Test examples
Try the signup radar with these email examples:Advanced enhancements
For a production version, consider adding:- Other relevant information on your users you receive in the sign up form. These should be added to the prompt
- Better manage ambiguity when multiple people could own the same email. Change the prompt and the structured output format to allow for multiple potential people
- Error handling for invalid emails or API failures
- Rate limiting to manage API usage
- Async batch processing for multiple emails
Conclusion
You’ve now built a “signup radar” using the Linkup API that extracts structured information about users from just their email address. Structured output gives you consistent, well-formatted data ready to be ingested into your systems.Need help? Email
support@linkup.so, ping us on Discord, or talk to us.