# Weibo Post Detail API Documentation

Retrieve a single Weibo post by its MID: post ID, creation date, text (HTML stripped), repost count, comment count, like count, picture IDs, page info for video posts and the author summary. Optionally includes the first page of hot comments. A media-only post with empty text is still a successful response.

- **Documentation:** [https://scrappa.co/docs/weibo-api/weibo_post](https://scrappa.co/docs/weibo-api/weibo_post)
- **API group:** Weibo API
- **Endpoint:** `GET https://scrappa.co/api/weibo/post`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `mid` | string | Yes | Weibo post MID (19-digit numeric string). Example: 5334458975919562. |
| `with_comments` | boolean | No | Include the first page of hot comments. Defaults to true. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/weibo/post?mid=5334458975919562&with_comments=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": "5334458975919562",
        "mid": "5334458975919562",
        "created_at": "2026-08-21T13:06:32Z",
        "text": "Post text...",
        "reposts_count": 100,
        "comments_count": 228,
        "attitudes_count": 500,
        "pic_ids": [
            "pic1"
        ],
        "page_info": {
            "type": "video",
            "page_pic": {
                "url": "https://..."
            }
        },
        "user": {
            "id": 7857214613,
            "screen_name": "\u5e74\u7cd5\u6761\u597d\u9999"
        },
        "comments": {
            "total": 228,
            "has_more": true,
            "items": [
                {
                    "id": "5334459287078493",
                    "floor_number": 1,
                    "text": "Comment text...",
                    "created_at": "Fri Aug 21 21:07:46 +0800 2026",
                    "like_count": 10,
                    "user": {
                        "id": 5186322697,
                        "screen_name": "\u5c7f\u9e7f"
                    }
                }
            ]
        }
    },
    "meta": {
        "endpoint_family": "post_detail"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The mid parameter is missing or not a numeric string. This response is not billable. |
| 404 | Post Not Found | The requested Weibo post was not found. This response is not billable. |
| 503 | Upstream Unavailable | The Weibo API is temporarily unavailable. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
