Lemon8 post API
Lemon8 post data in one REST call — normalized to the stable JSON schema shared across every FetchPI platform.
- 1 documented endpoints
- GET /v1/lemon8/posts/{id}
Contract summary (English): Get a normalized Lemon8 note (capability lemon8.post)
- Normalized response entity
- lemon8/post
- capability
- lemon8.post
Every response also carries freshness (cache / default / live) and billing metadata.
Use cases
- Feed content-analysis pipelines with structured {{platform}} posts: text, metrics, timestamps and media references.
- Power moderation, research and monitoring workflows that need the original content plus engagement counts.
- Archive {{platform}} content as stable, normalized JSON instead of brittle page scraping.
Response fields
Lemon8 Post (normalized)
Normalized Lemon8 post — the ONLY upper-layer format; provider-private fields are dropped. Serves lemon8.post and the post lists of /v1/lemon8.
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Platform-native post id (aweme_id/photo_id/item_id/group_id per platform). |
| platform | "lemon8" | Required | — |
| type | "post" | Required | — |
| author.id | string | Required | Author platform id. |
| author.username | string | Required | Author addressing key without leading @. |
| author.display_name | string | null | Required | Author display name. |
| author.verified | boolean | Required | — |
| title | string | null | Optional | Post title (the platform carries titles beside the text). |
| text | string | null | Required | Post text (desc/caption/content; null for media-only posts). |
| created_at | string | Required | Post publish time, UTC RFC3339. |
| metrics.likes | integer | Required | Like count. |
| metrics.comments | integer | Required | Comment count. |
| metrics.collects | integer | Required | Collect/save count. |
| attachments | object[] | Optional | Media attachments (max 8): photo urls and/or the video block. |
| fetched_at | string | Required | Normalization time of the stored snapshot (UTC). |
Field notes are shown in the contract's original English.
Response meta
| Field | Type | Required | Description |
|---|---|---|---|
| mode | cache | default | live | Required | Effective mode after merging param > max_age > source policy (D-004). |
| age_seconds | integer | null | Optional | Age of served data; null when unknown. |
| source_layer | cache | db | upstream | Required | Which layer served the response (PRD §10). |
| stale | boolean | Optional | True when stale data was served under stale_if_error / SWR (D-004). |
| billing.amount_credits | integer | Required | Micro-USD (1e-6 USD) actually charged for this request. |
| billing.cache_hit | boolean | Required | — |
Field notes are shown in the contract's original English.
Example request & response
/v1/lemon8/posts/{id}curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
"https://api.fetchpi.com/v1/lemon8/posts/1842951234567890123"{
"data": {
"id": "7423050000000001001",
"platform": "lemon8",
"type": "post",
"author": {
"id": "7304994945116",
"username": "meshdata_lemon",
"display_name": "MeshData on Lemon8",
"verified": false
},
"title": "Lemon8 note: data APIs",
"text": "A lifestyle note with structured metrics.",
"created_at": "2026-09-13T11:00:00Z",
"metrics": {
"likes": 1320,
"comments": 64,
"collects": 210
},
"attachments": [
{
"type": "photo",
"url": "https://cdn.example.com/images/lemon8-7423050000000001001-1.jpeg"
},
{
"type": "photo",
"url": "https://cdn.example.com/images/lemon8-7423050000000001001-2.jpeg"
}
],
"fetched_at": "2026-09-21T09:00:00Z"
},
"meta": {
"request_id": "req_01HTXQ8Z9HTQ",
"freshness": {
"mode": "default",
"age_seconds": 0,
"source_layer": "upstream",
"stale": false
},
"billing": {
"amount_credits": 100,
"cache_hit": false
}
}
}Free demo
Create a free account, grab an API key and call this endpoint from the browser-based Playground.
Try it in the PlaygroundParameter tables, error codes and response semantics for this endpoint live in the API documentation.
Open the endpoint referenceFrequently asked questions
Which content fields are included?
The normalized content entity — text, author, timestamps, engagement metrics and media references — as documented in the field table below, plus freshness and billing metadata.
Can I try this endpoint for free?
Yes — register an account, grab an API key and call it from the Playground in the console.
How is the post capability billed?
Data API calls are billed per request in credits, with different cache/live freshness multipliers. Current per-capability prices live on the pricing page.
Pricing
Per-request credit billing with cache/live freshness options — current prices live on the pricing page.