Dev.to

Get Dev.to user

Get a Dev.to user's name, bio, links and join date.

GET/v1/dev-to/user
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
usernamestringquery

Dev.to username, e.g. `ben`. A profile URL such as https://dev.to/ben is also accepted.

min 1 chars · max 40 chars · pattern: ^[a-z0-9_][a-z0-9_-]{0,39}$

idintegerquery

Numeric user id.

≥ 1 · ≤ 9007199254740991

Response fields
17

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

The user when found; otherwise null. Includes users whose profile Dev.to does not list publicly.

datauserid
integer

Numeric user id.

datauserusername
string

Username, e.g. `ben`.

datausername
stringnullable

Display name.

datauserbio
stringnullable

Short bio from the profile.

datauserlocation
stringnullable

Location the user lists.

datauserwebsiteUrl
stringnullable

Website the user lists on their profile.

datausertwitterUsername
stringnullable

Twitter or X username the user lists.

datausergithubUsername
stringnullable

GitHub username the user lists.

datauserjoinedOn
stringnullable

Date the user joined (YYYY-MM-DD). The exact time is on the profile endpoint.

pattern: ^\d{4}-\d{2}-\d{2}$

datauseravatarUrl
stringnullable

Profile picture URL.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/dev-to/user?username=ben" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Dev.to user.