1. Authentication

To use EuroLead API, first you will need to register on the website and create an API key here - https://www.euro-lead.com/integrations.

API keys should be kept secret and avoid sharing it with others. Sharing EuroLead API keys will allow others to make EuroLead API calls using your paid credits.

2. HTTP Response headers

Total remaining credits can be found in HTTP response header X-Credits-Left. Or alternatively use special API method.

3. HTTP response codes for API request

EuroLead API also returns following HTTP status codes to indicate success or failure of request.

  • 200 - Request is completed successfully, data is collected.
  • 201 - Request is accepted and server starts to collect data.
  • 204 - Request is still in progress.
  • 401 - Server can not verify your authentication to use API. Please check whether API key is proper or not.
  • 402 - You are running of your credit limit.
  • 403 - Your account has been disabled or you ask for not yours request's status
  • 404 - Requested API can not be found on server or you give invalid json data or you ask for status of not existing request.
  • 406 - You gave more than maximum allowed items amount (limit is 100 now)
  • 422 - Server can not understand the request sent to it. This is kind of response can occur if parameters are passed wrongly.
  • 500 - Internal Server Error.
4. Requesting person’s data by using callback url

Callback url is a url to be provided by a client side Application Developer.

API endpoint - POST https://www.euro-lead.com/api/v1/candidate/search

Parameter Place Type Description Example
apikey Request header String, required Your secret API key to authenticate request apikey: testapikey
items Request body Json string, required Array of LinkedIn urls, emails or phones "items":["https://www.linkedin.com/in/url1", "[email protected]", "+44 0 808 189 3171"]
callbackUrl Request body String, required Callback url on your domain will be POST requested by EuroLead once search requests are processed. "callbackUrl": "https://www.yourdomain.com/yourUrl"

Example request and response

Which should respond something like : {"requestId":1} and status code 201.

Example request and response

Data posting is considered successful if callback url returns 200 HTTP response. If callback url is unresponsive during initial reporting or if it's not able to connect successfully, 3 retries will be made. If callback url fails to return 200 during retry, it will be considered fail and discarded for further attempt.

5. Response body statuses

Status "success" indicates that individual data is collected and ready to return. Status "failed" indicates that server cannot find anything about candidate, for example because given LinkedIn url is not valid. If all contacts credits are used, returned status will be "credits_are_over" for all candidates.

6. Profile data example
7. Get remaining credits method

API endpoint - GET https://www.euro-lead.com/api/v1/credits

Request parameters

Parameter Place Type Description Example
apikey Request header String, required Your secret API key to authenticate request apikey: testapikey

Example request and response

Which should respond something like : {"credits":27} and status code 201.

By using EuroLead API you agree with our Terms of Use, Privacy Policy, and GDPR Compliance

BACK TO TOP