DataPI.

What would you like to understand?

Preparing search…
    All results and search filters →
    Social data engineering

    Instagram data fields: what the five operations actually return

    A field-level reference for the public Instagram operations: inputs, bounded lists, optional post and comment fields, and what “missing” means.

    3 min read

    Most integration surprises are field surprises. This reference lists what each Instagram operation accepts and can return, so a schema decision is made before the first request rather than discovered during a review.

    Inputs and result shapes

    All five operations use the same asynchronous request contract. Input rules are strict: unknown or additional input properties are rejected instead of ignored, so a typo fails loudly.

    OperationRequired inputOptional inputResult
    social.instagram.profile.readusername 1–64 charsNoneprofile object, flexible fields
    social.instagram.post.readcanonical public URLNonepost object
    social.instagram.posts.searchusername 1–30 allowed charslimit 1–100, default 20posts array
    social.instagram.hashtag.posts.searchhashtag 1–100 chars, no # or spacelimit 1–100, default 20posts array
    social.instagram.comments.listcanonical public URLlimit 1–100, default 20comments array

    Post fields you can expect

    Post fields are optional: a field appears only when the source exposed it at collection time. That is why a schema should make every field nullable and why a zero should never stand in for an absent value.

    FieldTypeNotes
    id, shortcode, permalinkstringStable within the response
    author_id, author_usernamestringAuthor identity as exposed
    captionstringFree text, may contain hashtags and mentions
    published_atdate-timeObservation-relative, keep the timezone
    formatenumimage, video, carousel, reel, unknown
    likes_count, comments_countinteger ≥ 0Platform-reported counters
    views_countinteger ≥ 0Video surfaces only
    hashtags, mentionsstring[]Parsed from the caption

    Comment fields and thread limits

    Comment reads return a bounded sample. Reply and parent coverage is not guaranteed, so a thread reconstruction should record how many replies were actually observed rather than assuming a complete tree.

    FieldTypeNotes
    id, post_idstringpost_id links to the requested post
    author_id, author_usernamestringOptional
    textstringPublic comment text
    parent_idstringPresent only when a parent was exposed
    published_atdate-timeOptional
    likes_countinteger ≥ 0Optional

    Rules that hold across all five

    • Missing fields are omitted. They are never fabricated as zero or an empty string.
    • An empty array means no records were returned; it does not prove the content does not exist.
    • Lists are bounded to at most 100 items, with no date-range or sort controls on these contracts.
    • Availability is re-evaluated when work is accepted, so a listed operation can still return 503 source_unavailable.

    Frequently asked questions

    Run this method on your own data

    Start with a credential and read the coverage of each response before drawing a conclusion. Plans are monthly, and there is no checkout on this site.