Instagram endpoints
Instagram endpoints in the Siar social media API: 4 operations that exist on Instagram only, with parameters, body fields, responses and curl examples.
Updated
These operations exist for Instagram only. The shared operations (posts, comments, analytics) are in the API reference; all network-specific areas are listed under network-specific operations.
Operations
| Operation | Method and path |
|---|---|
| Search for Instagram Business/Creator user by username | GET /api/v1/misc/instagram/tags |
| Search Instagram location IDs | GET /api/v1/misc/instagram/locations |
| Search Instagram audio assets | GET /api/v1/misc/instagram/audio |
| Delete an Instagram comment | DELETE /api/v1/misc/instagram/comment |
/api/v1/misc/instagram/tags Search for Instagram Business/Creator user by username
misc.instagram.businessDiscovery · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
username required | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/instagram/tags?teamId=TEAM_ID&username=Example" \
-H "x-api-key: $SIAR_API_KEY" Response 200
2 top-level fields
-
existsboolean required -
dataobject required nullable8 fields
-
idstring required -
usernamestring required -
followers_countnumber required -
media_countnumber required -
profile_picture_urlstring uri -
biographystring -
namestring -
mediaobject1 field
-
dataobject[] required6 fields
-
idstring required -
media_typestring required -
like_countnumber -
comments_countnumber -
timestampstring -
captionstring
-
-
-
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/instagram/locations Search Instagram location IDs
misc.instagram.searchLocations · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
q required | query | string | |
limit | query | integer | default 10 |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/instagram/locations?teamId=TEAM_ID&q=string" \
-H "x-api-key: $SIAR_API_KEY" Response 200
1 top-level fields
-
itemsobject[] required4 fields
-
locationIdstring required -
namestring required -
linkstring nullable -
locationobject nullable7 fields
-
citystring nullable -
countrystring nullable -
latitudenumber nullable -
longitudenumber nullable -
statestring nullable -
streetstring nullable -
zipstring nullable
-
-
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/instagram/audio Search Instagram audio assets
misc.instagram.searchAudio · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
audioType required | query | string | One of original_sound, music |
searchQuery | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/instagram/audio?teamId=TEAM_ID&audioType=original_sound" \
-H "x-api-key: $SIAR_API_KEY" Response 200
1 top-level fields
-
audioobject[] default []10 fields
-
audio_idstring required -
cover_artwork_thumbnail_uristring nullable -
cover_artwork_thumbnail_urlstring nullable -
display_artiststring nullable -
duration_in_msinteger nullable -
audio_typestring requiredOne of:original_soundmusic -
titlestring nullable -
download_urlstring nullable -
ig_usernamestring nullable -
profile_picture_urlstring nullable
-
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/instagram/comment Delete an Instagram comment
misc.instagram.deleteComment · requires x-api-key
Request body application/json
-
teamIdstring required -
commentIdstring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/instagram/comment" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"commentId": "COMMENT_ID"
}' Response 200
1 top-level fields
-
successboolean required
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error