API clients should handle not found LinkedIn profiles in three moves: record the result on the row, stop asking for that URL, and fix or retire the record. With ProfileHunt, a not found profile comes back as HTTP 200 with { "status": "gone", "profile": null }. It is not an error, it is not charged, and repeating the request won't change the answer.
This guide covers what gone means and how to build a client around it. For the basics of profile lookups, start with what a LinkedIn profile API is.
Key takeaways
goneis an answer, not a failure. The lookup ran and found no public profile at that URL.- Don't retry it in the same run.
goneis lasting. Retrying spends rate limit and time on the same answer. - It costs nothing. No credit is used for
gone, on a single call or in a batch. - Keep the row, change its state. Mark the record with the status and the date, so the next refresh skips it.
- Clean the source. A cluster of
goneresults points to an old or mistyped list, which is worth fixing upstream.
What "gone" means
gone means there is no public profile at the URL you sent. ProfileHunt returns it in four situations:
| Cause | What happened |
|---|---|
| Private | The member hides their profile from logged-out visitors. |
| Deleted | The member closed their LinkedIn account. |
| Never existed | The URL has a typo or was made up, so nothing ever lived there. |
| Removed at the member's request | The member asked ProfileHunt to stop returning their profile. |
There is a fifth cause that looks like the third one. Members can change their custom URL, and an old /in/ address generally stops working when they do. A CRM that stored the URL years ago will see gone even though the person is still on LinkedIn under a new address.
The API doesn't tell you which cause applies, and your client doesn't need to know. In all five cases the right action is the same: this URL has nothing public to return.
Why a not found profile is a 200, not a 404
The request was valid, the key worked and the lookup ran. What came back was "no profile here", and that is a result, not an error. So ProfileHunt answers 200 and puts the outcome in status, next to ok and unavailable.
That design matters for client code. If you wrote your error handling to catch 404, it will never fire for a missing profile. In ProfileHunt, 404 not_found is used only when you poll a batch id that doesn't exist, belongs to another workspace or is more than 30 days old. The status codes reference has every code in one table.
A minimal branch looks like this:
const res = await fetch("https://api.profilehunt.dev/v1/profile", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROFILEHUNT_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ url: "https://www.linkedin.com/in/williamhgates" }),
});
const { status, profile } = await res.json();
if (status === "gone") {
// No public profile at this URL. Record it; don't retry.
}
Check res.status before this in real code: a non-200 answer has an error code instead of a status.

Never retry gone the same way
A retry loop is the wrong tool for gone. A deleted account doesn't come back in five seconds, and a typo in a URL doesn't fix itself. Every retry is one more request against the limit of 60 a minute per key, which pushes back the lookups that would have succeeded.
Retries are free in credits, since gone is never charged. The cost is time and rate limit, and in a large job that adds up. If 8% of a 10,000-row list is gone and your client retries each one three times, that is 2,400 wasted requests, about 40 minutes of the per-key limit.
What a gone URL deserves is a slow re-check, if any. Members do make a hidden profile public again, so a re-check on your next scheduled refresh, weeks or months later, is reasonable. Within a run, never.
Don't confuse gone with unavailable, which also has profile: null but means LinkedIn didn't serve the profile at that moment. That one should be retried later; see what an unavailable profile response means.
How to mark the record
Keep the row and change its state. Deleting a contact because its LinkedIn URL is gone throws away everything else you know about that person. Instead, store the outcome next to the data:
| Column | Example | Why |
|---|---|---|
linkedin_url | the URL you sent | Keep it, so you can see what was tried. |
enrichment_status | gone | The last status the API returned. |
enrichment_checked_at | 2026-11-01 | When it was checked, so a refresh can skip recent results. |
profile_json | unchanged | Keep the last good profile if you had one, flagged as stale. |
The full table design, with scraped_at and checked_at kept apart, is in integrating a profile API with a custom backend.
If a record that used to be ok turns gone, that is a signal in itself: the person closed the account, hid it, or changed their URL. For a sales or recruiting list, that row needs a person to look at it, not another API call.
What not found profiles cost
Nothing. On a single call, a credit is held when the request starts and given back automatically when no profile comes back. In a batch, one credit is held per URL that will be fetched, and each URL that ends gone is refunded as its result comes in.
That makes list cost easy to predict. Say you send a batch of 100 URLs and the counts come back as 88 ok, 9 gone and 3 unavailable. credits_used is 88. At $0.50 per 1,000 profiles, that batch cost $0.044, and the 12 misses cost $0. The pricing guide compares this with providers that charge per request.
Cleaning a list of not found profiles
A batch of gone results is a to-do list for your data, not just a status. This is the process for working through it.
Step 1: Pull the gone rows out of the results
Filter the batch results, or your stored statuses, for gone. Results keep the order you sent, so results[i] belongs to row i.
gone = [r["url"] for r in batch["results"] if r["status"] == "gone"]
Step 2: Check them for typos
Look for the usual damage: a name cut off in a spreadsheet cell, two URLs pasted into one, a stray character at the end of the slug. URLs that aren't /in/ profile URLs at all were already caught as invalid_url and never cost anything, so the rows here have the right shape and the wrong content.
Step 3: Find the current URL where it matters
For high-value records, have a person search LinkedIn for the name and company and update the stored URL. That covers the members who changed their custom URL.
Step 4: Send only the corrected rows
Submit the fixed URLs in a new batch. Leave the rest marked gone with the date, so your next scheduled refresh can decide whether to re-check them.

What Most Guides Get Wrong About Not Found Profiles
They treat not found as an exception. Error-handling tutorials wrap the call in try/catch and move on. With a 200 response, nothing is thrown, so the not found branch has to read status. A client that only reads profile will fail on null instead.
They delete the record. A gone URL tells you about the URL, not the person. The person may still be your customer, your candidate or your lead.
They assume the URL is permanent. Stored LinkedIn URLs age. Custom URLs change, accounts close, profiles go private. A list that was 100% valid when it was built will have gone rows a year later. That is normal data decay, not a sign the lookup failed.
Myth vs Reality
| Myth | Reality |
|---|---|
| "Not found means the API failed." | The lookup worked. gone is the correct answer for a URL with no public profile. |
| "I'll get charged for bad URLs in my list." | gone and invalid_url are never charged, single or in a batch. |
| "Retrying a few times might find it." | gone is lasting. Retrying in the same run returns the same answer. |
| "Gone means the person left LinkedIn." | It can also mean a private profile, a typo or a changed custom URL. |
| "A 404 handler covers missing profiles." | A missing profile is a 200 with status: "gone". ProfileHunt uses 404 only for unknown batch ids. |
Advanced: Gone Rates as a Data-Quality Signal
Track the share of gone results per list source, not just per run. Differences between sources tell you which ones produce stale or mistyped URLs. An event sign-up form, a scraped directory and a hand-built CRM list age at very different speeds, and the gone rate shows it.
Three practices hold up at scale:
- Set a re-check interval by source. A list where few URLs go
gonecan be re-checked rarely. A source that keeps producinggonerows needs fixing at the point of entry, for example by validating URLs before they're stored. - Watch for transitions, not totals. A record moving from
oktogoneis the event worth alerting on. A record that was alwaysgoneis just a bad row. - Respect removals. When a member asks ProfileHunt to stop returning their profile, the API answers
gone. Treat that like any othergone: stop refreshing it, and apply your own retention policy to the profile data you already hold.
Where ProfileHunt Fits
ProfileHunt is a LinkedIn Profile API that charges only for profiles found. A not found profile is a clear gone status, not a vague error, and it costs nothing, so cleaning an old list doesn't carry a penalty for the URLs that no longer work.
It reads the public view of a profile, live on each call. It does not return emails or phone numbers, and a profile its owner has hidden from logged-out visitors is gone to every public lookup.
Getting Started
Sign up at profilehunt.dev/login for 100 free credits with a work email. Send one real URL and one made-up URL through the quickstart to see ok and gone side by side, then read the full errors reference. For where not found handling sits in the bigger picture, see what a LinkedIn profile API is.
Frequently asked questions
What happens if the LinkedIn profile doesn't exist?
ProfileHunt returns HTTP 200 with status: "gone" and profile: null. No credit is used.
Do I pay for LinkedIn profiles that aren't found?
No. Only profiles returned with status: "ok" use a credit. gone results are refunded automatically, on single calls and in batches.
Should I retry a LinkedIn profile that returns not found?
Not in the same run. gone is a lasting answer. Re-check it on your next scheduled refresh at most, since members sometimes make a hidden profile public again.
Why does a LinkedIn URL that used to work now return not found?
The member may have closed the account, hidden the profile from logged-out visitors, or changed their custom URL. Search for the person to find the current URL.
Should I delete CRM contacts whose LinkedIn profile is not found?
No. Keep the contact and mark the LinkedIn status as gone with the date. The URL is dead; the person may not be.


