---
title: Field Reference
description: Every field of the document object, content types, common metric definitions, platform extension fields and freshness statistics.
type: reference
status: stable
updated: 2026-12-03
url: /en/docs/fields
markdown: /en/docs/fields.md
---

Read as needed; not a required onboarding step. Path：[Data Access Path](/en/docs)

# Field Reference

This page explains the document fields, content types and metrics returned by the API. What each platform provides is in [platform coverage](/en/docs/platforms).

## Document object [#document]

The `document` object has the same shape in every endpoint.

| Field | Meaning |
| --- | --- |
| `id` | MarsYoo document ID starting with `doc_`, used to search and read. Not the platform's ID |
| `source_platform` | Source platform code |
| `external_content_id` | The original platform ID, such as a tweet ID, YouTube video ID or Reddit fullname |
| `canonical_url` | Canonical link to the original |
| `content_type` | Content type; see [content types](#content-types) |
| `language`, `region`, `country_code` | Language and region |
| `title` | Current title |
| `current_version_id` | Current body version |
| `status` | Status on the platform, such as `active`, `deleted`, `unavailable` |
| `quality_status` | Content quality: `normal`, `low`, `spam`, `duplicate`, `empty` |
| `published_at` | When it was published on the platform |
| `first_seen_at`, `last_seen_at` | First and most recent collection |
| `cover` | Cover; see [covers and image links](/en/docs/documents#assets) |
| `metadata` | Topics (`topics`), native tags (`tags`), author (`author`), media links (`assets`) and more, by field access |
| `dataset_id` | Internal; don't depend on it |

Storage addresses are never returned. Bodies and parts are only readable through the API.

## Content types [#content-types]

| `content_type` | Meaning | Examples |
| --- | --- | --- |
| `post` | Posts, updates, short content | Weibo, Xiaohongshu, Reddit |
| `article` | Long articles, newsletters, columns | Medium, WeChat articles, Zhihu |
| `video` | Video, possibly with description, subtitles, transcript | YouTube, TikTok, Bilibili, WeChat Channels |
| `comment` | Comments and replies | Reddit, Weibo, Xiaohongshu |
| `product_listing` | Products, listings or app details | Xianyu, Whop, Etsy, Google Play |
| `review` | Product or app reviews | Google Play, Etsy |
| `job_posting` | Job postings | LinkedIn |
| `search_result` | Search result entries | Google Search |
| `trend` | Search interest curves | Google Trends |

Other values: `short_video`, `note`, `thread`, `repost`, `live`, `story`, `podcast`, `repository`, `issue`, `other`.

## What a document is made of [#structure]

| Part | Meaning | How to read |
| --- | --- | --- |
| Body | Title and body | [Content & versions](/en/docs/documents) |
| Metrics | Engagement, recorded as a snapshot at each collection | [Metrics & snapshots](/en/docs/metrics) |
| Parts (`parts`) | Subtitles, OCR, chapters, specs, comments | [Transcripts, OCR & facts](/en/docs/transcripts#parts) |
| Facts (`facts`) | Structured fields such as price, company, location, skills | [Transcripts, OCR & facts](/en/docs/transcripts#facts) |
| Analysis results | Sentiment, entities, intents | [Sentiment, entities & intents](/en/docs/analysis-results) |
| Raw platform data (`platform_payload`) | What the platform returned, as-is | [Read several versions at once](/en/docs/documents#versions-batch) |

## Metric definitions [#metrics]

Platform-specific names map onto these metrics:

| Metric | Meaning | Notes |
| --- | --- | --- |
| `view_count` | Views, reads or impressions | "Was seen", unified |
| `play_count` | Video plays | Preferred on video platforms |
| `like_count` | Likes | |
| `comment_count` | Comments | |
| `share_count` | Shares | Empty where unsupported |
| `collect_count` | Favorites, saves, wants | Similar but not identical across Xiaohongshu, Bilibili, Xianyu |
| `repost_count` | Reposts | Weibo and similar |
| `score` | Reddit score | Upvotes minus downvotes, not likes |
| `author_follower_count` | Author followers | Author state, in `author_snapshot` |

- Metrics a platform doesn't provide are empty, not 0.
- For trends, read snapshot history rather than only the latest value.
- Full metric list and confirmation status per platform: `GET /v1/metrics/registry`.

## Platform extension fields [#extensions]

Fields that can't be unified across platforms live in `platform_metrics` or `platform_payload`, for example:

- Bilibili danmaku and coins.
- Xianyu seller credit and listing status.
- LinkedIn applicant count, seniority and remote mode.
- Google Trends interest, regional breakdown and time points.

`platform_payload` isn't returned by document or snapshot endpoints; read it per version.

## Data freshness [#freshness]

See how long new documents take from publish to ingest, and how many published each day have been ingested:


```bash
curl -sS "$WHALE_BASE_URL/v1/stats/freshness?source_platform=reddit,x&content_type=post&days=30" \
  -H "Authorization: Bearer $WHALE_API_KEY"
```



```json
{
  "from": "2026-10-01",
  "to": "2026-10-30",
  "buckets": ["le_1h", "1h_6h", "6h_24h", "1d_7d", "7d_30d", "gt_30d", "missing", "future"],
  "totals": {"documents": 3120400, "buckets": {"le_1h": 410200, "1h_6h": 380100, "6h_24h": 702300, "1d_7d": 1310200, "7d_30d": 190300, "gt_30d": 112100, "missing": 14200, "future": 1000}},
  "days": [{"date": "2026-10-01", "documents": 98200, "buckets": {"le_1h": 12100}}],
  "published": [{"date": "2026-10-01", "documents": 81200}],
  "platforms": [{"platform": "reddit", "documents": 2010300, "buckets": {"le_1h": 140200}}]
}
```


- `days`, `platforms` and `totals` count new documents by first ingest day (UTC).
- `buckets` is the time from publish to ingest: within 1 hour, 1 to 6 hours, 6 to 24 hours, 1 to 7 days, 7 to 30 days, over 30 days. `missing` means the platform gave no publish time; `future` means the publish time is more than 5 minutes after ingest, usually a source time zone issue.
- `published` counts documents published each day (by publish date) that have been ingested so far. Older content keeps arriving, so recent days still grow.
- Parameters: `days` defaults to 7, up to 90; `source_platform` and `content_type` are optional.
- Access to the platforms is enough. Access limited by language, region or publish time can't use it and returns `403`.
- Data starts 2026-10-26. Documents ingested before 10-30 were backfilled from their first metric snapshot; about 2% without a snapshot that day aren't counted.

## Continue Your Task

[Return to the integration path](/en/docs); return to your task after consulting this reference.
