Nyne Nyne API Login
Person APIs

Social Newsfeed

Returns recent social posts and engagement data for a profile URL. The URL must resolve to a supported platform - LinkedIn, Twitter/X, Instagram, GitHub, or Facebook. The request is queued and returns a request_id (status processing, or pending when a callback_url is supplied); poll the status endpoint or wait for the callback.

POST https://api.nyne.ai/person/newsfeed API key

Manual credentials take precedence over your account key.

Try it needs this required parameter:

Overview

Pull recent social posts from a person’s resolved profiles.

Parameters

social_media_url string required
Profile URL on a supported site (linkedin / twitter / instagram / github / facebook). Required.
limit integer optional
Number of posts to return. Default 10, must be 1-1000.
posts_after string optional
Only return posts on/after this date. Must be YYYY-MM-DD. Posts without a parseable date are always included.
callback_url string optional
If set, the completed result is POSTed here when the job finishes. Must be a valid HTTP(S) URL on an allowed host when a callback allow-list is configured.

Retrieving the result

This endpoint is asynchronous. A successful submit returns a request_id while the job runs in the background. Poll the same path with a GET request - same authentication headers - passing the request_id as a query parameter:

Loading your API credentials...

Each poll returns the job's current status; once it is completed the payload carries the result shown under Responses. Polling an unknown or expired request_id returns 404 request_not_found.

Status Meaning
queued · processing · pending The job is still running - keep polling.
completed The job finished; the payload carries the result and completed: true.
failed Terminal - the job could not complete; the error field explains why.

Poll every few seconds at first, backing off for long-running jobs. Polling is free - status checks never burn credits.

Prefer push delivery?
Supply the optional callback_url parameter and the completed payload is POSTed to your endpoint when the job finishes - no polling required. Delivery is retried up to 5 times with exponential backoff (1s, 5s, 15s, 1m, 5m) and a 30-second timeout per attempt; respond with a 2xx status to acknowledge receipt.

Credit usage

Credits are charged based on the matched configuration. The listed cost is the per-result unit price.

Feature Credits Notes
Newsfeed 2 2 credits per 10 posts returned, rounded up (e.g. 1-10 → 2, 11-20 → 4, up to ~200)
No posts 0 Credits scale with posts actually returned, not requested
Pre-check - Your balance is pre-checked for the worst-case cost before processing begins
Heads up
A positive credit balance is required before each request. Empty results do not burn credits.

Responses

200 Status poll result - returns the current request status and result/error fields when available
202 Request queued - poll the status endpoint (or wait for the callback) with the returned request_id
400 Malformed JSON, missing required parameters, or an invalid field
401 Missing or invalid API credentials
402 insufficient_credits - not enough credits to complete the request
403 subscription_required or ip_not_allowed
404 request_not_found - no matching request is available for this API key
429 rate_limit_exceeded
503 service_unavailable - the API is temporarily unavailable

A successful response wraps the payload in the { success, data, timestamp } envelope (also shown live in the panel on the right):

{
  "success": true,
  "data": {
    "request_id": "newsfeed_a1b2c3d4e5f6a1b2_1717000000_4271",
    "status": "completed",
    "completed": true,
    "result": {
      "url": "https://linkedin.com/in/janedoe",
      "newsfeed": [
        {
          "id": "post_123456",
          "source": "linkedin",
          "content": "Excited to announce our new AI-powered analytics platform!",
          "timestamp": "2026-01-14T15:30:00Z",
          "url": "https://linkedin.com/feed/update/urn:li:activity:123456",
          "likes": 142,
          "comments": 18,
          "shares": 9
        }
      ]
    },
    "completed_on": "2026-01-15T10:35:00Z"
  },
  "timestamp": "2026-01-01T00:00:00"
}