Skip to main content
GET
post
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 with the same URL; for the words spoken in a video, get_instagram_media_transcript.

Example

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; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

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 Effective request declaration (including authentication and referenced schemas):

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cache_max_age
enum<string>

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.

Available options:
14d,
1d,
30d,
3d,
7d
download_media
boolean

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.

include_play_count
boolean

Set to false to omit video_play_count and skip its additional fetch for a faster response. Defaults to true.

region
string

2 letter country code to set the proxy in

trim
boolean

Set to true to get a trimmed response

url
string
required

Instagram post or reel URL

Response

Successful response

credits_remaining
integer
success
boolean
xdt_shortcode_media
object