Skip to main content
POST
/
api
/
github
/
users
/github/users
curl --request POST \
  --url https://api.anysite.io/api/github/users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "user": "<string>",
  "timeout": 300
}
'
[
  {
    "login": "<string>",
    "id": 123,
    "@type": "@github_user",
    "name": "<string>",
    "company": "<string>",
    "blog_url": "<string>",
    "location": "<string>",
    "bio": "<string>",
    "twitter": "<string>",
    "email": "<string>",
    "public_repo_count": 0,
    "public_gist_count": 0,
    "follower_count": 0,
    "following_count": 0,
    "created_at": "",
    "updated_at": "<string>",
    "image": "<string>",
    "type": "",
    "is_hireable": false,
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
user
string
required

GitHub username (login) or profile URL

Minimum string length: 1
Examples:

"octocat"

"torvalds"

"https://github.com/torvalds"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

login
string
required
id
integer
required
@type
string
default:@github_user
name
string | null
company
string | null
blog_url
string | null
location
string | null
bio
string | null
twitter
string | null
email
string | null
public_repo_count
integer
default:0
public_gist_count
integer
default:0
follower_count
integer
default:0
following_count
integer
default:0
created_at
string
default:""
updated_at
string | null
image
string | null
type
string
default:""
is_hireable
boolean
default:false
web_url
string
default:""