Ad details
Retrieve a public ad by exact ID or canonical URL. Includes creative media, payer, advertiser, disclosed targeting, dates and impressions. Image, video, carousel, messages, InMail, article and event creatives have dedicated extraction; native documents expose their previews, and other formats are reported with partial coverage.
/v1/linkedin/adx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Public HTTPS linkedin.com/ad-library/detail/ID URL.
max 4096 chars
Exact numeric ad ID as a string. Supply adId or url.
1234567890123456789Always included.
Public HTTPS linkedin.com/ad-library/detail/ID URL.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
Always included.
Published payer, distinct from promoted-by attribution.
Source targeting text, preserving whitespace and hidden-control text for compatibility.
Cleaned language/location disclosure and all published inclusion/exclusion flags.
Always included.
Always included.
Every published organic MP4 rendition in source order, with bitrate when present. video and organicVideo use the first rendition for reference compatibility.
up to 30 items
Always included.
Always included.
Always included.
Always included.
Always included.
Published pre-roll MP4 when source metadata exposes it. Pre-roll attribution remains incomplete and this format reports partial coverage.
Always included.
Always included.
Always included.
Always included.
Complete message text including list items; description retains the reference paragraph projection.
Native document cover images, title, manifest URL, preview page count and full count when published. Limited previews report partial coverage.
Always included.
Always included.
≥ 0
Always included.
Always included.
up to 100 items
Always included.
Published message button text and type; destination URL stays null when the public source does not expose it.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Published duration label; empty string when absent. Parsed dates remain null when unavailable.
Real YYYY-MM-DD calendar date; requires endDate.
Real YYYY-MM-DD date on or after startDate. LinkedIn applies its retained-ad date window.
Original range label, never converted to a fabricated exact count.
All published countries, including those hidden by Show more.
Always included.
Always included.
Random request correlation ID.
Attempts, decoded successful HTML bytes and elapsed time. Browser limits also count discarded responses.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Whether usable public data was retrieved.
success, partial, failed or challenged.
one of: success, partial
Fixed-origin public source URL.
absolute HTTPS URL
UTC retrieval timestamp.
Complete refers to this bounded page and supported creative fields, not all search results.
Always included.
Always included.
Always included.
Canonical Post at data.post for /ad; raw enriched items with next_cursor for /ads/search; normalized ad/ads and page metadata for /ad-library/ routes.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Invalid, duplicate, unknown or conflicting inputs. |
| 401 | unauthorized | Missing or incorrect service key. |
| 403 | restricted_page | The source restricts this ad. |
| 404 | not_found | Missing ad or route. |
| 429 | upstream_rate_limited | Source throttling. |
| 502 | upstream_challenged unsupported_page | Challenge, unsupported markup or identity mismatch. |
| 502 | upstream_error unsafe_redirect response_too_large payload_too_complex request_limit | Bounded source failure. |
| 503 | busy | Worker capacity reached. |
| 504 | timeout | Request deadline elapsed. |
| 200 | partial | Unavailable details, other creative formats or additional variants. |