Get Dev.to user
Get a Dev.to user's name, bio, links and join date.
Headers
Get your API keyAPI key (`sfk_...`)
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}$
Numeric user id.
≥ 1 · ≤ 9007199254740991
Endpoint-specific response payload.
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.
Numeric user id.
Username, e.g. `ben`.
Display name.
Short bio from the profile.
Location the user lists.
Website the user lists on their profile.
Twitter or X username the user lists.
GitHub username the user lists.
Date the user joined (YYYY-MM-DD). The exact time is on the profile endpoint.
pattern: ^\d{4}-\d{2}-\d{2}$
Profile picture URL.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
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.