You pay only when a profile is returned. Every other outcome on this page is free, so retrying never costs twice. Errors have a JSON body with an error code:
{ "error": "rate_limited" }Status codes
| HTTP | Body | Meaning | Credit | Retry? |
|---|---|---|---|---|
| 200 | "status": "ok" | Profile found and returned. | 1 | No need |
| 200 | "status": "gone" | No public profile at this URL. | 0 | No |
| 200 | "status": "unavailable" | LinkedIn didn't serve the profile just then. | 0 | Later |
| 401 | unauthorized | API key missing, wrong or revoked. | 0 | No |
| 402 | insufficient_credits | The workspace is out of credits. Top up on the billing page. | 0 | After topping up |
| 422 | invalid_url | Not a linkedin.com/in/ profile URL. | 0 | No |
| 429 | rate_limited | Over 60 requests a minute on this key. | 0 | After Retry-After |
| 500 | internal | Something failed on our side. | 0 | Yes |
| 502 | upstream_failed | We couldn't reach LinkedIn. | 0 | Yes |
| 503 | temporarily_unavailable | Busy right now; requests are paused briefly. | 0 | After Retry-After |
| 504 | timeout | The lookup took too long. | 0 | Yes |
Retrying
- For
429and503, wait the number of seconds in theRetry-Afterheader. - For
500,502and504, wait a few seconds and try again, backing off if it keeps failing. - Retry
unavailablelater rather than straight away.
Getting help
Every request appears on the Usage page with its ID (req_…). If something looks wrong, email that ID and the profile URL to support@profilehunt.dev.