HN+
Help
Overview
Content Related
ChatGPT for posting
Content sources
API
Getting started
Get posts
Get categories
Get comments
Submit a post
Monetization
Setting up Stripe
Promoted Posts
Paid Membership
Advertising
Integrations
Auto Posting - Bluesky
Auto Posting - Discord
Auto Posting - Mastodon
Auto Posting - Slack
Auto Posting - Teams
Auto Posting - Telegram
Auto Posting - Twitter
Auto Posting - WordPress
Chatbots
Other Settings
Analytics
Custom CSS
Custom pages
Domain
Making a private site
Newsletter
Roles & Permissions
SEO
Translation
Widgets
Fetching categories via API
Back to Admin
To fetch categories from your site via API, you will need to make
GET
request to the following URL.
[YOUR SITE URL]/api/categories?api_key=[API_KEY]
Categories will be returned in the order that is set within your admin panel.
Got questions?
Get in touch with us