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

# /instagram/user/tagged

> Instagram Web — get posts a user is tagged in, by alias, URL or numeric ID

**Price:** 1 credit

**⚠️ Common errors:** 412: User not found.



## OpenAPI

````yaml /openapi/social-media.json post /api/instagram/user/tagged
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/instagram/user/tagged:
    post:
      tags:
        - /instagram
      summary: /instagram/user/tagged
      description: >-
        Instagram Web — get posts a user is tagged in, by alias, URL or numeric
        ID


        **Price:** 1 credit


        **⚠️ Common errors:** 412: User not found.
      operationId: __api_instagram_user_tagged_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstagramUserTaggedPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InstagramPost'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InstagramUserTaggedPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        user:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - user
        - count
    InstagramPost:
      properties:
        '@type':
          type: string
          default: InstagramPost
        id:
          type: string
        code:
          type: string
        url:
          type: string
        image:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        like_count:
          type: integer
          default: 0
        comment_count:
          type: integer
          default: 0
        reshare_count:
          type: integer
          default: 0
        carousel_media_count:
          type: integer
          default: 0
        is_paid_partnership:
          type: boolean
          default: false
        user:
          anyOf:
            - $ref: '#/components/schemas/InstagramPostUser'
            - type: 'null'
        location:
          anyOf:
            - $ref: '#/components/schemas/InstagramPostLocation'
            - type: 'null'
        media:
          items:
            $ref: '#/components/schemas/InstagramPostMedia'
          type: array
          default: []
      type: object
      required:
        - id
        - code
        - url
        - image
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    InstagramPostUser:
      properties:
        '@type':
          type: string
          default: InstagramPostUser
        id:
          type: string
        alias:
          type: string
        name:
          type: string
        url:
          type: string
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_verified:
          type: boolean
          default: false
        is_private:
          type: boolean
          default: false
        fbid:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - alias
        - name
        - url
    InstagramPostLocation:
      properties:
        '@type':
          type: string
          default: InstagramPostLocation
        id:
          type: string
        name:
          type: string
        lat:
          anyOf:
            - type: number
            - type: 'null'
        lng:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - id
        - name
    InstagramPostMedia:
      properties:
        '@type':
          type: string
          default: InstagramPostMedia
        pk:
          anyOf:
            - type: string
            - type: 'null'
        type:
          type: string
        url:
          type: string
        width:
          type: integer
          default: 0
        height:
          type: integer
          default: 0
        duration:
          anyOf:
            - type: number
            - type: 'null'
        usertags:
          items:
            $ref: '#/components/schemas/InstagramPostTag'
          type: array
          default: []
      type: object
      required:
        - type
        - url
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    InstagramPostTag:
      properties:
        '@type':
          type: string
          default: InstagramPostTag
        id:
          type: string
        alias:
          type: string
        name:
          type: string
        url:
          type: string
        is_verified:
          type: boolean
          default: false
        position:
          items:
            type: number
          type: array
          default: []
      type: object
      required:
        - id
        - alias
        - name
        - url
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````