Skip to content
Navigation

Search posts

Posts by words, platform, account, collection, outlier score or date; sorted and paged. Needs the videos:read permission.

GET
https://app.mosio.me/v1/discover/posts

Authorization

  • apiKeyAPI key in headerrequired

Query parameters

  • qoptionalstring

    Words in the caption or transcript

    maxLength: 200
  • platformoptionaltiktokorinstagramoryoutubeorfacebook
  • account_idoptional

    Only posts of these accounts

    One of the following:

    • string
    • array<string>
  • collection_idoptionalstring

    Only posts in this Library collection

    pattern: ^dcl_[0-9a-f]{16}$
  • min_outlieroptionalnumber

    Only posts at least this many times their account's median (2 = outlier)

    maximum: 1000 · minimum: 0
  • min_viewsoptionalinteger
    maximum: 9007199254740991 · minimum: 0
  • kindoptionalvideoorimageorcarousel
  • posted_fromoptionalstring

    YYYY-MM-DD, Jakarta day

    format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
  • posted_tooptionalstring
    format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
  • sortoptionaloutlierorviewsorengagementorlikesorcommentsorshares+1 more
    default: "outlier"
  • pageoptionalinteger
    maximum: 1000 · minimum: 1 · default: 1
  • limitoptionalinteger
    maximum: 100 · minimum: 1 · default: 25

Returns

200

A page of posts.

JSON
  • postsarray ofobjectrequired
    • idstringrequired
    • platformtiktokorinstagramoryoutubeorfacebookrequired
    • urlstringrequired
    • kindvideoorimageorcarouselrequired
    • captionstringrequired
    • thumbnail_urlstring | nullrequired
    • duration_secondsnumber | nullrequired
    • posted_atstring | nullrequired
    • viewsnumber | nullrequired
    • likesnumber | nullrequired
    • commentsnumber | nullrequired
    • sharesnumber | nullrequired
    • savesnumber | nullrequired
    • engagement_ratenumber | nullrequired
    • outlier_scorenumber | nullrequired
    • has_transcriptbooleanrequired
    • reference_media_idstring | nullrequired
    • likedbooleanrequired
    • accountobjectrequired
      • idstringrequired
      • platformtiktokorinstagramoryoutubeorfacebookrequired
      • handlestringrequired
      • namestring | nullrequired
      • avatar_urlstring | nullrequired
      • median_viewsnumber | nullrequired
    • last_seen_atstringrequired
  • totalintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991
  • pageintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991
  • pagesintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991

400

The request body is not valid JSON or does not match the schema.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

401

The API key is missing or not valid.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

Type to search…

↑↓ navigate↵ selectEsc close