Skip to content

The read object

Every field of a read, the categories a post can have, and what positions count.

Every reads endpoint answers with reads. A read starts "pending" and ends "ready" or "failed".

FieldTypeWhat it holds
idstringThe read’s id on your account.
objectstring"read".
statusstring"pending", "ready" or "failed".
urlstringThe post’s link, as you sent it.
platformstring"tiktok", "instagram", "youtube" or "x".
cachedbooleanTrue when WhyViral had already read the post, so it came back at once.
creditsnumberWhat this read cost; 0 when it failed.
created_atstringWhen you asked, in ISO 8601 UTC.
finished_atstring | nullWhen it became ready or failed; null while pending.
errorobject | null{code, message} when it failed, else null.
postobject | nullThe post as the platform shows it; null until it’s fetched.
readobject | nullWhat the post says and shows; null until it’s ready.

post

The post as the platform shows it, filled in once it’s fetched.

FieldWhat it holds
kind"video", "slides" (photo post, carousel or slideshow) or "text".
captionThe caption or the post’s text.
posted_atWhen it was posted, or null.
duration_secA video’s length in seconds, else null.
slide_countHow many slides a photo post has, else null.
cover_urlA 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.

FieldWhat it holds
categoryOne of the categories below.
titleA short headline naming the concrete thing, in the post’s language.
summaryOne to three short sentences on what the post gives you.
languageThe post’s main language as an ISO 639-1 code, or null.
unitWhat 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.
stepsThe 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.

categoryWhat the post is mainly for
placesVenues, travel spots and things to do somewhere
recipesFood or drink to make
shoppingProducts to buy
guidesHow-tos, tips and tutorials
articlesNews, essays and explainers
booksBooks
movies_tvFilms and shows
workoutsExercise routines
eventsSomething happening on a date
software_toolsApps, websites and AI tools
ideasInspiration such as decor, outfits, gifts or quotes
otherAnything else

Positions

transcript and on_screen_text give each entry an at, counted in the read’s unit.

unitWhat at counts
secondA video: at is the second the line starts or the text first appears.
slideA photo post, carousel or slideshow: at is the slide number, from 1.
lineA 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.

Type to search…

↑↓ navigate↵ selectEsc close