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

# Convert media ID to shortcode

> Convert media ID to shortcode

Convert media ID to shortcode

**Pricing** — base \$0.0029 per successful call (provider cost × 1.45; final charge scales by your plan multiplier). Charged only when the upstream response body `code` is `200`.

<Note>
  Response structure is not yet fully documented — **refer to the actual API response**.
</Note>

## Example

```bash theme={null}
curl "https://api.aisa.one/apis/v1/tikhub/instagram/v3/media_id_to_shortcode?media_id=3850699893338385742" \
  -H "Authorization: Bearer YOUR_API_KEY"
```


## OpenAPI

````yaml openapi/tikhub-en.json GET /tikhub/instagram/v3/media_id_to_shortcode
openapi: 3.0.0
info:
  title: TikHub API
  description: >-
    Multi-platform social media data via TikHub — Douyin, TikTok, Bilibili,
    Kuaishou, Weibo, Xiaohongshu, Zhihu, and commercial
    (Xingtu/Huahuo/Billboard) endpoints.
  version: 1.0.0
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - bearerAuth: []
paths:
  /tikhub/instagram/v3/media_id_to_shortcode:
    get:
      tags:
        - TikHub - Instagram
      summary: Convert media ID to shortcode
      description: Convert media ID to shortcode
      operationId: get_tikhub_instagram_v3_media_id_to_shortcode
      parameters:
        - name: media_id
          in: query
          required: true
          schema:
            type: string
            description: Post media ID
            title: Media Id
          description: Post media ID
          example: '3850699893338385742'
      responses:
        '200':
          description: >-
            Successful response. Response structure varies; refer to the actual
            API response.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AIsa API key. Get yours at https://aisa.one

````