Get best email addresses by GitHub username
Changed onFetch the best email address for GitHub users by their usernames (login). Uses intelligent selection to prioritize personal emails over work emails and verifies domain validity. Returns the best email plus all other email candidates. Supports batch requests (1-100 logins). Requires RAW service. Credits: 1 per result returned.
post/users/best-email/by-login
Request
- Base URLhttps://api.bountylab.io/v3
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"logins": [
"octocat",
"torvalds"
]
}Response
Best emails retrieved successfully
Example response
{
"results": [
{
"githubId": "MDQ6VXNlcjU4MzIzMQ==",
"login": "octocat",
"bestEmail": "octocat@gmail.com",
"otherCandidates": [],
"profile": "WORK"
}
],
"count": 2
}Changes
- warning
added the new
FORMERenum value to the//response property for the response status
- warning
- warning
added the new
SCHOOLenum value to the//response property for the response status
- warning