Search Cross-Platform Events & Interactions

Universal endpoint for searching and filtering interaction data (events) across various social media platforms and news outlets.

01. Endpoint & Authentication

Target Endpoint
GET/api/v1/events/search
Authentication Header
Authorization: Bearer <API_KEY>

02. Request Parameters

ParameterTypeRequiredDescription
keywordstringYesQuery parameter for keyword (Default: berita utama)
platformstring (tiktok | instagram | twitter | facebook | threads | news)NoQuery parameter for platform (Default: tiktok)
event_typestring (post | comment | reply)NoQuery parameter for event_type (Default: post)
start_datestringNoQuery parameter for start_date (Default: 2026-03-01)
end_datestringNoQuery parameter for end_date (Default: 2026-03-06)
pagestringNoQuery parameter for page (Default: 1)
sizestringNoQuery parameter for size (Default: 10)

03. Response Fields

FieldTypeNullableDescription
successbooleanNoIndicates success.
status_codeintegerNoHTTP status code.
dataarray / objectYesExtracted payload.

04. Pricing / Credits

1 credit per page (max 100 items). Failed requests cost 0 credits.

05. Error Codes

HTTP StatusCodeDescription
400INVALID_PARAMETERSBad request parameters.
403INSUFFICIENT_CREDITSCredit balance exhausted.
curl -X GET "https://api.socioapi.com/api/v1/events/search?keyword=berita%20utama&platform=tiktok&event_type=post&start_date=2026-03-01&end_date=2026-03-06&page=1&size=10" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json"
{
  "success": true,
  "status_code": 200,
  "message": "Success Retrieve Data..",
  "time": {
    "value": "15.845 ms",
    "setTimeBeforeActions": true
  },
  "meta_info": {
    "billing": {
      "plan_type": "CREDIT",
      "plan_name": "Starter",
      "remaining_credits": 9876,
      "credits_charged": 1
    },
    "log": {
      "ip": "114.124.211.178"
    }
  },
  "data": [
    {
      "id": "youtube_dq8xcefdatc",
      "platform": "youtube",
      "url": "https://api.socioapi.com/api/v1/events/search",
      "type": "post",
      "author": "creator_account",
      "text": "Sample real-time data extraction response from SocioAPI gateway.",
      "created_at": "2026-03-01T19:03:00+07:00",
      "views": 1250,
      "likes": 85,
      "comments": 12,
      "shares": 5,
      "sentiment": "positive",
      "data_collected_at": "2026-03-01T19:05:00+07:00"
    }
  ],
  "pagination": {
    "current_page": 1,
    "page_size": 10,
    "total_items": 45,
    "total_pages": 5
  }
}