Instagram Fetch Music Posts

2.07 credits/call
ae_instagram_fetch_music_posts

## Purpose Retrieve Reels and posts that use a specific music track or audio. ## Inputs - `music_id`: The music ID. Use this or `music_url`. - `music_url`: The music or audio URL; the ID can be extracted automatically. Use this or `music_id`. - `max_id`: Optional pagination cursor. Omit it for the first request and use the next-page cursor for subsequent requests. ## Returns The response contains matching post items, music metadata, and pagination information.

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

Fetching the next page with a pagination cursor is billed as a new call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
max_idstringNo分页游标,用于获取下一页/Pagination cursor for next page—
music_idstringNo音乐ID/Music ID—
music_urlstringNo音乐URL(与music_id二选一)/Music URL (alternative to music_id)—

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_fetch_music_posts' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'

No response example available yet.