# Up2Data API (/v1) Up2Data's /v1 API is a usage-based B2B data API: real-time LinkedIn profile, company, post, and job enrichment, live people, company, job, and post search, Sales Navigator search, and asynchronous batch jobs, all through one `X-API-Key` header. Every /v1 capability except profile counts is also batchable as an operation item, not just profile, company, and post enrich. Every call answers a `{data, meta}` envelope on success or an `{error}` envelope on failure. Sync enrich, activity, and a `profile`, `company`, `post`, or Sales Navigator batch item bill both when the target is found and when it comes back not found, private, deleted, or unreachable (`422 unprocessable_target`); every other batch operation bills a `422` at its smallest unit once its queue settles, and any batch item that fails on our side is refunded. A call is only unbilled when it fails with `400`, `401`, `402`, `429`, `500`, or `504`. Every request that reaches LinkedIn is billed, empty results included. Job search bills per job returned (minimum 1); standard people, company, and post search bill per page of up to 25 results (minimum 1 page); Sales Navigator search bills 2 credits per result with a 50-credit minimum. The base URL is `https://api.up2data.ai/v1`. Sync endpoints answer directly, typically in 2 to 8 seconds; submit `POST /batch` for volume and read results by webhook (`batch.completed`) or by polling `GET /batch/{job_id}`. --- # Quickstart Make your first enrich call, then submit a batch, in under five minutes. ## Get an API key Every request needs an `X-API-Key` header. Keys are created and rotated at [https://app.up2data.ai](https://app.up2data.ai) - keep them out of client-side code, public repositories, and URLs. > **Info:** Multiple keys can be active on the same account at once, so you can rotate without downtime: create a new key, deploy it, then revoke the old one. Revocation takes effect within 60 seconds - keys are cached briefly. ## Enrich one profile The base URL for every `/v1` call is `https://api.up2data.ai/v1`. Start with a single synchronous call: ```bash curl -X POST https://api.up2data.ai/v1/profiles/enrich \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://linkedin.com/in/satyanadella"}' ``` A successful response looks like this: ```json { "data": { "url": "https://www.linkedin.com/in/satyanadella", "full_name": "Satya Nadella", "headline": "Chairman and CEO at Microsoft" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98420, "billed": true, "reason": "profile_found", "requestId": "req_8f2ka91x" } } ``` `meta` rides along on every response, errors included, so you always know what a call cost without a separate balance check; an error carries it next to the `error` object. [Companies](https://docs.up2data.ai/v1/api/companies-enrich/) and [posts](https://docs.up2data.ai/v1/api/posts-enrich/) work the same way: one URL in, one record back, typically in 2 to 8 seconds. ## Scale up with batch Sync calls are fine for one-off lookups, but past a few hundred records use [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) instead of looping over the sync endpoints. Every /v1 capability except [profile counts](https://docs.up2data.ai/v1/api/profiles-counts/) is batchable, not just enrich - see [Batch jobs](https://docs.up2data.ai/v1/guides/batch-jobs/) for the full operations table. Submit profiles, companies, and posts together in a single job: ```bash curl -X POST https://api.up2data.ai/v1/batch \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }' ``` The job is accepted right away and billed for its items at submission: ```json { "data": { "job_id": "job_7hd92kfa", "status": "processing", "total": 2, "estimated_completion": "2026-07-07T14:03:00Z" }, "meta": { "creditsUsed": 2, "billed": true, "reason": "job_accepted" } } ``` The whole job was just charged at submission: 1 credit per profile, company or post item, plus a `max_results`-sized reservation for any Sales Navigator search item. Pick up the results with the `batch.completed` webhook or by polling [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) - see [Batch jobs](https://docs.up2data.ai/v1/guides/batch-jobs/). ## Next steps - [Authentication](https://docs.up2data.ai/v1/guides/authentication/) for key management and the 401/402 error shapes. - [Credits](https://docs.up2data.ai/v1/guides/credits/) for the full rate table and the billing rule. - [Errors](https://docs.up2data.ai/v1/guides/errors/) for every status code you can get back. --- # Authentication The X-API-Key header, where keys come from, and the 401/402 rows it can return. ## The X-API-Key header Every request carries one header: ```http X-API-Key: YOUR_API_KEY ``` No OAuth flow, no token exchange, no expiry to track - the key you generate is the credential you send, on every call, until you revoke it. Keys are created and rotated at [https://app.up2data.ai](https://app.up2data.ai). > **Warning:** Never expose a key in client-side code, a public repository, or a URL. Anyone holding it can spend your credits. Multiple keys can be active on the same account at once, so rotation never means downtime: create a new key, deploy it, then revoke the old one. Revocation takes effect within 60 seconds - keys are cached briefly, so the old key can keep working for a few more seconds after you revoke it. ## Example call ```bash curl -X POST https://api.up2data.ai/v1/profiles/enrich \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://linkedin.com/in/satyanadella"}' ``` ## When a key fails | Status | Type | Meaning | |---|---|---| | 401 | `invalid_api_key` | Missing, malformed, or revoked key | | 402 | `insufficient_credits` | The key is valid, but your balance cannot cover this call | ```json { "error": { "type": "invalid_api_key", "message": "The API key provided is invalid or has been revoked.", "requestId": "req_1n4kd02p" }, "meta": { "creditsUsed": 0, "billed": false, "reason": "invalid_api_key", "requestId": "req_1n4kd02p", "latencyMs": 4 } } ``` Neither of these is billed - see the full status table in [Errors](https://docs.up2data.ai/v1/guides/errors/). For what a call actually costs, see [Credits](https://docs.up2data.ai/v1/guides/credits/). --- # Credits The rate for every endpoint, and why a not-found target (422) is billed everywhere. ## How billing works Up2Data charges by credit, one currency for every operation. Every response carries a `meta` block reporting exactly what that call cost, errors included. A billed error such as `422 unprocessable_target` shows its charge in `meta.creditsUsed` next to the `error` object: ```json "meta": { "creditsUsed": 1, "creditsRemaining": 98420, "billed": true, "reason": "profile_found", "requestId": "req_8f2ka91x" } ``` ## Rates | Endpoint | Rate | |---|---| | [`POST /v1/profiles/enrich`](https://docs.up2data.ai/v1/api/profiles-enrich/) | 1 credit, or 2 credits with any of `with_followers_and_connections`, `with_full_skills_and_endorsements`, `with_verification_details`, or by listing `followers_count`, `connections_count`, `is_verified` or `verification_details` in `fields`. `with_latest_company_details` adds 1 credit per current company enriched (2 with `with_company_type`), up to 3 companies; a profile with no current company pays nothing for it | | [`POST /v1/companies/enrich`](https://docs.up2data.ai/v1/api/companies-enrich/) | 1 credit, or 2 credits with `with_company_type` | | [`POST /v1/companies/jobs-count`](https://docs.up2data.ai/v1/api/companies-jobs-count/) | 1 credit | | [`POST /v1/companies/posts`](https://docs.up2data.ai/v1/api/companies-posts/) | 1 credit per returned post, minimum 1 credit per call | | [`POST /v1/companies/headcount`](https://docs.up2data.ai/v1/api/companies-headcount/) | 1 credit | | [`POST /v1/posts/enrich`](https://docs.up2data.ai/v1/api/posts-enrich/) | 1 credit, +1 credit per `with_comments`, `with_reactions`, `with_reposts` flag (first 25 of each) | | [`POST /v1/jobs/enrich`](https://docs.up2data.ai/v1/api/jobs-enrich/) | 1 credit, or 2 credits with `with_hiring_team` (billed even when `hiring_team` comes back empty) | | [`POST /v1/posts/engagement/comments`](https://docs.up2data.ai/v1/api/posts-engagement-comments/) | 1 credit per page of up to 100 comments, minimum 1 page | | [`POST /v1/posts/engagement/reactions`](https://docs.up2data.ai/v1/api/posts-engagement-reactions/) | 1 credit per page of up to 100 reactions, minimum 1 page | | [`POST /v1/posts/engagement/reposts`](https://docs.up2data.ai/v1/api/posts-engagement-reposts/) | 1 credit per page of up to 100 reposts, minimum 1 page | | [`POST /v1/profiles/activity`](https://docs.up2data.ai/v1/api/profiles-activity/) | 2 credits for a single `kind`; 1 + 1 per kind when `kind` is an array or `all`, `posts` and `reposts` counting as one (4 for all), refused kinds not billed | | [`POST /v1/profiles/recommendations`](https://docs.up2data.ai/v1/api/profiles-recommendations/) | 1 credit per requested direction (`both` is 2), whether or not it lists anything | | [`POST /v1/profiles/interests`](https://docs.up2data.ai/v1/api/profiles-interests/) | 1 credit per requested category (`all` is 5), whether or not it lists anything | | [`POST /v1/profiles/counts`](https://docs.up2data.ai/v1/api/profiles-counts/) | 1 credit | | [`POST /v1/search/people`](https://docs.up2data.ai/v1/api/search-people/), [`POST /v1/search/people/sales-nav`](https://docs.up2data.ai/v1/api/search-people-sales-nav/), [`POST /v1/search/companies/sales-nav`](https://docs.up2data.ai/v1/api/search-companies-sales-nav/) | 2 credits per result returned, counted as at least 25 results, so every search costs at least 50 credits, empty ones included | | [`POST /v1/search/people/standard`](https://docs.up2data.ai/v1/api/search-people-standard/), [`POST /v1/search/companies`](https://docs.up2data.ai/v1/api/search-companies/), [`POST /v1/search/companies/standard`](https://docs.up2data.ai/v1/api/search-companies-standard/) | 1 credit per page of up to 25 results, minimum 1 page | | [`POST /v1/search/jobs`](https://docs.up2data.ai/v1/api/search-jobs/) | 1 credit per job returned, minimum 1 credit per search. `with_hiring_team` adds 1 credit per job looked up, even when its `hiring_team` comes back empty | | [`POST /v1/search/posts`](https://docs.up2data.ai/v1/api/search-posts/) | 1 credit per page of up to 25 posts, minimum 1 page | | [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) items | `profile`, `company`, `post`, and Sales Navigator search items: 1 credit each, or the flagged rate of the matching sync endpoint when the item carries its flags (Sales Navigator search items reserve 2 credits per `max_results` with a 50-credit minimum, or 3 credits per `max_results` with `with_full_profiles`, refunded for any shortfall but never below 50 credits) - refunded only when the item fails on our side. Every other operation item reserves the worst case at submission, matching its own sync rate above, and refunds down to what it actually billed once its queue settles - see the [full table](https://docs.up2data.ai/v1/api/batch-create/) for exact numbers | | [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/), [`GET /v1/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/) | Free | | [`GET /v1/account`](https://docs.up2data.ai/v1/api/account-get/) | Free | | [`/v1/signals`](https://docs.up2data.ai/v1/api/signals-create/) routes | Free to schedule, read, pause, resume and delete. Each run submits a batch job billed at the batch rates above, at run time, from your balance at that moment | ## The billing rule **A not-found target is billed everywhere.** Whenever Up2Data scrapes a target and finds it missing, private, deleted, or unreachable (422 `unprocessable_target`), that counts as billable work - on synchronous enrich ([`profiles/enrich`](https://docs.up2data.ai/v1/api/profiles-enrich/), [`companies/enrich`](https://docs.up2data.ai/v1/api/companies-enrich/), [`posts/enrich`](https://docs.up2data.ai/v1/api/posts-enrich/), [`jobs/enrich`](https://docs.up2data.ai/v1/api/jobs-enrich/)), on [`profiles/activity`](https://docs.up2data.ai/v1/api/profiles-activity/), on [`companies/jobs-count`](https://docs.up2data.ai/v1/api/companies-jobs-count/), [`companies/posts`](https://docs.up2data.ai/v1/api/companies-posts/) and [`companies/headcount`](https://docs.up2data.ai/v1/api/companies-headcount/) (1 credit), on the post engagement endpoints and on [`profiles/recommendations`](https://docs.up2data.ai/v1/api/profiles-recommendations/), [`profiles/interests`](https://docs.up2data.ai/v1/api/profiles-interests/) and [`profiles/counts`](https://docs.up2data.ai/v1/api/profiles-counts/) (1 credit), on [`search/posts`](https://docs.up2data.ai/v1/api/search-posts/) when the `author_url` or `author_urn` profile is unreachable (1 credit), and on every batch item. Outside a batch job, only 400, 401, 402, 429, 500, and 504 are never billed. **Every request that reaches LinkedIn is billed, empty results included.** A search with no matches, a post with no comments, or a profile with no recommendations still bills its smallest unit (one page, one post, one job, or every requested direction or category). Only requests that return no data because of our failure (500, 504) or were rejected before any work started (400, 401, 402, 429) are not billed. > **Info:** A `POST /v1/batch` job reserves the worst case for every item at submission. A `profile`, `company`, `post`, or Sales Navigator search item is billed in full at submission: a `422 unprocessable_target` item bills at its type's rate just like a successful one, and only an item that fails on our side (a crash or timeout) is refunded. A Sales Navigator search item's unused `max_results` reservation is the only thing on those items that refunds, once that search runs. Every other operation item settles differently: it reserves the same worst case at submission, but refunds down to what it actually billed once its queue finishes. An empty or `unprocessable_target` result still bills its smallest unit; only an item that fails on our side is refunded in full. See [Batch jobs](https://docs.up2data.ai/v1/guides/batch-jobs/). See [Errors](https://docs.up2data.ai/v1/guides/errors/) for the complete status table and [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/) for what happens when you're throttled. --- # Batch jobs Submit up to 1,000 mixed items in one call and read results by webhook or by polling. ## When to reach for batch The sync endpoints - [profiles/enrich](https://docs.up2data.ai/v1/api/profiles-enrich/), [companies/enrich](https://docs.up2data.ai/v1/api/companies-enrich/), [posts/enrich](https://docs.up2data.ai/v1/api/posts-enrich/) - are fine up to a few hundred records. Past that, use [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/): submit up to 1,000 items in one job, processed in parallel, with results delivered by webhook or by polling. Every /v1 capability except [profile counts](https://docs.up2data.ai/v1/api/profiles-counts/) is batchable, as one of two item shapes. Three enrich shapes: | `type` | Shape | |---|---| | `profile` | `{ "type": "profile", "url": "...", "fields"?, "with_followers_and_connections"?, "with_full_skills_and_endorsements"?, "with_latest_company_details"?, "with_company_type"?, "with_verification_details"? }` | | `company` | `{ "type": "company", "url": "...", "fields"?, "with_company_type"? }` | | `post` | `{ "type": "post", "url": "...", "with_comments"?, "with_reactions"?, "with_reposts"? }` | The optional keys are the same flags and `fields` the matching sync endpoint takes, with the same meaning and the same price: a flagged `profile` item costs 2 credits, `with_latest_company_details` adds 1 credit per current company enriched (2 with `with_company_type`, which needs `with_latest_company_details`), up to 3 companies, reserved at 3 when the job is created and refunded for the companies the profile did not have, a `company` item with `with_company_type` costs 2, and each engagement flag on a `post` item adds 1 credit and bundles the first 25 of that kind into the result entry's `data`. or an operation item, running any other /v1 capability as a batch item instead of a loop of sync calls: ```json { "operation": "posts.engagement.comments", "body": { "urn": "7267273010393358336", "max_results": 500 } } ``` `operation` is one of `profiles.activity`, `profiles.recommendations`, `profiles.interests`, `companies.jobs_count`, `companies.posts`, `companies.headcount`, `jobs.enrich`, `posts.engagement.comments`, `posts.engagement.reactions`, `posts.engagement.reposts`, `search.people.sales_nav`, `search.companies.sales_nav`, `search.people.standard`, `search.companies.standard`, `search.jobs`, or `search.posts`. `body` is the same shape as that operation's own sync request body, except `page`, `per_page`, and `pagination_token` are never accepted - batch paginates through everything up to `max_results` on its own. `max_results` defaults to 100 for every non-scalar operation, with its own cap per operation (2,500 for people search, 1,000 for company search, 500 or 1,000 for everything else); a scalar operation (`companies.jobs_count`, `companies.headcount`, `jobs.enrich`) rejects `max_results` entirely. `search.people.sales_nav` and `search.companies.sales_nav` take `filters` or `sales_nav_url`, exactly one, same as their sync endpoints. A `search.people.sales_nav` item can also set `with_full_profiles: true` in its `body` to get every result fully enriched (3 credits per result) instead of search stubs (2 credits per result, minimum 50). See [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) for the full table of every operation's `max_results` default and cap, billing, and result row type. ## Submit a job ```bash curl -X POST https://api.up2data.ai/v1/batch \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: import-chunk-014" \ -d '{ "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "profile", "url": "https://linkedin.com/in/b" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }' ``` ```json { "data": { "job_id": "job_7hd92kfa", "status": "processing", "total": 3, "estimated_completion": "2026-07-07T14:03:00Z" }, "meta": { "creditsUsed": 3, "creditsRemaining": 98416, "billed": true, "reason": "job_accepted", "requestId": "req_0pl2m8xz" } } ``` Submission is a single request no matter how many items you send, and it's billed for the full total right then - see [Credits](https://docs.up2data.ai/v1/guides/credits/) for the per-item rates and [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/) for the request limits. > **Info:** Send an `Idempotency-Key` header with your submission. Retrying it with the same key returns the original job instead of creating a duplicate or charging twice - useful when a submission times out and you're not sure it landed. ## Get results Poll the job directly: ```bash curl https://api.up2data.ai/v1/batch/job_7hd92kfa -H "X-API-Key: YOUR_API_KEY" ``` ```json { "data": { "job_id": "job_7hd92kfa", "status": "completed", "total": 1000, "succeeded": 968, "failed": 32, "results": [ { "type": "profile", "operation": "enrich.profile", "url": "https://linkedin.com/in/a", "status": "ok", "input": "https://linkedin.com/in/a", "data": { "full_name": "...", "headline": "..." } }, { "type": "company", "operation": "enrich.company", "url": "https://linkedin.com/company/acme", "status": "ok", "input": "https://linkedin.com/company/acme", "data": { "name": "Acme", "headcount": 512 } } ], "failures": [ { "type": "profile", "url": "https://linkedin.com/in/gone", "status": "unprocessable_target" }, { "type": "company", "url": "https://linkedin.com/company/timed-out", "status": "upstream_timeout" } ] }, "meta": { "creditsUsed": 1000, "creditsRemaining": 421012, "billed": true, "reason": "job_completed", "requestId": "req_v82n1kd0" } } ``` Every `results` and `failures` entry carries the `operation` that produced it, and every `results` entry also carries `input`, echoing what you submitted for it. All 1,000 items here are `profile` and `company` enrich items, charged when the job was submitted, and the 32 failures here are all `unprocessable_target`, so none of them refund: a `results` entry and an `unprocessable_target` failure bill the same - 1 credit for a profile, company, or post, or a `max_results`-sized reservation for a Sales Navigator search item. The job's `creditsUsed` still shows the full 1,000 - see [Credits](https://docs.up2data.ai/v1/guides/credits/). Every other operation item refunds differently: it reserves the same worst case at submission, but settles down to what it actually billed once its queue finishes, so an empty or `unprocessable_target` result still bills its smallest unit and only an item that fails on our side costs 0. [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) is free to poll as often as you like, whether the job is still running or done. Or set `webhook_url` and listen for `batch.completed` instead - see [Webhooks](https://docs.up2data.ai/v1/guides/webhooks/). For large jobs, [`GET /v1/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/) returns a cursor page of result entries instead of the whole job at once, so you can stream results in while the job is still processing instead of re-fetching a growing `results` array on every poll: ```bash curl "https://api.up2data.ai/v1/batch/job_7hd92kfa/results?limit=100" -H "X-API-Key: YOUR_API_KEY" ``` Pass the `next_cursor` from each response back in as `cursor` until `has_more` is `false`. ## Credits Submitting a job reserves the worst case for every item at once: 1 credit per profile, company, or post item, and each operation item at its own rate - see the [full operations table](https://docs.up2data.ai/v1/api/batch-create/) for exact numbers. A profile, company, post, or Sales Navigator search item bills a `422 unprocessable_target` the same as a success and refunds only when it fails on our side (a crash or timeout); only a Sales Navigator search item's unused `max_results` reservation refunds, once that search runs and comes back short. Every other operation settles down to what it actually billed once its queue finishes: an empty page, an empty direction or category, or a company that isn't found still bills its smallest unit, and so does a `422 unprocessable_target`; only an item that fails on our side refunds in full. See [Credits](https://docs.up2data.ai/v1/guides/credits/) for the full table. --- # Signals Re-run a batch on a schedule: watch profiles, companies or posts and get a batch.completed webhook per run. ## What a signal is A signal is a saved [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) body plus a schedule. On every tick Up2Data submits that body as a batch job on your behalf, bills it at the normal batch rates from your balance at that moment, and sends a [`batch.completed`](https://docs.up2data.ai/v1/guides/webhooks/) webhook to the signal's `webhook_url` when the job finishes. Use it to watch a list of profiles or companies for changes, re-pull engagement on a set of posts every day, or run the same search every week. Scheduling, reading, pausing, resuming and deleting a signal are all free. Only the runs cost credits, exactly what the same batch would cost if you submitted it yourself. ## Schedule a signal ```bash curl -X POST https://api.up2data.ai/v1/signals \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Watch key accounts", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "max_runs": 30 }, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" } }' ``` ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "status": "active", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 0, "next_run_at": "2026-11-01T08:00:00Z" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "signal_created", "requestId": "req_t4sk0001" } } ``` `request` is the exact batch body: every item shape, flag and operation that [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) accepts works here. When you create the signal only `items` (1 to 1,000 objects) and `webhook_url` (https) are checked; the rest is validated when a run submits it. ## Pick a schedule | You want | `schedule` | |---|---| | Every day, until you stop it | `{ "interval_ms": 86400000 }` | | Tomorrow, the day after, and the day after that | `{ "interval_ms": 86400000, "start_at": "", "max_runs": 3 }` | | Every 6 hours until year end | `{ "interval_ms": 21600000, "ends_at": "2026-12-31T00:00:00Z" }` | | Once, at a point in time | `{ "interval_ms": 60000, "start_at": "", "max_runs": 1 }` | `interval_ms` is required and must be at least 60000. `start_at` defaults to now. Omit both `ends_at` and `max_runs` for an indefinite signal. A signal completes when `run_count` reaches `max_runs` or the next run would fall after `ends_at`; `completed` signals keep their history and can be revived by raising `max_runs` or moving `ends_at` with [`PATCH /v1/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-update/). After downtime on our side a missed tick runs once and the schedule realigns to `now + interval_ms`. There is no catch-up burst. ## Read the results Each run creates one batch job. The signal carries the latest one as `last_job_id`, and [`GET /v1/signals/{signal_id}/runs`](https://docs.up2data.ai/v1/api/signals-runs/) lists every run with its `job_id`: ```bash curl https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/runs -H "X-API-Key: YOUR_API_KEY" ``` Then read a job like any other batch: [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) for the summary and accumulated results, or [`GET /v1/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/) for the incremental feed. If you set `request.webhook_url`, every run's job sends `batch.completed` there. The payload names only the `job_id`, so either keep one webhook URL per signal or resolve the job through the runs list. ## When a run fails | Run outcome | What happens to the signal | |---|---| | Job accepted (202) | `run_count` increments, `last_job_id` updates, next tick scheduled | | `402 insufficient_credits` | Signal pauses with `pause_reason` `insufficient_credits`. The step is not consumed. Top up and [resume](https://docs.up2data.ai/v1/api/signals-resume/); the same step runs on the next tick | | `400 invalid_request` | Signal pauses with `pause_reason` `invalid_request`, because the same body would fail every time. Fix `request` with [PATCH](https://docs.up2data.ai/v1/api/signals-update/) and resume | | `429 rate_limited` | Run is `deferred` and retried after `Retry-After` under the same `run_number`. The step is not consumed | | `500`, `504`, network error | Retried three times with backoff; then the run is `failed`, `last_error` is set, and the schedule moves on | Pausing a signal yourself with [`POST /v1/signals/{signal_id}/pause`](https://docs.up2data.ai/v1/api/signals-pause/) sets `pause_reason` to `manual`. A paused signal keeps its place: resuming it fires immediately if `next_run_at` is already past, otherwise at the next tick. ## Endpoints | Call | Purpose | |---|---| | [`GET /v1/signals`](https://docs.up2data.ai/v1/api/signals-list/) | List signals, filter by `status` | | [`POST /v1/signals`](https://docs.up2data.ai/v1/api/signals-create/) | Schedule a signal | | [`GET /v1/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-get/) | One signal | | [`PATCH /v1/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-update/) | Change name, schedule or request | | [`DELETE /v1/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-delete/) | Delete a signal and its history | | [`POST /v1/signals/{signal_id}/pause`](https://docs.up2data.ai/v1/api/signals-pause/) | Pause | | [`POST /v1/signals/{signal_id}/resume`](https://docs.up2data.ai/v1/api/signals-resume/) | Resume | | [`GET /v1/signals/{signal_id}/runs`](https://docs.up2data.ai/v1/api/signals-runs/) | Run history with each run's `job_id` | All of them are free and count toward your per-key request limit like any other call. See [Errors](https://docs.up2data.ai/v1/guides/errors/) for the `409 conflict` a completed signal returns on pause and resume. --- # Errors Every error type, its status code, and whether it is billed. ## Error shape Every error, on every endpoint, has the same envelope: ```json { "error": { "type": "unprocessable_target", "message": "This profile is private or has been deleted.", "requestId": "req_9k2mm4xd" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "unprocessable_target", "requestId": "req_9k2mm4xd", "latencyMs": 2310 } } ``` `meta` is on every error too, so you can always read what a call cost from `meta.creditsUsed` and `meta.billed`. `meta.reason` is the error type. `creditsRemaining` is only present when the error was billed. `requestId` rides along on every response, success or failure - include it when you contact support. ## Error types | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, an unknown name in `fields`, or a bad URL format | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key | No | | 402 | `insufficient_credits` | The key is valid, but your balance cannot cover the call | No | | 404 | `not_found` | The batch job referenced by `job_id`, or the signal referenced by `signal_id`, does not exist | No | | 409 | `conflict` | The signal is completed and cannot be paused or resumed; change its `schedule` instead | No | | 422 | `unprocessable_target` | The target profile, company, or post is not found, private, deleted, or unreachable | Yes - everywhere, including `profiles/activity` and each batch item | | 429 | `rate_limited` | Over the request or search limit; honor `Retry-After` | No | | 500 | `internal_error` | Something broke on our side | No | | 504 | `upstream_timeout` | The live scrape did not finish in time | No | | n/a | `upstream_error` | Another upstream scrape failure, distinct from a timeout; on `/signals` routes, the scheduling service is unreachable (503) | No | > **Info:** `upstream_error` covers an upstream scrape failure other than a timeout. It's never billed, and safe to retry the same as `upstream_timeout`. ## Retries 429, 500, and 504 (and `upstream_error`) are safe to retry - outside a batch job, none of them are billed. Use exponential backoff with jitter, and treat `Retry-After` as a floor, not a fixed delay. `POST /v1/batch` accepts an `Idempotency-Key` header so a retried submission returns the original job instead of creating a duplicate - see [Batch jobs](https://docs.up2data.ai/v1/guides/batch-jobs/). ## Batch items fail individually A batch job never fails as a whole because one item did. Each entry in `results` or `failures` carries its own status and its own `operation`. A `profile`, `company`, `post`, or Sales Navigator search item was already billed in full at submission: a success and an `unprocessable_target` failure bill the same, while an item that fails on our side (a crash or timeout) is refunded - 1 credit per enrich item, or a `max_results`-sized reservation per Sales Navigator search item - and the only refund is the unused part of that reservation, once the search runs. Every other operation item reserves the same worst case at submission but settles once its queue finishes: an item that reached LinkedIn bills at least its smallest unit even when it comes back empty or the company isn't found, and so does `unprocessable_target`; only an item that fails on our side is refunded in full. Items still processing affect neither count. See [Credits](https://docs.up2data.ai/v1/guides/credits/) for the full rate table and [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/) for the quota headers. --- # Rate limits Per-key request limits, the per-organization search quota, and the headers that report them. ## Limits | Limit | Default | Scope | |---|---|---| | Requests per minute | 5,000 | Per API key | | Requests per minute, all keys | 10,000 | Per organization | | Requests in flight | 6,000 | Per organization | | Searches per hour | 5,000 | Per organization | The per-key requests per minute and the searches per hour can be raised for your organization; [`GET /v1/account`](https://docs.up2data.ai/v1/api/account-get/) reports the values that apply to you, plus the searches left this hour. There is no cap on concurrent batch jobs. Request limits apply per API key across every enrich, search, and batch call. Submitting a batch job counts as one request no matter how many items it holds. The search quota counts calls, not results: every `POST /v1/search/*` call is 1 - [people](https://docs.up2data.ai/v1/api/search-people/), [companies](https://docs.up2data.ai/v1/api/search-companies/), [jobs](https://docs.up2data.ai/v1/api/search-jobs/), [posts](https://docs.up2data.ai/v1/api/search-posts/), their Sales Navigator ([people](https://docs.up2data.ai/v1/api/search-people-sales-nav/), [companies](https://docs.up2data.ai/v1/api/search-companies-sales-nav/)) and standard ([people](https://docs.up2data.ai/v1/api/search-people-standard/), [companies](https://docs.up2data.ai/v1/api/search-companies-standard/)) variants - and so is every `search.*` operation item (Sales Navigator, standard, jobs, or posts) you send inside a `POST /v1/batch` job. Enrich items and every non-search operation item inside a batch don't count against it. The quota is shared per organization, across every key. A sync search call returns at most 100 results (`pagination.has_more` shows when more exist); for a bigger pull - up to 2,500 for people, 1,000 for companies, 500 for jobs or posts - send it as an operation item inside [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) instead of issuing more sync searches. Need a higher limit? Email support@up2data.ai, and for search limits specifically, put "Higher search limits" in the subject line. ## Response headers Every authenticated business response carries: ```http X-RateLimit-Limit: 5000 X-RateLimit-Remaining: 4987 X-RateLimit-Reset: 1767225600 X-Global-RateLimit-Limit: 10000 X-Global-RateLimit-Remaining: 9987 X-Active-Requests-Limit: 6000 X-Active-Requests-Remaining: 5998 ``` The global headers count requests across every key in the organization. The active-requests headers count calls still in flight, including this one. Search responses also carry: ```http X-Search-RateLimit-Limit: 5000 X-Search-RateLimit-Remaining: 4997 X-Search-RateLimit-Reset: 1767229200 ``` ## Getting rate limited ```json { "error": { "type": "rate_limited", "message": "Search rate limit exceeded (5,000 searches per hour per organization). A sync search returns at most 100 results per call - for a bigger pull, send it as a POST /v1/batch search item instead of sending more searches. Need a higher limit? Email support@up2data.ai.", "requestId": "req_55azx1qm" } } ``` The response includes a `Retry-After` header, in seconds. Rate-limited requests are never billed. Back off exponentially with jitter, and treat `Retry-After` as a floor rather than the exact wait time. See [Errors](https://docs.up2data.ai/v1/guides/errors/) for the full status table. --- # Webhooks batch.completed delivery, signature verification, and the retry schedule. ## batch.completed The only webhook event `/v1` sends today. It fires once a [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) job finishes, whether every item resolved or some failed. ```http POST https://your-server.com/hooks/up2data X-Up2Data-Event: batch.completed X-Up2Data-Signature: t=1767225600,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd Content-Type: application/json ``` ```json { "event": "batch.completed", "job": { "job_id": "job_7hd92kfa", "status": "completed", "total": 1000, "estimated_completion": "2026-07-07T14:03:00Z" } } ``` The payload is a summary, not the results - fetch those with [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) or [`GET /v1/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/) once you get the event. A [signal](https://docs.up2data.ai/v1/guides/signals/) sends the same event once per run, to the `webhook_url` in its `request`. Map the `job_id` back to the signal with [`GET /v1/signals/{signal_id}/runs`](https://docs.up2data.ai/v1/api/signals-runs/), or keep one webhook URL per signal. > **Info:** Return any `2xx` status within 10 seconds to acknowledge delivery. Anything else counts as a failed attempt. ## Your signing secret Every organization has one signing secret, a `whsec_` string that is the same for every webhook you receive. Read it from `webhook.signing_secret` on [`GET /v1/account`](https://docs.up2data.ai/v1/api/account-get/), or copy it from Settings, Webhook Integrations in the portal; it is created the first time it is read or used. To replace it, call [`POST /v1/account/webhook-secret/rotate`](https://docs.up2data.ai/v1/api/account-webhook-secret-rotate/) or press Rotate in the portal. Rotation is immediate and there is no overlap window: deliveries after that point, including retries of earlier jobs, are signed with the new secret only, so switch your verifier first. ## Verifying the signature `X-Up2Data-Signature` is an HMAC-SHA256 of `{timestamp}.{raw_body}`, computed with your signing secret over the raw request body, before you parse it as JSON. ```python import hashlib, hmac, time def verify(payload: bytes, header: str, secret: str, tolerance: int = 300) -> bool: pairs = dict(p.split("=", 1) for p in header.split(",")) timestamp, signature = pairs["t"], pairs["v1"] if abs(time.time() - int(timestamp)) > tolerance: return False # replay protection expected = hmac.new( secret.encode(), f"{timestamp}.".encode() + payload, hashlib.sha256 ).hexdigest() return hmac.compare_digest(expected, signature) ``` ```javascript import crypto from "node:crypto"; function verify(payload, header, secret, tolerance = 300) { const pairs = Object.fromEntries(header.split(",").map((p) => p.split("="))); const { t, v1 } = pairs; if (Math.abs(Date.now() / 1000 - Number(t)) > tolerance) return false; const expected = crypto .createHmac("sha256", secret) .update(`${t}.${payload}`) .digest("hex"); return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1)); } ``` ## Retries If your endpoint doesn't return a `2xx` within 10 seconds, delivery is retried 5 times with exponential backoff: 1m, 5m, 30m, 2h, 6h. Retries carry the same `job_id`, so dedupe on it rather than assuming one delivery per job. ## Skipping webhooks entirely `webhook_url` is optional on `POST /v1/batch`. Without it, poll [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) instead - see [Batch jobs](https://docs.up2data.ai/v1/guides/batch-jobs/). --- # Migrating from legacy Map every {legacy} open-refresh route to its /v1 equivalent. ## What changes Legacy exchanges your API key for a short-lived token, then sends that token on every call: ```bash curl -X POST https://api.up2data.ai/api/api-auth/authenticate \ -H "Content-Type: application/json" \ -d '{"apiKey": "your-api-key-here"}' # -> {"accessToken": "eyJhbGciOiJIUzI1NiIs..."} ``` `/v1` drops the exchange entirely. Send your key directly, on every request: ```http X-API-Key: YOUR_API_KEY ``` Legacy is also queue-first: most Profiles, Companies, and Posts routes enqueue a job and hand back a `queueId`, and you poll `list`/`status` or wait for a callback item to see what came back. `/v1` flips that around: [profiles/enrich](https://docs.up2data.ai/v1/api/profiles-enrich/), [companies/enrich](https://docs.up2data.ai/v1/api/companies-enrich/), and [posts/enrich](https://docs.up2data.ai/v1/api/posts-enrich/) are synchronous request/response calls, and only [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) is async, with its own `job_id` and a [`batch.completed`](https://docs.up2data.ai/v1/guides/webhooks/) webhook in place of the callback item. ## Route mapping | Legacy route | /v1 equivalent | Notes | |---|---|---| | [`POST /api-auth/authenticate`](https://docs.up2data.ai/legacy/api/auth-authenticate/) | None | `/v1` has no token exchange - send `X-API-Key` directly on every call. | | [`POST /open-refresh/profile`](https://docs.up2data.ai/legacy/api/profiles-sync/) | [`POST /v1/profiles/enrich`](https://docs.up2data.ai/v1/api/profiles-enrich/) | Same job, still synchronous, new field and response names. | | [`POST /open-refresh/profiles-bulk`](https://docs.up2data.ai/legacy/api/profiles-bulk/) | [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) | Send `items: [{ "type": "profile", "url": "..." }, ...]`. `batch.completed` replaces the callback item; `GET /v1/batch/{job_id}` replaces `list`/`status`. | | [`POST /open-refresh/activity`](https://docs.up2data.ai/legacy/api/profiles-activity/) | [`POST /v1/profiles/activity`](https://docs.up2data.ai/v1/api/profiles-activity/) | Legacy enqueues posts, comments, and reactions together for a batch of profiles. `/v1` takes one profile per call, synchronously, with one `kind` (`posts`, `comments`, `reactions`, or `reposts`), an array of kinds, or `all`. | | [`POST /open-refresh/posts`](https://docs.up2data.ai/legacy/api/profiles-posts/) | `POST /v1/profiles/activity` with `kind: "posts"` | Same data, now synchronous, one profile per call. | | [`POST /open-refresh/comments`](https://docs.up2data.ai/legacy/api/profiles-comments/) | `POST /v1/profiles/activity` with `kind: "comments"` | Same. | | [`POST /open-refresh/reactions`](https://docs.up2data.ai/legacy/api/profiles-reactions/) | `POST /v1/profiles/activity` with `kind: "reactions"` | Same. | | [`POST /open-refresh/latest-post`](https://docs.up2data.ai/legacy/api/profiles-latest-post/) | No `/v1` equivalent | `/v1` has no single-latest-post route. Call `POST /v1/profiles/activity` with `kind: "posts"` and read the first entry. | | [`POST /open-refresh/company`](https://docs.up2data.ai/legacy/api/companies-sync/) | [`POST /v1/companies/enrich`](https://docs.up2data.ai/v1/api/companies-enrich/) | Same job, still synchronous. | | [`POST /open-refresh/companies-bulk`](https://docs.up2data.ai/legacy/api/companies-bulk/) | [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) | Send `items: [{ "type": "company", "url": "..." }, ...]`. | | [`POST /open-refresh/post-by-url`](https://docs.up2data.ai/legacy/api/posts-by-url/) | [`POST /v1/posts/enrich`](https://docs.up2data.ai/v1/api/posts-enrich/) | Synchronous now; for volume, send `type: "post"` batch items instead. | | [`POST /open-refresh/search`](https://docs.up2data.ai/legacy/api/sales-search/) | [`POST /v1/search/people/sales-nav`](https://docs.up2data.ai/v1/api/search-people-sales-nav/) and [`POST /v1/search/companies/sales-nav`](https://docs.up2data.ai/v1/api/search-companies-sales-nav/) | Legacy took a mixed list of Sales Navigator URLs in one call. `/v1` splits people and company searches into two endpoints; each is one synchronous call per search that returns up to 100 results at a time (`pagination.has_more` when more exist). Pull a bigger set - up to 2,500 for people, 1,000 for companies - through a search item inside [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/). | | [`GET /open-refresh/list`](https://docs.up2data.ai/legacy/api/queues-list/) | [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) or [`GET /v1/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/) | Batch results replace queue result pages; `/results` takes `cursor` and `limit` query params and cursor-pages incrementally, instead of legacy's `page`-based pagination. | | [`GET /open-refresh/status`](https://docs.up2data.ai/legacy/api/queues-status/) | [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) | Same progress-check role, keyed by `job_id` instead of `queueId`. | > **Warning:** `latest-post` is the one legacy route with nothing to migrate to directly - see the row above for the closest equivalent. ## Other differences worth knowing - **Webhook routing.** Legacy routes callbacks by `webhookTags` configured per team. `/v1` takes one `webhook_url` per batch job - no team-wide tag matching. - **Callback shape.** Legacy's callback item carries a `type` field (`Profile`, `Company`, `Activity`, `ActivityPosts`, and so on) per queue kind. `/v1`'s `batch.completed` payload is a single job summary; per-item results live in `GET /v1/batch/{job_id}`. - **Billing.** A not-found target is billed in both versions. In /v1 that covers synchronous enrich, `profiles/activity` and every batch item, the same way legacy bulk endpoints charge each item at enqueue. The exact rates differ between versions - check each version's own Credits guide rather than assuming they match. --- # All operations Up2Data's /v1 API is a usage-based B2B data API: real-time LinkedIn profile, company, post, and job enrichment, live people, company, job, and post search, Sales Navigator search, and asynchronous batch jobs, all through one `X-API-Key` header. Every /v1 capability except profile counts is also batchable as an operation item, not just profile, company, and post enrich. Every call answers a `{data, meta}` envelope on success or an `{error}` envelope on failure. Sync enrich, activity, and a `profile`, `company`, `post`, or Sales Navigator batch item bill both when the target is found and when it comes back not found, private, deleted, or unreachable (`422 unprocessable_target`); every other batch operation bills a `422` at its smallest unit once its queue settles, and any batch item that fails on our side is refunded. A call is only unbilled when it fails with `400`, `401`, `402`, `429`, `500`, or `504`. Every request that reaches LinkedIn is billed, empty results included. Job search bills per job returned (minimum 1); standard people, company, and post search bill per page of up to 25 results (minimum 1 page); Sales Navigator search bills 2 credits per result with a 50-credit minimum. The base URL is `https://api.up2data.ai/v1`. Sync endpoints answer directly, typically in 2 to 8 seconds; submit `POST /batch` for volume and read results by webhook (`batch.completed`) or by polling `GET /batch/{job_id}`. ## Base URL and authentication ```http https://api.up2data.ai/v1 X-API-Key: YOUR_API_KEY ``` ## Profiles | Method | Path | Credits | Mode | |---|---|---|---| | POST | [`/profiles/enrich`](https://docs.up2data.ai/v1/api/profiles-enrich/) | 1 credit - 2 with any flag, 3 with with_company_type | Sync | | POST | [`/profiles/activity`](https://docs.up2data.ai/v1/api/profiles-activity/) | 2 credits for a single kind; 1 + 1 per kind for several, posts and reposts counting as one (all = 4) | Sync | | POST | [`/profiles/recommendations`](https://docs.up2data.ai/v1/api/profiles-recommendations/) | 1 credit per requested direction - direction both is 2, whether or not it lists anything | Sync | | POST | [`/profiles/interests`](https://docs.up2data.ai/v1/api/profiles-interests/) | 1 credit per requested category - category all is 5, whether or not it lists anything | Sync | | POST | [`/profiles/counts`](https://docs.up2data.ai/v1/api/profiles-counts/) | 1 credit | Sync | ## Companies | Method | Path | Credits | Mode | |---|---|---|---| | POST | [`/companies/enrich`](https://docs.up2data.ai/v1/api/companies-enrich/) | 1 credit - 2 with company type | Sync | | POST | [`/companies/jobs-count`](https://docs.up2data.ai/v1/api/companies-jobs-count/) | 1 credit | Sync | | POST | [`/companies/posts`](https://docs.up2data.ai/v1/api/companies-posts/) | 1 credit per returned post | Sync | | POST | [`/companies/headcount`](https://docs.up2data.ai/v1/api/companies-headcount/) | 1 credit | Sync | ## Jobs | Method | Path | Credits | Mode | |---|---|---|---| | POST | [`/jobs/enrich`](https://docs.up2data.ai/v1/api/jobs-enrich/) | 1 credit - 2 with with_hiring_team | Sync | | POST | [`/search/jobs`](https://docs.up2data.ai/v1/api/search-jobs/) | 1 credit per job returned - +1 per job with with_hiring_team | Sync | ## Posts | Method | Path | Credits | Mode | |---|---|---|---| | POST | [`/posts/enrich`](https://docs.up2data.ai/v1/api/posts-enrich/) | 1 credit - +1 per flag | Sync | | POST | [`/search/posts`](https://docs.up2data.ai/v1/api/search-posts/) | 1 credit per page (up to 25 posts) | Sync | | POST | [`/posts/engagement/comments`](https://docs.up2data.ai/v1/api/posts-engagement-comments/) | 1 credit per page of up to 100 comments | Sync | | POST | [`/posts/engagement/reactions`](https://docs.up2data.ai/v1/api/posts-engagement-reactions/) | 1 credit per page of up to 100 reactions | Sync | | POST | [`/posts/engagement/reposts`](https://docs.up2data.ai/v1/api/posts-engagement-reposts/) | 1 credit per page of up to 100 reposts | Sync | ## Search | Method | Path | Credits | Mode | |---|---|---|---| | POST | [`/search/people`](https://docs.up2data.ai/v1/api/search-people/) (BETA) | 2 credits per result, minimum 50 - billed as at least 25 results, empty searches included | Sync | | POST | [`/search/people/sales-nav`](https://docs.up2data.ai/v1/api/search-people-sales-nav/) (BETA) | 2 credits per result, minimum 50 - billed as at least 25 results, empty searches included | Sync | | POST | [`/search/people/standard`](https://docs.up2data.ai/v1/api/search-people-standard/) | 1 credit per page (up to 25 results) | Sync | | POST | [`/search/companies`](https://docs.up2data.ai/v1/api/search-companies/) | 1 credit per page (up to 25 results) | Sync | | POST | [`/search/companies/sales-nav`](https://docs.up2data.ai/v1/api/search-companies-sales-nav/) (BETA) | 2 credits per result, minimum 50 - billed as at least 25 results, empty searches included | Sync | | POST | [`/search/companies/standard`](https://docs.up2data.ai/v1/api/search-companies-standard/) | 1 credit per page (up to 25 results) | Sync | ## Batch | Method | Path | Credits | Mode | |---|---|---|---| | POST | [`/batch`](https://docs.up2data.ai/v1/api/batch-create/) | Billed at submission - profile, company, and post items: 1 credit each (more with the same flags as their sync endpoint), refunded only when they fail on our side. Every other operation reserves the worst case at submission and settles to what it actually billed once its queue finishes - see the operations table below | Async | | GET | [`/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) | Free | Sync | | GET | [`/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/) | Free | Sync | ## Signals | Method | Path | Credits | Mode | |---|---|---|---| | GET | [`/signals`](https://docs.up2data.ai/v1/api/signals-list/) | Free | Sync | | POST | [`/signals`](https://docs.up2data.ai/v1/api/signals-create/) | Free - each run bills as a batch job at run time | Sync | | GET | [`/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-get/) | Free | Sync | | PATCH | [`/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-update/) | Free | Sync | | DELETE | [`/signals/{signal_id}`](https://docs.up2data.ai/v1/api/signals-delete/) | Free | Sync | | POST | [`/signals/{signal_id}/pause`](https://docs.up2data.ai/v1/api/signals-pause/) | Free | Sync | | POST | [`/signals/{signal_id}/resume`](https://docs.up2data.ai/v1/api/signals-resume/) | Free | Sync | | GET | [`/signals/{signal_id}/runs`](https://docs.up2data.ai/v1/api/signals-runs/) | Free | Sync | ## Account | Method | Path | Credits | Mode | |---|---|---|---| | GET | [`/account`](https://docs.up2data.ai/v1/api/account-get/) | Free | Sync | | POST | [`/account/webhook-secret/rotate`](https://docs.up2data.ai/v1/api/account-webhook-secret-rotate/) | Free | Sync | ## Schemas - [Profile](https://docs.up2data.ai/v1/schemas/profile/) - [Company](https://docs.up2data.ai/v1/schemas/company/) - [Post](https://docs.up2data.ai/v1/schemas/post/) - [LeadResult](https://docs.up2data.ai/v1/schemas/lead-result/) - [AccountResult](https://docs.up2data.ai/v1/schemas/account-result/) - [SearchPerson](https://docs.up2data.ai/v1/schemas/search-person/) - [SearchCompany](https://docs.up2data.ai/v1/schemas/search-company/) - [JobPosting](https://docs.up2data.ai/v1/schemas/job-posting/) - [JobDetail](https://docs.up2data.ai/v1/schemas/job-detail/) - [Recommendation](https://docs.up2data.ai/v1/schemas/recommendation/) - [ProfileRecommendationsResult](https://docs.up2data.ai/v1/schemas/profile-recommendations-result/) - [Interest](https://docs.up2data.ai/v1/schemas/interest/) - [ProfileInterestsResult](https://docs.up2data.ai/v1/schemas/profile-interests-result/) - [ProfileCountsResult](https://docs.up2data.ai/v1/schemas/profile-counts-result/) - [CompanyJobsCountResult](https://docs.up2data.ai/v1/schemas/company-jobs-count-result/) - [CompanyPostsResult](https://docs.up2data.ai/v1/schemas/company-posts-result/) - [CompanyHeadcountResult](https://docs.up2data.ai/v1/schemas/company-headcount-result/) - [ProfileActivityMultiResult](https://docs.up2data.ai/v1/schemas/profile-activity-multi-result/) - [ProfileActivityResult](https://docs.up2data.ai/v1/schemas/profile-activity-result/) - [ActivityComment](https://docs.up2data.ai/v1/schemas/activity-comment/) - [ActivityReaction](https://docs.up2data.ai/v1/schemas/activity-reaction/) - [ActivityTargetPost](https://docs.up2data.ai/v1/schemas/activity-target-post/) - [PostEngagementResult](https://docs.up2data.ai/v1/schemas/post-engagement-result/) - [EngagementActor](https://docs.up2data.ai/v1/schemas/engagement-actor/) - [PostComment](https://docs.up2data.ai/v1/schemas/post-comment/) - [PostReaction](https://docs.up2data.ai/v1/schemas/post-reaction/) - [PostRepost](https://docs.up2data.ai/v1/schemas/post-repost/) - [Pagination](https://docs.up2data.ai/v1/schemas/pagination/) - [BatchJob](https://docs.up2data.ai/v1/schemas/batch-job/) - [BatchJobResult](https://docs.up2data.ai/v1/schemas/batch-job-result/) - [BatchResultPage](https://docs.up2data.ai/v1/schemas/batch-result-page/) - [Signal](https://docs.up2data.ai/v1/schemas/signal/) - [SignalRun](https://docs.up2data.ai/v1/schemas/signal-run/) - [Error](https://docs.up2data.ai/v1/schemas/error/) - [Account](https://docs.up2data.ai/v1/schemas/account/) - [Webhook signing](https://docs.up2data.ai/v1/schemas/webhook-signing/) - [Meta](https://docs.up2data.ai/v1/schemas/meta/) --- # Enrich a profile Turn any LinkedIn profile URL into a full live record, scraped at request time. **POST** `https://api.up2data.ai/v1/profiles/enrich` **Credits:** 1 credit - 2 with any flag, 3 with with_company_type - **Mode:** synchronous Pure LinkedIn profile scraping, with no email finding or third-party blending. Typical latency is 2 to 8 seconds. Identify the profile with `url` or `urn`; provide exactly one. Restricting the response with `fields` does not reduce the cost. > **Info:** Listing `followers_count`, `connections_count` or `is_verified` in `fields` opts into the same extra scrape as `with_followers_and_connections`, and listing `verification_details` opts into `with_verification_details`, at the same rate. `skills` holds at most the first 20 skills a profile lists. > **Info:** Flags do not stack: any combination of `with_*` flags costs 2 credits. > **Info:** Need only follower and connection counts? [Profile counts](https://docs.up2data.ai/v1/api/profiles-counts/) returns them for 1 credit without scraping the full profile. > **Info:** `positions` covers at most 10 companies. LinkedIn returns work history grouped by company, at most 10 company groups per profile, each with every title the person held there. A profile can therefore return more than 10 positions, but never positions from more than 10 companies. > **Info:** Send many as batch items at 1 credit each; the same flags and fields go on the item and price it exactly like this call. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Public profile URL or public identifier. Provide url or urn. | | `urn` | `string` | LinkedIn member URN, if already known. Provide url or urn. | | `fields` | `string[]` | Restrict the response to these top-level fields. Same cost. A name that is not a field of the response answers 400 before anything is billed. | | `with_followers_and_connections` | `boolean` | Default false. Adds followers_count, connections_count and is_verified via a second LinkedIn request. Adds 1 credit, raising the rate to 2 credits; extra latency. | | `with_verification_details` | `boolean` | Default false. Adds verification_details (the profile's "About this profile" panel: join date, contact info and photo recency, and each identity or workplace verification) plus is_verified, via a second LinkedIn request. Raises the rate to 2 credits; extra latency. | | `with_latest_company_details` | `boolean` | Default false. Scrapes the company page of every current company (positions without ended_at, the first 3 distinct companies in LinkedIn order), one LinkedIn request each, and nests it as company_details on each of those positions. Adds 1 credit per company enriched, nothing when the profile has no current company; extra latency. | | `with_company_type` | `boolean` | Default false. Only with with_latest_company_details: adds company_type to each company_details via one more LinkedIn request per company, like with_company_type on company enrich. Raises the add-on to 2 credits per company; extra latency. Rejected with 400 without with_latest_company_details. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/profiles/enrich" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.linkedin.com/in/satyanadella", "with_followers_and_connections": true, "with_latest_company_details": true, "with_company_type": true, "with_verification_details": true }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/profiles/enrich" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://www.linkedin.com/in/satyanadella", "with_followers_and_connections": True, "with_latest_company_details": True, "with_company_type": True, "with_verification_details": True } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/profiles/enrich"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://www.linkedin.com/in/satyanadella", "with_followers_and_connections": true, "with_latest_company_details": true, "with_company_type": true, "with_verification_details": true }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/profiles/enrich" body := bytes.NewBufferString(`{ "url": "https://www.linkedin.com/in/satyanadella", "with_followers_and_connections": true, "with_latest_company_details": true, "with_company_type": true, "with_verification_details": true }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "url": "https://www.linkedin.com/in/satyanadella", "full_name": "Satya Nadella", "first_name": "Satya", "last_name": "Nadella", "public_identifier": "satyanadella", "headline": "Chairman and CEO at Microsoft", "industry": "Software Development", "location": { "city": "Redmond", "region": "Washington", "country": "United States", "raw": "Redmond, Washington, United States" }, "about": "Empowering every person and every organization on the planet to achieve more.", "urn": "urn:li:member:19186432", "linkedin_id": "19186432", "profile_urn": "urn:li:fsd_profile:ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk", "positions": [ { "title": "Chairman and CEO", "company": "Microsoft", "company_url": "https://www.linkedin.com/company/microsoft", "linkedin_id": "1035", "position_id": "urn:li:fsd_profilePosition:(ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk,2227646598)", "started_at": "2014-02", "ended_at": null, "employment_type": "Full-time", "location": { "city": "Redmond", "region": "Washington", "country": "United States", "raw": "Redmond, Washington, United States" }, "description": "CEO since 2014; Chairman since 2021.", "skills": [ "Cloud Computing", "Leadership" ], "company_industry": "Software Development", "company_headcount": "10001+", "company_logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/microsoft", "company_details": { "url": "https://www.linkedin.com/company/microsoft", "linkedin_id": "1035", "name": "Microsoft", "website": "https://www.microsoft.com", "description": "Technology company building cloud, productivity, and AI products for people and organizations worldwide.", "tagline": "Every company has a mission. What's ours?", "industry": "Computer Software", "industry_v2": "Software Development", "company_type": "Public Company", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_400_400/0/microsoft", "cover_image_url": "https://media.licdn.com/dms/image/v2/D563DAQExample/image-scale_191_1128/0/microsoft", "headcount": 231769, "headcount_growth_6m": 0.02, "company_size": { "min": 10001 }, "founded": 1975, "hq": { "city": "Redmond", "region": "Washington", "country": "US", "address": "1 Microsoft Way", "postal_code": "98052", "latitude": 47.6395, "longitude": -122.1284, "raw": "US, Redmond, Washington, 1 Microsoft Way, 98052" }, "locations": [ { "city": "Redmond", "region": "Washington", "country": "US", "address": "1 Microsoft Way", "postal_code": "98052", "latitude": 47.6395, "longitude": -122.1284, "is_hq": true }, { "city": "Dublin", "country": "IE", "is_hq": false } ], "specialties": [ "Cloud Computing", "Artificial Intelligence", "Productivity Software" ], "scraped_at": "2026-07-07T14:00:04Z", "followers_count": 27000000 } }, { "title": "Executive Vice President, Cloud and Enterprise", "company": "Microsoft", "company_url": "https://www.linkedin.com/company/microsoft", "linkedin_id": "1035", "position_id": "urn:li:fsd_profilePosition:(ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk,1841102234)", "started_at": "2011-02", "ended_at": "2014-02", "description": "Led the transformation to cloud and the launch of Azure.", "skills": [ "Cloud Computing", "Enterprise Software" ], "company_industry": "Software Development", "company_headcount": "10001+", "company_logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/microsoft" } ], "current_company": { "name": "Microsoft", "url": "https://www.linkedin.com/company/microsoft", "linkedin_id": "1035", "title": "Chairman and CEO", "started_at": "2014-02", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/microsoft", "industry": "Software Development", "headcount": "10001+" }, "education": [ { "school": "The University of Chicago Booth School of Business", "school_linkedin_id": "8398", "school_url": "https://www.linkedin.com/school/chicagobooth", "degree": "MBA", "field": "Business Administration", "activities": "President, High Tech Club", "education_id": "urn:li:fsd_profileEducation:(ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk,615479904)", "school_logo_url": "https://media.licdn.com/dms/image/v2/C4D0BAQExample/company-logo_200_200/0/chicago-booth", "started_at": "1994", "ended_at": "1996" }, { "school": "University of Wisconsin-Milwaukee", "degree": "MS", "field": "Computer Science", "education_id": "urn:li:fsd_profileEducation:(ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk,615479905)", "school_logo_url": "https://media.licdn.com/dms/image/v2/C4D0BAQExample/company-logo_200_200/0/uwm" } ], "skills": [ "Cloud Computing", "Leadership", "Enterprise Software", "Artificial Intelligence (AI)", "Strategy", "Product Management" ], "languages": [ "English", "Telugu" ], "language_proficiencies": [ { "name": "English", "proficiency": "full_professional" }, { "name": "Telugu", "proficiency": "native_or_bilingual" } ], "certifications": [ { "name": "AWS Certified Cloud Practitioner", "authority": "Amazon Web Services (AWS)", "issued_at": "2023-04", "expires_at": "2026-04", "url": "https://www.credly.com/badges/example-aws", "linkedin_id": "2382910", "license_number": "AWS-CCP-4821937" } ], "is_open_to_work": true, "is_hiring": false, "is_creator": true, "is_influencer": true, "profile_picture_url": "https://media.licdn.com/dms/image/v2/D5603AQExample/profile-displayphoto-shrink_800_800/0/satyanadella", "background_picture_url": "https://media.licdn.com/dms/image/v2/D5616AQExample/profile-displaybackgroundimage-shrink_1350_1350/0/satyanadella", "followers_count": 11482930, "connections_count": 500, "scraped_at": "2026-07-07T14:00:04Z", "publications": [ { "title": "Hit Refresh", "publisher": "Harper Business", "published_at": "2017-09", "url": "https://www.harpercollins.com/products/hit-refresh" } ], "patents": [ { "title": "Distributed resource management in a cloud computing environment", "number": "US10127086B2", "issued_at": "2018-11" } ], "awards": [ { "title": "Financial Times Person of the Year", "issuer": "Financial Times", "issued_at": "2019" } ], "courses": [ { "name": "Advanced Corporate Strategy", "number": "BUS 42001" } ], "interests": [ "Artificial Intelligence", "Climate", "Education" ], "projects": [ { "name": "Microsoft Azure", "title": "Cloud platform", "description": "Hyperscale cloud for enterprises and developers.", "url": "https://azure.microsoft.com", "started_at": "2011-02", "ended_at": null } ], "recommendations": [ { "text": "Satya is an exceptional leader who sets a high bar for culture and product.", "relationship": "Worked with Satya on the same team", "created_at": "2021-03-15T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/example-vp", "full_name": "Alex Example", "headline": "EVP, Cloud + AI at Microsoft", "urn": "ACoAABOPHB8BM6example" } } ], "primary_locale": "en_US", "is_premium": true, "is_verified": true, "verification_details": { "joined": "June 2023", "contact_info_updated": "Updated less than 1 week ago", "profile_photo_updated": "Updated over 1 year ago", "verifications": [ { "type": "identity", "description": "Verified by Persona using government ID", "verified_when": "Less than 6 months ago" } ] }, "is_open_profile": false, "job_preferences": { "titles": [ "Board Member", "Advisor" ], "locations": [ "Greater Seattle Area", "San Francisco Bay Area" ], "workplace_types": [ "hybrid", "remote" ], "start_timing": "flexible" } }, "meta": { "creditsUsed": 2, "creditsRemaining": 98419, "billed": true, "reason": "profile_found", "requestId": "req_8f2ka91x", "latencyMs": 5240 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, or bad URL format. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Target not found, private, deleted, or unreachable. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get profile activity Get one profile's authored posts, comments, reactions, or reposts - one kind, several kinds, or all of them in a single call. **POST** `https://api.up2data.ai/v1/profiles/activity` **Credits:** 2 credits for a single kind; 1 + 1 per kind for several, posts and reposts counting as one (all = 4) - **Mode:** synchronous Identify the profile with `url` or `urn` (preferred, when known). `kind` is `posts` (published), `comments` (left on others' posts), `reactions` (given), or `reposts`. Pass a single kind as a string, several as an array (`["posts", "comments"]`), or `"all"` for every kind at once. A multi-kind request returns one section per kind (`items`, `pagination`, `truncated`, `truncation_reason`) plus `last_activity_at`, the most recent activity across the requested kinds. Comment and reaction results can be empty or truncated when the member hides activity, or LinkedIn's roughly 360-day visibility window applies; `truncated` and `truncation_reason` say when a list may be incomplete. > **Info:** A multi-kind request costs 1 credit for the profile plus 1 per kind, with `posts` and `reposts` counted together as one (they come from the same scrape), so `"all"` = 4 credits. A kind LinkedIn refuses to serve is not billed and comes back empty with `truncation_reason: "linkedin_refused"`. `page` / `pagination_token` apply to every kind together; `pagination_token` is set while any kind has more. > **Info:** `last_activity_at` resolves relative LinkedIn times ("2d") against the scrape time, so it is accurate to the unit LinkedIn shows. LinkedIn does not expose when a reaction was given, so reactions count with the reacted-to post's publish time - a lower bound. > **Info:** Send many as batch operation items (operation profiles.activity); up to 500 results per item, billed at the same per-25-row-page rate as the sync call. Batch items take a single kind. Batch only: with kind posts, body.with_all_comments also fetches the comments on every returned post. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL. Provide url or urn. | | `urn` | `string` | LinkedIn member URN. Preferred when known. Provide url or urn. | | `kind` **required** | `string \| string[]` | One of: posts, comments, reactions, reposts. Or an array of those kinds, or all for every kind. Batch items accept a single kind only. | | `posted_within` | `string` | Default all. Enum: 24h, week, month, all. Applies to posts and reposts. | | `page` | `integer` | Default 1. Up to the 100 most recent items are available across pages. | | `per_page` | `integer` | Default 25. 1 to 100. Up to the 100 most recent items are available, so per_page 100 returns them all in one call. Use batch profiles.activity for up to 500. | | `pagination_token` | `string` | Required for pages after the first, when returned by a prior response. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/profiles/activity" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linkedin.com/in/janedoe", "kind": "posts", "posted_within": "month" }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/profiles/activity" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://linkedin.com/in/janedoe", "kind": "posts", "posted_within": "month" } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/profiles/activity"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://linkedin.com/in/janedoe", "kind": "posts", "posted_within": "month" }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/profiles/activity" body := bytes.NewBufferString(`{ "url": "https://linkedin.com/in/janedoe", "kind": "posts", "posted_within": "month" }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200 - kind: posts** ```json { "data": { "kind": "posts", "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "posts": [{ "url": "https://linkedin.com/posts/janedoe_launch-activity-7215", "urn": "7267273010393358336", "share_urn": "7315779815297421316", "author": {"name": "Jane Doe", "url": "https://linkedin.com/in/janedoe", "headline": "CEO at Example"}, "text": "Today we are launching a new way to run outbound on live profile data.", "posted_at": "2026-07-06T18:45:00Z", "reactions_count": 1204, "comments_count": 187, "reposts_count": 96, "scraped_at": "2026-07-08T12:00:00Z", "media": [{ "type": "image", "url": "https://media.licdn.com/dms/image/v2/D4E22AQExample/feedshare-shrink_2048_1536/0/launch" }] }], "pagination": {"page": 1, "per_page": 25, "returned": 1, "has_more": false, "total_estimate": 1}, "pagination_token": null, "scraped_at": "2026-07-08T12:00:00Z" }, "meta": { "creditsUsed": 2, "creditsRemaining": 98417, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` **200 - kind: comments** ```json { "data": { "kind": "comments", "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "comments": [{ "text": "Congrats on the launch - this is the workflow our outbound team has been missing.", "posted_at": "2026-07-05T14:22:00Z", "replies_count": 0, "commenter": {"url": "https://www.linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example"}, "target_post": { "url": "https://linkedin.com/posts/acme_announcement-activity-7210", "urn": "7267273010393358000", "text_snippet": "We are thrilled to announce a new way to run outbound on live profile data.", "author": {"name": "Acme Corp", "url": "https://linkedin.com/company/acme", "headline": "B2B software"} } }], "pagination": {"page": 1, "per_page": 25, "returned": 25, "has_more": true, "total_estimate": 60}, "pagination_token": "eyJwYWdlIjoyfQ.signature", "scraped_at": "2026-07-08T12:00:00Z" }, "meta": {"creditsUsed": 2, "creditsRemaining": 98417, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2400} } ``` **200 - kind: reactions** ```json { "data": { "kind": "reactions", "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "reactions": [{ "reaction_type": "PRAISE", "reacted_at": null, "reactor": {"url": "https://www.linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example"}, "target_post": { "url": "https://linkedin.com/posts/acme_announcement-activity-7210", "urn": "7267273010393358000", "text_snippet": "We are thrilled to announce a new way to run outbound on live profile data.", "author": {"name": "Acme Corp", "url": "https://linkedin.com/company/acme", "headline": "B2B software"} } }], "pagination": {"page": 1, "per_page": 25, "returned": 25, "has_more": true, "total_estimate": 60}, "pagination_token": "eyJwYWdlIjoyfQ.signature", "scraped_at": "2026-07-08T12:00:00Z" }, "meta": {"creditsUsed": 2, "creditsRemaining": 98417, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 1900} } ``` **200 - kind: reposts** ```json { "data": { "kind": "reposts", "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "reposts": [{ "url": "https://linkedin.com/posts/janedoe_share-activity-7218", "urn": "7267273010393358444", "share_urn": "7315779815297421444", "author": {"name": "Acme Corp", "url": "https://linkedin.com/company/acme", "headline": "B2B software"}, "text": "We are thrilled to announce a new way to run outbound on live profile data.", "posted_at": "2026-07-05T11:00:00Z", "reactions_count": 842, "comments_count": 63, "reposts_count": 41, "scraped_at": "2026-07-08T12:00:00Z", "media": [{ "type": "image", "url": "https://media.licdn.com/dms/image/v2/D4E22AQExample/feedshare-shrink_2048_1536/0/announce" }] }], "pagination": {"page": 1, "per_page": 25, "returned": 1, "has_more": false, "total_estimate": 1}, "pagination_token": null, "scraped_at": "2026-07-08T12:00:00Z" }, "meta": {"creditsUsed": 2, "creditsRemaining": 98417, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 1800} } ``` **200 - kind: all** ```json { "data": { "kinds": ["posts", "comments", "reactions", "reposts"], "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "last_activity_at": "2026-07-07T12:00:00.000Z", "posts": { "items": [{ "url": "https://linkedin.com/posts/janedoe_launch-activity-7215", "urn": "7267273010393358336", "text": "Today we are launching a new way to run outbound on live profile data.", "posted_at": "2026-07-06T18:45:00Z" }], "pagination": {"page": 1, "per_page": 25, "returned": 1, "has_more": false, "total_estimate": 1}, "truncated": false, "truncation_reason": null }, "comments": { "items": [{ "text": "Congrats on the launch!", "posted_at": "1d", "replies_count": 0 }], "pagination": {"page": 1, "per_page": 25, "returned": 25, "has_more": true, "total_estimate": 60}, "truncated": false, "truncation_reason": null }, "reactions": { "items": [], "pagination": {"page": 1, "per_page": 25, "returned": 0, "has_more": false, "total_estimate": 0}, "truncated": true, "truncation_reason": "linkedin_refused" }, "reposts": { "items": [], "pagination": {"page": 1, "per_page": 25, "returned": 0, "has_more": false, "total_estimate": 0}, "truncated": false, "truncation_reason": null }, "scraped_at": "2026-07-08T12:00:00Z", "pagination_token": "eyJwYWdlIjoyfQ" }, "meta": {"creditsUsed": 3, "creditsRemaining": 98416, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 3100} } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, or bad URL format. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Target not found, private, deleted, or unreachable. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get profile recommendations Get the written recommendations a profile has received, given, or both. **POST** `https://api.up2data.ai/v1/profiles/recommendations` **Credits:** 1 credit per requested direction - direction both is 2, whether or not it lists anything - **Mode:** synchronous One endpoint with a `direction` parameter, not separate given and received routes. Identify the profile with `url` or `urn`; provide exactly one. Each requested direction comes back as its own block with its own `pagination`. A block with no recommendations has an empty list and no `pagination`. > **Info:** Send many as batch operation items (operation profiles.recommendations); billed per requested direction, same as the sync call. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL or public identifier. Provide url or urn. | | `urn` | `string` | LinkedIn member URN. Provide url or urn. | | `direction` | `string` | Default both. Enum: given, received, both. | | `page` | `integer` | Default 1. Applies to each direction. | | `per_page` | `integer` | Default 10. 1 to 25, per direction. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/profiles/recommendations" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.linkedin.com/in/janedoe", "direction": "both", "page": 1 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/profiles/recommendations" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://www.linkedin.com/in/janedoe", "direction": "both", "page": 1 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/profiles/recommendations"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://www.linkedin.com/in/janedoe", "direction": "both", "page": 1 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/profiles/recommendations" body := bytes.NewBufferString(`{ "url": "https://www.linkedin.com/in/janedoe", "direction": "both", "page": 1 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200 - direction: both** ```json { "data": { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "direction": "both", "scraped_at": "2026-07-08T12:00:00Z", "given": { "recommendations": [{ "text": "Jane is an exceptional leader. She rebuilt our go-to-market motion around live profile data.", "relationship": "Jane managed Alex directly", "created_at": "2024-03-15T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/example", "full_name": "Alex Example", "headline": "VP Sales at Example Corp", "urn": "ACoAABOPHB8BM6alexex" } }], "pagination": { "page": 1, "per_page": 10, "has_more": false } }, "received": { "recommendations": [{ "text": "Outstanding engineer and a generous mentor.", "relationship": "Sam worked with Jane on the same team", "created_at": "2025-01-10T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/manager", "full_name": "Sam Manager", "headline": "Engineering Director at Example Corp", "urn": "ACoAABOPHB8BM6sammgr" } }], "pagination": { "page": 1, "per_page": 10, "has_more": true } } }, "meta": { "creditsUsed": 2, "creditsRemaining": 98418, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` **200 - No recommendations** ```json { "data": { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "direction": "both", "scraped_at": "2026-07-08T12:00:00Z", "given": { "recommendations": [] }, "received": { "recommendations": [] } }, "meta": { "creditsUsed": 0, "creditsRemaining": 98420, "billed": false, "reason": "empty_result", "requestId": "req_example", "latencyMs": 1900 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or a direction outside the enum. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover every requested direction. | No | | 422 | `unprocessable_target` | Profile not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get profile interests Get what a profile follows: top voices, companies, groups, newsletters, and schools. **POST** `https://api.up2data.ai/v1/profiles/interests` **Credits:** 1 credit per requested category - category all is 5, whether or not it lists anything - **Mode:** synchronous Works like [profile recommendations](https://docs.up2data.ai/v1/api/profiles-recommendations/) with a `category` parameter in place of `direction`. Identify the profile with `url` or `urn`; provide exactly one. Each requested category comes back as its own block with its own `pagination`. A block with no interests has an empty list and no `pagination`. > **Info:** Send many as batch operation items (operation profiles.interests); billed per requested category, same as the sync call. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL or public identifier. Provide url or urn. | | `urn` | `string` | LinkedIn member URN. Provide url or urn. | | `category` | `string` | Default all. Enum: all, influencers, companies, groups, newsletters, schools. | | `page` | `integer` | Default 1. Applies to each category. | | `per_page` | `integer` | Default 10. 1 to 25, per category. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/profiles/interests" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.linkedin.com/in/janedoe", "category": "companies" }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/profiles/interests" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://www.linkedin.com/in/janedoe", "category": "companies" } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/profiles/interests"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://www.linkedin.com/in/janedoe", "category": "companies" }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/profiles/interests" body := bytes.NewBufferString(`{ "url": "https://www.linkedin.com/in/janedoe", "category": "companies" }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200 - category: companies** ```json { "data": { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "category": "companies", "scraped_at": "2026-07-08T12:00:00Z", "companies": { "interests": [{ "name": "Example Corp", "url": "https://www.linkedin.com/company/example/", "urn": "1035", "headline": "B2B software for revenue teams", "followers_count": 141007, "caption": "141,007 followers", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/example" }], "pagination": { "page": 1, "per_page": 10, "has_more": true } } }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2000 } } ``` **200 - category: all** ```json { "data": { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "category": "all", "scraped_at": "2026-07-08T12:00:00Z", "influencers": { "interests": [{ "name": "Alex Example", "url": "https://www.linkedin.com/in/example", "urn": "ACoAABOPHB8BM6alexex", "headline": "VP Sales at Example Corp", "followers_count": 52310, "caption": "52,310 followers" }], "pagination": { "page": 1, "per_page": 10, "has_more": false } }, "companies": { "interests": [] }, "groups": { "interests": [{ "name": "Revenue Operations", "url": "https://www.linkedin.com/groups/12345/", "urn": "12345", "members_count": 14182, "caption": "14,182 members" }], "pagination": { "page": 1, "per_page": 10, "has_more": false } }, "newsletters": { "interests": [{ "name": "The Outbound Weekly", "url": "https://www.linkedin.com/newsletters/the-outbound-weekly-6900000000000000000/", "caption": "Published weekly" }], "pagination": { "page": 1, "per_page": 10, "has_more": false } }, "schools": { "interests": [] } }, "meta": { "creditsUsed": 3, "creditsRemaining": 98417, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2300 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or a category outside the enum. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover every requested category. | No | | 422 | `unprocessable_target` | Profile not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get profile follower and connection counts Get a profile's follower and connection counts without scraping the full profile. **POST** `https://api.up2data.ai/v1/profiles/counts` **Credits:** 1 credit - **Mode:** synchronous One lightweight LinkedIn request, so it is faster and cheaper than [profile enrich](https://docs.up2data.ai/v1/api/profiles-enrich/) with `with_followers_and_connections`. Identify the profile with `url` or `urn`; provide exactly one. Alongside the counts it returns what LinkedIn shows in the profile header: verification, country, creator website, the headline company and the headline school. It never returns name, headline, about, or full work and education history; use [profile enrich](https://docs.up2data.ai/v1/api/profiles-enrich/) for those. > **Info:** `current_company` and `top_education` are the single company and school LinkedIn shows in the profile header, not the full history. Either is omitted when the profile has none. `followers_count` and `connections_count` are null when LinkedIn does not return them. ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL or public identifier. Provide url or urn. | | `urn` | `string` | LinkedIn member URN. Provide url or urn. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/profiles/counts" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.linkedin.com/in/janedoe" }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/profiles/counts" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://www.linkedin.com/in/janedoe" } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/profiles/counts"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://www.linkedin.com/in/janedoe" }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/profiles/counts" body := bytes.NewBufferString(`{ "url": "https://www.linkedin.com/in/janedoe" }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "urn": "ACoAABOPHB8BM6example", "followers_count": 5729, "connections_count": 5743, "is_verified": true, "location": { "country_code": "US", "postal_code": "94105" }, "creator_website": "https://janedoe.example.com", "current_company": { "name": "Example Corp", "url": "https://www.linkedin.com/company/example/", "linkedin_id": "1035", "started_at": "2023-09" }, "top_education": { "school": "Example University", "school_linkedin_id": "18483", "school_url": "https://www.linkedin.com/school/example-university/" }, "scraped_at": "2026-07-08T12:00:00Z" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 1200 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or both or neither of url and urn. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Profile not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Enrich a company Turn any LinkedIn company URL or ID into live firmographics. **POST** `https://api.up2data.ai/v1/companies/enrich` **Credits:** 1 credit - 2 with company type - **Mode:** synchronous Identify the company with one of `url` or `linkedin_id`; provide exactly one. Restricting the response with `fields` does not reduce the cost. > **Info:** `company_type` is only returned when `with_company_type` is true. > **Info:** Send many as batch items at 1 credit each; with_company_type and fields go on the item and price it exactly like this call. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Public company URL or slug. Provide url or linkedin_id. | | `linkedin_id` | `string` | Numeric LinkedIn company ID. Provide url or linkedin_id. | | `fields` | `string[]` | Restrict the response to these top-level fields. Same cost. A name that is not a field of the response answers 400 before anything is billed. | | `with_company_type` | `boolean` | Default false. Adds company_type via a second LinkedIn request. Raises the rate to 2 credits; extra latency. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/companies/enrich" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linkedin.com/company/anthropic", "with_company_type": true }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/companies/enrich" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://linkedin.com/company/anthropic", "with_company_type": True } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/companies/enrich"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://linkedin.com/company/anthropic", "with_company_type": true }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/companies/enrich" body := bytes.NewBufferString(`{ "url": "https://linkedin.com/company/anthropic", "with_company_type": true }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "url": "https://www.linkedin.com/company/anthropic", "linkedin_id": "74126343", "name": "Anthropic", "website": "https://anthropic.com", "description": "AI safety and research company.", "tagline": "AI research and products that put safety at the frontier.", "industry": "Research Services", "industry_v2": "Research Services", "company_type": "Privately Held", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_400_400/0/anthropic", "cover_image_url": "https://media.licdn.com/dms/image/v2/D563DAQExample/image-scale_191_1128/0/anthropic", "phone": "+1 415 555 0100", "headcount": 2841, "headcount_growth_6m": 0.34, "company_size": { "min": 1001, "max": 5000 }, "founded": 2021, "hq": { "city": "San Francisco", "region": "California", "country": "US", "address": "500 Howard St", "postal_code": "94105", "latitude": 37.78797, "longitude": -122.39653, "raw": "US, San Francisco, California, 500 Howard St, 94105" }, "locations": [ { "city": "San Francisco", "region": "California", "country": "US", "address": "500 Howard St", "postal_code": "94105", "latitude": 37.78797, "longitude": -122.39653, "is_hq": true }, { "city": "London", "region": "England", "country": "GB", "is_hq": false } ], "specialties": ["Artificial Intelligence", "AI Safety"], "funding": { "total_usd": 14300000000, "last_round": { "type": "Series F", "amount_usd": 3500000000, "date": "2026-03" } }, "scraped_at": "2026-07-07T14:00:03Z", "followers_count": 1204800 }, "meta": { "creditsUsed": 1, "creditsRemaining": 98417, "billed": true, "reason": "company_found", "requestId": "req_4jd83mcy", "latencyMs": 2950 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, or bad URL format. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Target not found, private, deleted, or unreachable. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Count company job openings Return the number of active job postings a company has on LinkedIn. **POST** `https://api.up2data.ai/v1/companies/jobs-count` **Credits:** 1 credit - **Mode:** synchronous Identify the company with one of `url` or `linkedin_id`; provide exactly one. The count covers every location worldwide. > **Info:** Send many as batch operation items (operation companies.jobs_count); 1 credit per item, billed even when the company is not found. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Company page URL or slug. Provide url or linkedin_id. | | `linkedin_id` | `string` | Numeric LinkedIn company ID. Provide url or linkedin_id. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/companies/jobs-count" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linkedin.com/company/anthropic" }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/companies/jobs-count" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://linkedin.com/company/anthropic" } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/companies/jobs-count"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://linkedin.com/company/anthropic" }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/companies/jobs-count" body := bytes.NewBufferString(`{ "url": "https://linkedin.com/company/anthropic" }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "url": "https://linkedin.com/company/anthropic", "open_jobs_count": 87, "scraped_at": "2026-07-08T12:00:00Z", "linkedin_id": "74126343" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, or bad URL format. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Company not found, private, deleted, or unreachable. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get company posts List recent posts published by a company page. **POST** `https://api.up2data.ai/v1/companies/posts` **Credits:** 1 credit per returned post - **Mode:** synchronous Identify the company with one of `url` or `linkedin_id`; provide exactly one. Companies have no public comments or reactions activity feed on LinkedIn, so this returns authored posts only. > **Info:** For a profile's posts, comments, reactions, or reposts, use [profile activity](https://docs.up2data.ai/v1/api/profiles-activity/). For who engaged with one company post, use the per-post [comments](https://docs.up2data.ai/v1/api/posts-engagement-comments/), [reactions](https://docs.up2data.ai/v1/api/posts-engagement-reactions/), or [reposts](https://docs.up2data.ai/v1/api/posts-engagement-reposts/) endpoints. > **Info:** Send many as batch operation items (operation companies.posts); up to 500 posts per item, 1 credit per post returned. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Company page URL or slug. Provide url or linkedin_id. | | `linkedin_id` | `string` | Numeric LinkedIn company ID. Provide url or linkedin_id. | | `page` | `integer` | Default 1. | | `per_page` | `integer` | Default 25. 1 to 25. | | `max_results` | `integer` | Caps how many posts are returned across pages. 1 to 100, defaults to per_page. | | `pagination_token` | `string` | Required for pages after the first, when returned by a prior response. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/companies/posts" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linkedin.com/company/anthropic", "page": 1 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/companies/posts" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://linkedin.com/company/anthropic", "page": 1 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/companies/posts"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://linkedin.com/company/anthropic", "page": 1 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/companies/posts" body := bytes.NewBufferString(`{ "url": "https://linkedin.com/company/anthropic", "page": 1 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "posts": [{ "url": "https://www.linkedin.com/posts/anthropic_launch-activity-7267273010393358336-ab12", "urn": "7267273010393358336", "author": {"name": "Anthropic", "url": "https://www.linkedin.com/company/anthropicresearch/posts", "headline": "1,204,800 followers"}, "text": "Today we are announcing Claude 4, our most capable model yet.", "posted_at": "2026-07-06T18:45:00Z", "reactions_count": 4200, "comments_count": 312, "reposts_count": 890, "scraped_at": "2026-07-08T12:00:00Z", "share_urn": "7315779815297421316", "media": [{ "type": "image", "url": "https://media.licdn.com/dms/image/v2/D4E22AQExample/feedshare-shrink_2048_1536/0/claude" }] }], "pagination": {"returned": 1, "max_results": 100, "pages_scraped": 1, "page": 1, "per_page": 100, "has_more": true, "total_estimate": 234}, "pagination_token": "eyJwYWdlIjoyfQ" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or an invalid pagination_token. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover a full page. | No | | 422 | `unprocessable_target` | Company not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Find custom headcount Count employees at a company matching title, seniority, location, or keyword filters. **POST** `https://api.up2data.ai/v1/companies/headcount` **Credits:** 1 credit - **Mode:** synchronous Filters combine with AND. Several `titles` match any of them, and so do several `seniorities` or `locations`. `filters` is required but may be empty (`{}`), which counts every current employee. Seniority is matched on job titles (for example `vp` matches VP, Vice President, SVP, and EVP), and each location is resolved to LinkedIn's closest geo match. > **Info:** Send many as batch operation items (operation companies.headcount); 1 credit per item, billed even when the company is not found. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` **required** | `string` | Company page URL or slug. | | `company_url` | `string` | Deprecated alias of url, still accepted. Send url or company_url, not both. | | `filters` **required** | `object` | May be empty. | | `filters.titles` | `string[]` | Job titles, matched against current titles. | | `filters.seniorities` | `string[]` | Enum per item: owner, partner, cxo, vp, director, manager, senior, entry. titles and seniorities together allow at most 6 values. | | `filters.locations` | `string[]` | Place names, e.g. United States or London. An unknown place answers 400. | | `filters.keywords` | `string` | Free-text keywords matched anywhere on the profile. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/companies/headcount" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linkedin.com/company/anthropic", "filters": { "titles": [ "Software Engineer" ], "locations": [ "United States" ] } }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/companies/headcount" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://linkedin.com/company/anthropic", "filters": { "titles": [ "Software Engineer" ], "locations": [ "United States" ] } } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/companies/headcount"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://linkedin.com/company/anthropic", "filters": { "titles": [ "Software Engineer" ], "locations": [ "United States" ] } }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/companies/headcount" body := bytes.NewBufferString(`{ "url": "https://linkedin.com/company/anthropic", "filters": { "titles": [ "Software Engineer" ], "locations": [ "United States" ] } }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "company_url": "https://linkedin.com/company/anthropic", "count": 142, "filters_applied": {"titles": ["Software Engineer"], "locations": ["United States"]}, "scraped_at": "2026-07-08T12:00:00Z", "linkedin_id": "74126343" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Missing url or filters, both url and company_url sent, unknown field, bad seniority value, more than 6 titles and seniorities combined, or a location that matches no place. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Company not found, private, deleted, or unreachable. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Enrich a job Fetch full details for a single LinkedIn job posting, including the description and company. **POST** `https://api.up2data.ai/v1/jobs/enrich` **Credits:** 1 credit - 2 with with_hiring_team - **Mode:** synchronous Identify the job with a LinkedIn job `url` (`/jobs/view/` or any jobs page URL carrying `currentJobId`) or its numeric `job_id`. A closed posting still answers, with `job_state` and `closed_at` set. > **Info:** `with_hiring_team` is an extra credit (2 credits in total). LinkedIn shows a hiring team on only a minority of postings, so `hiring_team` often comes back as an empty array; the extra credit is billed either way, because the lookup ran. > **Info:** Send many as batch operation items (operation jobs.enrich); 1 credit per item (2 with with_hiring_team, billed even when hiring_team is empty), refunded when the job comes back without a result. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | LinkedIn job posting URL. Provide url or job_id. | | `job_id` | `string` | Numeric LinkedIn job ID, when you have no URL. Provide url or job_id. | | `with_hiring_team` | `boolean` | Default false. Adds hiring_team (the posting's "Meet the hiring team" people, with each member's numeric linkedin_id) via a second LinkedIn request. Extra credit: raises the rate to 2 credits, billed even when hiring_team comes back empty, which it often does. Extra latency. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/jobs/enrich" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.linkedin.com/jobs/view/4470130770", "with_hiring_team": true }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/jobs/enrich" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://www.linkedin.com/jobs/view/4470130770", "with_hiring_team": True } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/jobs/enrich"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://www.linkedin.com/jobs/view/4470130770", "with_hiring_team": true }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/jobs/enrich" body := bytes.NewBufferString(`{ "url": "https://www.linkedin.com/jobs/view/4470130770", "with_hiring_team": true }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "url": "https://www.linkedin.com/jobs/view/4470130770", "title": "Full-Stack Agentic Engineer (focus on Backend)", "company": { "name": "Apoddo", "url": "https://www.linkedin.com/company/apoddo-llp", "linkedin_id": "11571939", "industry": "Software Development", "logo_url": "https://media.licdn.com/dms/image/v2/D4D0BAQExample/company-logo_400_400/0/apoddo_llp_logo" }, "location": "Serbia", "posted_at": "2026-09-25T09:22:27.000Z", "description_snippet": "Apoddo is a software development-as-a-service company. We specialize in providing software development services to small and medium-sized businesses in the United States...", "job_id": "4470130770", "description": "Apoddo is a software development-as-a-service company. We specialize in providing software development services to small and medium-sized businesses in the United States. ...", "employment_type": "Full-time", "scraped_at": "2026-09-25T21:55:52.000Z", "job_state": "LISTED", "expires_at": "2027-03-24T09:22:27.000Z", "hiring_team": [{ "full_name": "Jane Doe", "headline": "Engineering Manager at Apoddo", "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4E03AQExample/profile-displayphoto-shrink_800_800/0/janedoe", "is_job_poster": true }] }, "meta": { "creditsUsed": 2, "creditsRemaining": 98418, "billed": true, "reason": "job_found", "requestId": "req_example", "latencyMs": 3600 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Missing url and job_id, unknown field, a URL that is not a LinkedIn job URL, or a non-numeric job_id. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Job not found, removed, or unreachable. Billed as 1 credit, with or without with_hiring_team. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search jobs Live LinkedIn job postings by company, keyword, and filters. **POST** `https://api.up2data.ai/v1/search/jobs` **Credits:** 1 credit per job returned - +1 per job with with_hiring_team - **Mode:** synchronous Provide at least one of `company_url`, `keywords`, or `filters`; a request with none of them (or only empty values) returns an empty, unbilled result that still counts against the search quota. Several `keywords` match any of them. Results come most recent first. Without `filters.locations` the search is worldwide; each location is resolved to LinkedIn's closest geo match. `description_snippet` is filled for as many jobs as the live call has time for and omitted for the rest; use [job enrich](https://docs.up2data.ai/v1/api/jobs-enrich/) for the full posting. `meta.reason` is `success`, or `empty_result` when nothing matched. > **Info:** `with_hiring_team` is an extra credit per job: +1 for every job its hiring team was looked up for, so up to 2 credits per job. LinkedIn shows a hiring team on only a minority of postings, so `hiring_team` often comes back as an empty array; the extra credit is billed either way, because the lookup ran. The lookup shares the live call's time budget with `description_snippet`, so on a large page the last jobs can come back without `hiring_team`; those are not charged the extra credit. A [batch](https://docs.up2data.ai/v1/api/batch-create/) `search.jobs` item has no such time limit. > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.jobs); up to 500 jobs per item, 1 credit per job returned (2 with with_hiring_team, billed even when hiring_team is empty). Unlike this sync endpoint, an empty batch item is rejected with 400 instead of running a search. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `company_url` | `string` | Restrict to one company's jobs. Company page URL or slug. | | `keywords` | `string[]` | Matched against the posting; several match any of them. | | `filters.locations` | `string[]` | Place names. An unknown place answers 400. | | `filters.seniority` | `string[]` | Enum per item: entry, senior, manager, director, executive. senior and manager both map to LinkedIn's mid-senior level. | | `filters.function` | `string[]` | Job function names, e.g. Engineering, Sales, Information Technology, Marketing. An unknown function answers 400. | | `filters.workplace_type` | `string[]` | Enum per item: remote, hybrid, onsite. | | `filters.job_type` | `string[]` | Enum per item: full_time, part_time, contract, temporary, internship, volunteer, other. Matches any of the listed types. | | `filters.posted_within_days` | `integer` | Days back from now. 0 or less means no date limit. | | `max_results` | `integer` | Default 25. 1 to 100; a hard cap on jobs returned by this call and so on cost. Wins over per_page for the page size. | | `per_page` | `integer` | 1 to 100. Jobs per page, used to work out where a page starts; defaults to max_results. | | `page` | `integer` | Default 1. Page of per_page jobs to return. | | `pagination_token` | `string` | Opaque token for a page; used instead of page. | | `with_hiring_team` | `boolean` | Default false. Adds hiring_team to each job, like with_hiring_team on job enrich, via one more LinkedIn request per job. Extra credit: +1 per job looked up, billed even when hiring_team comes back empty, which it often does. Extra latency. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/jobs" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "keywords": [ "golang" ], "filters": { "workplace_type": [ "remote" ], "posted_within_days": 7 }, "max_results": 25 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/jobs" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "keywords": [ "golang" ], "filters": { "workplace_type": [ "remote" ], "posted_within_days": 7 }, "max_results": 25 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/jobs"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "keywords": [ "golang" ], "filters": { "workplace_type": [ "remote" ], "posted_within_days": 7 }, "max_results": 25 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/jobs" body := bytes.NewBufferString(`{ "keywords": [ "golang" ], "filters": { "workplace_type": [ "remote" ], "posted_within_days": 7 }, "max_results": 25 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "jobs": [{ "url": "https://www.linkedin.com/jobs/view/4470130770", "title": "Full-Stack Agentic Engineer (focus on Backend)", "company": { "name": "Apoddo", "url": "https://www.linkedin.com/company/apoddo-llp", "linkedin_id": "11571939", "logo_url": "https://media.licdn.com/dms/image/v2/D4D0BAQExample/company-logo_200_200/0/apoddo_llp_logo" }, "location": "Serbia (Remote)", "posted_at": "2026-09-25T09:22:27.000Z", "workplace_type": "remote", "description_snippet": "Apoddo is a software development-as-a-service company...", "job_id": "4470130770", "employment_type": "full-time" }] }, "meta": { "creditsUsed": 25, "creditsRemaining": 98394, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 21000 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Unknown field, bad enum value, unknown function, or a location or company that matches nothing. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover max_results jobs (at 2 credits each with with_hiring_team). | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `upstream_error` | LinkedIn rejected the search query, or something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Enrich a post Fetch one LinkedIn post by URL: full text plus live engagement. **POST** `https://api.up2data.ai/v1/posts/enrich` **Credits:** 1 credit - +1 per flag - **Mode:** synchronous Identify the post with `url` or `urn`; provide exactly one. > **Info:** Each bundled section is the first page of the matching engagement endpoint. Continue with its `pagination_token` on `/posts/engagement/` at that endpoint's per-item rate. > **Info:** Send many as batch items at 1 credit each; with_comments, with_reactions, and with_reposts go on the item, +1 credit per flag, and bundle the first 25 of each into the result entry. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `url` | `string` | Public post URL. Provide url or urn. | | `urn` | `string` | Post URN: urn:li:activity:..., urn:li:ugcPost:..., urn:li:share:..., or a numeric id. A numeric id is always treated as an activity id, so send a ugcPost or share id in its full URN form. Preferred when available. Provide url or urn. | | `with_comments` | `boolean` | Default false. Adds the first 25 comments as data.comments in the same call. +1 credit; extra latency. | | `with_reactions` | `boolean` | Default false. Adds the first 25 reactions as data.reactions in the same call. +1 credit; extra latency. | | `with_reposts` | `boolean` | Default false. Adds the first 25 reposts as data.reposts in the same call. +1 credit; extra latency. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/posts/enrich" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": true }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/posts/enrich" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": True } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/posts/enrich"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": true }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/posts/enrich" body := bytes.NewBufferString(`{ "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": true }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "urn": "7267273010393358336", "share_urn": "urn:li:share:7315779815297421316", "author": { "name": "Jane Doe", "url": "https://www.linkedin.com/in/janedoe?miniProfileUrn=urn%3Ali%3Afsd_profile%3AACoAABOPHB8BM6example", "headline": "CEO at Example" }, "text": "Today we're launching...", "posted_at": "2026-07-06T18:45:00Z", "reactions_count": 1204, "comments_count": 187, "reposts_count": 96, "reaction_counts": { "like": 1100, "praise": 104 }, "scraped_at": "2026-07-07T14:00:02Z", "media": [{ "type": "image", "url": "https://media.licdn.com/..." }], "comments": { "items": [{ "text": "Great insights on automation!", "posted_at": "2026-07-06T19:02:00Z", "commenter": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4D03AQExample/profile-displayphoto-shrink_800_800/0/janedoe" }, "replies_count": 1, "urn": "7524119228317057024", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057024%29", "replies": [{ "text": "Agreed, thanks for sharing.", "posted_at": "2026-07-06T20:15:00Z", "commenter": { "url": "https://linkedin.com/in/johnsmith", "full_name": "John Smith", "headline": "Head of Sales at Acme Corp", "urn": "ACoAABOPHB8BM7example" }, "urn": "7524119228317057025", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057025%29" }] }], "pagination": { "returned": 1, "max_results": 25, "pages_scraped": 1, "page": 1, "per_page": 25, "has_more": true, "total_estimate": 187 }, "pagination_token": "eyJwYWdlIjoyfQ.signature" } }, "meta": { "creditsUsed": 2, "creditsRemaining": 98418, "billed": true, "reason": "post_found", "requestId": "req_pe73mm1q", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, or bad URL format. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the call. | No | | 422 | `unprocessable_target` | Target not found, private, deleted, or unreachable. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search posts Live LinkedIn post search by keyword, hashtag, author, or mention. **POST** `https://api.up2data.ai/v1/search/posts` **Credits:** 1 credit per page (up to 25 posts) - **Mode:** synchronous Provide at least one of `keywords`, `hashtags`, `author_url`, `author_urn`, `author_urns`, `mentioned_urns`, or `mentioned_company_ids`. Page through results with `page` and `per_page`; LinkedIn exposes a limited window per query (about 260 posts on a broad search), and `pagination.total_estimate` reports that window, not every matching post. The author filters only narrow a search, so send them alongside keywords, hashtags, `author_urns`, or a mention filter. Several keywords and hashtags match any of them. With an author, the search reads that profile's recent posts and applies `keywords`, `hashtags`, and `posted_within` to them; `sort: top` then orders by reactions. `share_urn` is the full URN (`urn:li:share:...` or `urn:li:ugcPost:...`); `media` is an extra field at the end of each post when it has images or video. `meta.reason` is `success`, or `empty_result` when nothing matched. > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.posts); up to 500 posts per item, 1 credit per 25-row page. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `keywords` | `string[]` | | | `hashtags` | `string[]` | Without the leading #. | | `author_url` | `string` | Profile URL or public identifier. Send author_url or author_urn, not both. | | `author_urn` | `string` | Member URN (ACoAA...). With author_url or author_urn the search reads that profile's recent posts, so the filters and paging below cannot be combined with them. | | `author_urns` | `string[]` | Member URNs (ACoAA...). Searches posts by any of these authors. | | `author_company_ids` | `string[]` | Numeric LinkedIn company ids. | | `mentioned_urns` | `string[]` | Member URNs (ACoAA...). Posts that mention any of these members. Works on its own, without keywords. | | `mentioned_company_ids` | `string[]` | Numeric LinkedIn company ids. Posts that mention any of these companies. Works on its own, without keywords. | | `author_industry_ids` | `string[]` | Numeric LinkedIn industry ids. | | `author_job_titles` | `string[]` | Job titles, e.g. CEO. | | `content_type` | `string` | Enum: video, image, document. One value per call. | | `posted_within` | `string` | Enum: 24h, week, month, all. Default all. | | `sort` | `string` | Enum: recent, top, relevance. Default recent. | | `page` | `integer` | Default 1. | | `per_page` | `integer` | 1 to 100. Posts per page, used to work out where a page starts; defaults to max_results. | | `max_results` | `integer` | Default 25. 1 to 100. Caps the posts this call returns; defaults to per_page. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/posts" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "keywords": [ "ai agents" ], "posted_within": "week", "sort": "recent", "max_results": 25 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/posts" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "keywords": [ "ai agents" ], "posted_within": "week", "sort": "recent", "max_results": 25 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/posts"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "keywords": [ "ai agents" ], "posted_within": "week", "sort": "recent", "max_results": 25 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/posts" body := bytes.NewBufferString(`{ "keywords": [ "ai agents" ], "posted_within": "week", "sort": "recent", "max_results": 25 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "posts": [{ "url": "https://www.linkedin.com/posts/katykeim_gtm-teams-are-losing-track-of-their-ai-agents-activity-7509369170732507138-zjBG", "urn": "7509369170732507138", "share_urn": "urn:li:share:7509369169658908672", "author": { "name": "Katy Keim", "url": "https://www.linkedin.com/in/katykeim", "headline": "CEO, LeanData | CMO | Independent Board Member" }, "text": "MarTech's take on our latest LeanData research: What happens when your organization has so many agents at work that you start losing track of them?", "posted_at": "2026-09-25T21:49:51.000Z", "reactions_count": 0, "comments_count": 0, "reposts_count": 0, "scraped_at": "2026-09-25T21:52:56.000Z" }], "pagination": { "returned": 1, "max_results": 25, "page": 1, "per_page": 25, "has_more": true, "total_estimate": 263 } }, "meta": { "creditsUsed": 1, "creditsRemaining": 98418, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 4700 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | None of keywords, hashtags, author_url, author_urn, or author_urns, both author_url and author_urn, a filter or paging field combined with author_url or author_urn, unknown field, or a bad enum value. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the page(s) requested. | No | | 422 | `unprocessable_target` | The author profile is not found, private, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `upstream_error` | LinkedIn rejected the search query, or something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get post comments Inbound engagement on a post - who commented, with profile stubs. **POST** `https://api.up2data.ai/v1/posts/engagement/comments` **Credits:** 1 credit per page of up to 100 comments - **Mode:** synchronous Identify the post with `urn` (preferred, from search, enrich, or profile activity results) or `url`. Comments come back newest first by default; `sort` picks `recent`, `oldest`, or `relevance` (LinkedIn's "Most relevant" order, which ranks comments with the most replies and engagement first). The order is carried in `pagination_token`, so later pages keep it. Each page is a live scrape; follow `pagination_token` for the next page. > **Info:** Inbound engagement on a post. For what a profile commented on elsewhere, use [profile activity](https://docs.up2data.ai/v1/api/profiles-activity/) - that is a separate scrape. > **Info:** Send many as batch operation items (operation posts.engagement.comments); up to 1,000 comments per item, 1 credit per 100-row page. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `urn` | `string` | Post URN: urn:li:activity:..., urn:li:ugcPost:..., urn:li:share:..., or a numeric id. A numeric id is always treated as an activity id, so send a ugcPost or share id in its full URN form. Preferred over url. Provide url or urn. | | `url` | `string` | Public post URL. Provide url or urn. | | `share_urn` | `string` | Share URN - pass when paginating if returned by a prior page. | | `page` | `integer` | Default 1. | | `per_page` | `integer` | Default 100. 1 to 100. | | `max_results` | `integer` | Caps how many items the first page returns. Defaults to per_page. | | `pagination_token` | `string` | Required for pages after the first, when returned by a prior response. | | `sort` | `string` | Default recent. Enum: recent (newest first), oldest (oldest first), relevance (LinkedIn's Most relevant order). Must match the pagination_token when both are sent. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/posts/engagement/comments" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "urn": "7267273010393358336", "sort": "relevance", "page": 1 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/posts/engagement/comments" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "urn": "7267273010393358336", "sort": "relevance", "page": 1 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/posts/engagement/comments"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "urn": "7267273010393358336", "sort": "relevance", "page": 1 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/posts/engagement/comments" body := bytes.NewBufferString(`{ "urn": "7267273010393358336", "sort": "relevance", "page": 1 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "comments": [{ "text": "Great insights on automation!", "posted_at": "2026-07-06T19:02:00Z", "commenter": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4D03AQExample/profile-displayphoto-shrink_800_800/0/janedoe" }, "replies_count": 1, "urn": "7524119228317057024", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057024%29", "replies": [{ "text": "Agreed, thanks for sharing.", "posted_at": "2026-07-06T20:15:00Z", "commenter": { "url": "https://linkedin.com/in/johnsmith", "full_name": "John Smith", "headline": "Head of Sales at Acme Corp", "urn": "ACoAABOPHB8BM7example" }, "urn": "7524119228317057025", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057025%29" }] }], "pagination": { "returned": 1, "max_results": 100, "pages_scraped": 1, "page": 1, "per_page": 100, "has_more": true, "total_estimate": 93 }, "pagination_token": "eyJwYWdlIjoyfQ.signature", "urn": "7267273010393358336", "share_urn": "7267273010393358336" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or a pagination_token that does not match the request. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover a full page. | No | | 422 | `unprocessable_target` | Post not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get post reactions Inbound engagement on a post - who reacted, filterable by reaction type. **POST** `https://api.up2data.ai/v1/posts/engagement/reactions` **Credits:** 1 credit per page of up to 100 reactions - **Mode:** synchronous Identify the post with `urn` (preferred) or `url`. Pass `reaction_type` to list only one kind of reaction. LinkedIn does not expose when a reaction on a post was given, so `reacted_at` is always null here. > **Info:** Inbound engagement on a post. For what a profile reacted to elsewhere, use [profile activity](https://docs.up2data.ai/v1/api/profiles-activity/) - that is a separate scrape. > **Info:** Send many as batch operation items (operation posts.engagement.reactions); up to 1,000 reactions per item, 1 credit per 100-row page. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `urn` | `string` | Post URN: urn:li:activity:..., urn:li:ugcPost:..., urn:li:share:..., or a numeric id. A numeric id is always treated as an activity id, so send a ugcPost or share id in its full URN form. Preferred over url. Provide url or urn. | | `url` | `string` | Public post URL. Provide url or urn. | | `share_urn` | `string` | Share URN - pass when paginating if returned by a prior page. | | `page` | `integer` | Default 1. | | `per_page` | `integer` | Default 100. 1 to 100. | | `max_results` | `integer` | Caps how many items the first page returns. Defaults to per_page. | | `pagination_token` | `string` | Required for pages after the first, when returned by a prior response. | | `reaction_type` | `string` | Default ALL. Enum: ALL, LIKE, EMPATHY, APPRECIATION, INTEREST, PRAISE, ENTERTAINMENT. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/posts/engagement/reactions" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "urn": "7267273010393358336", "reaction_type": "ALL", "page": 1 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/posts/engagement/reactions" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "urn": "7267273010393358336", "reaction_type": "ALL", "page": 1 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/posts/engagement/reactions"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "urn": "7267273010393358336", "reaction_type": "ALL", "page": 1 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/posts/engagement/reactions" body := bytes.NewBufferString(`{ "urn": "7267273010393358336", "reaction_type": "ALL", "page": 1 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "reactions": [{ "reaction_type": "LIKE", "reacted_at": null, "reactor": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4D03AQExample/profile-displayphoto-shrink_800_800/0/janedoe" } }], "pagination": { "returned": 1, "max_results": 100, "pages_scraped": 1, "page": 1, "per_page": 100, "has_more": true, "total_estimate": 93 }, "pagination_token": "eyJwYWdlIjoyfQ.signature", "urn": "7267273010393358336", "share_urn": "7267273010393358336" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or a pagination_token that does not match the request. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover a full page. | No | | 422 | `unprocessable_target` | Post not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get post reposts Inbound engagement on a post - who reposted it. **POST** `https://api.up2data.ai/v1/posts/engagement/reposts` **Credits:** 1 credit per page of up to 100 reposts - **Mode:** synchronous Identify the post with `urn` (preferred) or `url`. A plain repost has no commentary of its own, so `text`, the reposter `headline` and the reposter `linkedin_id` are omitted for it; a repost with commentary carries all three. > **Info:** Inbound engagement on a post. For what a profile reposted elsewhere, use [profile activity](https://docs.up2data.ai/v1/api/profiles-activity/) - that is a separate scrape. > **Info:** Send many as batch operation items (operation posts.engagement.reposts); up to 1,000 reposts per item, 1 credit per 100-row page. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `urn` | `string` | Post URN: urn:li:activity:..., urn:li:ugcPost:..., urn:li:share:..., or a numeric id. A numeric id is always treated as an activity id, so send a ugcPost or share id in its full URN form. Preferred over url. Provide url or urn. | | `url` | `string` | Public post URL. Provide url or urn. | | `share_urn` | `string` | Share URN - pass when paginating if returned by a prior page. | | `page` | `integer` | Default 1. | | `per_page` | `integer` | Default 100. 1 to 100. | | `max_results` | `integer` | Caps how many items the first page returns. Defaults to per_page. | | `pagination_token` | `string` | Required for pages after the first, when returned by a prior response. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/posts/engagement/reposts" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "urn": "7267273010393358336", "page": 1 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/posts/engagement/reposts" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "urn": "7267273010393358336", "page": 1 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/posts/engagement/reposts"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "urn": "7267273010393358336", "page": 1 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/posts/engagement/reposts" body := bytes.NewBufferString(`{ "urn": "7267273010393358336", "page": 1 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "reposts": [{ "reposted_at": "2026-07-06T19:10:00.000Z", "reposter": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "urn": "ACoAABOPHB8BM6example", "headline": "VP Marketing at Acme Corp", "linkedin_id": "1034085750" }, "url": "https://linkedin.com/feed/update/urn:li:activity:7267273010393358999", "text": "Worth sharing" }], "pagination": { "page": 1, "per_page": 100, "returned": 1, "has_more": false }, "pagination_token": null, "urn": "7267273010393358336", "share_urn": "7267273010393358336" }, "meta": { "creditsUsed": 1, "creditsRemaining": 98419, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown field, bad URL format, or a pagination_token that does not match the request. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover a full page. | No | | 422 | `unprocessable_target` | Post not found, private, deleted, or unreachable. Billed as 1 credit. | Yes | | 429 | `rate_limited` | Over the 5,000 requests/min per-key limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search people (BETA) Live people search with structured filters. **POST** `https://api.up2data.ai/v1/search/people` **Credits:** 2 credits per result, minimum 50 - billed as at least 25 results, empty searches included - **Mode:** synchronous Pass structured `filters`; at least one is required. Geo, industry, company, and school filters take LinkedIn IDs, not free text. Runs the same search as [Search people (Sales Navigator)](https://docs.up2data.ai/v1/api/search-people-sales-nav/) and returns the same results; use that endpoint to paste a Sales Navigator URL instead. `meta.resolved_search_url` is the equivalent LinkedIn search URL. Billed at 2 credits per result returned, counted as at least 25 results, so every search costs at least 50 credits, empty ones included. A single call returns at most 100 results (`pagination.has_more` is true when more exist). > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.people.sales_nav, with body.filters); up to 2,500 results per item. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `filters` **required** | `object` | Structured filter object; at least one field. | | `filters.keywords` | `string` | | | `filters.titles` | `string[]` | | | `filters.past_titles` | `string[]` | | | `filters.seniorities` | `string[]` | Enum per item: owner, partner, cxo, vp, director, manager, senior, entry, training, strategic. | | `filters.function_ids` | `string[]` | LinkedIn FUNCTION ids, e.g. "25" for Sales. | | `filters.company_ids` | `FacetId[]` | Bare id string, or { id, text } for a display label. | | `filters.past_company_ids` | `FacetId[]` | | | `filters.company_sizes` | `string[]` | Enum per item: self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. | | `filters.industry_ids` | `FacetId[]` | | | `filters.location_ids` | `FacetId[]` | LinkedIn geo / REGION ids. | | `filters.school_ids` | `FacetId[]` | | | `filters.years_of_experience` | `string[]` | Enum per item: "1" through "5". | | `filters.years_at_current_company` | `string[]` | Enum per item: "1" through "5". | | `filters.years_in_current_position` | `string[]` | Enum per item: "1" through "5". | | `filters.first_name` | `string` | | | `filters.last_name` | `string` | | | `filters.posted_on_linkedin` | `boolean` | | | `filters.recently_changed_jobs` | `boolean` | | | `max_results` | `integer` | Default 25. 1 to 2,500; a sync call returns at most 100 results (`pagination.has_more` is true when more exist). | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/people" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filters": { "titles": [ "CTO" ], "keywords": "kubernetes" }, "max_results": 10 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/people" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "filters": { "titles": [ "CTO" ], "keywords": "kubernetes" }, "max_results": 10 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/people"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "filters": { "titles": [ "CTO" ], "keywords": "kubernetes" }, "max_results": 10 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/people" body := bytes.NewBufferString(`{ "filters": { "titles": [ "CTO" ], "keywords": "kubernetes" }, "max_results": 10 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "results": [{ "url": "https://www.linkedin.com/in/ACwAAAtrDxoBpU0UuxqsRapB-BUxVWrU38-8c0g", "full_name": "Tong Zhi", "location": { "city": "London", "region": "England", "country": "United Kingdom" }, "positions": [{ "title": "Co-Founder & CTO", "company": "HireHarbour", "company_url": "https://www.linkedin.com/company/100124585", "linkedin_id": "100124585", "started_at": "2023-10", "ended_at": null, "description": "Helping businesses by finding experienced, high quality remote staff." }], "current_company": { "name": "HireHarbour", "url": "https://www.linkedin.com/company/100124585", "linkedin_id": "100124585", "title": "Co-Founder & CTO", "started_at": "2023-10" }, "is_premium": true }], "pagination": { "returned": 10, "max_results": 10, "pages_scraped": 1, "has_more": true } }, "meta": { "creditsUsed": 1, "creditsRemaining": 98418, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2800, "resolved_search_url": "https://www.linkedin.com/search/results/people/?origin=FACETED_SEARCH&keywords=kubernetes&titleFreeText=CTO" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Missing or empty filters, unknown filter, or bad enum value. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover max_results (at least 25) at 2 credits each. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search people (Sales Navigator) (BETA) Search people with structured filters or a pasted Sales Navigator URL. **POST** `https://api.up2data.ai/v1/search/people/sales-nav` **Credits:** 2 credits per result, minimum 50 - billed as at least 25 results, empty searches included - **Mode:** synchronous Two ways to search: pass structured `filters`, or paste a full Sales Navigator lead-search URL as `sales_nav_url`. Geo, industry, company, and school filters take LinkedIn IDs, not free text. Billed at 2 credits per result returned, counted as at least 25 results, so every search costs at least 50 credits, empty ones included. A single call returns at most 100 results (`pagination.has_more` is true when more exist); for a bigger pull, send it as a search item in [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) instead of looping sync calls. > **Warning:** Provide `filters` or `sales_nav_url`, never both, never neither. > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.people.sales_nav); up to 2,500 results per item, same 2 credits per result with a 50-credit minimum, reserved at submission and refunded for any shortfall once the search runs. Set with_full_profiles to get every result fully enriched instead, at 3 credits per result. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `filters` | `object` | Structured filter object; see the fields below. Provide filters or sales_nav_url, never both, never neither. | | `filters.keywords` | `string` | | | `filters.titles` | `string[]` | | | `filters.past_titles` | `string[]` | | | `filters.seniorities` | `string[]` | Enum per item: owner, partner, cxo, vp, director, manager, senior, entry, training, strategic. | | `filters.function_ids` | `string[]` | LinkedIn FUNCTION ids, e.g. "25" for Sales. | | `filters.company_ids` | `FacetId[]` | Bare id string, or { id, text } for a display label. | | `filters.past_company_ids` | `FacetId[]` | | | `filters.company_sizes` | `string[]` | Enum per item: self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. | | `filters.industry_ids` | `FacetId[]` | | | `filters.location_ids` | `FacetId[]` | LinkedIn geo / REGION ids. | | `filters.school_ids` | `FacetId[]` | | | `filters.years_of_experience` | `string[]` | Enum per item: "1" through "5". | | `filters.years_at_current_company` | `string[]` | Enum per item: "1" through "5". | | `filters.years_in_current_position` | `string[]` | Enum per item: "1" through "5". | | `filters.first_name` | `string` | | | `filters.last_name` | `string` | | | `filters.posted_on_linkedin` | `boolean` | | | `filters.recently_changed_jobs` | `boolean` | | | `sales_nav_url` | `string` | Full Sales Navigator lead-search URL pasted from the browser. Mutually exclusive with filters. | | `max_results` | `integer` | Default 100. 1 to 2,500; a sync call returns at most 100 results (`pagination.has_more` is true when more exist). For a bigger pull, send it as a search item in POST /v1/batch, which allows up to 2,500. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/people/sales-nav" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filters": { "titles": [ "VP Sales" ], "seniorities": [ "vp", "director" ], "location_ids": [ { "id": "102095887", "text": "California" } ], "company_sizes": [ "51-200", "201-500" ] }, "max_results": 50 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/people/sales-nav" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "filters": { "titles": [ "VP Sales" ], "seniorities": [ "vp", "director" ], "location_ids": [ { "id": "102095887", "text": "California" } ], "company_sizes": [ "51-200", "201-500" ] }, "max_results": 50 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/people/sales-nav"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "filters": { "titles": [ "VP Sales" ], "seniorities": [ "vp", "director" ], "location_ids": [ { "id": "102095887", "text": "California" } ], "company_sizes": [ "51-200", "201-500" ] }, "max_results": 50 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/people/sales-nav" body := bytes.NewBufferString(`{ "filters": { "titles": [ "VP Sales" ], "seniorities": [ "vp", "director" ], "location_ids": [ { "id": "102095887", "text": "California" } ], "company_sizes": [ "51-200", "201-500" ] }, "max_results": 50 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "results": [{ "url": "https://www.linkedin.com/in/ACwAAAtrDxoBpU0UuxqsRapB-BUxVWrU38-8c0g", "full_name": "Tong Zhi", "location": { "city": "London", "region": "England", "country": "United Kingdom" }, "positions": [{ "title": "Co-Founder & CTO", "company": "HireHarbour", "company_url": "https://www.linkedin.com/company/100124585", "linkedin_id": "100124585", "started_at": "2023-10", "ended_at": null, "description": "Helping businesses by finding experienced, high quality remote staff." }], "current_company": { "name": "HireHarbour", "url": "https://www.linkedin.com/company/100124585", "linkedin_id": "100124585", "title": "Co-Founder & CTO", "started_at": "2023-10" }, "is_premium": true }], "pagination": { "returned": 10, "max_results": 10, "pages_scraped": 1, "has_more": true } }, "meta": { "creditsUsed": 50, "creditsRemaining": 98369, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 2800, "resolved_search_url": "https://www.linkedin.com/sales/search/people?query=(spellCorrectionEnabled:true,filters:List((type:CURRENT_TITLE,values:List((text:CTO,selectionType:INCLUDED)))),keywords:kubernetes)" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown filter, bad enum value, or both/neither of filters and sales_nav_url provided. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover max_results (at least 25) at 2 credits each. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search people (standard) People search on LinkedIn's regular search, not Sales Navigator. **POST** `https://api.up2data.ai/v1/search/people/standard` **Credits:** 1 credit per page (up to 25 results) - **Mode:** synchronous Pass structured `filters`; at least one is required. Filters combine with AND, and several values inside one filter match any of them. Company, past company, industry, geo, and school filters take LinkedIn IDs; `company_urls` and `locations` take URLs and place names and are resolved to IDs for you. Seniority is matched on job titles (for example `vp` matches VP, Vice President, and SVP). A single call returns at most 100 results (`pagination.has_more` is true when more exist). An empty page still bills 1 credit. > **Warning:** Different contract from [Search people](https://docs.up2data.ai/v1/api/search-people/): the request filters and the result objects are not the same shape. Results are `search-person` objects with the headline, vanity URL, and member URN that regular search shows, not `lead-result`. `function_ids`, `company_sizes`, `past_titles`, the `years_*` filters, `posted_on_linkedin`, and `recently_changed_jobs` have no equivalent in regular LinkedIn search and answer 400 here; use [Search people](https://docs.up2data.ai/v1/api/search-people/) for those. > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.people.standard); up to 2,500 results per item, though LinkedIn serves only the first 1,000 of a query, 1 credit per 25-row page. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `filters` **required** | `object` | At least one filter. | | `filters.keywords` | `string` | Free text matched anywhere on the profile. | | `filters.titles` | `string[]` | Matched against current titles. | | `filters.seniorities` | `string[]` | Enum per item: owner, partner, cxo, vp, director, manager, senior, entry. titles and seniorities together allow at most 6 values. | | `filters.company_ids` | `FacetId[]` | Current company. Bare id string, or { id, text }. | | `filters.company_urls` | `string[]` | Current company by page URL or slug. An unknown company answers 400. | | `filters.past_company_ids` | `FacetId[]` | | | `filters.industry_ids` | `FacetId[]` | | | `filters.location_ids` | `FacetId[]` | LinkedIn geo ids. | | `filters.locations` | `string[]` | Place names, e.g. United States or London. An unknown place answers 400. | | `filters.school_ids` | `FacetId[]` | | | `filters.first_name` | `string` | | | `filters.last_name` | `string` | | | `page` | `integer` | Default 1. | | `per_page` | `integer` | 1 to 100. Results per page, used to work out where a page starts; defaults to max_results, up to 100. | | `max_results` | `integer` | Default 25. 1 to 2,500; a sync call returns at most 100 results. LinkedIn serves only the first 1,000 results of a query; pagination.total_estimate reports the full match count. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/people/standard" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filters": { "titles": [ "CTO" ], "keywords": "kubernetes", "locations": [ "United States" ] }, "max_results": 25 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/people/standard" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "filters": { "titles": [ "CTO" ], "keywords": "kubernetes", "locations": [ "United States" ] }, "max_results": 25 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/people/standard"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "filters": { "titles": [ "CTO" ], "keywords": "kubernetes", "locations": [ "United States" ] }, "max_results": 25 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/people/standard" body := bytes.NewBufferString(`{ "filters": { "titles": [ "CTO" ], "keywords": "kubernetes", "locations": [ "United States" ] }, "max_results": 25 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "results": [{ "url": "https://www.linkedin.com/in/thmeyer", "public_identifier": "thmeyer", "linkedin_id": "16113090", "urn": "ACoAAAD13cIBbJUHDIuBAw-cS8NSsTdXj2fAYtc", "full_name": "Thomas Meyer", "headline": "CTO / Software Architect at Inalp", "profile_picture_url": "https://media.licdn.com/dms/image/v2/D4E03AQExample/profile-displayphoto-shrink_100_100/0/thmeyer", "location": { "city": "Greater Bern Area" }, "scraped_at": "2026-09-25T21:52:56.000Z" }], "pagination": { "returned": 25, "max_results": 25, "pages_scraped": 1, "page": 1, "per_page": 25, "has_more": true, "total_estimate": 15910664 } }, "meta": { "creditsUsed": 1, "creditsRemaining": 98418, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 4100 } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Missing or empty filters, unknown or unsupported filter, bad seniority value, more than 6 titles and seniorities combined, or a location or company that matches nothing. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the page(s) requested. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `upstream_error` | LinkedIn rejected the search query, or something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search companies Live company search with structured filters. **POST** `https://api.up2data.ai/v1/search/companies` **Credits:** 1 credit per page (up to 25 results) - **Mode:** synchronous Pass structured `filters`; at least one is required. Industry and location take LinkedIn IDs. Runs LinkedIn's regular company search, not Sales Navigator; use [Search companies (Sales Navigator)](https://docs.up2data.ai/v1/api/search-companies-sales-nav/) for Sales Navigator results or to paste a Sales Navigator URL. `meta.resolved_search_url` is the equivalent LinkedIn search URL. An empty page still bills 1 credit. A single call returns at most 100 results (`pagination.has_more` is true when more exist). > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.companies.sales_nav, with body.filters); up to 1,000 results per item. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `filters` **required** | `object` | Structured filter object; at least one field. | | `filters.keywords` | `string` | | | `filters.industry_ids` | `FacetId[]` | Bare id string, or { id, text } for a display label. | | `filters.location_ids` | `FacetId[]` | HQ geography ids. | | `filters.company_sizes` | `string[]` | Enum per item: self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. | | `max_results` | `integer` | Default 25. 1 to 1,000; a sync call returns at most 100 results (`pagination.has_more` is true when more exist). | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/companies" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/companies" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/companies"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/companies" body := bytes.NewBufferString(`{ "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "results": [{ "url": "https://www.linkedin.com/company/fintechfutures", "name": "FinTech Futures", "linkedin_id": "5216302", "industry": "Technology, Information and Media", "scraped_at": "2026-09-26T13:45:43.000Z" }], "pagination": { "returned": 50, "max_results": 50, "pages_scraped": 2, "has_more": true } }, "meta": { "creditsUsed": 2, "creditsRemaining": 98415, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 4100, "resolved_search_url": "https://www.linkedin.com/search/results/companies/?origin=FACETED_SEARCH&industryCompanyVertical=%5B%2296%22%5D&companySize=%5B%22E%22%5D" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Missing or empty filters, unknown filter, or bad enum value. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the page(s) requested. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search companies (Sales Navigator) (BETA) Search companies with structured filters or a pasted Sales Navigator URL. **POST** `https://api.up2data.ai/v1/search/companies/sales-nav` **Credits:** 2 credits per result, minimum 50 - billed as at least 25 results, empty searches included - **Mode:** synchronous Two ways to search: pass structured `filters`, or paste a full Sales Navigator company-search URL as `sales_nav_url`. Industry and location take LinkedIn IDs. Billed at 2 credits per result returned, counted as at least 25 results, so every search costs at least 50 credits, empty ones included. A single call returns at most 100 results (`pagination.has_more` is true when more exist); for a bigger pull, send it as a search item in [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) instead of looping sync calls. > **Warning:** Provide `filters` or `sales_nav_url`, never both, never neither. > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.companies.sales_nav); up to 1,000 results per item, same 2 credits per result with a 50-credit minimum, reserved at submission and refunded for any shortfall once the search runs. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `filters` | `object` | Structured filter object; see the fields below. Provide filters or sales_nav_url, never both, never neither. | | `filters.keywords` | `string` | | | `filters.industry_ids` | `FacetId[]` | Bare id string, or { id, text } for a display label. | | `filters.location_ids` | `FacetId[]` | HQ geography ids. | | `filters.company_sizes` | `string[]` | Enum per item: self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. | | `sales_nav_url` | `string` | Full Sales Navigator company-search URL. Mutually exclusive with filters. | | `max_results` | `integer` | Default 100. 1 to 1,000; a sync call returns at most 100 results (`pagination.has_more` is true when more exist). For a bigger pull, send it as a search item in POST /v1/batch, which allows up to 1,000. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/companies/sales-nav" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/companies/sales-nav" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/companies/sales-nav"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/companies/sales-nav" body := bytes.NewBufferString(`{ "filters": { "industry_ids": [ "96" ], "company_sizes": [ "201-500" ] }, "max_results": 50 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "results": [{ "url": "https://www.linkedin.com/company/74126343", "name": "Anthropic", "linkedin_id": "74126343", "industry": "Research Services", "description": "AI safety and research company.", "headcount": 2841, "company_size": { "min": 1001, "max": 5000 }, "scraped_at": "2026-07-08T12:00:00Z" }], "pagination": { "returned": 50, "max_results": 50, "pages_scraped": 2, "has_more": true } }, "meta": { "creditsUsed": 100, "creditsRemaining": 98317, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 4100, "resolved_search_url": "https://www.linkedin.com/sales/search/company?query=(filters:List((type:COMPANY_HEADCOUNT,values:List((id:E,text:201-500,selectionType:INCLUDED))),(type:INDUSTRY,values:List((id:96,selectionType:INCLUDED)))))" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, unknown filter, bad enum value, or both/neither of filters and sales_nav_url provided. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover max_results (at least 25) at 2 credits each. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Search companies (standard) Company search on LinkedIn's regular search, not Sales Navigator. **POST** `https://api.up2data.ai/v1/search/companies/standard` **Credits:** 1 credit per page (up to 25 results) - **Mode:** synchronous Pass structured `filters`; at least one is required. Industry and location take LinkedIn IDs. `meta.resolved_search_url` is the equivalent LinkedIn search URL. A single call returns at most 100 results (`pagination.has_more` is true when more exist). An empty page still bills 1 credit. For the full company record, pipe `results[].url` into [company enrich](https://docs.up2data.ai/v1/api/companies-enrich/) or a batch. > **Warning:** Different contract from [Search companies](https://docs.up2data.ai/v1/api/search-companies/): the request filters and the result objects are not the same shape. Results are `search-company` objects, not `account-result`. > **Info:** Counts as 1 request against the 5,000/min per-key limit and 1 search against the 5,000/hour per-organization search quota. See [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). > **Info:** Send many as batch operation items (operation search.companies.standard); up to 1,000 results per item, 1 credit per 25-row page. See the [batch endpoint](https://docs.up2data.ai/v1/api/batch-create/). ## Request | Field | Type | Notes | |---|---|---| | `filters` **required** | `object` | At least one filter. | | `filters.keywords` | `string` | | | `filters.industry_ids` | `FacetId[]` | Bare id string, or { id, text }. | | `filters.location_ids` | `FacetId[]` | HQ geography ids. | | `filters.company_sizes` | `string[]` | Enum per item: self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. | | `max_results` | `integer` | Default 25. 1 to 1,000; a sync call returns at most 100 results. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/search/companies/standard" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filters": { "keywords": "fintech", "company_sizes": [ "51-200" ], "industry_ids": [ "4" ] }, "max_results": 25 }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/search/companies/standard" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "filters": { "keywords": "fintech", "company_sizes": [ "51-200" ], "industry_ids": [ "4" ] }, "max_results": 25 } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/search/companies/standard"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "filters": { "keywords": "fintech", "company_sizes": [ "51-200" ], "industry_ids": [ "4" ] }, "max_results": 25 }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/search/companies/standard" body := bytes.NewBufferString(`{ "filters": { "keywords": "fintech", "company_sizes": [ "51-200" ], "industry_ids": [ "4" ] }, "max_results": 25 }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "results": [{ "url": "https://www.linkedin.com/company/pharos-production-web3-software-development", "name": "Pharos Production", "linkedin_id": "9226307", "industry": "Software Development", "description": "Custom AI, FinTech, Web3 and enterprise software | 110+ apps since 2013 | 5/5 on Clutch", "hq": { "city": "Las Vegas", "region": "Nevada" }, "scraped_at": "2026-09-25T21:52:56.000Z", "logo_url": "https://media.licdn.com/dms/image/v2/D4D0BAQExample/company-logo_100_100/0/pharos_production_logo" }], "pagination": { "returned": 16, "max_results": 25, "pages_scraped": 1, "has_more": false } }, "meta": { "creditsUsed": 1, "creditsRemaining": 98418, "billed": true, "reason": "success", "requestId": "req_example", "latencyMs": 3100, "resolved_search_url": "https://www.linkedin.com/search/results/companies/?origin=FACETED_SEARCH&keywords=fintech&industryCompanyVertical=%5B%224%22%5D&companySize=%5B%22D%22%5D" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Missing or empty filters, unknown or unsupported filter, or a bad company_sizes value. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the page(s) requested. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit, or the 5,000 searches/hour per-organization quota. Honor Retry-After. | No | | 500 | `upstream_error` | LinkedIn rejected the search query, or something broke on the server side. | No | | 504 | `upstream_timeout` | The live scrape didn't complete in time. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Create a batch job Submit up to 1,000 mixed enrich and operation items as one asynchronous job. **POST** `https://api.up2data.ai/v1/batch` **Credits:** Billed at submission - profile, company, and post items: 1 credit each (more with the same flags as their sync endpoint), refunded only when they fail on our side. Every other operation reserves the worst case at submission and settles to what it actually billed once its queue finishes - see the operations table below - **Mode:** asynchronous Every /v1 capability is batchable. Mix `profile`, `company`, and `post` enrich items (`{ "type": "profile" | "company" | "post", "url": "..." }`, plus the same flags and `fields` their sync endpoint takes, flat on the item) freely with operation items (`{ "operation": "...", "body": {...} }`), where `body` is the same shape as that operation's own sync request body. `page`, `per_page`, and `pagination_token` are rejected everywhere in a batch item's `body` - batch paginates through everything up to `max_results` on its own, instead of one page per call. `search.people.sales_nav` and `search.companies.sales_nav` still take `filters` or `sales_nav_url`, exactly one, same as their sync endpoints. A `search.people.sales_nav` item also takes `with_full_profiles: true` in its `body`: every result is then fully enriched, and its result entries carry the same full profile as [Enrich a profile](https://docs.up2data.ai/v1/api/profiles-enrich/) instead of a search stub. `search.jobs` requires at least one of `company_url`, `keywords`, or `filters` in a batch item - unlike the sync endpoint, an empty `search.jobs` item is rejected with 400 instead of running a search. Deliver results by `webhook_url` (the `batch.completed` event) and/or by polling. Every item reserves its worst case at submission. A `profile`, `company`, `post`, or Sales Navigator search item is charged in full up front. It stays billed when it comes back `unprocessable_target` (not found, private, deleted, or unreachable), and is refunded when it fails on our side (a crash or timeout); a Sales Navigator search item also refunds the unused part of its `max_results` reservation once that search runs and comes back short. Every other operation also reserves the worst case at submission, but settles down to what it actually billed once its queue finishes: an item that reached LinkedIn bills at least its smallest unit (one page, one post, one job, or every requested direction/category), even when it comes back empty, `unprocessable_target`, or the company isn't found; only an item that fails on our side is refunded in full. See the table below for the exact rate of each operation, matching its sync endpoint. | Operation | Sync twin | `max_results` (default / max) | Billing | Result `type` | |---|---|---|---|---| | `profile` (enrich) | [Enrich a profile](https://docs.up2data.ai/v1/api/profiles-enrich/) | not accepted | 1 credit flat (2 with any flag, 3 with `with_company_type`), charged in full at submission, refunded only when it fails on our side | `profile` | | `company` (enrich) | [Enrich a company](https://docs.up2data.ai/v1/api/companies-enrich/) | not accepted | 1 credit flat (2 with `with_company_type`), refunded only when it fails on our side | `company` | | `post` (enrich) | [Enrich a post](https://docs.up2data.ai/v1/api/posts-enrich/) | not accepted | 1 credit flat, +1 per `with_comments` / `with_reactions` / `with_reposts` flag, refunded only when it fails on our side | `post` | | `profiles.activity` | [Get profile activity](https://docs.up2data.ai/v1/api/profiles-activity/) | 100 / 500 | Reserved: 2 credits per 25-row page (`ceil(max_results / 25)` pages). Billed: the same rate on rows actually returned, minimum 1 page. With `with_all_comments`, also reserved: 1 credit per 100 comments of `max_comments_per_post` for each of `max_results` posts. Billed: 1 credit per 100-row page of comments actually returned per post, minimum 1 page per post; the reservation for posts that did not come back is refunded. | `activity_post`, `activity_comment`, or `activity_reaction` (matches `kind`); `comment` rows with `with_all_comments` | | `profiles.recommendations` | [Get profile recommendations](https://docs.up2data.ai/v1/api/profiles-recommendations/) | not accepted | Reserved: 1 credit per requested `direction` (`both` reserves 2). Billed: 1 credit per requested direction, whether or not it lists anything. | `recommendation` | | `profiles.interests` | [Get profile interests](https://docs.up2data.ai/v1/api/profiles-interests/) | not accepted | Reserved: 1 credit per requested `category` (`all` reserves 5). Billed: 1 credit per requested category, whether or not it lists anything. | `interest` | | `companies.jobs_count` | [Count company job openings](https://docs.up2data.ai/v1/api/companies-jobs-count/) | not accepted | 1 credit, billed whether or not the company is found. | `jobs_count` | | `companies.posts` | [Get company posts](https://docs.up2data.ai/v1/api/companies-posts/) | 100 / 500 | Reserved: 1 credit per `max_results` (flat, not paginated). Billed: 1 credit per post actually returned, minimum 1. | `company_post` | | `companies.headcount` | [Find custom headcount](https://docs.up2data.ai/v1/api/companies-headcount/) | not accepted | 1 credit, billed whether or not the company is found. | `headcount` | | `jobs.enrich` | [Enrich a job](https://docs.up2data.ai/v1/api/jobs-enrich/) | not accepted | 1 credit (2 with `with_hiring_team`, billed even when `hiring_team` is empty), refunded only when the job comes back without a result. | `job` | | `posts.engagement.comments` | [Get post comments](https://docs.up2data.ai/v1/api/posts-engagement-comments/) | 100 / 1,000 | Reserved: 1 credit per 100-row page (`ceil(max_results / 100)` pages). Billed: 1 credit per 100-row page of comments actually returned, minimum 1 page. | `comment` | | `posts.engagement.reactions` | [Get post reactions](https://docs.up2data.ai/v1/api/posts-engagement-reactions/) | 100 / 1,000 | Reserved: 1 credit per 100-row page (`ceil(max_results / 100)` pages). Billed: 1 credit per 100-row page of reactions actually returned, minimum 1 page. | `reaction` | | `posts.engagement.reposts` | [Get post reposts](https://docs.up2data.ai/v1/api/posts-engagement-reposts/) | 100 / 1,000 | Reserved: 1 credit per 100-row page (`ceil(max_results / 100)` pages). Billed: 1 credit per 100-row page of reposts actually returned, minimum 1 page. | `repost` | | `search.people.sales_nav` | [Search people (Sales Navigator)](https://docs.up2data.ai/v1/api/search-people-sales-nav/) | 100 / 2,500 | Reserved: 2 credits per `max_results`, counted as at least 25 (minimum 50). Refunds down to 2 credits per result actually returned (still at least 50, empty searches included) once the search runs. With `with_full_profiles`: reserved at 3 credits per `max_results`, refunded for any result the search didn't return, but never below 50 credits. | `profile` (a full enriched profile with `with_full_profiles`) | | `search.companies.sales_nav` | [Search companies (Sales Navigator)](https://docs.up2data.ai/v1/api/search-companies-sales-nav/) | 100 / 1,000 | Same reserve-and-refund model as `search.people.sales_nav` without `with_full_profiles`, which company search doesn't take. | `company` | | `search.people.standard` | [Search people (standard)](https://docs.up2data.ai/v1/api/search-people-standard/) | 100 / 2,500 | Reserved: 1 credit per 25-row page (`ceil(max_results / 25)`). Billed: 1 credit per page of rows actually returned, minimum 1 page. | `person` | | `search.companies.standard` | [Search companies (standard)](https://docs.up2data.ai/v1/api/search-companies-standard/) | 100 / 1,000 | Same page-based reserve/bill as `search.people.standard`. | `company` | | `search.jobs` | [Search jobs](https://docs.up2data.ai/v1/api/search-jobs/) | 100 / 500 | Reserved: 1 credit per `max_results` (flat, matching the sync per-job rate; 2 with `with_hiring_team`). Billed: 1 credit per job actually returned (2 with `with_hiring_team`, even when `hiring_team` is empty), minimum 1 job. | `job` | | `search.posts` | [Search posts](https://docs.up2data.ai/v1/api/search-posts/) | 100 / 500 | Reserved: 1 credit per 25-row page. Billed: 1 credit per page of rows actually returned, minimum 1 page. | `post` | > **Warning:** Every batch item follows the sync rule: if it reached LinkedIn it is billed, even when it comes back empty or `unprocessable_target`; if it failed on our side (a crash or timeout) it is refunded. A `profile`, `company`, `post`, or Sales Navigator search item is billed in full at submission, and a Sales Navigator search item also refunds the unused part of its `max_results` reservation once that search runs. Every other operation item settles down to what it actually billed once its own queue finishes, at least its smallest unit. > **Info:** Batch submissions accept an optional `Idempotency-Key` header, so a retried submission with the same key returns the original job instead of creating a duplicate or charging twice. See [Batch jobs](https://docs.up2data.ai/v1/guides/batch-jobs/). ## Request | Field | Type | Notes | |---|---|---| | `items` **required** | `object[]` | Up to 1,000 items, freely mixed. | | `items[].type` | `string` | Enrich item. Enum: profile, company, post. Required with url. | | `items[].url` | `string` | Required with type. | | `items[].fields` | `string[]` | profile and company items only. Restrict that item's result data to these top-level fields, like fields on the sync endpoint. Same cost. | | `items[].with_followers_and_connections` | `boolean` | profile items only. Same as on profile enrich; prices the item at 2 credits. | | `items[].with_full_skills_and_endorsements` | `boolean` | profile items only. Same as on profile enrich; prices the item at 2 credits. | | `items[].with_latest_company_details` | `boolean` | profile items only. Nests each current company (up to 3) as company_details on its positions in the result entry; reserves 1 credit per company for 3 companies and refunds the ones the profile did not have. | | `items[].with_all_company_details` | `boolean` | profile items only, batch only. Enriches the company of every position, past ones included (the first 10 distinct companies in LinkedIn order), and nests it as company_details on each of those positions. Works on its own or together with with_latest_company_details: the current companies that flag already nests are not counted again. Reserves 1 credit per company for 10 companies and refunds the ones not enriched. A company shared by several profiles in the job is crawled once, but each profile pays for it. | | `items[].with_company_type` | `boolean` | profile items (only with with_latest_company_details or with_all_company_details, 2 credits per company instead of 1) and company items (2 credits). Adds company_type, same as on company enrich. | | `items[].with_verification_details` | `boolean` | profile items only. Same as on profile enrich; prices the item at 2 credits. | | `items[].body.with_all_comments` | `boolean` | profiles.activity items with kind posts only, batch only. After the posts are fetched, fetches the comments on every returned post as extra `comment` result entries with operation profiles.activity, the same input as the item, and post_urn naming the post they are on (it matches that post's urn). The item counts as succeeded once its posts come back; a post whose comments could not be fetched is simply missing them. Billed like a posts.engagement.comments item per post. | | `items[].body.max_comments_per_post` | `integer` | Default 100. 1 to 1,000. Requires with_all_comments. How many comments to fetch per post. | | `items[].with_comments` | `boolean` | post items only. Bundles the first 25 comments as data.comments in the result entry. +1 credit. | | `items[].with_reactions` | `boolean` | post items only. Bundles the first 25 reactions as data.reactions. +1 credit. | | `items[].with_reposts` | `boolean` | post items only. Bundles the first 25 reposts as data.reposts. +1 credit. | | `items[].operation` | `string` | Operation item. Enum: profiles.activity, profiles.recommendations, profiles.interests, companies.jobs_count, companies.posts, companies.headcount, jobs.enrich, posts.engagement.comments, posts.engagement.reactions, posts.engagement.reposts, search.people.sales_nav, search.companies.sales_nav, search.people.standard, search.companies.standard, search.jobs, search.posts. Required with body. | | `items[].body` | `object` | Request body for the operation: the same shape as that operation's own sync request body. page, per_page, and pagination_token are rejected. A scalar operation (companies.jobs_count, companies.headcount, jobs.enrich) rejects max_results entirely; every other operation accepts it with its own default and cap - see the table below. search.people.sales_nav and search.companies.sales_nav take filters or sales_nav_url, exactly one, same as their sync endpoints. search.people.sales_nav also takes body.with_full_profiles (boolean, batch only): fully enriches every result at 3 credits per result instead of returning stubs. search.jobs requires at least one of company_url, keywords, or filters. Required with operation. | | `webhook_url` | `string` | HTTPS endpoint for the batch.completed event. Omit for polling-only. | | `Idempotency-Key` | `string (header)` | Optional. A retried submission with the same key returns the original job; no duplicate is created. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/batch" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "profile", "url": "https://linkedin.com/in/b", "with_latest_company_details": true, "with_company_type": true }, { "type": "company", "url": "https://linkedin.com/company/acme", "with_company_type": true }, { "type": "post", "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": true }, { "operation": "posts.engagement.comments", "body": { "urn": "7267273010393358336", "max_results": 500 } } ], "webhook_url": "https://app.example.com/hooks/up2data" }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/batch" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "profile", "url": "https://linkedin.com/in/b", "with_latest_company_details": True, "with_company_type": True }, { "type": "company", "url": "https://linkedin.com/company/acme", "with_company_type": True }, { "type": "post", "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": True }, { "operation": "posts.engagement.comments", "body": { "urn": "7267273010393358336", "max_results": 500 } } ], "webhook_url": "https://app.example.com/hooks/up2data" } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/batch"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "profile", "url": "https://linkedin.com/in/b", "with_latest_company_details": true, "with_company_type": true }, { "type": "company", "url": "https://linkedin.com/company/acme", "with_company_type": true }, { "type": "post", "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": true }, { "operation": "posts.engagement.comments", "body": { "urn": "7267273010393358336", "max_results": 500 } } ], "webhook_url": "https://app.example.com/hooks/up2data" }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/batch" body := bytes.NewBufferString(`{ "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "profile", "url": "https://linkedin.com/in/b", "with_latest_company_details": true, "with_company_type": true }, { "type": "company", "url": "https://linkedin.com/company/acme", "with_company_type": true }, { "type": "post", "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "with_comments": true }, { "operation": "posts.engagement.comments", "body": { "urn": "7267273010393358336", "max_results": 500 } } ], "webhook_url": "https://app.example.com/hooks/up2data" }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **202** ```json { "data": { "job_id": "job_7hd92kfa", "status": "processing", "total": 4, "estimated_completion": "2026-07-07T14:03:00Z" }, "meta": { "creditsUsed": 503, "creditsRemaining": 97916, "billed": true, "reason": "job_accepted", "requestId": "req_0pl2m8xz" } } ``` ## Webhook payload **batch.completed** ```json { "event": "batch.completed", "job": { "job_id": "job_7hd92kfa", "status": "completed", "total": 1000, "estimated_completion": "2026-07-07T14:03:00Z" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, an item missing type/url or operation/body, an unknown or not-yet-enabled operation, page/per_page/pagination_token in an operation body, max_results on a scalar operation, a Sales Navigator item missing (or sending both of) filters/sales_nav_url, with_full_profiles on a search.companies.sales_nav item, a search.jobs item with no criterion, or more than 1,000 items. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 402 | `insufficient_credits` | Balance can't cover the credits this submission would charge. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get a batch job Poll a batch job for its status and accumulated results, for free. **GET** `https://api.up2data.ai/v1/batch/{job_id}` **Credits:** Free - **Mode:** synchronous Poll as often as desired; this call is always free. Every entry in `results` and `failures` carries the `operation` that produced it (e.g. `enrich.profile`, `profiles.activity`, `search.jobs`); every `results` entry also carries `input`, echoing what you submitted for it - the url string when the item was identified by url, or its request body otherwise. A `profile`, `company`, `post`, or Sales Navigator search item is charged in full at submission and stays billed whether it succeeds or comes back `unprocessable_target` (not found, private, deleted, or unreachable); it is refunded only when it fails on our side, and a Sales Navigator search item also refunds its unused `max_results` reservation. Every other operation reserves the same worst case at submission but settles down to what it actually billed once its queue finishes: an item that reached LinkedIn bills at least its smallest unit even when it comes back empty or `unprocessable_target`, and only an item that fails on our side is refunded in full. In the example below, none of the items are search items or other operations, and the 32 failures are all `unprocessable_target`, so they don't change the total - the job still shows the full 1,000 credits charged at submission. ## Request | Field | Type | Notes | |---|---|---| | `job_id` **required** | `string` | Path parameter. The job_id returned by POST /batch. | ## Call it **cURL** ```bash curl -X GET "https://api.up2data.ai/v1/batch/job_7hd92kfa" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/batch/job_7hd92kfa" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.get(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/batch/job_7hd92kfa"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "GET", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/batch/job_7hd92kfa" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "job_id": "job_7hd92kfa", "status": "completed", "total": 1000, "succeeded": 968, "failed": 32, "results": [ { "type": "profile", "operation": "enrich.profile", "url": "https://linkedin.com/in/a", "status": "ok", "input": "https://linkedin.com/in/a", "data": { "full_name": "...", "headline": "..." } }, { "type": "company", "operation": "enrich.company", "url": "https://linkedin.com/company/acme", "status": "ok", "input": "https://linkedin.com/company/acme", "data": { "name": "Acme", "headcount": 512 } }, { "type": "comment", "operation": "posts.engagement.comments", "status": "ok", "input": { "urn": "7267273010393358336", "max_results": 500 }, "data": { "text": "Great insights!", "commenter": { "full_name": "Jane Doe" } } } ], "failures": [ { "type": "profile", "url": "https://linkedin.com/in/gone", "status": "unprocessable_target" }, { "type": "company", "url": "https://linkedin.com/company/timed-out", "status": "upstream_timeout" } ] }, "meta": { "creditsUsed": 1000, "creditsRemaining": 421012, "billed": true, "reason": "job_completed", "requestId": "req_v82n1kd0" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 404 | `not_found` | No job with this job_id. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get incremental batch result entries Read a batch job's result entries as an incremental, cursor-paged feed. **GET** `https://api.up2data.ai/v1/batch/{job_id}/results` **Credits:** Free - **Mode:** synchronous A cursor page of immutable, first-seen result entries; free, and safe to poll while the job is still processing. Pass the previous response's `next_cursor` back as `cursor` until `has_more` is false. `job_id` is a path parameter; `cursor` and `limit` are query parameters on the same request. Every entry carries the `operation` that produced it (e.g. `enrich.profile`, `profiles.activity`, `search.jobs`) and `input`, echoing what you submitted for it - the url string when the item was identified by url, or its request body otherwise. ## Request | Field | Type | Notes | |---|---|---| | `job_id` **required** | `string` | Path parameter. The job_id returned by POST /batch. | | `cursor` | `string` | Query parameter. Opaque delivery_seq cursor from a prior response. Omit for the first page. | | `limit` | `integer` | Query parameter. 1 to 1,000, default 100. | ## Call it **cURL** ```bash curl -X GET "https://api.up2data.ai/v1/batch/job_7hd92kfa/results?cursor=eyJkZWxpdmVyeV9zZXEiOjJ9&limit=100" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/batch/job_7hd92kfa/results?cursor=eyJkZWxpdmVyeV9zZXEiOjJ9&limit=100" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.get(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/batch/job_7hd92kfa/results?cursor=eyJkZWxpdmVyeV9zZXEiOjJ9&limit=100"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "GET", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/batch/job_7hd92kfa/results?cursor=eyJkZWxpdmVyeV9zZXEiOjJ9&limit=100" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "job_id": "job_7hd92kfa", "status": "processing", "results_available": 3, "entries": [ { "delivery_seq": 3, "item_index": 2, "entry_key": "https://linkedin.com/in/c", "operation": "enrich.profile", "input": "https://linkedin.com/in/c", "data": { "full_name": "Sam Example", "headline": "VP Sales at Example Corp", "url": "https://linkedin.com/in/c" }, "final_rank": 2 } ], "next_cursor": "eyJkZWxpdmVyeV9zZXEiOjN9", "has_more": true, "recommended_poll_ms": 2000 }, "meta": { "creditsUsed": 0, "creditsRemaining": 421032, "billed": false, "reason": "poll", "requestId": "req_example" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | A malformed cursor, or limit out of the 1 to 1,000 range. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 404 | `not_found` | No job with this job_id. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # List signals Your organization's signals, newest first, for free. **GET** `https://api.up2data.ai/v1/signals` **Credits:** Free - **Mode:** synchronous Returns every signal the key's organization owns, in any status. Filter with `status` and page with `limit` and `offset`; `total` counts what matches the filter, ignoring the page. See [Signals](https://docs.up2data.ai/v1/guides/signals/) for how a signal moves between `active`, `paused` and `completed`. ## Request | Field | Type | Notes | |---|---|---| | `status` | `string` | Query parameter. Enum: active, paused, completed. Omit for all. | | `limit` | `integer` | Query parameter. 1 to 200, default 50. | | `offset` | `integer` | Query parameter. Default 0. | ## Call it **cURL** ```bash curl -X GET "https://api.up2data.ai/v1/signals?status=active&limit=50" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals?status=active&limit=50" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.get(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals?status=active&limit=50"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "GET", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals?status=active&limit=50" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signals": [ { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "active", "active": true, "pause_reason": null, "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 3, "next_run_at": "2026-11-04T08:00:00Z", "last_run_at": "2026-11-03T08:00:00Z", "last_job_id": "job_7hd92kfa", "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-11-03T08:00:01Z" } ], "total": 1, "limit": 50, "offset": 0 }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "success", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | status is not one of active, paused, completed; limit is outside 1 to 200; or offset is negative. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Schedule a signal Save a batch request and have Up2Data re-submit it on a schedule. **POST** `https://api.up2data.ai/v1/signals` **Credits:** Free - each run bills as a batch job at run time - **Mode:** synchronous Creating a signal is free. On every tick Up2Data submits `request` as a [`POST /v1/batch`](https://docs.up2data.ai/v1/api/batch-create/) job on your behalf, bills it at the normal batch rates from your balance at that moment, and sends `batch.completed` to `request.webhook_url` when the job finishes. `request` is the exact batch body you would send yourself, so every item shape and flag that batch accepts works here; only `items` (1 to 1,000 objects) and `webhook_url` (https) are checked when you create the signal, everything else is validated when a run submits it. `schedule.interval_ms` is required and must be at least 60000 (one minute). `schedule.start_at` defaults to now; `schedule.ends_at` and `schedule.max_runs` are optional, omit both for a signal that runs until you pause or delete it. After downtime a missed tick runs once and the schedule realigns; there is no catch-up burst. > **Warning:** A run that fails with `402 insufficient_credits` pauses the signal with `pause_reason` `insufficient_credits`. Top up, then [resume](https://docs.up2data.ai/v1/api/signals-resume/) it; the skipped step runs on the next tick. A run rejected with `400` pauses it with `invalid_request`, since the same body would fail every time; fix `request` with [PATCH](https://docs.up2data.ai/v1/api/signals-update/) and resume. > **Info:** Every run submits the batch with an `Idempotency-Key` derived from the signal and run number, so a retried submission can never create a second job for the same tick. ## Request | Field | Type | Notes | |---|---|---| | `name` | `string` | Optional label, at most 200 characters. | | `schedule` **required** | `object` | When and how often to run. | | `schedule.interval_ms` **required** | `integer` | Milliseconds between runs. At least 60000. | | `schedule.start_at` | `string` | ISO 8601. When the first run fires. Defaults to now. | | `schedule.ends_at` | `string` | ISO 8601. No run is scheduled after this instant. Must be after start_at. | | `schedule.max_runs` | `integer` | Total number of runs, at least 1. The signal completes once run_count reaches it. | | `request` **required** | `object` | A POST /batch body: items plus optional webhook_url. Submitted byte for byte on every run. | | `request.items` **required** | `object[]` | 1 to 1,000 batch items, the same shapes POST /batch accepts. | | `request.webhook_url` | `string` | https URL that receives batch.completed for each run's job. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/signals" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Watch key accounts", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "max_runs": 30 }, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" } }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "name": "Watch key accounts", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "max_runs": 30 }, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" } } response = requests.post(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "name": "Watch key accounts", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "max_runs": 30 }, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" } }; const response = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals" body := bytes.NewBufferString(`{ "name": "Watch key accounts", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "max_runs": 30 }, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" } }`) req, err := http.NewRequest("POST", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **201** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "active", "active": true, "pause_reason": null, "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 0, "next_run_at": "2026-11-01T08:00:00Z", "last_run_at": null, "last_job_id": null, "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-10-30T12:00:00Z" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "signal_created", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, schedule.interval_ms missing or below 60000, ends_at not after start_at, max_runs below 1, request.items empty or over 1,000, or webhook_url not https. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get a signal One signal with its schedule, status and the job_id of its latest run, for free. **GET** `https://api.up2data.ai/v1/signals/{signal_id}` **Credits:** Free - **Mode:** synchronous Poll it as often as you like. `last_job_id` is the batch job the most recent successful run created; read its results with [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/). For the full history use [`GET /v1/signals/{signal_id}/runs`](https://docs.up2data.ai/v1/api/signals-runs/). ## Request | Field | Type | Notes | |---|---|---| | `signal_id` **required** | `string` | Path parameter. The signal_id returned by POST /signals. | ## Call it **cURL** ```bash curl -X GET "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.get(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "GET", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "active", "active": true, "pause_reason": null, "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 3, "next_run_at": "2026-11-04T08:00:00Z", "last_run_at": "2026-11-03T08:00:00Z", "last_job_id": "job_7hd92kfa", "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-11-03T08:00:01Z" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "success", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 404 | `not_found` | No signal with this signal_id in your organization, or signal_id is not a UUID. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Modify a signal Change the name, the schedule or the batch body of a signal in place. **PATCH** `https://api.up2data.ai/v1/signals/{signal_id}` **Credits:** Free - **Mode:** synchronous A partial update: keys you omit keep their value, and inside `schedule` each key is optional too. Send `null` for `schedule.ends_at` or `schedule.max_runs` to clear them. `schedule.start_at` can only change before the first run. Changing `schedule.interval_ms` after a run moves `next_run_at` to `last_run_at` plus the new interval, or to now if that is already past. If the new schedule means a completed signal is no longer complete, for example a higher `max_runs`, it is revived and resumes on schedule. Pausing and resuming have their own endpoints and are not done here. ## Request | Field | Type | Notes | |---|---|---| | `signal_id` **required** | `string` | Path parameter. The signal_id returned by POST /signals. | | `name` | `string` | At most 200 characters. | | `schedule` | `object` | Any of interval_ms, start_at, ends_at, max_runs. ends_at and max_runs accept null. | | `request` | `object` | Replaces the batch body used on future runs. Same rules as on create. | ## Call it **cURL** ```bash curl -X PATCH "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "schedule": { "interval_ms": 43200000, "max_runs": null } }' ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", } payload = { "schedule": { "interval_ms": 43200000, "max_runs": None } } response = requests.patch(url, headers=headers, json=payload) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11"; const headers = { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json", }; const body = { "schedule": { "interval_ms": 43200000, "max_runs": null } }; const response = await fetch(url, { method: "PATCH", headers, body: JSON.stringify(body), }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "bytes" "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" body := bytes.NewBufferString(`{ "schedule": { "interval_ms": 43200000, "max_runs": null } }`) req, err := http.NewRequest("PATCH", url, body) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "active", "active": true, "pause_reason": null, "schedule": { "interval_ms": 43200000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": null }, "run_count": 3, "next_run_at": "2026-11-03T20:00:00Z", "last_run_at": "2026-11-03T08:00:00Z", "last_job_id": "job_7hd92kfa", "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-11-03T08:00:01Z" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "signal_updated", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | Malformed body, start_at changed after the first run, interval_ms below 60000, ends_at not after start_at, max_runs below 1, or an invalid request body. | No | | 404 | `not_found` | No signal with this signal_id in your organization, or signal_id is not a UUID. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Delete a signal Stop a signal for good and drop its run history. **DELETE** `https://api.up2data.ai/v1/signals/{signal_id}` **Credits:** Free - **Mode:** synchronous Future runs stop immediately. Batch jobs that earlier runs already created are untouched and stay readable through [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/). To stop temporarily, [pause](https://docs.up2data.ai/v1/api/signals-pause/) instead. ## Request | Field | Type | Notes | |---|---|---| | `signal_id` **required** | `string` | Path parameter. The signal_id returned by POST /signals. | ## Call it **cURL** ```bash curl -X DELETE "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.delete(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "DELETE", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11" req, err := http.NewRequest("DELETE", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "deleted": true }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "signal_deleted", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 404 | `not_found` | No signal with this signal_id in your organization, or signal_id is not a UUID. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Pause a signal Hold a signal without losing its place in the schedule. **POST** `https://api.up2data.ai/v1/signals/{signal_id}/pause` **Credits:** Free - **Mode:** synchronous Sets `active` to false and `pause_reason` to `manual`. A run already in flight finishes; no further runs fire until you [resume](https://docs.up2data.ai/v1/api/signals-resume/). Idempotent: pausing a paused signal returns it unchanged. Up2Data pauses a signal on its own when a run fails with `402 insufficient_credits` or `400 invalid_request`; those show the matching `pause_reason`. ## Request | Field | Type | Notes | |---|---|---| | `signal_id` **required** | `string` | Path parameter. The signal_id returned by POST /signals. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/pause" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/pause" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.post(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/pause"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "POST", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/pause" req, err := http.NewRequest("POST", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "paused", "active": false, "pause_reason": "manual", "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 3, "next_run_at": "2026-11-04T08:00:00Z", "last_run_at": "2026-11-03T08:00:00Z", "last_job_id": "job_7hd92kfa", "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-11-03T08:00:01Z" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "signal_paused", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 404 | `not_found` | No signal with this signal_id in your organization, or signal_id is not a UUID. | No | | 409 | `conflict` | The signal is completed. PATCH schedule.max_runs or schedule.ends_at to revive it. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Resume a signal Reactivate a paused signal, whether you paused it or Up2Data did. **POST** `https://api.up2data.ai/v1/signals/{signal_id}/resume` **Credits:** Free - **Mode:** synchronous Sets `active` to true and clears `pause_reason`. If `next_run_at` is already in the past the signal fires straight away, otherwise it waits for its next tick. A step that was skipped because of the pause, for example the run that hit `insufficient_credits`, is retried under the same `run_number`, so no step is lost. Idempotent on an active signal. ## Request | Field | Type | Notes | |---|---|---| | `signal_id` **required** | `string` | Path parameter. The signal_id returned by POST /signals. | ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/resume" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/resume" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.post(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/resume"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "POST", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/resume" req, err := http.NewRequest("POST", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "active", "active": true, "pause_reason": null, "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 3, "next_run_at": "2026-11-04T08:00:00Z", "last_run_at": "2026-11-03T08:00:00Z", "last_job_id": "job_7hd92kfa", "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-11-03T08:00:01Z" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "signal_resumed", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 404 | `not_found` | No signal with this signal_id in your organization, or signal_id is not a UUID. | No | | 409 | `conflict` | The signal is completed. PATCH schedule.max_runs or schedule.ends_at to revive it. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # List signal runs A signal's run history, newest first, with the job_id each run created. **GET** `https://api.up2data.ai/v1/signals/{signal_id}/runs` **Credits:** Free - **Mode:** synchronous One entry per tick. `job_id` is the batch job that run submitted; read its results with [`GET /v1/batch/{job_id}`](https://docs.up2data.ai/v1/api/batch-get/) or [`GET /v1/batch/{job_id}/results`](https://docs.up2data.ai/v1/api/batch-results/). A `deferred` run was rate limited at submission and is retried after `Retry-After` under the same `run_number`; a `failed` run carries the error from its last attempt. `signal_id` is a path parameter; `limit` and `offset` are query parameters. ## Request | Field | Type | Notes | |---|---|---| | `signal_id` **required** | `string` | Path parameter. The signal_id returned by POST /signals. | | `limit` | `integer` | Query parameter. 1 to 200, default 50. | | `offset` | `integer` | Query parameter. Default 0. | ## Call it **cURL** ```bash curl -X GET "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/runs?limit=50" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/runs?limit=50" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.get(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/runs?limit=50"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "GET", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/signals/9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11/runs?limit=50" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "runs": [ { "run_id": "4b8e0c1d-2a6f-4c3b-9e7d-5f1a2b3c4d5e", "run_number": 3, "scheduled_for": "2026-11-03T08:00:00Z", "started_at": "2026-11-03T08:00:00Z", "finished_at": "2026-11-03T08:00:01Z", "status": "succeeded", "attempts": 1, "job_id": "job_7hd92kfa", "error": null }, { "run_id": "0c2d4e6f-8a1b-4c3d-9e5f-7a9b1c3d5e7f", "run_number": 2, "scheduled_for": "2026-11-02T08:00:00Z", "started_at": "2026-11-02T08:00:00Z", "finished_at": "2026-11-02T08:00:14Z", "status": "failed", "attempts": 3, "job_id": null, "error": "up2data responded 500: internal_error" }, { "run_id": "1d3e5f7a-9b2c-4d4e-8f6a-0b2c4d6e8f0a", "run_number": 1, "scheduled_for": "2026-11-01T08:00:00Z", "started_at": "2026-11-01T08:00:00Z", "finished_at": "2026-11-01T08:00:01Z", "status": "succeeded", "attempts": 1, "job_id": "job_3xk81mqp", "error": null } ], "total": 3, "limit": 50, "offset": 0 }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "success", "requestId": "req_t4sk0001" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 400 | `invalid_request` | limit is outside 1 to 200 or offset is negative. | No | | 404 | `not_found` | No signal with this signal_id in your organization, or signal_id is not a UUID. | No | | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the 5,000 requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | | 503 | `upstream_error` | The scheduling service is unreachable. Safe to retry. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Get account Balance, tier, monthly credit usage, and rate limits, for free. **GET** `https://api.up2data.ai/v1/account` **Credits:** Free - **Mode:** synchronous Poll it from dashboards and billing alerts as often as you like; this call is always free. `credits_used_this_month` is the net credits charged since the start of the calendar month, with refunds (such as an unused Sales Navigator search reservation) already subtracted. `rate_limit` reports the limits that apply to your organization, which can differ from the defaults in [Rate limits](https://docs.up2data.ai/v1/guides/rate-limits/). `signals` and `monitoring` report fixed defaults: Signals are not offered yet. `webhook.signing_secret` is the secret that signs your [batch.completed](https://docs.up2data.ai/v1/guides/webhooks/) deliveries; it is created the first time it is read or used, and replaced by [`POST /v1/account/webhook-secret/rotate`](https://docs.up2data.ai/v1/api/account-webhook-secret-rotate/). Treat this response as sensitive. The `meta` object on this response has no `latencyMs`. ## Request No request body. ## Call it **cURL** ```bash curl -X GET "https://api.up2data.ai/v1/account" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/account" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.get(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/account"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "GET", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/account" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "account_id": "64f1c2a9e4b0a1d2c3e4f5a6", "tier": "growth", "credits_remaining": 98413, "credits_used_this_month": 41587, "price_per_1k_credits_usd": 1.25, "rate_limit": { "requests_per_minute": 5000, "concurrent_batch_jobs": 100, "searches_per_hour": 5000, "searches_remaining_this_hour": 4997 }, "signals": { "active": 0, "paused": 0, "max_active": 5000, "estimated_monthly_credits": 0 }, "monitoring": { "default_webhook_url": null, "monthly_check_budget": 10000, "checks_spent_this_month": 0 }, "webhook": { "signing_secret": "whsec_4f0c9b2e7a1d8c6b5e3f2a1908d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2918079", "signature_header": "X-Up2Data-Signature" } }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "success", "requestId": "req_ac10mmd2" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the per-key requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Rotate webhook signing secret Replace the secret that signs your batch.completed webhooks, for free. **POST** `https://api.up2data.ai/v1/account/webhook-secret/rotate` **Credits:** Free - **Mode:** synchronous Issues a new `whsec_` secret for your organization and discards the old one in the same step. There is no overlap window: every webhook delivered after this call, including retries of earlier jobs, is signed with the new secret, so update your verifier before you rotate. The same secret is shown under Settings, Webhook Integrations in the portal and in `webhook.signing_secret` on [`GET /v1/account`](https://docs.up2data.ai/v1/api/account-get/). The `meta` object on this response has no `latencyMs`. ## Request No request body. ## Call it **cURL** ```bash curl -X POST "https://api.up2data.ai/v1/account/webhook-secret/rotate" \ -H "X-API-Key: YOUR_API_KEY" ``` **Python** ```python import requests url = "https://api.up2data.ai/v1/account/webhook-secret/rotate" headers = { "X-API-Key": "YOUR_API_KEY", } response = requests.post(url, headers=headers) print(response.json()) ``` **Node** ```javascript const url = "https://api.up2data.ai/v1/account/webhook-secret/rotate"; const headers = { "X-API-Key": "YOUR_API_KEY", }; const response = await fetch(url, { method: "POST", headers, }); const data = await response.json(); console.log(data); ``` **Go** ```go package main import ( "fmt" "io" "net/http" ) func main() { url := "https://api.up2data.ai/v1/account/webhook-secret/rotate" req, err := http.NewRequest("POST", url, nil) if err != nil { panic(err) } req.Header.Set("X-API-Key", "YOUR_API_KEY") client := &http.Client{} resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() respBody, _ := io.ReadAll(resp.Body) fmt.Println(string(respBody)) } ``` ## Response **200** ```json { "data": { "signing_secret": "whsec_9c2e7a1d8c6b5e3f2a1908d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a29180794f0c", "signature_header": "X-Up2Data-Signature" }, "meta": { "creditsUsed": 0, "creditsRemaining": 98413, "billed": false, "reason": "success", "requestId": "req_ac10mmd3" } } ``` ## Errors | Status | Type | When | Billed | |---|---|---|---| | 401 | `invalid_api_key` | Missing, malformed, or revoked key. | No | | 429 | `rate_limited` | Over the per-key requests/min limit. Honor Retry-After. | No | | 500 | `internal_error` | Something broke on the server side. | No | See the [Errors guide](https://docs.up2data.ai/v1/guides/errors/) for every error type this version can return. --- # Profile A full live LinkedIn profile record, as returned by profile enrich and batch profile items. **Returned by:** [POST /profiles/enrich](https://docs.up2data.ai/v1/api/profiles-enrich/), BatchJobResult.results[].data (profile items) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | Canonical profile URL, https://www.linkedin.com/in/. | | `public_identifier` | `string` | LinkedIn vanity identifier. | | `linkedin_id` | `string` | Numeric LinkedIn member ID. | | `full_name` | `string` | | | `first_name` | `string` | | | `last_name` | `string` | | | `headline` | `string` | | | `industry` | `string` | The person's industry as set on their profile, e.g. Software Development. | | `location.city` | `string` | | | `location.region` | `string` | | | `location.country` | `string` | | | `location.raw` | `string` | The location exactly as shown on the profile. | | `current_company.name` | `string` | The first position in the list with no end date. | | `current_company.url` | `string` | https://www.linkedin.com/company/ or https://www.linkedin.com/school/. | | `current_company.title` | `string` | | | `current_company.started_at` | `string` | | | `current_company.linkedin_id` | `string` | Numeric LinkedIn organization ID. | | `current_company.logo_url` | `string` | | | `current_company.industry` | `string` | | | `current_company.headcount` | `string` | | | `positions` | `object[]` | Covers at most the 10 most recent companies on the profile. LinkedIn groups work history by company and returns at most 10 company groups; every position inside those companies is included, so a person can have more than 10 positions, but roles at an 11th or older company are not returned. | | `positions[].title` | `string` | | | `positions[].company` | `string` | | | `positions[].company_url` | `string` | | | `positions[].linkedin_id` | `string` | Numeric LinkedIn organization ID for this role's company. | | `positions[].position_id` | `string` | | | `positions[].started_at` | `string` | | | `positions[].ended_at` | `string \| null` | | | `positions[].employment_type` | `string` | As set on the position, e.g. Full-time, Part-time, Contract, Self-employed. Absent when not set. | | `positions[].description` | `string` | | | `positions[].skills` | `string[]` | | | `positions[].company_industry` | `string` | | | `positions[].company_headcount` | `string` | | | `positions[].company_logo_url` | `string` | | | `positions[].location` | `object` | Where the role was based, as listed on the position: city, region, country, raw. Absent when the person did not set one. | | `positions[].company_details` | `Company` | Only with with_latest_company_details, on every current position (no ended_at) of the first 3 distinct current companies, or in a batch with with_all_company_details, on every position of the first 10 distinct companies. Same object as companies/enrich returns. | | `education[].school` | `string` | | | `education[].school_linkedin_id` | `string` | Numeric LinkedIn ID of the school page. Absent when the school has no LinkedIn page. | | `education[].school_url` | `string` | https://www.linkedin.com/school/ or https://www.linkedin.com/company/. Absent when the school has no LinkedIn page. | | `education[].degree` | `string` | | | `education[].field` | `string` | | | `education[].activities` | `string` | | | `education[].education_id` | `string` | | | `education[].school_logo_url` | `string` | | | `education[].started_at` | `string` | YYYY or YYYY-MM, when listed. | | `education[].ended_at` | `string` | YYYY or YYYY-MM, when listed. | | `skills` | `string[]` | Capped at the first 20 skills a profile lists. | | `about` | `string` | | | `email` | `string` | | | `phone` | `string` | | | `urn` | `string` | urn:li:member:{linkedin_id}. | | `profile_urn` | `string` | urn:li:fsd_profile:{member hash}. Pass it as urn to profile activity. | | `languages` | `string[]` | Omitted when none are listed. | | `language_proficiencies[].name` | `string` | Same languages as languages, with the proficiency the member picked. | | `language_proficiencies[].proficiency` | `string` | One of elementary, limited_working, professional_working, full_professional, native_or_bilingual. Omitted when the member did not pick one. | | `certifications[].name` | `string` | | | `certifications[].authority` | `string` | | | `certifications[].issued_at` | `string` | | | `certifications[].expires_at` | `string` | | | `certifications[].url` | `string` | | | `certifications[].linkedin_id` | `string` | Numeric LinkedIn company ID of the issuing organization, when listed. | | `certifications[].license_number` | `string` | License or credential number, when listed on the certificate. | | `certifications[].company_url` | `string` | LinkedIn company or school page of the issuing organization. Omitted when the issuer is not linked to a LinkedIn page. | | `certifications[].company_logo_url` | `string` | Logo of the issuing organization. Omitted when the issuer is not linked to a LinkedIn page. | | `publications[].title` | `string` | | | `publications[].publisher` | `string` | | | `publications[].published_at` | `string` | | | `publications[].url` | `string` | | | `publications[].authors` | `object[]` | Listed authors, each with name, and url when the author is linked to a LinkedIn profile. | | `patents[].title` | `string` | | | `patents[].number` | `string` | | | `patents[].issued_at` | `string` | | | `awards[].title` | `string` | | | `awards[].issuer` | `string` | | | `awards[].issued_at` | `string` | | | `courses[].name` | `string` | | | `courses[].number` | `string` | Course code, when listed. | | `interests` | `string[]` | | | `projects[].name` | `string` | | | `projects[].description` | `string` | | | `projects[].url` | `string` | | | `projects[].started_at` | `string` | | | `projects[].ended_at` | `string \| null` | | | `volunteering[].role` | `string` | | | `volunteering[].organization` | `string` | | | `volunteering[].organization_linkedin_id` | `string` | Numeric LinkedIn organization ID, when the organization has a page. | | `volunteering[].cause` | `string` | e.g. Children, Education, Science and technology. | | `volunteering[].description` | `string` | | | `volunteering[].started_at` | `string` | | | `volunteering[].ended_at` | `string \| null` | | | `recommendations` | `Recommendation[]` | See the Recommendation schema. | | `primary_locale` | `string` | | | `is_premium` | `boolean` | | | `is_verified` | `boolean` | True when the profile shows LinkedIn's verified badge. Included when with_followers_and_connections or with_verification_details is true, or listed in fields. | | `verification_details` | `object` | Only with with_verification_details, or listed in fields. The profile's "About this profile" panel. | | `verification_details.joined` | `string` | Month the member joined LinkedIn, e.g. June 2023. | | `verification_details.contact_info_updated` | `string` | Relative text, e.g. Updated less than 1 week ago. | | `verification_details.profile_photo_updated` | `string` | Relative text, e.g. Updated over 1 year ago. | | `verification_details.verifications` | `object[]` | Empty when the profile has no verifications. | | `verification_details.verifications[].type` | `string` | e.g. identity, workplace. | | `verification_details.verifications[].description` | `string` | How it was verified, e.g. Verified by Persona using government ID, or Vega IT: Verified using work email. | | `verification_details.verifications[].verified_when` | `string` | Relative text, e.g. Less than 6 months ago. | | `is_open_profile` | `boolean` | | | `is_open_to_work` | `boolean` | | | `is_hiring` | `boolean` | True when the profile photo carries the #Hiring frame. | | `is_creator` | `boolean` | LinkedIn creator mode. | | `is_influencer` | `boolean` | LinkedIn Top Voice / influencer. | | `job_preferences.titles` | `string[]` | Present when is_open_to_work is true. | | `job_preferences.locations` | `string[]` | Present when is_open_to_work is true. | | `job_preferences.workplace_types` | `string[]` | Enum per item: remote, hybrid, onsite. | | `job_preferences.start_timing` | `string` | | | `connections_count` | `integer` | Included when with_followers_and_connections is true, or listed in fields. | | `followers_count` | `integer` | Included when with_followers_and_connections is true, or listed in fields. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `profile_picture_url` | `string` | LinkedIn headshot CDN URL. | | `background_picture_url` | `string` | Profile cover image CDN URL. | ## Sample ```json { "url": "https://www.linkedin.com/in/satyanadella", "full_name": "Satya Nadella", "first_name": "Satya", "last_name": "Nadella", "public_identifier": "satyanadella", "headline": "Chairman and CEO at Microsoft", "industry": "Software Development", "location": { "city": "Redmond", "region": "Washington", "country": "United States", "raw": "Redmond, Washington, United States" }, "about": "Empowering every person and every organization on the planet to achieve more.", "urn": "urn:li:member:19186432", "linkedin_id": "19186432", "profile_urn": "urn:li:fsd_profile:ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk", "positions": [ { "title": "Chairman and CEO", "company": "Microsoft", "company_url": "https://www.linkedin.com/company/microsoft", "linkedin_id": "1035", "position_id": "urn:li:fsd_profilePosition:(ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk,2227646598)", "started_at": "2014-02", "ended_at": null, "employment_type": "Full-time", "location": { "city": "Redmond", "region": "Washington", "country": "United States", "raw": "Redmond, Washington, United States" }, "description": "CEO since 2014; Chairman since 2021.", "skills": ["Cloud Computing", "Leadership"], "company_industry": "Software Development", "company_headcount": "10001+", "company_logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/microsoft" } ], "current_company": { "name": "Microsoft", "url": "https://www.linkedin.com/company/microsoft", "linkedin_id": "1035", "title": "Chairman and CEO", "started_at": "2014-02", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/microsoft", "industry": "Software Development", "headcount": "10001+" }, "education": [ { "school": "The University of Chicago Booth School of Business", "school_linkedin_id": "8398", "school_url": "https://www.linkedin.com/school/chicagobooth", "degree": "MBA", "field": "Business Administration", "activities": "President, High Tech Club", "education_id": "urn:li:fsd_profileEducation:(ACoAAAEyX8gBmX0wjgGmBhKd8rC5WYkYlKk,615479904)", "school_logo_url": "https://media.licdn.com/dms/image/v2/C4D0BAQExample/company-logo_200_200/0/chicago-booth", "started_at": "1994", "ended_at": "1996" } ], "skills": ["Cloud Computing", "Leadership", "Enterprise Software", "Artificial Intelligence (AI)", "Strategy", "Product Management"], "languages": ["English", "Telugu"], "language_proficiencies": [{ "name": "English", "proficiency": "full_professional" }, { "name": "Telugu", "proficiency": "native_or_bilingual" }], "certifications": [ { "name": "AWS Certified Cloud Practitioner", "authority": "Amazon Web Services (AWS)", "issued_at": "2023-04", "expires_at": "2026-04", "url": "https://www.credly.com/badges/example-aws", "linkedin_id": "2382910", "license_number": "AWS-CCP-4821937", "company_url": "https://www.linkedin.com/company/amazon-web-services", "company_logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/aws" } ], "publications": [ { "title": "Hit Refresh", "publisher": "Harper Business", "published_at": "2017-09", "url": "https://www.harpercollins.com/products/hit-refresh", "authors": [{ "name": "Satya Nadella", "url": "https://www.linkedin.com/in/satyanadella" }] } ], "patents": [ { "title": "Distributed resource management in a cloud computing environment", "number": "US10127086B2", "issued_at": "2018-11" } ], "awards": [ { "title": "Financial Times Person of the Year", "issuer": "Financial Times", "issued_at": "2019" } ], "courses": [ { "name": "Advanced Corporate Strategy", "number": "BUS 42001" } ], "interests": ["Artificial Intelligence", "Climate", "Education"], "projects": [ { "name": "Microsoft Azure", "description": "Hyperscale cloud for enterprises and developers.", "url": "https://azure.microsoft.com", "started_at": "2011-02", "ended_at": null } ], "volunteering": [ { "role": "Board Member", "organization": "Fred Hutch", "organization_linkedin_id": "7158", "cause": "Health", "started_at": "2016", "ended_at": "2022" } ], "recommendations": [ { "text": "Satya is an exceptional leader who sets a high bar for culture and product.", "relationship": "Worked with Satya on the same team", "created_at": "2021-03-15T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/example-vp", "full_name": "Alex Example", "headline": "EVP, Cloud + AI at Microsoft", "urn": "ACoAABOPHB8BM6example" } } ], "primary_locale": "en_US", "is_premium": true, "is_verified": true, "verification_details": { "joined": "June 2023", "contact_info_updated": "Updated less than 1 week ago", "profile_photo_updated": "Updated over 1 year ago", "verifications": [ { "type": "identity", "description": "Verified by Persona using government ID", "verified_when": "Less than 6 months ago" } ] }, "is_open_profile": false, "is_open_to_work": true, "is_hiring": false, "is_creator": true, "is_influencer": true, "profile_picture_url": "https://media.licdn.com/dms/image/v2/D5603AQExample/profile-displayphoto-shrink_800_800/0/satyanadella", "background_picture_url": "https://media.licdn.com/dms/image/v2/D5616AQExample/profile-displaybackgroundimage-shrink_1350_1350/0/satyanadella", "job_preferences": { "titles": ["Board Member", "Advisor"], "locations": ["Greater Seattle Area", "San Francisco Bay Area"], "workplace_types": ["hybrid", "remote"], "start_timing": "flexible" }, "followers_count": 11482930, "connections_count": 500, "scraped_at": "2026-07-07T14:00:04Z" } ``` --- # Company Live firmographics for a LinkedIn company page, as returned by company enrich and batch company items. **Returned by:** [POST /companies/enrich](https://docs.up2data.ai/v1/api/companies-enrich/), BatchJobResult.results[].data (company items) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | | | `name` | `string` | | | `linkedin_id` | `string` | Numeric LinkedIn organization ID. Usable as a people-search filters.company_ids value. | | `website` | `string` | As written on the LinkedIn page, e.g. https://news.microsoft.com/. Not normalized to a root domain. | | `phone` | `string` | As listed in the page About section, with " ext. " when LinkedIn has an extension. Absent when not listed. | | `description` | `string` | | | `tagline` | `string` | The one-liner under the company name. Absent when not set. | | `industry` | `string` | | | `industry_v2` | `string` | Current LinkedIn industry name, e.g. Software Development. industry keeps the legacy name, e.g. Computer Software. | | `company_type` | `string` | LinkedIn company type, e.g. Public Company, Privately Held, Non Profit. Only with with_company_type. | | `logo_url` | `string` | 400x400 logo image URL. | | `cover_image_url` | `string` | Page cover image URL. | | `headcount` | `integer` | | | `headcount_growth_6m` | `number` | e.g. 0.12 means +12%. | | `company_size.min` | `integer` | | | `company_size.max` | `integer` | | | `founded` | `integer` | | | `hq.city` | `string` | | | `hq.region` | `string` | | | `hq.country` | `string` | ISO 3166-1 alpha-2 code, e.g. US. | | `hq.address` | `string` | Street address line. | | `hq.postal_code` | `string` | | | `hq.latitude` | `number` | | | `hq.longitude` | `number` | | | `hq.raw` | `string` | Country, city, region, address and postal code joined with ", ". | | `locations[].city` | `string` | | | `locations[].region` | `string` | | | `locations[].country` | `string` | | | `locations[].address` | `string` | Street address line. | | `locations[].postal_code` | `string` | | | `locations[].latitude` | `number` | | | `locations[].longitude` | `number` | | | `locations[].is_hq` | `boolean` | Exactly one entry is true when LinkedIn lists a headquarters. | | `specialties` | `string[]` | | | `funding.total_usd` | `integer` | | | `funding.last_round.type` | `string` | | | `funding.last_round.amount_usd` | `integer` | | | `funding.last_round.date` | `string` | | | `scraped_at` | `string` | ISO 8601 timestamp. | | `followers_count` | `integer` | Up2Data extra, returned after scraped_at. | | `hashtags` | `string[]` | Hashtags the page lists, including the leading #. Omitted when it lists none. Up2Data extra. | | `claimable` | `boolean` | True when the page is unclaimed, i.e. LinkedIn generated it and no admin has taken it over. Up2Data extra. | ## Sample ```json { "url": "https://www.linkedin.com/company/anthropic", "linkedin_id": "74126343", "name": "Anthropic", "website": "https://anthropic.com", "description": "AI safety and research company.", "tagline": "AI research and products that put safety at the frontier.", "industry": "Research Services", "industry_v2": "Research Services", "company_type": "Privately Held", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_400_400/0/anthropic", "cover_image_url": "https://media.licdn.com/dms/image/v2/D563DAQExample/image-scale_191_1128/0/anthropic", "phone": "+1 415 555 0100", "headcount": 2841, "headcount_growth_6m": 0.34, "company_size": { "min": 1001, "max": 5000 }, "founded": 2021, "hq": { "city": "San Francisco", "region": "California", "country": "US", "address": "500 Howard St", "postal_code": "94105", "latitude": 37.78797, "longitude": -122.39653, "raw": "US, San Francisco, California, 500 Howard St, 94105" }, "locations": [ { "city": "San Francisco", "region": "California", "country": "US", "address": "500 Howard St", "postal_code": "94105", "latitude": 37.78797, "longitude": -122.39653, "is_hq": true }, { "city": "London", "region": "England", "country": "GB", "is_hq": false } ], "specialties": ["Artificial Intelligence", "AI Safety"], "funding": { "total_usd": 14300000000, "last_round": { "type": "Series F", "amount_usd": 3500000000, "date": "2026-03" } }, "scraped_at": "2026-07-07T14:00:03Z", "followers_count": 1204800, "hashtags": ["#anthropic"], "claimable": false } ``` --- # Post A single LinkedIn post with live engagement counts, as returned by post enrich, batch post items, and profile activity (kind posts or reposts). **Returned by:** [POST /posts/enrich](https://docs.up2data.ai/v1/api/posts-enrich/), [POST /search/posts](https://docs.up2data.ai/v1/api/search-posts/), BatchJobResult.results[].data (post items), ProfileActivityResult.posts, ProfileActivityResult.reposts ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | | | `urn` | `string` | Numeric activity URN. | | `share_urn` | `string` | Full share URN (urn:li:share:...) from post enrich and batch post items; numeric from profile activity. | | `author.name` | `string` | | | `author.url` | `string` | From post enrich and batch post items, the profile URL as LinkedIn links it, including its miniProfileUrn query. | | `author.headline` | `string` | Omitted when LinkedIn does not return it. | | `author.profile_picture_url` | `string` | Omitted when the author has no picture, and on company authors. | | `text` | `string` | | | `posted_at` | `string` | ISO 8601 timestamp. | | `reactions_count` | `integer` | | | `comments_count` | `integer` | | | `reposts_count` | `integer` | | | `reaction_counts` | `object` | Reaction count per type. Keys: like, praise, empathy, appreciation, interest, entertainment. Only types the post received are present, and reaction_counts is omitted when the post has no reactions. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `media[].type` | `string` | Enum: image, video, document. media is omitted when the post has none. | | `media[].url` | `string` | | | `media[].thumbnail_url` | `string` | Video thumbnail. | | `media[].title` | `string` | Document title. | | `media[].duration_ms` | `integer` | Video duration in milliseconds. | | `article.title` | `string` | article is omitted unless the post links an article. | | `article.subtitle` | `string` | | | `article.url` | `string` | | | `article.thumbnail_url` | `string` | | | `reposted_post.url` | `string` | reposted_post is a summary of the original post, omitted unless this post is a repost. Call post enrich with its urn for the full post. | | `reposted_post.urn` | `string` | Numeric activity URN of the original post. | | `reposted_post.text_snippet` | `string` | | | `reposted_post.author` | `object` | name, url and headline of the original author. | | `reposted_post.reactions_count` | `integer` | | | `reposted_post.comments_count` | `integer` | | | `reposted_post.reposts_count` | `integer` | | ## Sample ```json { "url": "https://linkedin.com/posts/ceo_launch-activity-7215", "urn": "7267273010393358336", "share_urn": "urn:li:share:7315779815297421316", "author": { "name": "Jane Doe", "url": "https://www.linkedin.com/in/janedoe?miniProfileUrn=urn%3Ali%3Afsd_profile%3AACoAABOPHB8BM6example", "headline": "CEO at Example" }, "text": "Today we're launching...", "posted_at": "2026-07-06T18:45:00Z", "reactions_count": 1204, "comments_count": 187, "reposts_count": 96, "reaction_counts": { "like": 1100, "praise": 104 }, "scraped_at": "2026-07-07T14:00:02Z", "media": [{ "type": "image", "url": "https://media.licdn.com/..." }] } ``` --- # LeadResult One people search result from Sales Navigator, as returned by search people, Sales Navigator people search, and batch people search items. Pipe url into profile enrich for the full record. **Returned by:** [POST /search/people](https://docs.up2data.ai/v1/api/search-people/), [POST /search/people/sales-nav](https://docs.up2data.ai/v1/api/search-people-sales-nav/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/in/. | | `full_name` | `string` | | | `location.city` | `string` | A single-part metro area comes back as city only, without a leading "Greater" or trailing "Area" ("Greater Tucson Area" becomes "Tucson"). | | `location.region` | `string` | | | `location.country` | `string` | Any other single-part location ("Singapore") comes back as country only. | | `positions[].title` | `string` | Current positions only. Titles and descriptions are trimmed. | | `positions[].company` | `string` | | | `positions[].company_url` | `string` | https://www.linkedin.com/company/. | | `positions[].linkedin_id` | `string` | Numeric LinkedIn organization ID. | | `positions[].started_at` | `string` | YYYY-MM or YYYY. | | `positions[].ended_at` | `null` | Always null: every listed position is current. | | `positions[].description` | `string` | | | `positions[].company_industry` | `string` | | | `current_company.name` | `string` | The first current position. | | `current_company.url` | `string` | | | `current_company.linkedin_id` | `string` | | | `current_company.title` | `string` | | | `current_company.started_at` | `string` | | | `current_company.logo_url` | `string` | | | `current_company.industry` | `string` | | | `is_premium` | `boolean` | | | `linkedin_id` | `string` | Numeric LinkedIn member ID, when Sales Navigator returns it. | | `about` | `string` | | | `urn` | `string` | | | `is_open_profile` | `boolean` | | | `profile_picture_url` | `string` | | | `scraped_at` | `string` | ISO 8601 timestamp. | ## Sample ```json { "url": "https://www.linkedin.com/in/ACwAAAtrDxoBpU0UuxqsRapB-BUxVWrU38-8c0g", "full_name": "Tong Zhi", "location": { "city": "London", "region": "England", "country": "United Kingdom" }, "positions": [{ "title": "Co-Founder & CTO", "company": "HireHarbour", "company_url": "https://www.linkedin.com/company/100124585", "linkedin_id": "100124585", "started_at": "2023-10", "ended_at": null, "description": "Helping businesses by finding experienced, high quality remote staff." }], "current_company": { "name": "HireHarbour", "url": "https://www.linkedin.com/company/100124585", "linkedin_id": "100124585", "title": "Co-Founder & CTO", "started_at": "2023-10" }, "is_premium": true } ``` --- # AccountResult One company search result from Sales Navigator, as returned by Sales Navigator company search and batch company search items. Pipe url into company enrich for the full record. **Returned by:** [POST /search/companies/sales-nav](https://docs.up2data.ai/v1/api/search-companies-sales-nav/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/company/. | | `name` | `string` | | | `linkedin_id` | `string` | Numeric LinkedIn company ID. | | `industry` | `string` | | | `description` | `string` | | | `headcount` | `integer` | | | `company_size.min` | `integer` | | | `company_size.max` | `integer` | Omitted for the open-ended 10,001+ bucket. | | `scraped_at` | `string` | ISO 8601 timestamp. | ## Sample ```json { "url": "https://www.linkedin.com/company/74126343", "name": "Anthropic", "linkedin_id": "74126343", "industry": "Research Services", "description": "AI safety and research company.", "headcount": 2841, "company_size": { "min": 1001, "max": 5000 }, "scraped_at": "2026-07-08T12:00:00Z" } ``` --- # SearchPerson One standard people search result: the identity and headline LinkedIn's regular search shows. Pipe url into profile enrich or a batch for the full record. **Returned by:** [POST /search/people/standard](https://docs.up2data.ai/v1/api/search-people-standard/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/in/, or the member URN in place of the slug when LinkedIn hides the vanity name. | | `public_identifier` | `string` | Omitted when LinkedIn hides it. | | `linkedin_id` | `string` | Numeric LinkedIn member ID. | | `urn` | `string` | Member URN (ACoAA...). | | `full_name` | `string` | | | `headline` | `string` | | | `profile_picture_url` | `string` | | | `location.city` | `string` | | | `location.region` | `string` | | | `location.country` | `string` | | | `scraped_at` | `string` | ISO 8601 timestamp. | ## Sample ```json { "url": "https://www.linkedin.com/in/thmeyer", "public_identifier": "thmeyer", "linkedin_id": "16113090", "urn": "ACoAAAD13cIBbJUHDIuBAw-cS8NSsTdXj2fAYtc", "full_name": "Thomas Meyer", "headline": "CTO / Software Architect at Inalp", "location": { "city": "Greater Bern Area" }, "scraped_at": "2026-09-25T21:52:56.000Z" } ``` --- # SearchCompany One standard company search result: what LinkedIn's regular search shows. Pipe url into company enrich or a batch for the full record. **Returned by:** [POST /search/companies](https://docs.up2data.ai/v1/api/search-companies/), [POST /search/companies/standard](https://docs.up2data.ai/v1/api/search-companies-standard/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/company/. | | `name` | `string` | | | `linkedin_id` | `string` | Numeric LinkedIn company ID. | | `industry` | `string` | | | `description` | `string` | The tagline LinkedIn shows in search. | | `hq.city` | `string` | | | `hq.region` | `string` | | | `hq.country` | `string` | | | `scraped_at` | `string` | ISO 8601 timestamp. | | `logo_url` | `string` | | ## Sample ```json { "url": "https://www.linkedin.com/company/pharos-production-web3-software-development", "name": "Pharos Production", "linkedin_id": "9226307", "industry": "Software Development", "description": "Custom AI, FinTech, Web3 and enterprise software", "hq": { "city": "Las Vegas", "region": "Nevada" }, "scraped_at": "2026-09-25T21:52:56.000Z" } ``` --- # JobPosting One job search result. **Returned by:** [POST /search/jobs](https://docs.up2data.ai/v1/api/search-jobs/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/jobs/view/. | | `title` | `string` | | | `company.name` | `string` | | | `company.url` | `string` | Canonical company page URL. | | `company.linkedin_id` | `string` | Numeric LinkedIn organization ID. | | `company.logo_url` | `string` | | | `location` | `string` | As shown on the job card, including the workplace suffix when LinkedIn shows one, e.g. Serbia (Remote). | | `posted_at` | `string` | ISO 8601 timestamp. | | `workplace_type` | `string` | Enum: remote, hybrid, onsite. Omitted when LinkedIn does not show it. | | `description_snippet` | `string` | First 500 characters of the description. Omitted when the live call ran out of time before reading this job. | | `job_id` | `string` | Numeric LinkedIn job ID. | | `employment_type` | `string` | Lowercase, e.g. full-time. Present alongside description_snippet. | | `hiring_team` | `object[]` | Only with with_hiring_team. The posting's "Meet the hiring team" people; often an empty array, since LinkedIn shows a hiring team on only a minority of postings. Omitted for jobs the live call ran out of time before looking up. | | `hiring_team[].full_name` | `string` | | | `hiring_team[].headline` | `string` | | | `hiring_team[].url` | `string` | Public profile URL. | | `hiring_team[].public_identifier` | `string` | | | `hiring_team[].linkedin_id` | `string` | Numeric LinkedIn member ID. | | `hiring_team[].urn` | `string` | LinkedIn member URN (ACoAA...). | | `hiring_team[].profile_picture_url` | `string` | | | `hiring_team[].is_job_poster` | `boolean` | True for the member who posted the job. | ## Sample ```json { "url": "https://www.linkedin.com/jobs/view/4470130770", "title": "Full-Stack Agentic Engineer (focus on Backend)", "company": { "name": "Apoddo", "url": "https://www.linkedin.com/company/apoddo-llp", "linkedin_id": "11571939" }, "location": "Serbia (Remote)", "posted_at": "2026-09-25T09:22:27.000Z", "workplace_type": "remote", "description_snippet": "Apoddo is a software development-as-a-service company...", "job_id": "4470130770", "employment_type": "full-time" } ``` --- # JobDetail The data object returned by job enrich: the JobPosting fields plus the full description and posting state. **Returned by:** [POST /jobs/enrich](https://docs.up2data.ai/v1/api/jobs-enrich/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/jobs/view/. | | `title` | `string` | | | `company.name` | `string` | | | `company.url` | `string` | | | `company.linkedin_id` | `string` | Numeric LinkedIn organization ID. | | `company.industry` | `string` | Industry LinkedIn files the posting under. | | `company.logo_url` | `string` | | | `location` | `string` | | | `posted_at` | `string` | ISO 8601 timestamp. | | `description_snippet` | `string` | First 500 characters of the description. | | `job_id` | `string` | Numeric LinkedIn job ID. | | `description` | `string` | Full description text. | | `employment_type` | `string` | e.g. Full-time, Contract. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `job_state` | `string` | e.g. LISTED, CLOSED. | | `expires_at` | `string` | ISO 8601 timestamp. | | `closed_at` | `string` | ISO 8601 timestamp. Omitted while the posting is open. | | `hiring_team` | `object[]` | Only with with_hiring_team. The posting's "Meet the hiring team" people; often an empty array, since LinkedIn shows a hiring team on only a minority of postings. | | `hiring_team[].full_name` | `string` | | | `hiring_team[].headline` | `string` | | | `hiring_team[].url` | `string` | Public profile URL. | | `hiring_team[].public_identifier` | `string` | | | `hiring_team[].linkedin_id` | `string` | Numeric LinkedIn member ID. | | `hiring_team[].urn` | `string` | LinkedIn member URN (ACoAA...). | | `hiring_team[].profile_picture_url` | `string` | | | `hiring_team[].is_job_poster` | `boolean` | True for the member who posted the job. | ## Sample ```json { "url": "https://www.linkedin.com/jobs/view/4470130770", "title": "Full-Stack Agentic Engineer (focus on Backend)", "company": { "name": "Apoddo", "url": "https://www.linkedin.com/company/apoddo-llp", "linkedin_id": "11571939", "industry": "Software Development" }, "location": "Serbia", "posted_at": "2026-09-25T09:22:27.000Z", "description_snippet": "Apoddo is a software development-as-a-service company...", "job_id": "4470130770", "description": "Apoddo is a software development-as-a-service company. ...", "employment_type": "Full-time", "scraped_at": "2026-09-25T21:55:52.000Z", "job_state": "LISTED", "expires_at": "2027-03-24T09:22:27.000Z" } ``` --- # Recommendation One LinkedIn recommendation, nested under a Profile. **Returned by:** Profile.recommendations, ProfileRecommendationsResult.given, ProfileRecommendationsResult.received ## Fields | Field | Type | Notes | |---|---|---| | `text` | `string` | | | `relationship` | `string` | | | `created_at` | `string \| null` | ISO 8601 timestamp. | | `person.url` | `string` | | | `person.full_name` | `string` | | | `person.headline` | `string` | | | `person.urn` | `string` | | ## Sample ```json { "text": "Satya is an exceptional leader who sets a high bar for culture and product.", "relationship": "Worked with Satya on the same team", "created_at": "2021-03-15T00:00:00Z", "person": { "url": "https://linkedin.com/in/example-vp", "full_name": "Alex Example", "headline": "EVP, Cloud + AI at Microsoft", "urn": "ACoAABOPHB8BM6example" } } ``` --- # ProfileRecommendationsResult The data object returned by profile recommendations: one block per requested direction. **Returned by:** [POST /profiles/recommendations](https://docs.up2data.ai/v1/api/profiles-recommendations/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL, https://www.linkedin.com/in/. | | `public_identifier` | `string` | Resolved profile slug, the part after /in/. Resolved even when called with a member URN. | | `linkedin_id` | `string` | Numeric LinkedIn member ID. | | `urn` | `string` | LinkedIn member URN (ACoAA...). | | `direction` | `string` | Echo of the request. Enum: given, received, both. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `given.recommendations` | `Recommendation[]` | Present when direction is given or both. See the Recommendation schema. | | `given.pagination` | `Pagination` | page, per_page, has_more. Omitted when the list is empty. | | `received.recommendations` | `Recommendation[]` | Present when direction is received or both. | | `received.pagination` | `Pagination` | page, per_page, has_more. Omitted when the list is empty. | ## Sample ```json { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "direction": "received", "scraped_at": "2026-07-08T12:00:00Z", "received": { "recommendations": [ { "text": "Outstanding engineer and a generous mentor.", "relationship": "Sam worked with Jane on the same team", "created_at": "2025-01-10T00:00:00Z", "person": { "url": "https://www.linkedin.com/in/manager", "full_name": "Sam Manager", "headline": "Engineering Director at Example Corp", "urn": "ACoAABOPHB8BM6sammgr" } } ], "pagination": { "page": 1, "per_page": 10, "has_more": false } } } ``` --- # Interest One entity a profile follows: a person, company, group, newsletter, or school. **Returned by:** ProfileInterestsResult..interests ## Fields | Field | Type | Notes | |---|---|---| | `name` | `string` | | | `url` | `string` | LinkedIn page of the entity, tracking query removed. | | `urn` | `string` | Member URN for people, numeric id for companies, schools and groups. Omitted when LinkedIn does not expose one. | | `headline` | `string` | A person's headline or a page's tagline. Omitted when empty. | | `followers_count` | `integer` | Parsed from the caption for people, companies and schools. Omitted otherwise. | | `members_count` | `integer` | Parsed from the caption for groups. Omitted otherwise. | | `caption` | `string` | The line LinkedIn renders under the name, as shown ("141,007 followers", "Published weekly"). | | `logo_url` | `string` | Logo or profile picture. Omitted when absent. | ## Sample ```json { "name": "Example Corp", "url": "https://www.linkedin.com/company/example/", "urn": "1035", "headline": "B2B software for revenue teams", "followers_count": 141007, "caption": "141,007 followers", "logo_url": "https://media.licdn.com/dms/image/v2/C560BAQExample/company-logo_200_200/0/example" } ``` --- # ProfileInterestsResult The data object returned by profile interests: one block per requested category. **Returned by:** [POST /profiles/interests](https://docs.up2data.ai/v1/api/profiles-interests/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL, https://www.linkedin.com/in/. | | `public_identifier` | `string` | Resolved profile slug, the part after /in/. Resolved even when called with a member URN. | | `linkedin_id` | `string` | Numeric LinkedIn member ID. | | `urn` | `string` | LinkedIn member URN (ACoAA...). | | `category` | `string` | Echo of the request. Enum: all, influencers, companies, groups, newsletters, schools. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `.interests` | `Interest[]` | One block per requested category (all five when category is all), keyed influencers, companies, groups, newsletters, schools. See the Interest schema. | | `.pagination` | `Pagination` | page, per_page, has_more. Omitted when the list is empty. | ## Sample ```json { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "linkedin_id": "123456789", "urn": "ACoAABOPHB8BM6example", "category": "groups", "scraped_at": "2026-07-08T12:00:00Z", "groups": { "interests": [ { "name": "Revenue Operations", "url": "https://www.linkedin.com/groups/12345/", "urn": "12345", "members_count": 14182, "caption": "14,182 members" } ], "pagination": { "page": 1, "per_page": 10, "has_more": false } } } ``` --- # ProfileCountsResult The data object returned by profile counts. **Returned by:** [POST /profiles/counts](https://docs.up2data.ai/v1/api/profiles-counts/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | https://www.linkedin.com/in/, or the identifier you sent when LinkedIn returns none. | | `public_identifier` | `string` | Omitted when LinkedIn returns none. | | `urn` | `string` | LinkedIn member URN. | | `followers_count` | `integer \| null` | Null when LinkedIn does not return it. | | `connections_count` | `integer \| null` | Null when LinkedIn does not return it. | | `is_verified` | `boolean` | True when the profile carries a LinkedIn verification badge. | | `location` | `object` | country_code (ISO 3166-1 alpha-2) and postal_code, each omitted when not shown. Omitted when neither is. | | `creator_website` | `string` | The website link shown in the profile header. Omitted when not set. | | `current_company` | `object` | The company shown in the profile header: name, url, linkedin_id, started_at (YYYY or YYYY-MM). Omitted when none. | | `top_education` | `object` | The school shown in the profile header: school, school_linkedin_id, school_url. Omitted when none. | | `scraped_at` | `string` | ISO 8601 timestamp. | ## Sample ```json { "url": "https://www.linkedin.com/in/janedoe", "public_identifier": "janedoe", "urn": "ACoAABOPHB8BM6example", "followers_count": 5729, "connections_count": 5743, "is_verified": true, "location": { "country_code": "US", "postal_code": "94105" }, "creator_website": "https://janedoe.example.com", "current_company": { "name": "Example Corp", "url": "https://www.linkedin.com/company/example/", "linkedin_id": "1035", "started_at": "2023-09" }, "top_education": { "school": "Example University", "school_linkedin_id": "18483", "school_url": "https://www.linkedin.com/school/example-university/" }, "scraped_at": "2026-07-08T12:00:00Z" } ``` --- # CompanyJobsCountResult The data object returned by count company job openings. **Returned by:** [POST /companies/jobs-count](https://docs.up2data.ai/v1/api/companies-jobs-count/) ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | The company URL you sent, or https://www.linkedin.com/company/. | | `open_jobs_count` | `integer` | Active job postings, all locations. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `linkedin_id` | `string` | Numeric LinkedIn company ID. | ## Sample ```json { "url": "https://linkedin.com/company/anthropic", "open_jobs_count": 87, "scraped_at": "2026-07-08T12:00:00Z", "linkedin_id": "74126343" } ``` --- # CompanyPostsResult The data object returned by get company posts. **Returned by:** [POST /companies/posts](https://docs.up2data.ai/v1/api/companies-posts/) ## Fields | Field | Type | Notes | |---|---|---| | `posts` | `Post[]` | See the Post schema. share_urn and media come after scraped_at. | | `pagination` | `Pagination` | returned, max_results, pages_scraped, page, per_page, has_more, total_estimate. | | `pagination_token` | `string \| null` | Null on the last page. Pass back as pagination_token to fetch the next page. | ## Sample ```json { "posts": [ { "url": "https://www.linkedin.com/posts/anthropic_launch-activity-7267273010393358336-ab12", "urn": "7267273010393358336", "author": { "name": "Anthropic", "url": "https://www.linkedin.com/company/anthropicresearch/posts", "headline": "1,204,800 followers" }, "text": "Today we are announcing Claude 4, our most capable model yet.", "posted_at": "2026-07-06T18:45:00Z", "reactions_count": 4200, "comments_count": 312, "reposts_count": 890, "scraped_at": "2026-07-08T12:00:00Z", "share_urn": "7315779815297421316" } ], "pagination": { "returned": 1, "max_results": 25, "pages_scraped": 1, "page": 1, "per_page": 25, "has_more": true, "total_estimate": 234 }, "pagination_token": "eyJwYWdlIjoyfQ" } ``` --- # CompanyHeadcountResult The data object returned by find custom headcount. **Returned by:** [POST /companies/headcount](https://docs.up2data.ai/v1/api/companies-headcount/) ## Fields | Field | Type | Notes | |---|---|---| | `company_url` | `string` | Echo of the request url (or legacy company_url). | | `count` | `integer` | Current employees matching every filter. | | `filters_applied` | `object` | Echo of the request filters. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `linkedin_id` | `string` | Numeric LinkedIn company ID. | ## Sample ```json { "company_url": "https://linkedin.com/company/anthropic", "count": 142, "filters_applied": { "titles": ["Software Engineer"], "locations": ["United States"] }, "scraped_at": "2026-07-08T12:00:00Z", "linkedin_id": "74126343" } ``` --- # ProfileActivityMultiResult The data object returned by profile activity when kind is an array or all: one section per requested kind. **Returned by:** [POST /profiles/activity](https://docs.up2data.ai/v1/api/profiles-activity/) ## Fields | Field | Type | Notes | |---|---|---| | `kinds` | `string[]` | The requested kinds, deduplicated, in request order. all expands to posts, comments, reactions, reposts. | | `url` | `string` | Profile URL, https://www.linkedin.com/in/. | | `urn` | `string` | | | `last_activity_at` | `string \| null` | ISO 8601. The most recent activity across the requested kinds (all crawled items, not just this page, ignoring posted_within). Relative LinkedIn times are resolved against the scrape time. Reactions count with the reacted-to post's publish time, a lower bound. Null when no item carries a usable time. | | `posts` | `ActivityKindSection` | Present when posts was requested. items are Post objects. | | `comments` | `ActivityKindSection` | Present when comments was requested. items are ActivityComment objects. | | `reactions` | `ActivityKindSection` | Present when reactions was requested. items are ActivityReaction objects. | | `reposts` | `ActivityKindSection` | Present when reposts was requested. items are Post objects. | | `.items` | `object[]` | This page of the kind. | | `.pagination` | `Pagination` | See the Pagination schema. | | `.truncated` | `boolean` | Same meaning as on ProfileActivityResult. A kind LinkedIn refused is not billed and comes back empty with truncation_reason linkedin_refused. | | `.truncation_reason` | `string \| null` | linkedin_refused, item_limit, visibility_window, or null. | | `scraped_at` | `string` | ISO 8601 timestamp. | | `pagination_token` | `string \| null` | Set while any kind has more. The page is shared across kinds. | ## Sample ```json { "kinds": ["posts", "comments"], "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "last_activity_at": "2026-07-07T12:00:00.000Z", "posts": { "items": [{ "url": "https://linkedin.com/posts/janedoe_launch-activity-7215", "urn": "7267273010393358336", "posted_at": "2026-07-06T18:45:00Z" }], "pagination": { "page": 1, "per_page": 25, "returned": 1, "has_more": false, "total_estimate": 1 }, "truncated": false, "truncation_reason": null }, "comments": { "items": [{ "text": "Congrats on the launch!", "posted_at": "1d", "replies_count": 0 }], "pagination": { "page": 1, "per_page": 25, "returned": 1, "has_more": false, "total_estimate": 1 }, "truncated": false, "truncation_reason": null }, "scraped_at": "2026-07-08T12:00:00Z", "pagination_token": null } ``` --- # ProfileActivityResult The data object returned by profile activity: one profile's posts, comments, reactions, or reposts, for the requested kind. **Returned by:** [POST /profiles/activity](https://docs.up2data.ai/v1/api/profiles-activity/) ## Fields | Field | Type | Notes | |---|---|---| | `kind` | `string` | Echo of the request. Enum: posts, comments, reactions, reposts. | | `url` | `string` | Profile URL, https://www.linkedin.com/in/. | | `urn` | `string` | | | `posts` | `Post[]` | Present when kind is posts. See the Post schema. | | `comments` | `ActivityComment[]` | Present when kind is comments. See the ActivityComment schema. | | `reactions` | `ActivityReaction[]` | Present when kind is reactions. See the ActivityReaction schema. | | `reposts` | `Post[]` | Present when kind is reposts. See the Post schema. | | `pagination` | `Pagination` | See the Pagination schema. | | `pagination_token` | `string \| null` | Null on the last page. Pass back as pagination_token to fetch the next page. | | `truncated` | `boolean` | True when the profile may have more items of this kind than were returned, so an empty or short list does not mean there are none. | | `truncation_reason` | `string \| null` | Null unless truncated. linkedin_refused: LinkedIn stopped serving this list part way. item_limit: the 100 most recent items were read and more may exist. visibility_window: comments only, the oldest comment is near the edge of the roughly 360 days LinkedIn shows, so older ones may exist. | | `scraped_at` | `string` | ISO 8601 timestamp. | ## Sample ```json { "kind": "posts", "url": "https://www.linkedin.com/in/janedoe", "urn": "ACoAABOPHB8BM6example", "posts": [ { "url": "https://linkedin.com/posts/janedoe_launch-activity-7215", "urn": "7267273010393358336", "share_urn": "7315779815297421316", "author": { "name": "Jane Doe", "url": "https://linkedin.com/in/janedoe", "headline": "CEO at Example" }, "text": "Today we are launching a new way to run outbound on live profile data.", "posted_at": "2026-07-06T18:45:00Z", "reactions_count": 1204, "comments_count": 187, "reposts_count": 96, "scraped_at": "2026-07-08T12:00:00Z", "media": [{ "type": "image", "url": "https://media.licdn.com/dms/image/v2/D4E22AQExample/feedshare-shrink_2048_1536/0/launch" }] } ], "pagination": { "page": 1, "per_page": 25, "returned": 1, "has_more": false, "total_estimate": 1 }, "pagination_token": null, "truncated": false, "truncation_reason": null, "scraped_at": "2026-07-08T12:00:00Z" } ``` --- # ActivityComment One comment a profile left on another member's post, returned by profile activity when kind is comments. **Returned by:** ProfileActivityResult.comments ## Fields | Field | Type | Notes | |---|---|---| | `text` | `string` | | | `posted_at` | `string` | ISO 8601 timestamp. | | `replies_count` | `integer` | | | `commenter` | `EngagementActor` | The profile the activity was requested for. See the EngagementActor schema. | | `target_post` | `ActivityTargetPost` | See the ActivityTargetPost schema. | ## Sample ```json { "text": "Congrats on the launch - this is the workflow our outbound team has been missing.", "posted_at": "2026-07-05T14:22:00Z", "replies_count": 0, "commenter": { "url": "https://www.linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example" }, "target_post": { "url": "https://linkedin.com/posts/acme_announcement-activity-7210", "urn": "7267273010393358000", "text_snippet": "We are thrilled to announce a new way to run outbound on live profile data.", "author": { "name": "Acme Corp", "url": "https://linkedin.com/company/acme", "headline": "B2B software" } } } ``` --- # ActivityReaction One reaction a profile gave to another member's post, returned by profile activity when kind is reactions. **Returned by:** ProfileActivityResult.reactions ## Fields | Field | Type | Notes | |---|---|---| | `reaction_type` | `string` | Enum: LIKE, EMPATHY, APPRECIATION, INTEREST, PRAISE, ENTERTAINMENT. | | `reacted_at` | `null` | Always null: LinkedIn does not expose when a reaction was given. | | `reactor` | `EngagementActor` | The profile the activity was requested for. See the EngagementActor schema. | | `target_post` | `ActivityTargetPost` | See the ActivityTargetPost schema. | ## Sample ```json { "reaction_type": "PRAISE", "reacted_at": null, "reactor": { "url": "https://www.linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example" }, "target_post": { "url": "https://linkedin.com/posts/acme_announcement-activity-7210", "urn": "7267273010393358000", "text_snippet": "We are thrilled to announce a new way to run outbound on live profile data.", "author": { "name": "Acme Corp", "url": "https://linkedin.com/company/acme", "headline": "B2B software" } } } ``` --- # ActivityTargetPost The post a profile commented on, reacted to, or reposted, nested under ActivityComment and ActivityReaction. **Returned by:** ActivityComment.target_post, ActivityReaction.target_post ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | | | `urn` | `string` | Post activity id, when the post URL carries one (activity-). Otherwise share_urn is returned instead. | | `share_urn` | `string` | Share or ugcPost id, returned instead of urn when the post URL carries that (ugcPost- or share-). | | `text_snippet` | `string` | | | `author.name` | `string` | | | `author.url` | `string` | | | `author.headline` | `string` | Omitted when LinkedIn does not return it. | ## Sample ```json { "url": "https://linkedin.com/posts/acme_announcement-activity-7210", "urn": "7267273010393358000", "text_snippet": "We are thrilled to announce a new way to run outbound on live profile data.", "author": { "name": "Acme Corp", "url": "https://linkedin.com/company/acme", "headline": "B2B software" } } ``` --- # PostEngagementResult The data object returned by the post engagement endpoints: who commented on, reacted to, or reposted one post. Inbound engagement only - a profile's own comments, reactions, and reposts come from profile activity. **Returned by:** [POST /posts/engagement/comments](https://docs.up2data.ai/v1/api/posts-engagement-comments/), [POST /posts/engagement/reactions](https://docs.up2data.ai/v1/api/posts-engagement-reactions/), [POST /posts/engagement/reposts](https://docs.up2data.ai/v1/api/posts-engagement-reposts/) ## Fields | Field | Type | Notes | |---|---|---| | `comments` | `PostComment[]` | Present on posts/engagement/comments. See the PostComment schema. | | `reactions` | `PostReaction[]` | Present on posts/engagement/reactions. See the PostReaction schema. | | `reposts` | `PostRepost[]` | Present on posts/engagement/reposts. See the PostRepost schema. | | `pagination` | `Pagination` | page, per_page, returned, has_more. See the Pagination schema. | | `pagination_token` | `string \| null` | Null on the last page. Pass back as pagination_token to fetch the next page. | | `urn` | `string` | Post activity URN (numeric). Up2Data extra, after every up2data key. | | `share_urn` | `string` | Numeric thread URN the engagement is attached to. Up2Data extra, after every up2data key. | ## Sample ```json { "comments": [ { "text": "Great insights on automation!", "posted_at": "2026-07-06T19:02:00Z", "commenter": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4D03AQExample/profile-displayphoto-shrink_800_800/0/janedoe" }, "replies_count": 1, "urn": "7524119228317057024", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057024%29", "replies": [{ "text": "Agreed, thanks for sharing.", "posted_at": "2026-07-06T20:15:00Z", "commenter": { "url": "https://linkedin.com/in/johnsmith", "full_name": "John Smith", "headline": "Head of Sales at Acme Corp", "urn": "ACoAABOPHB8BM7example" }, "urn": "7524119228317057025", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057025%29" }] } ], "pagination": { "returned": 1, "max_results": 25, "pages_scraped": 1, "page": 1, "per_page": 25, "has_more": true, "total_estimate": 93 }, "pagination_token": "eyJwYWdlIjoyfQ.signature", "urn": "7267273010393358336", "share_urn": "7267273010393358336" } ``` --- # EngagementActor The member behind one comment, reaction, or repost on a post. **Returned by:** PostComment.commenter, PostReaction.reactor, PostRepost.reposter ## Fields | Field | Type | Notes | |---|---|---| | `url` | `string` | Profile URL. On a reactor this is the /in/ACoAA... form rather than the vanity URL, because LinkedIn does not return the vanity with reactions. Use urn or linkedin_id as the stable key. | | `full_name` | `string` | | | `headline` | `string` | Omitted when LinkedIn does not return it, e.g. for plain reposts. On a reposter it is an Up2Data extra and comes after urn. | | `urn` | `string` | LinkedIn member URN. | | `linkedin_id` | `string` | Numeric LinkedIn member ID, the same value profile enrich returns as linkedin_id, so it is the stable key for one person across posts and signals. Up2Data extra. Present on comments, reactions and reposts with commentary; omitted for plain reposts and on profile activity items. | | `profile_picture_url` | `string` | Profile picture URL. Up2Data extra, last key. Present on comments and reactions, and omitted when the member has no picture. | ## Sample ```json { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750" } ``` --- # PostComment One comment left on a post, returned by posts/engagement/comments. **Returned by:** [POST /posts/enrich](https://docs.up2data.ai/v1/api/posts-enrich/), [POST /posts/engagement/comments](https://docs.up2data.ai/v1/api/posts-engagement-comments/), PostEngagementResult.comments ## Fields | Field | Type | Notes | |---|---|---| | `text` | `string` | | | `posted_at` | `string` | ISO 8601 timestamp. | | `commenter` | `EngagementActor` | See the EngagementActor schema. | | `replies_count` | `integer` | Up2Data extra, after every up2data key. | | `urn` | `string` | Numeric comment ID. Up2Data extra. | | `url` | `string` | Permalink to the comment. Up2Data extra. | | `replies` | `PostComment[]` | Replies to this comment, nested in the same shape. Omitted when the comment has no replies. Replies do not count toward pagination or billing. Up2Data extra, last key. | ## Sample ```json { "text": "Great insights on automation!", "posted_at": "2026-07-06T19:02:00Z", "commenter": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4D03AQExample/profile-displayphoto-shrink_800_800/0/janedoe" }, "replies_count": 1, "urn": "7524119228317057024", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057024%29", "replies": [{ "text": "Agreed, thanks for sharing.", "posted_at": "2026-07-06T20:15:00Z", "commenter": { "url": "https://linkedin.com/in/johnsmith", "full_name": "John Smith", "headline": "Head of Sales at Acme Corp", "urn": "ACoAABOPHB8BM7example" }, "urn": "7524119228317057025", "url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7521583794412453888?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7521583794412453888%2C7524119228317057025%29" }] } ``` --- # PostReaction One reaction given to a post, returned by posts/engagement/reactions. **Returned by:** [POST /posts/enrich](https://docs.up2data.ai/v1/api/posts-enrich/), [POST /posts/engagement/reactions](https://docs.up2data.ai/v1/api/posts-engagement-reactions/), PostEngagementResult.reactions ## Fields | Field | Type | Notes | |---|---|---| | `reaction_type` | `string` | Enum: LIKE, EMPATHY, APPRECIATION, INTEREST, PRAISE, ENTERTAINMENT. | | `reacted_at` | `string \| null` | ISO 8601 timestamp. Always present and always null: LinkedIn does not expose when a reaction on a post was given. | | `reactor` | `EngagementActor` | See the EngagementActor schema. | ## Sample ```json { "reaction_type": "LIKE", "reacted_at": null, "reactor": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "headline": "VP Marketing at Acme Corp", "urn": "ACoAABOPHB8BM6example", "linkedin_id": "1034085750", "profile_picture_url": "https://media.licdn.com/dms/image/v2/C4D03AQExample/profile-displayphoto-shrink_800_800/0/janedoe" } } ``` --- # PostRepost One repost of a post, returned by posts/engagement/reposts. **Returned by:** [POST /posts/enrich](https://docs.up2data.ai/v1/api/posts-enrich/), [POST /posts/engagement/reposts](https://docs.up2data.ai/v1/api/posts-engagement-reposts/), PostEngagementResult.reposts ## Fields | Field | Type | Notes | |---|---|---| | `reposted_at` | `string` | ISO 8601 UTC timestamp with milliseconds, taken from the repost activity URN. | | `reposter` | `EngagementActor` | See the EngagementActor schema. headline, when present, comes after urn. | | `url` | `string` | URL of the repost itself. | | `text` | `string` | The reposter's own commentary. Up2Data extra, omitted for a plain repost with no commentary. | ## Sample ```json { "reposted_at": "2026-07-06T19:10:00.000Z", "reposter": { "url": "https://linkedin.com/in/janedoe", "full_name": "Jane Doe", "urn": "ACoAABOPHB8BM6example", "headline": "VP Marketing at Acme Corp", "linkedin_id": "1034085750" }, "url": "https://linkedin.com/feed/update/urn:li:activity:7267273010393358999", "text": "Worth sharing" } ``` --- # Pagination Pagination metadata on Sales Navigator search results, post search, profile activity pages, and post engagement pages. **Returned by:** [POST /search/posts](https://docs.up2data.ai/v1/api/search-posts/), [POST /search/people](https://docs.up2data.ai/v1/api/search-people/), [POST /search/people/sales-nav](https://docs.up2data.ai/v1/api/search-people-sales-nav/), [POST /search/people/standard](https://docs.up2data.ai/v1/api/search-people-standard/), [POST /search/companies](https://docs.up2data.ai/v1/api/search-companies/), [POST /search/companies/sales-nav](https://docs.up2data.ai/v1/api/search-companies-sales-nav/), [POST /search/companies/standard](https://docs.up2data.ai/v1/api/search-companies-standard/), ProfileActivityResult.pagination, PostEngagementResult.pagination, ProfileRecommendationsResult..pagination, ProfileInterestsResult..pagination ## Fields | Field | Type | Notes | |---|---|---| | `returned` | `integer` | Records returned in this response. Search, profile activity and post engagement endpoints. | | `max_results` | `integer` | The max_results cap from the request. Search endpoints, post comments and post reactions. | | `pages_scraped` | `integer` | LinkedIn result pages scraped to build this response. Search endpoints, post comments and post reactions. | | `page` | `integer` | Current page. Profile activity and post engagement. | | `per_page` | `integer` | Page size. Profile activity and post engagement. | | `has_more` | `boolean` | True if more results exist beyond this response. | | `total_estimate` | `integer \| null` | Total items available. Profile activity (items scraped for the requested kind), post comments and post reactions; null when LinkedIn does not report it. | ## Sample ```json { "returned": 50, "max_results": 50, "pages_scraped": 2, "has_more": true } ``` --- # BatchJob A batch job just after submission: accepted, not yet resolved. Also the shape of the job field in the batch.completed webhook payload. **Returned by:** [POST /batch](https://docs.up2data.ai/v1/api/batch-create/), batch.completed webhook payload: job ## Fields | Field | Type | Notes | |---|---|---| | `job_id` | `string` | | | `status` | `string` | Enum: processing, completed, failed. | | `total` | `integer` | Items accepted. | | `estimated_completion` | `string` | ISO 8601 timestamp. | ## Sample ```json { "job_id": "job_7hd92kfa", "status": "processing", "total": 3, "estimated_completion": "2026-07-07T14:03:00Z" } ``` --- # BatchJobResult A batch job with its accumulated results, as returned by polling GET /batch/{job_id}. **Returned by:** [GET /batch/{job_id}](https://docs.up2data.ai/v1/api/batch-get/) ## Fields | Field | Type | Notes | |---|---|---| | `job_id` | `string` | | | `status` | `string` | Enum: processing, completed, failed. | | `total` | `integer` | | | `estimated_completion` | `string` | ISO 8601 timestamp. | | `succeeded` | `integer` | | | `failed` | `integer` | | | `pending` | `integer` | | | `results_available` | `integer` | | | `results[].item_index` | `integer` | | | `results[].status` | `string` | "ok" for a resolved item. | | `results[].operation` | `string` | Present on every result entry: enrich.profile, enrich.company, enrich.post, search.people.sales_nav, search.companies.sales_nav, or any other batch operation, e.g. profiles.activity, companies.headcount, search.jobs. | | `results[].type` | `string` | profile, company, or post for enrich items and Sales Navigator search items. Every other operation uses its own row type: activity_post, activity_comment, or activity_reaction (profiles.activity), recommendation, interest, jobs_count, company_post, headcount, job, comment, reaction, repost, or person (search.people.standard) - see the operations table on batch create. | | `results[].url` | `string` | Present for enrich items, Sales Navigator search items, and any other operation identified by a plain url field. | | `results[].input` | `string \| object` | What was submitted for this item: the url string when identified by url, or the request body (minus max_results) otherwise. | | `results[].data` | `object` | Full entity record matching the corresponding single-entity endpoint shape (Profile, Company, or Post) for enrich items, a { results, pagination } page for a batched search operation, or that operation's own sync response data shape for every other operation. | | `failures[].item_index` | `integer` | | | `failures[].operation` | `string` | | | `failures[].type` | `string` | profile, company, or post for enrich items and Sales Navigator search items. Every other operation uses its own row type, e.g. activity_post, comment, jobs_count, job. | | `failures[].url` | `string` | | | `failures[].status` | `string` | An error type. On a profile, company, post, or Sales Navigator search item, unprocessable_target and a retryable error (429, 500, 504) still bill at the item's normal rate - the job was charged in full at submission and these never refund. Every other operation refunds a failed item down to 0, the same as an empty result, once its queue settles. | ## Sample ```json { "job_id": "job_7hd92kfa", "status": "completed", "total": 1000, "succeeded": 968, "failed": 32, "results": [ { "type": "profile", "operation": "enrich.profile", "url": "https://linkedin.com/in/a", "status": "ok", "input": "https://linkedin.com/in/a", "data": { "full_name": "...", "headline": "..." } }, { "type": "company", "operation": "enrich.company", "url": "https://linkedin.com/company/acme", "status": "ok", "input": "https://linkedin.com/company/acme", "data": { "name": "Acme", "headcount": 512 } } ], "failures": [ { "type": "profile", "url": "https://linkedin.com/in/gone", "status": "unprocessable_target" }, { "type": "company", "url": "https://linkedin.com/company/timed-out", "status": "upstream_timeout" } ] } ``` --- # BatchResultPage A cursor page of immutable, first-seen batch result entries, as returned by GET /batch/{job_id}/results. **Returned by:** [GET /batch/{job_id}/results](https://docs.up2data.ai/v1/api/batch-results/) ## Fields | Field | Type | Notes | |---|---|---| | `job_id` | `string` | | | `status` | `string` | Enum: processing, completed, failed. | | `results_available` | `integer` | | | `entries[].delivery_seq` | `integer` | Monotonic sequence number. Feed back as the cursor. | | `entries[].item_index` | `integer` | Index of the item in the original submission. | | `entries[].entry_key` | `string` | The submitted url, or an operation-derived key for a batched search item. | | `entries[].operation` | `string` | The operation that produced this entry: enrich.profile, enrich.company, enrich.post, search.people.sales_nav, search.companies.sales_nav, or any other batch operation, e.g. profiles.activity, companies.headcount, search.jobs. | | `entries[].input` | `string \| object` | What was submitted for this item: the url string when identified by url, or the request body (minus max_results) otherwise. | | `entries[].data` | `object` | Full entity record matching the corresponding single-entity endpoint shape, or the operation's error shape on failure. | | `entries[].final_rank` | `integer` | Position of this entry in the final, completed result set. | | `next_cursor` | `string \| null` | Pass as the cursor query param to fetch the next page. Null when there is no next page. | | `has_more` | `boolean` | | | `recommended_poll_ms` | `integer` | Suggested delay before polling again while the job is still processing. | ## Sample ```json { "job_id": "job_7hd92kfa", "status": "processing", "results_available": 2, "entries": [ { "delivery_seq": 1, "item_index": 0, "entry_key": "https://linkedin.com/in/a", "operation": "enrich.profile", "input": "https://linkedin.com/in/a", "data": { "full_name": "Jane Doe", "headline": "CTO at Example Corp", "url": "https://linkedin.com/in/a" }, "final_rank": 0 }, { "delivery_seq": 2, "item_index": 1, "entry_key": "https://linkedin.com/company/acme", "operation": "enrich.company", "input": "https://linkedin.com/company/acme", "data": { "name": "Acme", "headcount": 512, "url": "https://linkedin.com/company/acme" }, "final_rank": 1 } ], "next_cursor": "eyJkZWxpdmVyeV9zZXEiOjJ9", "has_more": true, "recommended_poll_ms": 2000 } ``` --- # Signal A signal: a saved batch request plus the schedule it is re-submitted on. **Returned by:** [GET /signals](https://docs.up2data.ai/v1/api/signals-list/), [POST /signals](https://docs.up2data.ai/v1/api/signals-create/), [GET /signals/{signal_id}](https://docs.up2data.ai/v1/api/signals-get/), [PATCH /signals/{signal_id}](https://docs.up2data.ai/v1/api/signals-update/), [POST /signals/{signal_id}/pause](https://docs.up2data.ai/v1/api/signals-pause/), [POST /signals/{signal_id}/resume](https://docs.up2data.ai/v1/api/signals-resume/) ## Fields | Field | Type | Notes | |---|---|---| | `signal_id` | `string` | UUID. | | `name` | `string` | Your label, may be empty. | | `status` | `string` | Enum: active, paused, completed. Derived: completed once completed_at is set, paused while active is false. | | `active` | `boolean` | false while paused, whether you paused it or Up2Data did. | | `pause_reason` | `string \| null` | Enum: manual, insufficient_credits, invalid_request. null while active. | | `schedule.interval_ms` | `integer` | Milliseconds between runs. At least 60000. | | `schedule.start_at` | `string` | ISO 8601. When the first run fires. | | `schedule.ends_at` | `string \| null` | ISO 8601. No run is scheduled after this instant. null for none. | | `schedule.max_runs` | `integer \| null` | Total runs before the signal completes. null for indefinite. | | `run_count` | `integer` | Runs that reached Up2Data and were counted. Paused and deferred ticks do not count. | | `next_run_at` | `string \| null` | ISO 8601. null once completed. | | `last_run_at` | `string \| null` | ISO 8601. | | `last_job_id` | `string \| null` | job_id of the batch job the most recent successful run created. | | `last_error` | `string \| null` | Error from the most recent run, null after a success. | | `completed_at` | `string \| null` | ISO 8601. | | `request` | `object` | The exact POST /batch body submitted on every run: items plus optional webhook_url. | | `created_at` | `string` | ISO 8601. | | `updated_at` | `string` | ISO 8601. | ## Sample ```json { "signal_id": "9d1f4c2e-7b3a-4e8f-a1c5-2f6b8d9e0a11", "name": "Watch key accounts", "status": "active", "active": true, "pause_reason": null, "schedule": { "interval_ms": 86400000, "start_at": "2026-11-01T08:00:00Z", "ends_at": null, "max_runs": 30 }, "run_count": 3, "next_run_at": "2026-11-04T08:00:00Z", "last_run_at": "2026-11-03T08:00:00Z", "last_job_id": "job_7hd92kfa", "last_error": null, "completed_at": null, "request": { "items": [ { "type": "profile", "url": "https://linkedin.com/in/a" }, { "type": "company", "url": "https://linkedin.com/company/acme" } ], "webhook_url": "https://your-server.com/hooks/up2data" }, "created_at": "2026-10-30T12:00:00Z", "updated_at": "2026-11-03T08:00:01Z" } ``` --- # SignalRun One tick of a signal: the batch submission it made and how it went. **Returned by:** [GET /signals/{signal_id}/runs](https://docs.up2data.ai/v1/api/signals-runs/) ## Fields | Field | Type | Notes | |---|---|---| | `run_id` | `string` | UUID. | | `run_number` | `integer` | 1-based step. Reused when a paused or deferred run is retried. | | `scheduled_for` | `string` | ISO 8601. The tick this run belongs to. | | `started_at` | `string` | ISO 8601. | | `finished_at` | `string \| null` | ISO 8601. null while running. | | `status` | `string` | Enum: running, succeeded, failed, deferred. deferred means the submission was rate limited and will be retried after Retry-After under the same run_number. | | `attempts` | `integer` | Submission attempts made for this run_number, across retries and deferrals. | | `job_id` | `string \| null` | The batch job created by this run, when succeeded. Read it with GET /batch/{job_id}. | | `error` | `string \| null` | The error message from the last attempt, when failed or deferred. | ## Sample ```json { "run_id": "4b8e0c1d-2a6f-4c3b-9e7d-5f1a2b3c4d5e", "run_number": 3, "scheduled_for": "2026-11-03T08:00:00Z", "started_at": "2026-11-03T08:00:00Z", "finished_at": "2026-11-03T08:00:01Z", "status": "succeeded", "attempts": 1, "job_id": "job_7hd92kfa", "error": null } ``` --- # Error The error envelope returned by every /v1 endpoint on failure. **Returned by:** Every /v1 endpoint error response ## Fields | Field | Type | Notes | |---|---|---| | `error.type` | `string` | Enum: invalid_request, invalid_api_key, insufficient_credits, not_found, conflict, unprocessable_target, rate_limited, internal_error, upstream_error, upstream_timeout. upstream_error is an upstream failure other than a timeout; not billed. conflict is only returned by the /signals routes. | | `error.message` | `string` | Human-readable detail. | | `error.requestId` | `string` | Present on every response, success or failure. | ## Sample ```json { "error": { "type": "unprocessable_target", "message": "This profile is private or has been deleted.", "requestId": "req_9k2mm4xd" } } ``` --- # Account Account state returned by GET /account. **Returned by:** [GET /account](https://docs.up2data.ai/v1/api/account-get/) ## Fields | Field | Type | Notes | |---|---|---| | `account_id` | `string` | Your organization id. | | `tier` | `string \| null` | Enum: starter, growth, scale. null when no tier is assigned. | | `credits_remaining` | `integer` | | | `credits_used_this_month` | `integer` | Net credits charged since the start of the calendar month, refunds subtracted. | | `price_per_1k_credits_usd` | `number \| null` | Your contracted price per 1,000 credits. null when none is set. | | `rate_limit.requests_per_minute` | `integer` | Per API key. | | `rate_limit.concurrent_batch_jobs` | `integer` | Always 100. Concurrent batch jobs are not capped. | | `rate_limit.searches_per_hour` | `integer` | Per organization. | | `rate_limit.searches_remaining_this_hour` | `integer` | Left in the current sliding hour. | | `signals.active` | `integer` | Always 0: Signals are not offered yet. | | `signals.paused` | `integer` | Always 0. | | `signals.max_active` | `integer` | Always 5000. | | `signals.estimated_monthly_credits` | `integer` | Always 0. | | `monitoring.default_webhook_url` | `string \| null` | Always null. | | `monitoring.monthly_check_budget` | `integer` | Always 10000. | | `monitoring.checks_spent_this_month` | `integer` | Always 0. | | `webhook.signing_secret` | `string` | whsec_ followed by 48 hex characters. Signs every batch.completed delivery; rotate it with POST /account/webhook-secret/rotate. | | `webhook.signature_header` | `string` | Always X-Up2Data-Signature, the header that carries the signature. | ## Sample ```json { "account_id": "64f1c2a9e4b0a1d2c3e4f5a6", "tier": "growth", "credits_remaining": 98413, "credits_used_this_month": 41587, "price_per_1k_credits_usd": 1.25, "rate_limit": { "requests_per_minute": 5000, "concurrent_batch_jobs": 100, "searches_per_hour": 5000, "searches_remaining_this_hour": 4997 }, "signals": { "active": 0, "paused": 0, "max_active": 5000, "estimated_monthly_credits": 0 }, "monitoring": { "default_webhook_url": null, "monthly_check_budget": 10000, "checks_spent_this_month": 0 }, "webhook": { "signing_secret": "whsec_4f0c9b2e7a1d8c6b5e3f2a1908d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2918079", "signature_header": "X-Up2Data-Signature" } } ``` --- # Webhook signing The webhook signing secret, returned by POST /account/webhook-secret/rotate and nested under webhook on GET /account. **Returned by:** [POST /account/webhook-secret/rotate](https://docs.up2data.ai/v1/api/account-webhook-secret-rotate/) ## Fields | Field | Type | Notes | |---|---|---| | `signing_secret` | `string` | whsec_ followed by 48 hex characters. The HMAC-SHA256 key for X-Up2Data-Signature. | | `signature_header` | `string` | Always X-Up2Data-Signature. | ## Sample ```json { "signing_secret": "whsec_9c2e7a1d8c6b5e3f2a1908d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a29180794f0c", "signature_header": "X-Up2Data-Signature" } ``` --- # Meta The billing metadata object on every successful /v1 response. **Returned by:** Every /v1 endpoint success response ## Fields | Field | Type | Notes | |---|---|---| | `creditsUsed` | `integer` | | | `creditsRemaining` | `integer` | | | `billed` | `boolean` | | | `reason` | `string` | e.g. profile_found, company_found, post_found, success, job_accepted, job_completed, signal_created, signal_paused, signal_resumed, signal_deleted. | | `requestId` | `string` | Present on every response, success or failure. | | `latencyMs` | `integer` | | | `nextCursor` | `string \| null` | Cursor-paginated list endpoints only. Not used by the endpoints documented here. | ## Sample ```json { "creditsUsed": 1, "creditsRemaining": 98420, "billed": true, "reason": "profile_found", "requestId": "req_8f2ka91x", "latencyMs": 3400 } ```