Social media5 min readBy Purrkey team

LinkedIn API data workflows: build a company research table with Purrkey calls

Build a company research table from public pages: search companies, pull profile details and recent posts, with a per-call cost table for a small monitoring job

On this page

You are a marketing analyst planning a monthly company research table for a LinkedIn API workflow, with 10 discovery searches, 30 profile refreshes and 12 post pulls, and need a per-call budget before writing code. The table has one row per data kind, a planned call count and a total. Values here are placeholders showing the shape; no run has been executed for this guide

The task and the budget table design

The job is a monthly monitoring cycle for a short company list. The research table has one row per company, with the page URL and the profile facts you will compare across the list. Example rows, invented names and placeholder values:

CompanyPage URLIndustryEmployee count and rangeFollower countHeadquartersDecision
Example Plumbing(from search)(industry)(count and range)(number)(city, region)shortlist or skip
Example Legal(from search)(industry)(count and range)(number)(city, region)shortlist or skip
Example Dental(from search)(industry)(count and range)(number)(city, region)shortlist or skip

The budget sheet is separate. It carries one row per data kind, the tool id, planned calls, the unit price and the total. Keep the research table and the budget table apart so a change in the company list does not silently change the call plan

The candidate tools on Purrkey

Each call is a POST /v1/runs with a toolId. Prices are read from the public catalog. The catalog labels the unit max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge

ToolReturnsPrice per callPick it when
anyapi.linkedin.search_companiesSearch LinkedIn companies by keyword with optional location filtering, returning normalized company records$0.0891You have a keyword and optional location but no page URLs yet
anyapi.linkedin.companyFetch a full LinkedIn company page by URL: name, description, industry, employee count and range, follower count, founded year, headquarters and office location$0.00253You have a page URL and need profile details
anyapi.linkedin.company_postsList a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attach$0.0975You have a shortlist and a reporting window

The input for discovery is a keyword plus optional location filtering. The input for the profile and post steps is a company page URL. Compare one search call, one profile call and one post call by what each returns and by the planned call count in the budget sheet

How to choose for this task

Use anyapi.linkedin.search_companies to discover candidate companies by keyword and optional location, then switch to anyapi.linkedin.company once you have page URLs. The profile call returns descriptions, industry, employee counts and the other page facts, and profile lookups are safe to refresh across the list

Reserve anyapi.linkedin.company_posts for shortlisted companies and the reporting window you care about. The post tool lists recent posts by URL, so put the reporting window next to the post-pull step. It cannot return an older archive

Read the profile fields as the shortlist input. Use industry, employee count and range, follower count, founded year, headquarters and office location and description to decide whether a company belongs in the research table. For a post row, use publish date to keep the reporting window, engagement counts with a per-reaction breakdown to compare posts, and canonical link to point back to the source

Compare the tools by what one call returns, the unit and how many calls your job takes

The agent prompt

The prompt below uses example inputs, invented, and keeps the first run to the planned quantities

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to build a monthly company research table for the example inputs below. Before running anything, check the current inputs and price of anyapi.linkedin.search_companies, anyapi.linkedin.company and anyapi.linkedin.company_posts. Run anyapi.linkedin.search_companies for each keyword and optional location pair. Take the page URLs from the search results and call anyapi.linkedin.company once for each company. Shortlist up to 12 companies and call anyapi.linkedin.company_posts once per shortlisted company for the reporting window. Return a table with company, page URL, industry, employee count and range, follower count, headquarters, latest post publish date and a shortlist decision. Do not invent companies or posts.

Example inputs, invented:
keyword: commercial plumbing; location: Austin, Texas
keyword: family law; location: Denver, Colorado
keyword: dental clinic; location: Portland, Oregon

Replace the example inputs with your own keyword and location pairs. Keep the first run to the planned call counts before you expand the list

Estimated tool cost

The monthly plan uses these cost rows. The budget is calls multiplied by the per-call ceiling, and the settled charge can be lower, never higher

StepFormulaUnit pricePlanned quantityTotal
Company discovery searches10 calls x $0.0891 per call$0.0891 per call10$0.891
Company profile refreshes30 calls x $0.00253 per call$0.00253 per call30$0.0759
Recent post pulls12 calls x $0.0975 per call$0.0975 per call12$1.17
Monthly plansum of the rows above

Agent model fees are not counted

Next action

Open the LinkedIn tool page to check the current inputs and prices before you build the sheet: https://purrkey.app/tools/linkedin

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with LinkedIn.
Explore LinkedIn tools and pricing

FAQ

How do I build a LinkedIn API company research table with Purrkey?

Run anyapi.linkedin.search_companies to find candidate companies by keyword and optional location, then use anyapi.linkedin.company on the page URLs for profile details. Use anyapi.linkedin.company_posts only for shortlisted companies and the reporting window you care about.

What does anyapi.linkedin.search_companies return?

It searches companies by keyword with optional location filtering and returns normalized company records.

What does anyapi.linkedin.company return?

It fetches a full company page by URL and returns name, description, industry, employee count and range, follower count, founded year, headquarters and office location.

What does anyapi.linkedin.company_posts return?

It lists a company page's recent posts by URL and returns full text, canonical link, publish date, author and engagement counts with a per-reaction breakdown.

How much does a monthly 10 search, 30 profile and 12 post plan cost?

At the per-call ceilings it is $2.1369: $0.891 for 10 searches, $0.0759 for 30 profile calls and $1.17 for 12 post calls. The settled charge can be lower, never higher.

Why are company posts limited to shortlisted companies?

The post tool lists recent posts by URL, so the plan uses it for a shortlist and a reporting window rather than for discovery. Discovery uses anyapi.linkedin.search_companies, and profile details use anyapi.linkedin.company.

What path do the LinkedIn tools use?

Each call is a POST /v1/runs with a toolId.

Next step

Try this with LinkedIn

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See LinkedIn tools

Share this article