> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.unicornplatform.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Get blog posts

${color}[#008438](GET) 
https://api.unicornplatform.com/api/v1/blog_posts/get_posts/{subdomain}

Get a list of your published blog posts.

{subdomain} is the default subdomain of your blog's website:

![](https://storage.crisp.chat/users/helpdesk/website/-/7/e/7/8/7e782a40c0560c00/screenshot-2025-07-10-085501_1d2mi5a.png)

### Query parameters

| Name | Type | Description | Required |
| ---- |
| amount | number | Limits the number of posts. | No |
| exclude_post_content | boolean | Omits body_json and body_html from response. | No |

### Response

200 OK

```
[
    {
        "id": number,
        "blog": number,
        "url": string,
        "blogUrl": string,
        "excerpt": string,
        "status": "public" | "draft" | "direct_url",
        "editor_type": string,
        "is_locked": boolean,
        "is_deleted": boolean,
        "title": string,
        "meta_title": string,
        "meta_description": string,
        "meta_keywords": string,
        "is_meta_description_inherited": boolean,
        "is_meta_keywords_inherited": boolean,
        "likes": number,
        "author_id": number,
        "body_json": Json,
        "body_html": string,
        "og_image_url": string,
        "og_image_uuid": string,
        "og_image_width": number,
        "og_image_height": number,
        "thumbnail_alt": string,
        "og_title": string,
        "og_description": string,
        "first_image_url": string,
        "first_image_width": number,
        "first_image_height": number,
        "comments": Json,
        "shares": Json,
        "custom_head_html_code": string,
        "published_on": string,
        "updated_on": string,
        "is_seobot_post": boolean,
        "modified": string,
        "created": string,
        "first_paragraph_text": string
    }
]
```