Instagram Shortcode To Media ID

2.07 credits/call
ae_instagram_shortcode_to_media_id

### Purpose Convert an Instagram post shortcode into its corresponding media ID. ### Input - `shortcode` (required): The shortcode identifying the post, typically the segment in an Instagram post URL, such as `DRhvwVLAHAG` in `instagram.com/p/DRhvwVLAHAG/`. Provide the shortcode itself, not the full URL. ### Result The response includes the conversion status, the submitted shortcode, and the corresponding media ID.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
shortcodestringYes帖子Shortcode/Post shortcode—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_instagram_shortcode_to_media_id' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "shortcode": "xxx"
  }
}'

No response example available yet.