All answers

How do I scrape a LinkedIn person profile with the API?

Call GET /v2/linkedin/profiles with handle or entityId. For many /in/… URLs use GET /v2/linkedin/profiles/batch. Branch on data.lookupStatus and read data.profile (or each batch row) for headline, location, experience, education, and connection metrics when public.