Skip to main content
GET
/
api
/
instagram
/
comments
cURL
curl --request GET \
  --url https://api.recoupable.com/api/instagram/comments \
  --header 'Authorization: Bearer <token>'
{
  "runId": "<string>",
  "datasetId": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

postUrls
string[]
required

Array of Instagram post URLs to fetch comments for

resultsLimit
integer
default:10000

Maximum number of comments to fetch (default: 10000)

isNewestComments
boolean

Whether to fetch newest comments first. Set to true for newest first, false for oldest first, or omit for platform default sorting

Response

Apify scraper run started successfully

runId
string

Unique identifier for the Apify run

datasetId
string

Unique identifier for the dataset containing scraped data

error
string | null

Error message if the run failed (null if successful)