{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Activity Time Scraper: Profile Last Active, No Login",
    "description": "When was a LinkedIn profile last active? One row a profile: the exact time of its newest post, repost, reaction or article, days since, an active/dormant verdict, 7/30/90-day counts, company, location, followers. LinkedIn recent activity rows (posts, reactions) on request. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "lZNLf3DqbiJ9fpQlB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~linkedin-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-linkedin-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/hyperbach~linkedin-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-linkedin-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/hyperbach~linkedin-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-linkedin-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "profiles": {
            "title": "LinkedIn profiles",
            "maxItems": 10000,
            "type": "array",
            "description": "Profile links or usernames, one a line: <code>https://www.linkedin.com/in/ajjames</code>, <code>linkedin.com/in/satyanadella/</code>, a country host (<code>au.linkedin.com/in/…</code>), a link with <code>?trk=…</code> or a sub-path, or a bare username (<code>williamhgates</code>). Each profile is read once; a company, school or post link, an old <code>/pub/</code> link or a value that names no profile gives a free row that says why.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeActivities": {
            "title": "Also one row per activity",
            "type": "boolean",
            "description": "Off: one row a profile (its newest activity, the verdict and the counts). On: also one row for each post, repost and reaction the profile's page shows (up to 9 posts and 9 reactions logged out, plus the profile's own articles listed in the page's record), with the activity's exact time, the post's link, author, text, reactions, comments and media. Each activity row is charged as its own row.",
            "default": false
          },
          "activityTypes": {
            "title": "Activity types",
            "type": "array",
            "description": "Only these kinds of activity rows; empty = every kind. Posts include the profile's articles. The profile row always reads the whole page. Comments a profile made are not shown to logged-out readers.",
            "items": {
              "type": "string",
              "enum": [
                "posts",
                "reposts",
                "reactions"
              ],
              "enumTitles": [
                "Posts and articles",
                "Reposts",
                "Reactions (likes and other reactions)"
              ]
            },
            "default": []
          },
          "reactionKind": {
            "title": "Reaction kind",
            "enum": [
              "any",
              "like",
              "other"
            ],
            "type": "string",
            "description": "Which reaction rows to keep. LinkedIn shows a logged-out reader \"liked this\" (a like) or \"reacted on this\" (any other reaction: love, celebrate, support, insightful, funny), not which one.",
            "default": "any"
          },
          "activityDateFrom": {
            "title": "Activity from",
            "type": "string",
            "description": "Only activity rows at or after this time: a date (<code>2026-11-01</code>, UTC), a time (<code>2026-11-01T08:00:00Z</code>) or a span before now (<code>30 days</code>, <code>2 weeks</code>, <code>12 hours</code>). Empty = no lower bound.",
            "default": ""
          },
          "activityDateTo": {
            "title": "Activity to",
            "type": "string",
            "description": "Only activity rows at or before this time: a date (the whole day, UTC), a time or a span before now. Empty = up to now.",
            "default": ""
          },
          "maxActivitiesPerProfile": {
            "title": "Max activity rows per profile",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "The newest N activity rows of each profile after the filters; 0 = every activity the page shows. A number above what the page shows is said on the profile row.",
            "default": 0
          },
          "postKeywords": {
            "title": "Post keywords",
            "type": "array",
            "description": "Keep an activity row only when its post's text holds one of these words (any case). Empty = no word filter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "authorDetails": {
            "title": "Read each post author's page",
            "type": "boolean",
            "description": "On: one more page per distinct post author of the run (a person's followers, location and current company; a company's exact followers, industry, size and headquarters) onto the activity rows. No extra charge; the run takes longer.",
            "default": false
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows of the whole run (profile rows and activity rows together); 0 = no cap beyond your charge limit. Typed rows (not found, private, no activity) are free and do not count.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Profiles read at once",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Profiles read at the same time, each on its own connection.",
            "default": 8
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}