LINKEDIN PROFILE API

API for Processing Multiple LinkedIn Profile URLs at Once

Batch requests, parallel single calls or your own queue: how to process many public LinkedIn profile URLs at once, with throughput math at 60 requests a minute.

By Surender Kumar, GTM Engineer, ProfileHunt · Published · 8 min read

Also in: Español · Português (Brasil) · Deutsch · Français · 简体中文 · हिन्दी · العربية · বাংলা · Русский · Bahasa Indonesia · اردو · 日本語 · मराठी · Tiếng Việt · తెలుగు · Hausa · Türkçe · தமிழ் · 한국어

API for Processing Multiple LinkedIn Profile URLs at Once

An API for processing multiple public LinkedIn profile URLs at once gives you three ways to do it: send them in one batch request, fire single requests in parallel, or put them in your own queue that drains into either. Which one is right depends on how the URLs arrive and how soon you need each answer, and the rate limit decides the throughput of each. With ProfileHunt, where every key gets 60 requests a minute and a batch carries 100 URLs in one request, the numbers are very different: parallel single calls top out at 60 profiles a minute per key, while batches can submit 6,000 URLs a minute.

This post is the decision. How to create and poll a batch is in the batch LinkedIn profile API reference.

Key takeaways

  • The rate limit counts requests, not profiles. One batch of 100 URLs costs one request; 100 single calls cost 100.
  • Parallel single calls cap at 60 profiles a minute per key, however many threads you run. 10,000 profiles take at least 2 hours 47 minutes that way.
  • Batches are for lists, singles are for moments. A user waiting on a page needs a single call; a CSV needs batches.
  • A queue is for URLs that trickle in. Collect them, then flush to a batch when you have 100 or when a time window ends.

The three concurrency models

ModelHow it worksLatency per profileThroughput ceiling per keyGood for
BatchPOST /v1/profile/batches with up to 100 URLs, then poll GET /v1/profile/batches/<id>Variable; poll until complete6,000 URLs submitted a minute (60 batches × 100)Lists, files, scheduled jobs
Parallel single callsSeveral workers each calling POST /v1/profileA synchronous answer, typically a few seconds60 profiles a minuteSmall lists that need answers in the same request
Your own queueProducers add URLs; a consumer sends them as batches or singlesSet by your flush ruleSame as whichever endpoint the consumer usesURLs arriving one by one: sign-ups, webhooks, CRM events

The batch ceiling is a submission ceiling: it says how fast you can hand URLs over, not how fast profiles come back. Each profile is read live in the background, so completion time depends on the size of the list. Polling is free, which makes waiting cheap.

Throughput math at 60 requests a minute

The rate limit is 60 requests per key per clock minute, and creating a batch counts as one request no matter how many URLs it holds. Polling a batch is not counted.

ProfilesParallel single calls (minimum time)Batch requests neededMinutes of rate limit used by batches
5009 minutes5under 1
5,0001 hour 24 minutes50under 1
10,0002 hours 47 minutes1002
100,00027 hours 47 minutes1,00017

The single-call column is a floor, reached only if every one of your 60 requests a minute is used for this job and nothing else on that key. In practice the same key also serves your app's live lookups, so a long run of single calls competes with them. A batch run uses a handful of requests and leaves the rest of the minute free.

Cost is the same in every model: one credit per profile found, $0.50 per 1,000, and nothing for profiles not found. The choice is about time and design, never price.

A gate letting one request through at a time while a line waits

How many parallel workers you need for single calls

To use the full 60 requests a minute with single calls, the number of workers depends on how long each call takes. If a call takes about 3 seconds, one worker does about 20 calls a minute, so 3 workers reach the limit. More workers than that do not add throughput; they only produce 429 responses.

Better than guessing: read the X-RateLimit-Remaining header on every counted response and pause when it reaches 0. On a 429, wait for the number of seconds in Retry-After, which is the time until the next minute starts. A 429 is never charged.

Decision table

Your situationUse
A user is waiting for one profile on screenSingle call
A form or webhook delivers one URL, answer needed within secondsSingle call
A form or webhook delivers URLs, answer can wait minutesYour queue, flushed as batches
A CSV, sheet or CRM export of any sizeBatches of 100
A nightly or weekly refresh of a tableBatches of 100
Under 60 URLs, needed together in one script runEither; parallel singles return sooner, a batch is simpler
An automation tool that processes one row at a timeSingle call per row

The pattern under the table: if a person or a request is waiting, use single calls; if a job is waiting, use batches.

What Most Guides Get Wrong About Processing Many Profiles

They raise concurrency to go faster. Against a per-key request limit, 50 threads are no faster than 3. They just turn throughput into 429 handling. The lever is profiles per request, which is what a batch changes.

They assume a batch is slower. For one profile, a single call answers sooner. For a list, the batch gets every URL accepted in one request and worked through in the background, while single calls are capped at 60 a minute.

They forget that singles go first. Single calls are served before batch items, so a large batch never slows your app's live lookups. That also means batch items wait behind live traffic, which is the right priority for list work.

Myth vs Reality

MythReality
"More threads mean more profiles per minute."The limit is 60 requests a minute per key. Past that, extra threads only produce 429s.
"Batch APIs make you wait for the whole list."You poll the batch; results already finished show ok, gone and so on while the rest are still pending.
"Polling burns the rate limit."GET /v1/profile/batches/<id> is not counted. Polling every few seconds costs nothing.
"Batches cost less per profile."Same price in every model: one credit per profile found. Batches save requests and time, not credits.
"A queue is needed for any volume."A loop over batches of 100 handles large files on its own. A queue earns its place when URLs arrive continuously.

A holding tank releasing items in groups onto a belt

Advanced: A Micro-Batching Queue for Streaming URLs

When URLs arrive one by one (sign-ups, CRM webhooks, form fills) and the answer can wait a little, a micro-batching queue gets batch efficiency without a nightly job:

  1. Buffer. Producers push {record_id, url} onto a queue or a database table with a pending flag.
  2. Flush rule. A consumer creates a batch when the buffer holds 100 URLs or when the oldest has waited, say, 2 minutes, whichever comes first. The timer bounds latency on quiet days; the size cap fills the batch on busy ones.
  3. Track by position. Store the batch id with the ordered list of record_ids. Results come back in the order sent, so results[i] belongs to record_ids[i].
  4. Poll and write back. A second loop polls open batches every few seconds and writes finished results to their records. Polling is free, so many open batches cost no extra requests.
  5. Route the leftovers. unavailable and failed go back into the buffer for a later batch; gone and invalid_url are marked on the record and never retried automatically.

Two details matter at volume. Credits for a batch are held when it is created, so a 402 means the workspace can't cover this batch; keep those URLs buffered and alert someone to top up. And deduplicate inside the buffer: the API only skips repeated profiles within a single batch, not across two. The bulk submission guide covers normalizing URLs for that.

For list owners deciding how often to run these jobs, the sales operations guide covers refresh schedules and budgets. Complete scripts for this pattern are in the Node.js enrichment workflow and the Python workflow at scale.

Where ProfileHunt Fits

ProfileHunt is a LinkedIn Profile API with both endpoints this decision needs: POST /v1/profile for a single synchronous lookup and POST /v1/profile/batches for up to 100 URLs per request, returning the same profile object either way. Every key gets 60 requests a minute, batch creation counts as one, polling is free, and single calls are always served ahead of batch items.

Pricing is the same for both: $0.50 per 1,000 profiles found, with no charge for profiles not found. Data is the public view of each profile, read live, with no LinkedIn login involved.

Getting Started

  1. Sign up and get 100 free credits with a work email.
  2. Make a single call from the quickstart to see the response shape.
  3. Move your list work to batches; the batch API docs list every status and limit.

Then come back to the batch LinkedIn profile API reference for the full create, poll and read flow.

Frequently asked questions

Can I send multiple LinkedIn URLs in one API request?

Yes. ProfileHunt's batch endpoint takes 1 to 100 URLs in one POST /v1/profile/batches request and returns a batch id to poll. For more than 100, create several batches.

What is the rate limit for the LinkedIn profile API?

60 requests per minute per API key. Creating a batch counts as one request regardless of how many URLs it has, and polling a batch doesn't count.

Is it faster to use batch requests or parallel API calls?

For lists, batches: parallel single calls are capped at 60 profiles a minute per key, while 60 batch requests can submit 6,000 URLs a minute. For one profile someone is waiting on, a single call answers sooner.

How long does it take to look up 10,000 LinkedIn profiles?

Submitting them as batches takes 100 requests, under 2 minutes of rate limit. Completion depends on processing, since every profile is read live. With single calls only, the minimum is about 2 hours 47 minutes at 60 a minute.

What happens if I exceed the API rate limit?

You get 429 with a Retry-After header giving the seconds until the next minute starts. The request is not charged; wait and send it again.

Get API key 100 free credits with a work email