{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn News Annual Rankings Extractor",
    "description": "Extract structured rows from LinkedIn News annual rankings - Top Companies, Top Startups, Top MBA and Top Colleges - with rank, LinkedIn page URL and slug, industry, locations, skills, job titles, headcount, funding and article metadata across country, metro and language editions.",
    "version": "1.0",
    "x-build-id": "ISbMibV8CXK5SxdII"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xyrelith-data~linkedin-annual-rankings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xyrelith-data-linkedin-annual-rankings-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/xyrelith-data~linkedin-annual-rankings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-xyrelith-data-linkedin-annual-rankings-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/xyrelith-data~linkedin-annual-rankings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-xyrelith-data-linkedin-annual-rankings-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byUrls",
              "discover",
              "catalog"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "byUrls"
          },
          "articleUrls": {
            "title": "Ranking article URLs (mode=byUrls)",
            "type": "array",
            "description": "LinkedIn News ranking article URLs. Accepts full linkedin.com/pulse/ links, with or without a country subdomain or tracking query.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "seedUrls": {
            "title": "Discovery seed URLs (mode=discover or catalog)",
            "type": "array",
            "description": "Optional starting URLs for discovery. Leave empty to use the built-in 2024-2026 seed registry. Cross-links to sibling editions are followed one hop.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "listFamilies": {
            "title": "List families",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict discovery to one or more ranking families. Leave empty for all families.",
            "items": {
              "type": "string",
              "enum": [
                "topCompanies",
                "topStartups",
                "topMba",
                "topColleges"
              ],
              "enumTitles": [
                "Top Companies",
                "Top Startups",
                "Top MBA Programs",
                "Top Colleges"
              ]
            },
            "default": []
          },
          "years": {
            "title": "Years",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict discovery to one or more years. Leave empty for all available years. Structured lists are available for 2024-2026.",
            "items": {
              "type": "string",
              "enum": [
                "2024",
                "2025",
                "2026"
              ],
              "enumTitles": [
                "2024",
                "2025",
                "2026"
              ]
            },
            "default": []
          },
          "countries": {
            "title": "Countries and regions",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict discovery to one or more country or regional editions. Leave empty for all editions.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "CA",
                "IN",
                "AU",
                "DE",
                "FR",
                "IT",
                "ES",
                "BR",
                "NL",
                "SG",
                "IL",
                "EU"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "India",
                "Australia",
                "Germany",
                "France",
                "Italy",
                "Spain",
                "Brazil",
                "Netherlands",
                "Singapore",
                "Israel",
                "Europe"
              ]
            },
            "default": []
          },
          "metroAreas": {
            "title": "Metro areas (city editions)",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict discovery to one or more city editions. Leave empty for all editions.",
            "items": {
              "type": "string",
              "enum": [
                "austin",
                "boston",
                "chicago",
                "dallas",
                "denver",
                "losAngeles",
                "newYorkCity",
                "sanFrancisco",
                "seattle",
                "washingtonDc",
                "bengaluru",
                "chennai",
                "delhiNcr",
                "hyderabad",
                "mumbai",
                "pune",
                "aixMarseille",
                "lyon",
                "paris",
                "barcelona",
                "madrid",
                "sevilla",
                "valencia",
                "beloHorizonte",
                "curitiba",
                "saoPaulo",
                "london",
                "toronto",
                "vancouver",
                "montreal",
                "sydney",
                "melbourne",
                "berlin",
                "munich",
                "frankfurt",
                "hamburg",
                "milan",
                "rome",
                "amsterdam"
              ],
              "enumTitles": [
                "Austin",
                "Boston",
                "Chicago",
                "Dallas",
                "Denver",
                "Los Angeles",
                "New York City",
                "San Francisco",
                "Seattle",
                "Washington, D.C.",
                "Bengaluru",
                "Chennai",
                "Delhi NCR",
                "Hyderabad",
                "Mumbai",
                "Pune",
                "Aix-Marseille",
                "Lyon",
                "Paris",
                "Barcelona",
                "Madrid",
                "Sevilla",
                "Valencia",
                "Belo Horizonte",
                "Curitiba",
                "São Paulo",
                "London",
                "Toronto",
                "Vancouver",
                "Montreal",
                "Sydney",
                "Melbourne",
                "Berlin",
                "Munich",
                "Frankfurt",
                "Hamburg",
                "Milan",
                "Rome",
                "Amsterdam"
              ]
            },
            "default": []
          },
          "maxArticles": {
            "title": "Max articles",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard cap on articles fetched in any mode; discover and catalog also stop crawling when it is reached.",
            "default": 50
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard cap on emitted dataset records.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}