
If you're currently using LinkdAPI through RapidAPI, you might be wondering why you should consider switching to our direct platform. Here are the key benefits:
Pro Tip: You can run both versions side-by-side during transition. Just duplicate your API calls with both authentication methods to ensure everything works smoothly before fully switching.
Migrating from RapidAPI to LinkdAPI direct is incredibly simple. You only need to update two things in your code:
Replace the RapidAPI endpoint URL with our direct API URL:
// Before (RapidAPI) https://linkdapi-best-unofficial-linkedin-api.p.rapidapi.com/api
// After (LinkdAPI Direct) https://linkdapi.com
Replace the RapidAPI headers with our direct authentication header:
// Before (RapidAPI Headers) "X-RapidAPI-Key": "your-rapidapi-key", "X-RapidAPI-Host": "linkdapi-best-unofficial-linkedin-api.p.rapidapi.com"
// After (LinkdAPI Direct Header) "X-linkdapi-apikey": "your-direct-api-key"
Here's a before-and-after example using Python with the requests library:
import requests
url = "https://linkdapi-best-unofficial-linkedin-api.p.rapidapi.com/api/v1/profile/overview"
querystring = {"username":"ryanroslansky"}
headers = { "X-RapidAPI-Key": "your-rapidapi-key-here", "X-RapidAPI-Host": "linkdapi-best-unofficial-linkedin-api.p.rapidapi.com" }
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
import requests
url = "https://linkdapi.com/api/v1/profile/overview"
querystring = {"username":"ryanroslansky"}
headers = { "X-linkdapi-apikey": "your-direct-api-key-here" }
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
If you don't have a direct API key yet, here's how to get one:
All endpoints remain exactly the same! The only changes are the base URL and authentication method. Your existing API calls will work without any modifications to the endpoint paths or parameters.
| Endpoint Type | Works Unchanged |
|---|---|
| Profile Endpoints | ✅ Yes |
| Post Endpoints | ✅ Yes |
| Comments Endpoints | ✅ Yes |
| Company Endpoints | ✅ Yes |
| Jobs Endpoints | ✅ Yes |
When you migrate to our direct platform, you'll benefit from our transparent credit-based system:
If you encounter any issues during migration or have questions about the process, our support team is here to help:
Migrating takes just minutes, but the benefits last for the lifetime of your project. Make the switch today and experience the full power of LinkdAPI without third-party limitations!
Your feedback helps us improve our documentation
Still need help? Our support team is here for you.