> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuralverge.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram posts

> Get the latest posts of an Instagram profile (or a single post by URL): caption, hashtags, likes, comments, media and date. 5 point per returned record.



## OpenAPI

````yaml /openapi.json post /functions/v1/run-instagram-posts
openapi: 3.0.0
info:
  title: NeuralVerge API
  version: 1.0.0
  description: >-
    NeuralVerge API for AI research, search, extraction, and structured data
    source execution.
servers:
  - url: https://api.neuralverge.ai
    description: NeuralVerge API
security:
  - BearerAuth: []
tags:
  - name: AI Research
    description: Multi-step research workflows and the sessions they run in.
  - name: AI Extract
    description: Schema-driven extraction workflows.
  - name: Search
    description: Fast, synchronous web search with no session or polling.
  - name: Company intelligence
    description: Company profile lookups from company databases.
  - name: E-commerce & Marketplaces
    description: >-
      Product, seller, and review lookups on Amazon, eBay, Walmart, AliExpress,
      and Alibaba.
  - name: Enrichment
    description: Email and phone enrichment, validation, and discovery.
  - name: Product reviews
    description: >-
      Software and business reviews from Capterra, Gartner Peer Insights, and
      Trustpilot.
  - name: Social media
    description: LinkedIn profile, company, and people lookups.
  - name: Company Registries
    description: Company Registries data sources.
  - name: Startup & Funding Data
    description: Startup & Funding Data data sources.
  - name: Maps & Local Businesses
    description: Maps & Local Businesses data sources.
paths:
  /functions/v1/run-instagram-posts:
    post:
      tags:
        - Social media
      summary: Instagram posts
      description: >-
        Get the latest posts of an Instagram profile (or a single post by URL):
        caption, hashtags, likes, comments, media and date. 5 point per returned
        record.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  description: Username, profile or post URL. e.g. natgeo
                  type: string
                max_items:
                  description: Max posts (up to 1000)
                  type: integer
                  minimum: 1
                  maximum: 1000
                  default: 20
                newer_than:
                  description: Only newer than (date or period). e.g. 2026-01-01 or 30 days
                  type: string
              required:
                - url
            example:
              url: natgeo
              max_items: 2
      responses:
        '200':
          description: Run completed.
          content:
            application/json:
              example:
                session_id: 11111111-1111-1111-1111-111111111111
                kind: instagram_posts
                url: https://www.instagram.com/natgeo/
                max_items: 2
                newer_than: ''
                partial: false
                human: |-
                  # Instagram posts

                  - **Source:** @natgeo
                  - **Max posts:** 2
                  - **Records returned:** 2
                machine:
                  total_items: 2
                  items:
                    - id: '4015859002104765753'
                      short_code: De7MnxIgl05
                      url: https://www.instagram.com/p/De7MnxIgl05/
                      type: Video
                      product_type: clips
                      caption: >-
                        It's a battle of giants on the beaches of South Georgia,
                        where male southern elephant seals clash for territory
                        and access to females during breeding season.
                        Photographer Martin Gregus Jr. @mywildlive
                      hashtags: []
                      mentions:
                        - mywildlive
                      timestamp: '2026-10-25T17:02:48.000Z'
                      likes_count: 74045
                      comments_count: 188
                      video_view_count: null
                      video_play_count: 1734126
                      video_duration: 24.362667
                      display_url: >-
                        https://instagram.fmad6-1.fna.fbcdn.net/v/t51.82787-15/867079764_18711932728019133_6659946040778892271_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=1&ig_cache_key=NDAxNTg1OTAwMjEwNDc2NTc1Mw%3D%3D.3-ccb7-5&ccb=7-
                      video_url: >-
                        https://instagram.fmad6-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOh78TQXjihORjo0SEHS0JjmI7LkZfTFhMfnFax4KCKQryQpr9Gd871bYg-oLfaMFQU44cLSrNtu8jqCIUeX1B2RWHnbHQGV-QpY7Q.mp4?_nc_cat=110&_nc_oc=AdoHj6q2XVtWY_4Leq
                      images: []
                      owner_id: '787132'
                      owner_username: natgeo
                      owner_full_name: National Geographic
                      location_id: null
                      location_name: null
                      tagged_users: []
                      is_pinned: false
                      is_sponsored: false
                      music:
                        artist: natgeo
                        song: Original audio
                        uses_original_audio: true
                      child_posts_count: 0
                      source_url: https://www.instagram.com/natgeo/
                    - id: '4015345029736786094'
                      short_code: De5XwfEF2iu
                      url: https://www.instagram.com/p/De5XwfEF2iu/
                      type: Sidecar
                      product_type: carousel_container
                      caption: >-
                        National Geographic photographer @jaimerojo has spent
                        over 20 years photographing monarch butterflies across
                        North America, following their annual migrations from
                        the forests of Mexico to Canada. Duri
                      hashtags: []
                      mentions:
                        - jaimerojo
                      timestamp: '2026-10-25T21:00:01.000Z'
                      likes_count: 128238
                      comments_count: 188
                      video_view_count: null
                      video_play_count: null
                      video_duration: null
                      display_url: >-
                        https://scontent-itm1-1.cdninstagram.com/v/t51.82787-15/865045802_18711672004019133_8350775331017216006_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAxNTM0NDk1ODcyNzI0MTU4Mw%3D%3D.3-ccb7-5&ccb=7
                      video_url: null
                      images:
                        - >-
                          https://scontent-itm1-1.cdninstagram.com/v/t51.82787-15/865045802_18711672004019133_8350775331017216006_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAxNTM0NDk1ODcyNzI0MTU4Mw%3D%3D.3-ccb7-5&ccb=7
                        - >-
                          https://scontent-itm1-1.cdninstagram.com/v/t51.82787-15/866827095_18711672043019133_6999998346600132906_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAxNTM0NDk2NTc5MDQzMzkzNg%3D%3D.3-ccb7-5&ccb=7
                        - >-
                          https://scontent-itm1-1.cdninstagram.com/v/t51.82787-15/865937313_18711672013019133_3055358096878737152_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAxNTM0NDk1ODE3MzU1NTU4Mg%3D%3D.3-ccb7-5&ccb=7
                      owner_id: '787132'
                      owner_username: natgeo
                      owner_full_name: National Geographic
                      location_id: null
                      location_name: null
                      tagged_users:
                        - natgeoanimals
                      is_pinned: false
                      is_sponsored: false
                      music: null
                      child_posts_count: 4
                      source_url: https://www.instagram.com/natgeo/
                  errors: []
                total_points: 10
              schema:
                type: object
                properties:
                  session_id:
                    type: string
                    description: Session identifier for this run.
                  kind:
                    type: string
                    description: Data source identifier for this endpoint.
                  url:
                    type: string
                  max_items:
                    type: integer
                  newer_than:
                    type: string
                  partial:
                    type: boolean
                    description: >-
                      True when the scrape stopped early and returned the
                      records collected so far.
                  human:
                    type: string
                    description: Markdown summary of the result, for display.
                  machine:
                    type: object
                    properties:
                      total_items:
                        type: integer
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            short_code:
                              type: string
                            url:
                              type: string
                            type:
                              type: string
                            product_type:
                              type: string
                            caption:
                              type: string
                            hashtags:
                              type: array
                              items: {}
                            mentions:
                              type: array
                              items:
                                type: string
                            timestamp:
                              type: string
                            likes_count:
                              type: integer
                            comments_count:
                              type: integer
                            video_view_count: {}
                            video_play_count:
                              type: integer
                              nullable: true
                            video_duration:
                              type: number
                              nullable: true
                            display_url:
                              type: string
                            video_url:
                              type: string
                              nullable: true
                            images:
                              type: array
                              items:
                                type: string
                                nullable: true
                            owner_id:
                              type: string
                            owner_username:
                              type: string
                            owner_full_name:
                              type: string
                            location_id: {}
                            location_name: {}
                            tagged_users:
                              type: array
                              items:
                                type: string
                                nullable: true
                            is_pinned:
                              type: boolean
                            is_sponsored:
                              type: boolean
                            music:
                              type: object
                              properties:
                                artist:
                                  type: string
                                song:
                                  type: string
                                uses_original_audio:
                                  type: boolean
                              nullable: true
                            child_posts_count:
                              type: integer
                            source_url:
                              type: string
                      errors:
                        type: array
                        items: {}
                    description: Structured result payload.
                  total_points:
                    type: integer
                    description: Points charged for this run.
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '402':
          description: Payment Required
        '500':
          description: Internal Error
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.