FetchPI
로그인
← 모든 API 둘러보기

웨이보 user_posts API

REST 호출 한 번으로 웨이보 user_posts 데이터를 조회 — 모든 플랫폼이 공유하는 안정적인 JSON 스키마로 정규화됩니다.

  • 게시된 엔드포인트 1개
  • GET /v1/weibo/users/{username}/posts

계약 요약(영어): List Weibo user posts (capability weibo.user_posts)

정규화된 응답 엔터티
weibo/user_posts
capability
weibo.user_posts

모든 응답에는 신선도(cache / default / live)와 과금 메타데이터도 포함됩니다.

활용 사례

  • {{platform}} 계정의 게시물을 순서대로 모니터링, 각 항목은 정규화된 지표와 함께 제공됩니다.
  • 스케줄 작업으로 피드를 다시 조회해 새 활동을 감지 — 알림·요약 워크플로우에 적합.
  • 비교 가능한 구조화 출력으로 계정 간 게시 빈도와 참여 성과를 벤치마킹.

응답 필드

Weibo weibo.user_posts response (normalized envelope)

Response envelope of the /v1/weibo weibo.user_posts capability. Cursor is opaque and platform-independent; page size follows the request's `limit` parameter (1..100, default 20).

필드타입필수설명
datapost[]필수—
next_cursorstring | null필수Opaque pagination cursor; null when the list is exhausted.
meta.request_idstring필수—
meta.freshness.modecache | default | live필수—
meta.freshness.age_secondsinteger | null선택—
meta.freshness.source_layercache | db | upstream필수—
meta.freshness.staleboolean선택—
meta.billing.cache_hitboolean필수—
meta.billing.amount_creditsinteger필수Credits actually charged for this request (the settlement unit; 1 credit = $0.0001, permanent).

필드 비고는 계약 영문 원문으로 표시됩니다.

응답 메타데이터

필드타입필수설명
modecache | default | live필수Effective mode after merging param > max_age > source policy (D-004).
age_secondsinteger | null선택Age of served data; null when unknown.
source_layercache | db | upstream필수Which layer served the response (PRD §10).
staleboolean선택True when stale data was served under stale_if_error / SWR (D-004).
billing.amount_creditsinteger필수Micro-USD (1e-6 USD) actually charged for this request.
billing.cache_hitboolean필수—

필드 비고는 계약 영문 원문으로 표시됩니다.

요청·응답 예시

GET/v1/weibo/users/{username}/posts
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/weibo/users/newdev/posts"
{
  "data": [
    {
      "id": "5551000000001001",
      "platform": "weibo",
      "type": "post",
      "author": {
        "id": "6605000122",
        "username": "微博数据站",
        "display_name": "微博数据站",
        "verified": true
      },
      "text": "一条关于数据 API 的微博。",
      "created_at": "2026-09-17T04:34:56Z",
      "metrics": {
        "likes": 8230,
        "comments": 1204,
        "shares": 988
      },
      "attachments": [
        {
          "type": "photo",
          "url": "https://cdn.example.com/images/weibo-5551000000001001-1.jpeg"
        },
        {
          "type": "photo",
          "url": "https://cdn.example.com/images/weibo-5551000000001001-2.jpeg"
        }
      ],
      "fetched_at": "2026-09-21T09:00:00Z"
    }
  ],
  "next_cursor": null,
  "meta": {
    "request_id": "req_01HTXQ8Z9HTQ",
    "freshness": {
      "mode": "default",
      "age_seconds": 0,
      "source_layer": "upstream",
      "stale": false
    },
    "billing": {
      "amount_credits": 200,
      "cache_hit": false
    }
  }
}

무료 데모

무료 계정을 만들고 API 키를 발급받으면 브라우저 Playground에서 바로 호출할 수 있습니다.

Playground에서 사용해 보기

이 엔드포인트의 파라미터 표, 오류 코드, 응답 의미는 API 문서에 있습니다.

엔드포인트 레퍼런스 열기

자주 묻는 질문

피드를 주기적으로 폴링할 수 있나요?

네 — 일반 REST 호출이므로 어떤 스케줄러로도 재조회할 수 있습니다. 신선도 파라미터로 데이터 신선도와 과금 방식을 제어하세요.

이 엔드포인트를 무료로 써볼 수 있나요?

네 — 계정을 등록하고 API 키를 발급받으면 콘솔의 Playground에서 호출할 수 있습니다.

user_posts 능력은 어떻게 과금되나요?

Data API는 요청 단위 크레딧 과금이며 cache/live 신선도에 따라 배율이 다릅니다. 현재 능력별 가격은 가격 페이지를 기준으로 합니다.

가격

요청 단위 크레딧 과금, cache/live 신선도 옵션 — 최신 가격은 가격 페이지 기준입니다.