Skip to main content

Profile Data Request Parameters

Endpoint

https://gw.magicalapi.com/profile-data

The Profile Data service requires the following parameter in the request body:

ParameterTypeRequiredDescriptionExample
profile_namestringYesLinkedIn profile username (found in profile URL after /in/)"williamhgates"

Sample Request Body

{
"profile_name": "williamhgates"
}
tip

Make sure to:

  • Use the exact profile username from the LinkedIn URL
  • Do not include the full LinkedIn URL, just the username
  • The username is typically found after /in/ in the profile URL

Example Workflow

  1. Send Initial Request
curl -X POST "https://gw.magicalapi.com/profile-data" \
-H "Content-Type: application/json" \
-H "api-key: YOUR-API-KEY" \
-d '{"profile_name": "williamhgates"}'
  1. Check Status (using the same endpoint)
curl -X POST "https://gw.magicalapi.com/profile-data" \
-H "Content-Type: application/json" \
-H "api-key: YOUR-API-KEY" \
-d '{"request_id": "abc123xyz"}'