N8N INTEGRATION
Fetch LinkedIn profiles in n8n
n8n's HTTP Request node is all you need. Store your ProfileHunt key once as a Header Auth credential, then any workflow can turn a LinkedIn URL into profile JSON, from a Google Sheets trigger to an AI Agent tool.
Get API key 100 free credits with a work email
Setup in n8n
- Add an HTTP Request node. Set Method to POST and URL to the address below.
- Under Authentication, choose Generic Credential Type, then Header Auth. Create a credential with Name Authorization and Value Bearer followed by your key.
- Turn on Send Body, set Body Content Type to JSON and Specify Body to Using JSON.
- Switch the JSON field to Expression and paste the JSON below. Replace linkedin_url with the field that holds the URL in your incoming items.
- Run the node. Each item comes out with status and profile.
The request
- Method
- POST
- URL
- https://api.profilehunt.dev/v1/profile
- Header
- Authorization: Bearer YOUR_API_KEY
- Header
- Content-Type: application/json
Body
{ "url": "{{ $json.linkedin_url }}" }Reading the result
Every response has a status. Later steps read the profile's fields like {{ $json.profile.full_name }}.
| status | Meaning | Cost |
|---|---|---|
| ok | The profile is in profile. | 1 credit |
| gone | No public profile at that URL. profile is null. | Free |
| unavailable | LinkedIn didn't serve it just now. Try again later. | Free |
Tips
- Processing a list? Under Options, add Batching with 1 item per batch and a 1000 ms interval. That stays under 60 requests a minute.
- In the node's Settings, turn on Retry On Fail. A 429 or 503 is never charged and is safe to retry.
- Add an IF node on {{ $json.status }} equals ok before writing anywhere, so gone profiles don't create empty rows.
Questions
- Does it work on n8n Cloud and self-hosted?
- Yes. The HTTP Request node is built into both, and ProfileHunt is a public HTTPS API.
- Can an n8n AI Agent call it?
- Yes. Connect an HTTP Request tool to the agent with the same settings and let the model fill in the URL. See the AI agents use case for a tool description.
ProfileHunt returns only what a LinkedIn profile shows to logged-out visitors. You are responsible for how you use it: follow the privacy and anti-spam laws that apply to you, such as the GDPR or India's DPDP Act, and our Terms. ProfileHunt is not affiliated with LinkedIn Corporation.