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

# Search

> Instagram native search — find users, hashtags, and places. Use this for account or entity lookup. It returns one page and does not return posts.

<Note>
  💳 **1 credit** per request
</Note>

Instagram's native search for users, hashtags, and places. Use it for quick account or entity lookup. It returns a single page and does **not** return posts, for a topic's curated posts, use [Popular Search](/api-reference/instagram/search-popular).


## OpenAPI

````yaml GET /v1/scrape/instagram/search
openapi: 3.1.0
info:
  title: SociaVault API
  version: 1.0.0
  description: >-
    # SociaVault API Documentation


    The SociaVault API provides comprehensive access to social media data
    extraction across multiple platforms.


    ## Features


    - **Multi-Platform Support**: TikTok, Instagram, YouTube, Facebook, Twitter,
    Reddit, Threads, and more

    - **Credit-Based System**: Pay-as-you-go pricing with transparent credit
    costs

    - **High Performance**: Fast, reliable data extraction

    - **Comprehensive Data**: Detailed user profiles, videos, posts, comments,
    and analytics


    ## Authentication


    All API requests require authentication using an API key in the `X-API-Key`
    header:


    ```bash

    X-API-Key: sk_live_your_api_key_here

    ```


    Get your API key from the [SociaVault
    Dashboard](https://sociavault.com/dashboard).


    ## Credits


    Each endpoint consumes credits based on data complexity:

    - Simple requests (profiles): 1 credit

    - Complex requests (demographics): 20+ credits

    - Paginated requests: Credits per page


    Check your credit balance in the dashboard or via the API.


    ## Support


    - **Documentation**: https://docs.sociavault.com

    - **Email**: support@sociavault.com

    - **Discord**: https://discord.gg/sociavault
  contact:
    name: SociaVault Support
    email: support@sociavault.com
    url: https://sociavault.com/support
  license:
    name: Commercial
    url: https://sociavault.com/terms
servers:
  - url: https://api.sociavault.com
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: account
    description: Account management and credit balance
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/account
  - name: tiktok
    description: Scrape TikTok profiles, videos, and more
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/tiktok
  - name: tiktok-shop
    description: Everything about TikTok Shop
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/tiktok-shop
  - name: instagram
    description: Gets Instagram profiles, posts, and reels
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/instagram
  - name: youtube
    description: Scrape YouTube channels, videos, and more
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/youtube
  - name: linkedin
    description: Scrape LinkedIn
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/linkedin
  - name: facebook
    description: Get public Facebook profiles and posts
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/facebook
  - name: facebookAdLibrary
    description: Scrapes the Facebook (Meta) Ad Library
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/facebookAdLibrary
  - name: facebookMarketplace
    description: Search Facebook Marketplace and pull full listing details
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/facebookMarketplace
  - name: googleAdLibrary
    description: >-
      Scrape the Google Ad Transparency Library. *This only gets the public ads.
      Some ads you need to log in for and sadly we can't get those. Also, since
      there are so many variations, the return types might not all be 100% the
      same.
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/googleAdLibrary
  - name: linkedinAdLibrary
    description: Search the LinkedIn Ad Library
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/linkedinAdLibrary
  - name: twitter
    description: Get Twitter profiles, tweets, followers and more
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/twitter
  - name: reddit
    description: Scrape Reddit posts and comments
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/reddit
  - name: threads
    description: Get Threads posts
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/threads
  - name: google
    description: Scrape Google search results
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/google
paths:
  /v1/scrape/instagram/search:
    get:
      tags:
        - instagram
      summary: Search
      description: >-
        Instagram native search — find users, hashtags, and places. Use this for
        account or entity lookup. It returns one page and does not return posts.
      operationId: instagram_Search
      parameters:
        - name: query
          in: query
          description: The username, hashtag, place, or keyword to search for
          required: true
          schema:
            type: string
            example: nike
      responses:
        '200':
          description: >-
            Successful response


            **Key Response Fields:**

            - `data.users`: Matched accounts, keyed by index (0, 1, 2, ...)

            - `data.users[0].username`: Account username

            - `data.users[0].full_name`: Account display name

            - `data.users[0].id`: Numeric user ID

            - `data.users[0].is_verified`: Whether the account is verified

            - `data.users[0].profile_pic_url`: Profile picture URL

            - `data.hashtags`: Matched hashtags, keyed by index

            - `data.hashtags[0].name`: Hashtag name (without #)

            - `data.hashtags[0].media_count`: Number of posts using the hashtag

            - `data.places`: Matched places, keyed by index (name, title,
            `facebook_places_id`)

            - `data.keywords`: Suggested keyword entities (when present)

            - `data.rank_token`: Token identifying this search ranking
          content:
            application/json:
              example:
                success: true
                data:
                  success: true
                  credits_charged: 1
                  query: nike
                  users:
                    '0':
                      position: 0
                      id: '13460080'
                      username: nike
                      full_name: Nike
                      is_verified: true
                      profile_pic_url: >-
                        https://instagram.fsac1-2.fna.fbcdn.net/v/t51.82787-19/551608484_18567162979020081_1135468084872726555_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4zOTkuYzIifQ&_nc_ht=instagram.fsac1-2.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gHjBIKaUr_9pd3nINydiFqJv22UgdcCa3XxRGEca4DXxkhcYCq04Xd2WhO2e7Jiu2k&_nc_ohc=jOWQehR8N0kQ7kNvwGnufdQ&_nc_gid=dnxxnK_q5etfB3UQyzX8Iw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQFc4e1XxH7RdscoCEk_5pOJxbShCpVQIUokJi1ZQleC1Q&oe=6A73707A&_nc_sid=10d13b
                    '1':
                      position: 1
                      id: '1109960748'
                      username: nikh.pv
                      full_name: Νίκη Παυλίδου
                      is_verified: false
                      profile_pic_url: >-
                        https://instagram.fsac1-2.fna.fbcdn.net/v/t51.82787-19/748812390_18608746684008749_4406504406509178642_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsac1-2.fna.fbcdn.net&_nc_cat=105&_nc_oc=Q6cZ2gHjBIKaUr_9pd3nINydiFqJv22UgdcCa3XxRGEca4DXxkhcYCq04Xd2WhO2e7Jiu2k&_nc_ohc=iq7QMFSTbz0Q7kNvwHrIroV&_nc_gid=dnxxnK_q5etfB3UQyzX8Iw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQH2BMDhZvc35C01y519nwSLXU9igM_0q0Fk_gDJSpThaA&oe=6A73992D&_nc_sid=10d13b
                    '2':
                      position: 3
                      id: '73862723921'
                      username: nikediits
                      full_name: 𝒩𝒾𝓀𝒶🪽
                      is_verified: false
                      profile_pic_url: >-
                        https://instagram.fsac1-2.fna.fbcdn.net/v/t51.82787-19/723557005_17900202573459922_5079670003947395208_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42OTYuYzIifQ&_nc_ht=instagram.fsac1-2.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gHjBIKaUr_9pd3nINydiFqJv22UgdcCa3XxRGEca4DXxkhcYCq04Xd2WhO2e7Jiu2k&_nc_ohc=YJw7qN3PCgIQ7kNvwEgyFlr&_nc_gid=dnxxnK_q5etfB3UQyzX8Iw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQHw5RvmhjjR-SuG9G4A2TAEqLC--aw4b82Qpisc40c4cQ&oe=6A73766F&_nc_sid=10d13b
                    '3':
                      position: 4
                      id: '23678829'
                      username: nikefootball
                      full_name: Nike Football
                      is_verified: true
                      profile_pic_url: >-
                        https://instagram.fsac1-2.fna.fbcdn.net/v/t51.82787-19/703222723_18606776074062830_6301137681281101191_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDAwLmMyIn0&_nc_ht=instagram.fsac1-2.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gHjBIKaUr_9pd3nINydiFqJv22UgdcCa3XxRGEca4DXxkhcYCq04Xd2WhO2e7Jiu2k&_nc_ohc=vc6P1ivnXskQ7kNvwHL5V8x&_nc_gid=dnxxnK_q5etfB3UQyzX8Iw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQEP-J486Ttu1TGg2Pfs_pi-AFg-jpGz-AKRLah8VWrWgg&oe=6A7392BE&_nc_sid=10d13b
                  hashtags:
                    '0':
                      position: 2
                      id: '17841562978125529'
                      name: nikewomen
                      media_count: 2036708
                      search_result_subtitle: null
                    '1':
                      position: 11
                      id: '17841563764097648'
                      name: nikeairmax
                      media_count: 4906405
                      search_result_subtitle: null
                  places:
                    '0':
                      position: 53
                      id: '715603272'
                      name: Nike
                      title: Nike
                      subtitle: ''
                      facebook_places_id: '106068296090172'
                  keywords: {}
                  rank_token: 933815c3-4008-42a9-8675-27f667382741
                credits_used: 1
                endpoint: instagram/search
        '400':
          description: Bad Request - Invalid parameters or missing required fields
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: query is required for Instagram search
                required:
                  - error
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Invalid API key
                  docs:
                    type: string
                    example: https://docs.sociavault.com/authentication
                required:
                  - error
        '402':
          description: Payment Required - Insufficient credits
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Insufficient credits
                  required:
                    type: integer
                  available:
                    type: integer
                required:
                  - error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`

        Get your API key from the [Dashboard](https://sociavault.com/dashboard).

````