Skip to main content

What we’ll build

This tutorial will show you how to find the LinkedIn profile of a company or an individual using Linkup.
  • Input: Any text prompt that describes the profile you’re after (company, school, person, etc.).
  • Process:
    1. Send the prompt to the Search endpoint with depth set to "standard".
    2. Ask for outputType of "sourcedAnswer" so we can inspect citations.
    3. Decide whether we’re ≥ 99 % sure.
  • Output: A single LinkedIn URL or undefined.
This pattern is perfect for enriching CRMs, onboarding forms, or internal tools where you need fast links with a very low false‑positive rate.

How to build

1

Install the SDK

2

Set Up the Client

Get your API key

Create a Linkup account for free to get your API key.
3

Make the API Call

4

Craft Better Prompts

For best accuracy, include at least two unique signals:
Tip: Keep the “Return only the LinkedIn home‑page URL…” and the 99 % clause; it gives the model explicit, measurable instructions.
5

Batch Lookup

Need to process a list of companies? Here’s a tiny batch helper:

Advanced enhancements

  • Faster or deeper search: try "fast" depth first for maximum speed on simple lookups, or fall back to "deep" when "standard" yields undefined.
  • Multiple entities: adjust the prompt to return an array of URLs when searching generic terms like “Acme Inc”.
  • Integrate with CRMs: enrich company records automatically, then store URL + confidence + timestamp.
  • Rate limiting: use asyncio / Promise.allSettled with a limiter when batch‑processing thousands.

Conclusion

With fewer than 20 lines of code you now have a LinkedIn URL resolver that’s fast, accurate, and configurable. Plug it into sign-up flows, prospecting pipelines, or internal dashboards, and never copy-paste a LinkedIn link again.
Need help? Email support@linkup.so, ping us on Discord, or talk to us.