Is it possible to search for all Linkedin users from a city with an API?
- User
Is it possible to search for all Linkedin users from a city with an API?
- Assistant
Yes, it is possible to search for LinkedIn users from a specific city using the LinkedIn API. The LinkedIn API provides endpoints for searching and filtering users based on various criteria, including location.
To search for LinkedIn users from a city, you can use the "people-search" endpoint with the "location" parameter set to the desired city. The API request should include the city name, country, and other parameters like keywords, titles, and experience levels to refine your search.
Here's a sample API request URL:
https://api.linkedin.com/v2/people-search?keywords=<keywords>&title=<title>&experienceLevel=<experienceLevel>&locations=<city>,<country>Replace
<keywords>,<title>,<experienceLevel>,<city>, and<country>with the desired values. You'll need an access token to authenticate and use the LinkedIn API.Please refer to the LinkedIn API documentation for more information and details on how to implement this in your application: https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-engagement/share-linkedin-data-with-third-party-apps?context=linkedin/context
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.