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."
}
]
}
}Subreddits
Get subreddit rules
Returns structured community rules for a subreddit.
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
Send your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer <your-api-key>
Path Parameters
Subreddit name (with or without r/ prefix)
Example:
"programming"
Response
Returns subreddit rules
Show child attributes
Show child attributes
⌘I