Returns the task's current status and, once finished, the posts it gathered with their engagement counters. Poll until the status reports completion.
GET
/api/v1/facebook/task/resultQuota usage: Each successful request to this endpoint deducts 1 quota units from your plan.
Request Parameters
Required Parameters
| Name | In | Type | Description |
|---|---|---|---|
task_id | query | string | Task ID |
Optional Parameters
| Name | In | Type | Description |
|---|---|---|---|
page | query | integer | Page number |
page_size | query | integer | Page size |
Response Fields
| Name | Type | Description |
|---|---|---|
success | boolean | Success |
code | integer | Code |
message | string | Message |
data | object | - |
data.task_id | string | Task ID |
data.task_status | string | Task status |
data.data | object | Collected results (paginated) |
Try It
https://openapi.scdata.cc/api/v1/facebook/task/result
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard
Query Params
task_id*pagepage_sizecURL Example
bash
curl -X GET "https://openapi.scdata.cc/api/v1/facebook/task/result?task_id=example" \-H "Authorization: YOUR_API_KEY"
Response Example (200 application/json)
json
{"success": true,"code": 200,"message": "Request successful","data": {"task_id": "string","task_status": "string","data": {"items": [{}],"total": 0,"page": 0,"page_size": 0,"total_pages": 0}}}
Use Cases
- Async pipeline — Poll from a worker and load finished results into your own database.
- Progress display — Show collection progress to users while a large task runs.