import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "linkedin.profile.get", "input": { "url": "https://www.linkedin.com/in/satyanadella" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "linkedin.profile.get", "input": { "url": "https://www.linkedin.com/in/satyanadella" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Response
{ "name": "Satya Nadella", "followers": 12204145, "username": "satyanadella", "location": "Redmond, Washington, United States", "articles_count": 10, "availability": "available", "badge": "Creator, Top Voice", "canonical_url": "https://www.linkedin.com/in/satyanadella", "connections": "500+", "country": "US", "current_company": "Microsoft", "description": "As chairman and CEO of Microsoft, I define my mission and that of my company as…", "posts_count": 4, "profile_url": "https://www.linkedin.com/in/satyanadella", "counts": { "followers": { "raw": "12204145", "relation": "exact", "value": 12204145 }, "connections": { "raw": "500+", "relation": "at_least", "value": 500 } }, "articles": [ { "headline": "How do we build a frontier intelligence ecosystem?", "likes": 2538, "date_published": "2026-06-02T19:41:31.000+00:00", "type": "article", "url": "https://www.linkedin.com/pulse/how-do-we-build-frontier-intelligence-ecosystem-satya-nadella-73jhc" }, { "headline": "A Positive-Sum Future", "likes": 7309, "date_published": "2025-11-15T18:09:30.000+00:00", "type": "article", "url": "https://www.linkedin.com/pulse/positive-sum-future-satya-nadella-bjs7c" } ], "education": [ { "name": "The University of Chicago Booth School of Business", "end_date": 1996, "start_date": 1994, "url": "https://www.linkedin.com/school/universityofchicagoboothschoolofbusiness/" } ], "experience": [ { "location": "Greater Seattle Area", "company": "Microsoft", "company_url": "https://www.linkedin.com/company/microsoft" } ], "recent_posts": [ { "text": "The motivation behind the new Copilot: intelligence is accelerating fast. Now we need to diffuse it everywhere.", "likes": 955, "date_published": "2026-09-25T15:43:53.171Z", "type": "post", "url": "https://www.linkedin.com/posts/satyanadella_the-motivation-behind-the-new-copilot-intelligence-activity-7509276499837902849-DFP-" }, { "text": "We’re building Copilot as a new OS for work that spans every model, every form factor, and every task. Today, we’re announcing our biggest …", "likes": 13133, "date_published": "2026-09-25T12:27:38.109Z", "type": "post", "url": "https://www.linkedin.com/posts/satyanadella_were-building-copilot-as-a-new-os-for-work-activity-7509227111648452609-zk5Z" } ]}