Every reads endpoint answers with reads. A read starts "pending" and ends "ready" or "failed".
| Field | Type | What it holds |
|---|---|---|
id | string | The read’s id on your account. |
object | string | "read". |
status | string | "pending", "ready" or "failed". |
url | string | The post’s link, as you sent it. |
platform | string | "tiktok", "instagram", "youtube" or "x". |
cached | boolean | True when WhyViral had already read the post, so it came back at once. |
credits | number | What this read cost; 0 when it failed. |
created_at | string | When you asked, in ISO 8601 UTC. |
finished_at | string | null | When it became ready or failed; null while pending. |
error | object | null | {code, message} when it failed, else null. |
post | object | null | The post as the platform shows it; null until it’s fetched. |
read | object | null | What the post says and shows; null until it’s ready. |
post
The post as the platform shows it, filled in once it’s fetched.
| Field | What it holds |
|---|---|
kind | "video", "slides" (photo post, carousel or slideshow) or "text". |
caption | The caption or the post’s text. |
posted_at | When it was posted, or null. |
duration_sec | A video’s length in seconds, else null. |
slide_count | How many slides a photo post has, else null. |
cover_url | A public cover image WhyViral hosts, or null. |
creator | {handle, name, profile_url, avatar_url, followers}, or null when unknown. |
stats | {views, likes, comments, shares, saves, as_of}: counts at as_of, each null when the platform doesn’t show it. |
read
What the post says and shows, filled in once the read is ready.
| Field | What it holds |
|---|---|
category | One of the categories below. |
title | A short headline naming the concrete thing, in the post’s language. |
summary | One to three short sentences on what the post gives you. |
language | The post’s main language as an ISO 639-1 code, or null. |
unit | What every at counts: "second", "slide" or "line". |
transcript | [{at, text}]: spoken lines verbatim, or a text post’s lines. |
on_screen_text | [{at, text}]: words shown on screen or on each slide, verbatim. |
ingredients | [{quantity, item}]: food or drink ingredients, quantities as stated. |
steps | The steps the post gives, in order. |
places | [{name, address, city, country}]; country is an ISO 3166-1 alpha-2 code. |
events | [{name, when, where}] as stated. |
products | [{name, brand, price, store}] as stated. |
apps | [{name, platforms, price}]: apps, websites and AI tools named. |
works | [{kind, title, by}]: books, films and shows; kind is "book", "movie" or "show". |
A read states only what the post says or shows. Lists are empty when the post names nothing for them, and any detail it doesn’t state, such as a quantity, an address, a date or a price, is null rather than guessed.
Categories
Every ready read has one of 12 categories: what the post is mainly for.
category | What the post is mainly for |
|---|---|
places | Venues, travel spots and things to do somewhere |
recipes | Food or drink to make |
shopping | Products to buy |
guides | How-tos, tips and tutorials |
articles | News, essays and explainers |
books | Books |
movies_tv | Films and shows |
workouts | Exercise routines |
events | Something happening on a date |
software_tools | Apps, websites and AI tools |
ideas | Inspiration such as decor, outfits, gifts or quotes |
other | Anything else |
Positions
transcript and on_screen_text give each entry an at, counted in the read’s unit.
unit | What at counts |
|---|---|
second | A video: at is the second the line starts or the text first appears. |
slide | A photo post, carousel or slideshow: at is the slide number, from 1. |
line | A text post: at is the line number, from 1. on_screen_text is empty. |
The API reference lists the same fields with their exact types.