Scrap API
Scrapes the public information of a given pageName or Xing profileUrl.
HTTP Request
Section titled “HTTP Request”POST https://api.v2.xingzap.com/scrapRequest Parameters
Section titled “Request Parameters”| Parameter | Required | Description |
|---|---|---|
pageName | One of pageName or profileUrl | The shorthand name for a Xing profile |
profileUrl | One of pageName or profileUrl | A Xing profile URL |
Example: Using Page Name
Section titled “Example: Using Page Name”import requests
response = requests.post("https://api.v2.xingzap.com/scrap", json={ "pageName": "Anas_ElMhamdi" }, headers={ 'X-Api-Key': 'XINGZAP_API_KEY' })curl --location --request POST 'https://api.v2.xingzap.com/scrap' \ -H 'X-Api-Key: XINGZAP_API_KEY' \ --data-raw '{ "pageName":"Anas_ElMhamdi" }'Example: Using Profile URL
Section titled “Example: Using Profile URL”import requests
response = requests.post("https://api.v2.xingzap.com/scrap", json={ "profileUrl": "https://www.xing.com/profile/Anas_ElMhamdi/cv" }, headers={ 'X-Api-Key': 'XINGZAP_API_KEY' })curl --location --request POST 'https://api.v2.xingzap.com/scrap' \ -H 'X-Api-Key: XINGZAP_API_KEY' \ --data-raw '{ "profileUrl":"https://www.xing.com/profile/Anas_ElMhamdi/cv" }'Response Parameters
Section titled “Response Parameters”| Parameter | Description |
|---|---|
fullName | The user’s full name |
currentPosition | A list of the current positions held by the user |
workPositionTimeline | A list of all positions held by the user |
description | The user’s about section (if available) |
private | Boolean indicating if the user’s profile is private |
premiumProfile | Boolean indicating if the user has Xing Premium |
profileImg | The user’s Xing avatar URL |
xingUrl | The user’s Xing profile URL |
Example Response
Section titled “Example Response”{ "fullName": "Anas El Mhamdi", "currentPosition": [ { "jobtitle": "CEO", "company": "XingZap", "date": "8 months, since May 2021" }, { "jobtitle": "Growth Engineer", "company": "Quable", "date": "1 year and 3 months, since Oct 2020" } ], "workPositionTimeline": [ { "jobtitle": "CEO", "company": "XingZap", "date": "8 months, since May 2021", "startDate": "May 2021", "endDate": null, "daysInPosition": 240 }, { "jobtitle": "Growth engineer", "company": "Quable", "date": "1 year and 3 months, since Oct 2020", "startDate": "Oct 2020", "endDate": null, "daysInPosition": 452 } ], "description": "I'm a growth engineer with a mission of making marketing exciting!", "profileImg": "https://profile-images.xing.com/images/.../anas-el-mhamdi.256x256.jpg", "xingUrl": "https://xing.com/profile/Anas_ElMhamdi", "private": false, "premiumProfile": true}