Manually trigger a background job to backfill historical data for a specific account. This endpoint enqueues a job on the BullMQ backfill queue.
This endpoint is rate-limited to 5 requests per 60 seconds.
Body Parameters
The external ID of the account to backfill (e.g., a Twitter User ID).
Response
Returns 202 Accepted if the backfill has been queued successfully, or 409 Conflict if a backfill is already in progress for this account.
The status of the operation, usually queued or conflict.
The requested external ID.
The resolved source platform (e.g. TWITTER).
Basic information about the account matched.
username — The platform username.
name — The display name.
Returned only when a 409 Conflict happens. Details about the current progress of the ongoing backfill.
curl -X PUT "https://scrape.st/backfill" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sid": "12"}'
{
"status": "queued",
"sid": "12",
"source": "TWITTER",
"account": {
"username": "jack",
"name": "Jack Dorsey"
}
}