> ## 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.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# post

> Full metadata for one post or reel by URL.

Everything lives under `data.xdt_shortcode_media`: `shortcode`, `is_video`, `video_url`, `video_duration`, `has_audio`, `display_url`, `dimensions`, `accessibility_caption`, `edge_media_to_caption` for the caption text, and `owner`. Measured at about 197 KB.

For the discussion under the post use [`get_instagram_post_comments`](https://aisa.one/docs/api-reference/instagram/get_instagram-post-comments) with the same URL; for the words spoken in a video, [`get_instagram_media_transcript`](https://aisa.one/docs/api-reference/instagram/get_instagram-media-transcript).

## Example

```bash REST theme={null}
curl "https://api.aisa.one/apis/v1/instagram/post?url=VALUE" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```jsonc MCP theme={null}
// Copy this whole block into Claude Code, Codex, Cursor or any coding agent.
// It carries everything needed to connect, authorize and run this example —
// no key to paste, one click of Allow in the browser.
{
  "calls": [
    {
      "call_id": "1",
      "tool": "get_instagram_post",
      "arguments": {
        "url": "VALUE"
      }
    }
  ]
}
// ── for the agent ─────────────────────────────────────────────────────────
// Register the AIsa MCP server, then call its `batch_quote` tool with the JSON above.
//   name       aisa
//   endpoint   https://mcp.aisa.one/mcp
//   transport  streamable-http
//   auth       OAuth. The server publishes RFC 9728 metadata, so open a
//              browser and the user clicks Allow once — nothing to paste.
//              If AISA_API_KEY is set, send it as a bearer header instead.
// Use your own MCP mechanism, not a hand-edited config file:
//   Codex        codex mcp add aisa --url https://mcp.aisa.one/mcp
//   Claude Code  claude mcp add --transport http -s user aisa https://mcp.aisa.one/mcp
//   Cursor / VS Code   a "url" entry for https://mcp.aisa.one/mcp in the MCP config
// The server reaches https://mcp.aisa.one/servers worth of APIs through a few meta
// tools: search, list_categories, get_details, batch_quote, batch_use.
// search, get_details and batch_quote are free; batch_use is billed per
// call. This operation's full contract — every argument, the response
// shape, the price and the pitfalls — is at
//   https://aisa.one/docs/api-reference/instagram/get_instagram-post.md
// Show me the quoted cost. Once I approve, run the same calls with
// batch_use and show me the result.
```

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/instagram/get_instagram-post)

## Request contract

* **Method and path:** GET /apis/v1/instagram/post
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/instagram/post`
* **cache\_max\_age:** query; optional
* **download\_media:** query; optional
* **include\_play\_count:** query; optional
* **region:** query; optional
* **trim:** query; optional
* **url:** query; required

[Complete OpenAPI definition](https://aisa.one/docs/openapi-public/scrape-creators.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "get_instagram_post",
  "method": "GET",
  "path": "/apis/v1/instagram/post",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "If we have a response in the cache that is this many days old or newer, return the cached response (with \"cached\": true and a \"cached_at\" timestamp). Otherwise, scrape a live result. [See the Caching page for details.](https://docs.scrapecreators.com/caching)",
      "in": "query",
      "name": "cache_max_age",
      "required": false,
      "schema": {
        "enum": [
          "14d",
          "1d",
          "30d",
          "3d",
          "7d"
        ],
        "type": "string"
      }
    },
    {
      "description": "Set to true to download the video/images and get back permanent Supabase URLs. This operation is billed if media is found, and also otherwise.",
      "in": "query",
      "name": "download_media",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Set to false to omit `video_play_count` and skip its additional fetch for a faster response. Defaults to true.",
      "in": "query",
      "name": "include_play_count",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "2 letter country code to set the proxy in",
      "in": "query",
      "name": "region",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Set to true to get a trimmed response",
      "in": "query",
      "name": "trim",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Instagram post or reel URL",
      "in": "query",
      "name": "url",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Charged for the actual billable results. Default request estimate: \$0.00188 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi-public/scrape-creators.json GET /apis/v1/instagram/post
openapi: 3.1.0
info:
  description: ''
  title: Scrape Creators
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    scrape-creators:
      description: ''
      title: Scrape Creators
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/instagram/basic-profile
    - /apis/v1/instagram/media/transcript
    - /apis/v1/instagram/post
    - /apis/v1/instagram/post/comments
    - /apis/v1/instagram/profile
    - /apis/v1/instagram/reels/search
    - /apis/v1/instagram/reels/trending
    - /apis/v1/instagram/search/hashtag
    - /apis/v1/instagram/search/profiles
    - /apis/v1/instagram/song/reels
    - /apis/v1/instagram/user/embed
    - /apis/v1/instagram/user/highlight/detail
    - /apis/v1/instagram/user/highlights
    - /apis/v1/instagram/user/posts
    - /apis/v1/instagram/user/reels
    - /apis/v1/pinterest/board
    - /apis/v1/pinterest/pin
    - /apis/v1/pinterest/search
    - /apis/v1/pinterest/user/boards
    - /apis/v1/reddit/post/comments
    - /apis/v1/reddit/search
    - /apis/v1/reddit/subreddit
    - /apis/v1/reddit/subreddit/details
    - /apis/v1/reddit/subreddit/search
  x-aisa-document:
    composer_version: '31'
    facts_hash: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
    generator_version: '3'
    identity_base_document_hash: sha256:21febe84645944ab208ea05f701b4ecaea05ab9ed69b91f52ad772689b28c9a1
    identity_compatibility_hash: sha256:6c09ef0bdf18266535eb126de4c7347ff1c7d0e62dd283fee668032d3d4408c5
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:87aa34bccc72f58a27229703aa754633dcaa68f6f0853760a5802b05937f0382
    document_hash: sha256:8d748dc51a819f08685c8be411852c5e524ed170765934a6d1dc66dc37b840ad
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: scrape-creators
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/instagram/post:
    get:
      tags:
        - default
      summary: post
      description: >-
        Returns full metadata for one public post or reel identified by its URL,
        under data.xdt_shortcode_media: shortcode, is_video, video_url,
        video_duration, has_audio, display_url, dimensions,
        accessibility_caption, edge_media_to_caption for the caption text, and
        owner. Measured at about 197 KB. Setting download_media=true also
        mirrors the media to permanent storage, so leave it off unless the files
        are needed. For the comment thread call get_instagram_post_comments with
        the same URL, and for the spoken words in a video call
        get_instagram_media_transcript.
      operationId: get_instagram_post
      parameters:
        - description: >-
            If we have a response in the cache that is this many days old or
            newer, return the cached response (with "cached": true and a
            "cached_at" timestamp). Otherwise, scrape a live result. [See the
            Caching page for details.](https://docs.scrapecreators.com/caching)
          in: query
          name: cache_max_age
          required: false
          schema:
            enum:
              - 14d
              - 1d
              - 30d
              - 3d
              - 7d
            type: string
        - description: >-
            Set to true to download the video/images and get back permanent
            Supabase URLs. This operation is billed if media is found, and also
            otherwise.
          in: query
          name: download_media
          required: false
          schema:
            type: boolean
        - description: >-
            Set to false to omit `video_play_count` and skip its additional
            fetch for a faster response. Defaults to true.
          in: query
          name: include_play_count
          required: false
          schema:
            type: boolean
        - description: 2 letter country code to set the proxy in
          in: query
          name: region
          required: false
          schema:
            type: string
        - description: Set to true to get a trimmed response
          in: query
          name: trim
          required: false
          schema:
            type: boolean
        - description: Instagram post or reel URL
          in: query
          name: url
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                data:
                  xdt_shortcode_media:
                    __typename: XDTGraphVideo
                    accessibility_caption: null
                    clips_music_attribution_info:
                      artist_name: jane
                      audio_id: '3011705342342322'
                      should_mute_audio: false
                      should_mute_audio_reason: ''
                      song_name: Original audio
                      uses_original_audio: true
                    display_url: >-
                      https://scontent-iad3-1.cdninstagram.com/v/t51.2885-15/509601086_18503874985017172_8563682873145552176_n.jpg?stp=dst-jpg_e35_p1080x1080_sh0.08_tt6&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=104&_nc_oc=Q6cZ2QE_dnPQQ4wu9mDyMWXNHRAYOB8jcOQ_TxJE9VRReZUTgEUIXch0-khNb8H5VcwinCc&_nc_ohc=3V4jFXtydQsQ7kNvwHQ3Qp8&_nc_gid=aG9nPhpAiGuGUrkmWPrm6Q&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AfO_siFFGU1ggTsVsukqx_uxf69WPySR5tDouIn7xN604A&oe=685A2AED&_nc_sid=d885a2
                    edge_media_preview_comment:
                      count: 299
                      edges:
                        - node:
                            created_at: 1750359443
                            did_report_as_spam: false
                            edge_liked_by:
                              count: 0
                            id: '18086391994676491'
                            is_restricted_pending: false
                            owner:
                              id: '5944090666'
                              is_verified: false
                              profile_pic_url: >-
                                https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/482803017_667846065679007_6441202725191295011_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2QE_dnPQQ4wu9mDyMWXNHRAYOB8jcOQ_TxJE9VRReZUTgEUIXch0-khNb8H5VcwinCc&_nc_ohc=nUG_gQrKtH0Q7kNvwFa2kyY&_nc_gid=aG9nPhpAiGuGUrkmWPrm6Q&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AfM93kEdG8m010pLpqUXaLPxV14fzT8W9WA2dNpoq_duUw&oe=685A4010&_nc_sid=d885a2
                              username: homeswithgrantevans
                            text: Best one to date lol 😂
                            viewer_has_liked: false
                    edge_media_preview_like:
                      count: 22926
                      edges: []
                    edge_media_to_caption:
                      edges:
                        - node:
                            created_at: '1750272153'
                            id: '17894844171126505'
                            text: >-
                              I think I like this goosey life🪿☺️🍃


                              #crunchy #crunchymom #dayinthelife #holistic
                              #nontoxic #homeschool #crunchymoms #momhumor
                              #momlife #jane #janeinsane
                    edge_media_to_parent_comment:
                      count: 299
                      edges:
                        - node:
                            created_at: 1750359820
                            did_report_as_spam: false
                            edge_liked_by:
                              count: 0
                            edge_threaded_comments:
                              count: 0
                              edges: []
                              page_info:
                                end_cursor: null
                                has_next_page: false
                            id: '18347526892092420'
                            is_restricted_pending: false
                            owner:
                              id: '6033455441'
                              is_verified: false
                              profile_pic_url: >-
                                https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/483471395_1164389188513903_6044431802761779055_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=107&_nc_oc=Q6cZ2QE_dnPQQ4wu9mDyMWXNHRAYOB8jcOQ_TxJE9VRReZUTgEUIXch0-khNb8H5VcwinCc&_nc_ohc=QOCwy1KWd8QQ7kNvwHF1ucI&_nc_gid=aG9nPhpAiGuGUrkmWPrm6Q&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AfNWvGEpjWjHfQ-tkxIVoD62tUng8W2U3ohE43g2A1haFQ&oe=685A200D&_nc_sid=d885a2
                              username: wellness_byflor
                            text: HAHAHAAHAHAHHA gonna read your TESIS! 😂
                            viewer_has_liked: false
                      page_info:
                        end_cursor: >-
                          {"server_cursor":
                          "QVFBbUdFZ185QlVSSVF4S1ZwTjV0SUZidGp6ZDNGeDV2eWQwbTY0bkw4U3pQLWVFaXU0MUI3UnRJMGJxOF96S3hYWVBHZmpyaFB5VlkwSV9aLUFNMTROeQ==",
                          "is_server_cursor_inverse": true}
                        has_next_page: true
                    has_audio: true
                    id: '3657869083548472514'
                    is_ad: false
                    is_affiliate: false
                    is_paid_partnership: false
                    is_video: true
                    location: null
                    owner:
                      blocked_by_viewer: false
                      edge_followed_by:
                        count: 1565363
                      edge_owner_to_timeline_media:
                        count: 1599
                      followed_by_viewer: false
                      full_name: Jane Williamson
                      has_blocked_viewer: false
                      id: '21393171'
                      is_embeds_disabled: false
                      is_private: false
                      is_unpublished: false
                      is_verified: true
                      pass_tiering_recommendation: true
                      profile_pic_url: >-
                        https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/482782944_496357423346018_5818268903424754264_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QE_dnPQQ4wu9mDyMWXNHRAYOB8jcOQ_TxJE9VRReZUTgEUIXch0-khNb8H5VcwinCc&_nc_ohc=UOwY1iuLY14Q7kNvwGxpnGC&_nc_gid=aG9nPhpAiGuGUrkmWPrm6Q&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AfMoD70mIn__G3PAJReI4bkQpSODkCurTmjbCMJiB2vxvA&oe=685A30E8&_nc_sid=d885a2
                      requested_by_viewer: false
                      restricted_by_viewer: null
                      username: jane
                    product_type: clips
                    shortcode: DLDXI0fylTC
                    taken_at_timestamp: 1750272151
                    thumbnail_src: >-
                      https://scontent-iad3-1.cdninstagram.com/v/t51.2885-15/509601086_18503874985017172_8563682873145552176_n.jpg?stp=c0.469.1206.1206a_dst-jpg_e35_s640x640_sh0.08_tt6&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=104&_nc_oc=Q6cZ2QE_dnPQQ4wu9mDyMWXNHRAYOB8jcOQ_TxJE9VRReZUTgEUIXch0-khNb8H5VcwinCc&_nc_ohc=3V4jFXtydQsQ7kNvwHQ3Qp8&_nc_gid=aG9nPhpAiGuGUrkmWPrm6Q&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AfOjs7er3gUbnHBBBBsi_iqeOOKHtqNfw1AFLrOYfXTVDQ&oe=685A2AED&_nc_sid=d885a2
                    video_duration: 84.666
                    video_play_count: 425901
                    video_url: >-
                      https://scontent-iad3-2.cdninstagram.com/o1/v/t16/f2/m86/AQPIiBLJBqG6YM9FzeabZmQkGTo94LpWkFoXGZJKZzy1TmBaeQneYOCvLLIE9oatPQwWEFvodXRGHTKQmyBOxJfo3UbjavdoyajuoZA.mp4?stp=dst-mp4&efg=eyJxZV9ncm91cHMiOiJbXCJpZ193ZWJfZGVsaXZlcnlfdnRzX290ZlwiXSIsInZlbmNvZGVfdGFnIjoidnRzX3ZvZF91cmxnZW4uY2xpcHMuYzIuNzIwLmJhc2VsaW5lIn0&_nc_cat=103&vs=1061284792789338_358197508&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC84NTQxMUYyMDM1NDdDN0E4ODc4N0FDRUIyMUUyRDQ4OV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HTk1hVGg1M1FKWnRBWG9FQUF3Y2JiN3gyZkVSYnFfRUFBQUYVAgLIARIAKAAYABsAFQAAJuzxz6DikvE%2FFQIoAkMzLBdAVSqfvnbItBgSZGFzaF9iYXNlbGluZV8xX3YxEQB1%2Fgdl5p0BAA%3D%3D&_nc_rid=b32127cffa&ccb=9-4&oh=00_AfMDvtWEdtNwN65iaFnkXOOEtR-W6ttellTLNCr3L_dovA&oe=68562DB4&_nc_sid=d885a2
                    video_view_count: 0
              schema:
                $ref: >-
                  #/components/schemas/ResponseE433E0E9Acbc_InstagramPostResponse
          description: Successful response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    ResponseE433E0E9Acbc_InstagramPostResponse:
      additionalProperties: true
      properties:
        credits_remaining:
          type: integer
        success:
          type: boolean
        xdt_shortcode_media:
          additionalProperties: true
          type: object
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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