Public APIs
Dev.to favicon

Dev.to

Personality

Access Forem articles, users and other resources via API.

Dev.to's website screenshot

About Dev.to

The Forem API provides programmatic access to Forem, the open-source platform that powers Dev.to. It is documented in two versions: a legacy version 0, which is deprecated, and version 1, the current and recommended version.

Version 1 requires an accept header set to application/vnd.forem.api-v1+json, and many (though not all) endpoints require an api-key header containing a key generated by the user from their Forem account settings page. All version 0 endpoints are available in version 1, though version 1 documentation for them is still being added.

The API also supports working with semantic concepts and embedding-driven semantic search over articles and concepts, covered in separate documentation sections. It is intended for developers building integrations with Forem-based platforms, including Dev.to.

Key features

  • REST API for interacting with Forem-powered sites (dev.to)
  • API key authentication generated from user settings
  • Versioned API (V0 legacy, V1 current)
  • Semantic search over articles and concepts via embeddings
  • Concept management endpoints for working with tags/topics

Frequently asked questions

Does the API require authentication?

Many V1 endpoints require an api-key header set to a key generated by the user from their Forem settings page. V1 also requires an accept header set to application/vnd.forem.api-v1+json.

Is there a legacy API version?

Yes, Version 0 is the legacy API and is deprecated, though clients can continue using it as is. Version 1 is the current, recommended version.

Does the API support semantic search?

Yes, it supports embedding-driven semantic searches on articles and concepts.

Who maintains this API?

It is maintained by Forem, Inc., the company behind dev.to, and questions can be directed to yo@forem.com.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product