Profile Data Request Parameters
Endpoint
https://gw.magicalapi.com/profile-data
The Profile Data service requires the following parameter in the request body:
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
profile_name | string | Yes | LinkedIn 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
- 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"}'
- 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"}'