freeapis

Dev.to

通过 API 访问 Forem 文章、用户和其他资源

认证方式
API Key
HTTPS
Yes
CORS
Unknown
数据来源
public-apis + marcelscruz

简介

Dev.to(Forem)API 提供开发者社区的文章、用户、播客、标签和评论——并为任何 Forem 社区提供支撑。公开读取免密钥(实测可用);API 密钥解锁发布和用户级操作。

快速开始

近期文章——无需密钥(实测可用):

curl "https://dev.to/api/articles?per_page=3"
[
  {
    "type_of": "article",
    "id": 4435427,
    "title": "Greatness Is Forged by Limitation",
    "description": "Can't believe I spent 2 weeks writing this...",
    "readable_publish_date": "Aug 19",
    "slug": "greatness-is-forged-by-limitation",
    "url": "https://dev.to/...",
    "user": { "name": "..." }
  }
]

按 ID 获取文章:

curl "https://dev.to/api/articles/4435427"

标签 / 播客 / 用户:

curl "https://dev.to/api/tags?per_page=5"
curl "https://dev.to/api/podcast_episodes?per_page=3"

认证方式

  • 匿名:公开读取免密钥可用(实测)。
  • API 密钥(免费,dev.to → Settings → Extensions → API Keys):发布文章、管理个人资料。

速率限制与注意事项

  • 免费;读取没有文档化的硬性限制——请礼貌使用。
  • 通过 per_page(最大 1000)和 page 分页。
  • 同一套 API 适用于任何 Forem 社区(forem.dev、dev.to 等)——它们都是 Forem 实例。
  • 发布需要 api-key 请求头携带密钥。

常见问题

Dev.to API 免费吗? 是的——公开读取免密钥;免费密钥可发布。

读取需要密钥吗? 不需要——文章、标签和用户公开可读(实测)。

什么是 Forem? Dev.to 运行的开源平台——同一套 API 支撑任何 Forem 社区。

性格测试 分类更多

APIAuthHTTPSCORS
Advice Slip

Generate random advice slips

No authYesUnknown↗
akshaykumar-rest

Akshay Kumar for every HTTP status code

No authYesUnknown↗
AstroWay

Astrology, natal charts, Human Design, Vedic and horoscopes on the Swiss Ephemeris

API KeyYesYes↗
Biriyani As A Service

Biriyani images placeholder

No authYesNo↗
Dictum

API to get access to the collection of the most inspiring expressions of mankind

No authYesUnknown↗