# DEV Community on Onekey > 16 endpoints for DEV Community (16 stable, 0 beta), 1 to 5 credits each. Category: News & publishing. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/devto Reference (Markdown): https://onekey.dev/docs/api/devto.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 16 mapped DEV Community endpoints return each: - `author.displayName` (string): 13 - `author.username` (string): 13 - `author.avatarUrl` (URL): 12 - `author.id` (string): 12 - `content.id` (string): 12 - `content.text` (string): 12 - `content.title` (string): 11 - `media.thumbnailUrl` (URL): 11 - `content.createdAt` (ISO 8601 date): 10 - `content.url` (URL): 9 - `engagement.comments` (integer): 9 - `engagement.likes` (integer): 9 - `content.language` (string): 8 - `entity.name` (string): 3 - `author.url` (URL): 2 - `entity.description` (string): 2 - `entity.id` (string): 2 - `entity.slug` (string): 2 - `engagement.views` (integer): 1 - `entity.location` (string): 1 - `entity.url` (URL): 1 - `media.url` (URL): 1 - plus 4 platform-specific fields under `ext.` ## Endpoints ### devto.article A DEV article by id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/devto/article?id=270180` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Article id - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl`, `engagement.views`, `ext.contentBody`, `ext.readingTimeMinutes` - Reference: https://onekey.dev/docs/api/devto/article.md ### devto.article_by_path A DEV article by author username and slug. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/devto/article_by_path?username=devteam&slug=changelog-query-the-dev-api-from-a-javascript-frontend-329j` with header `x-api-key: YOUR_API_KEY` - Parameters: - `username` (string, required): dev.to username, e.g. ben - `slug` (string, required): Article slug, e.g. changelog-query-the-dev-api-from-a-javascript-frontend-329j - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/article_by_path.md ### devto.articles_by_tag Latest DEV articles for a tag. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/articles_by_tag?tag=javascript` with header `x-api-key: YOUR_API_KEY` - Parameters: - `tag` (string, required): Tag, e.g. javascript - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/articles_by_tag.md ### devto.articles_by_user Latest DEV articles by a user. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/articles_by_user?username=ben` with header `x-api-key: YOUR_API_KEY` - Parameters: - `username` (string, required): dev.to username, e.g. ben - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/articles_by_user.md ### devto.comments Top-level comments on a DEV article (replies nested in the raw response). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/comments?id=270180` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Article id - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/devto/comments.md ### devto.latest Latest DEV articles. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/latest` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/latest.md ### devto.organization A DEV organization's profile. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/devto/organization?org=devteam` with header `x-api-key: YOUR_API_KEY` - Parameters: - `org` (string, required): Organization username, e.g. devteam - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.description`, `entity.url`, `media.thumbnailUrl`, `entity.location` - Reference: https://onekey.dev/docs/api/devto/organization.md ### devto.organization_articles Articles published by a DEV organization. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/organization_articles?org=devteam` with header `x-api-key: YOUR_API_KEY` - Parameters: - `org` (string, required): Organization username, e.g. devteam - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/organization_articles.md ### devto.organization_users Members of a DEV organization. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/organization_users?org=devteam` with header `x-api-key: YOUR_API_KEY` - Parameters: - `org` (string, required): Organization username, e.g. devteam - Fields returned: `author.id`, `author.username`, `author.displayName`, `content.text`, `author.avatarUrl`, `author.url` - Reference: https://onekey.dev/docs/api/devto/organization_users.md ### devto.podcast_episodes Recent podcast episodes on DEV. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/podcast_episodes` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `entity.name`, `media.thumbnailUrl`, `entity.slug`, `ext.path` - Reference: https://onekey.dev/docs/api/devto/podcast_episodes.md ### devto.profile Fetch a DEV (dev.to) user's public profile. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/devto/profile?username=ben` with header `x-api-key: YOUR_API_KEY` - Parameters: - `username` (string, required): dev.to username, e.g. ben - Fields returned: `author.id`, `author.username`, `author.displayName`, `author.url`, `content.text`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/devto/profile.md ### devto.rising Rising DEV articles. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/rising` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/rising.md ### devto.search List popular DEV articles for a tag. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/search?q=javascript` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Tag, e.g. javascript - Fields returned: `author.id`, `content.id`, `author.username`, `author.displayName`, `engagement.likes`, `engagement.comments`, `content.title`, `content.url`, `content.createdAt`, `content.text`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/devto/search.md ### devto.tags Popular DEV tags. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/tags` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.description` - Reference: https://onekey.dev/docs/api/devto/tags.md ### devto.top_articles Top DEV articles of the last N days. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/top_articles?days=7` with header `x-api-key: YOUR_API_KEY` - Parameters: - `days` (string, optional, default 7): Window in days: 1, 7, 30, 365 - Fields returned: `content.id`, `content.title`, `content.url`, `content.text`, `content.createdAt`, `content.language`, `author.username`, `author.displayName`, `author.id`, `author.avatarUrl`, `engagement.likes`, `engagement.comments`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/devto/top_articles.md ### devto.videos Recent video articles on DEV. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/devto/videos` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `author.username`, `author.displayName`, `media.url`, `media.thumbnailUrl`, `ext.path`, `ext.durationText` - Reference: https://onekey.dev/docs/api/devto/videos.md ## Sample request ```bash curl "https://api.onekey.dev/v1/devto/article?id=270180" \ -H "x-api-key: YOUR_API_KEY" ```