# Juejin Developer Articles API

> Juejin developer articles: categories, category feeds, hot rankings, keyword search and tags

- Vendor: `juejindeveloperarticlesapi` · version 1.0 · category Developer Tools · tags juejin api, chinese developer api, tech articles api, programming articles api, developer community api, juejin hot api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/juejindeveloperarticlesapi
- This document: https://apiclay.com/docs/juejindeveloperarticlesapi.md
- OpenAPI 3.1: https://apiclay.com/api/juejindeveloperarticlesapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `juejindeveloperarticlesapi`
- Updated: 2026-11-18

## About

## Juejin Developer Articles API

Article data from Juejin (稀土掘金), China's largest developer community: the article categories (backend, frontend, Android, iOS, AI, tools), the recommended feed of a category, the hot ranking, keyword search across articles, and the tag list, each article with title, brief, author, view, like, collect and comment counts and tags.

Data comes from **juejin.cn** (https://juejin.cn). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/categories` for a `category_id`, then POST `/feed` with it as `cate_id`, `/hot?category_id=1&amp;type=hot`, POST `/search` with a `key_word`.

### Routes

#### GET `/categories` - Categories
No parameters.

Returns: `data[]` with `category_id`, `category_name`, `category_url`, `rank`.

#### POST `/feed` - Category feed
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| cate_id | body | string | yes | `category_id` from `/categories`. |
| sort_type | body | number | no | `200` recommended, `300` newest, `3` hottest. |
| cursor | body | string | no | `"0"`, then the `cursor` of the previous page. |
| limit | body | number | no | Articles per page. |
| id_type | body | number | yes | Always `2` (articles). |

Returns: `data[]` with `article_id`, `article_info` (`title`, `brief_content`, `ctime`, `view_count`, `digg_count`, `collect_count`, `comment_count`), `author_user_info`, `category`, `tags`; `cursor`, `has_more`.

#### GET `/hot` - Hot ranking
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| category_id | query | string | yes | `1` for all, or a `category_id`. |
| type | query | string | no | `hot`. |

Returns: `data[]` with `content` (`content_id`, `title`, `brief`, `author_id`) and `content_counter` (views, likes, comments, hot rank).

#### POST `/search` - Search
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| key_word | body | string | yes | Keywords. |
| cursor | body | string | no | `"0"`, then the previous `cursor`. |
| limit | body | number | no | Results per page. |
| sort_type | body | number | no | `0` relevance, `1` newest, `2` hottest. |

Returns: `data[]` with `result_model` (an article with `article_info`, `author_user_info`, `tags`); `cursor`, `has_more`.

#### POST `/tags` - Tags
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| key_word | body | string | no | Filter by name, or `""`. |
| cursor | body | string | no | `"0"`, then the previous `cursor`. |
| limit | body | number | no | Tags per page. |

Returns: `data[]` with `tag_id`, `tag` (`tag_name`, `color`, `icon`, `post_article_count`, `concern_user_count`).

### Caveats

- Content is mostly in Chinese. POST routes take a JSON body like the playground sample. Full article bodies are not included.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by juejin.cn.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /categories — Categories
- Gateway: `GET https://api.apiclay.com/v1/api/juejindeveloperarticlesapi/categories`
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### POST /feed — Category feed
- Gateway: `POST https://api.apiclay.com/v1/api/juejindeveloperarticlesapi/feed`
- Body sample (JSON):

```json
{"id_type": 2, "sort_type": 200, "cate_id": "6809637767543259144", "cursor": "0", "limit": 20}
```

- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /hot — Hot ranking
- Gateway: `GET https://api.apiclay.com/v1/api/juejindeveloperarticlesapi/hot`
- Public query params: `category_id` (string, required), `type` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### POST /search — Search
- Gateway: `POST https://api.apiclay.com/v1/api/juejindeveloperarticlesapi/search`
- Body sample (JSON):

```json
{"key_word": "react", "id_type": 0, "cursor": "0", "limit": 20, "search_type": 0, "sort_type": 0, "version": 1}
```

- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### POST /tags — Tags
- Gateway: `POST https://api.apiclay.com/v1/api/juejindeveloperarticlesapi/tags`
- Body sample (JSON):

```json
{"cursor": "0", "limit": 20, "sort_type": 1, "key_word": ""}
```

- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/juejindeveloperarticlesapi/categories" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
