Skip to main content
GET
/
v1
/
reddit
/
subreddits
/
{subreddit}
/
rules
Get subreddit rules
curl --request GET \
  --url https://api.konbiniapi.com/v1/reddit/subreddits/{subreddit}/rules \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "id": "<string>",
    "url": "<string>",
    "totalItems": 123,
    "orderedItems": [
      {
        "type": "Document",
        "name": "Keep it civil",
        "entityId": "keep-it-civil",
        "content": "Be respectful and avoid personal attacks."
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as a Bearer token. Example: Authorization: Bearer <your-api-key>

Path Parameters

subreddit
string
required

Subreddit name (with or without r/ prefix)

Example:

"programming"

Response

Returns subreddit rules

data
object
required