LINKEDIN API

Post

Retrieve post from LinkedIn with a single API request.

GET/api/data/v1/linkedin/post
1credit base cost

Request parameters

Up to 1 credit

The URL of the LinkedIn post to get

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/linkedin/post?url=https%3A%2F%2Fwww.linkedin.com%2Fpulse%2Fbeing-father-has-made-me-better-leader-vice-versa-austen-allred%2F' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "activityUrn": null,
  "contentUrn": null,
  "url": "https://www.linkedin.com/pulse/being-father-has-made-me-better-leader-vice-versa-austen-allred",
  "name": "Being a Father Has Made me a Better Leader, and Vice Versa",
  "headline": "It's not all that unique to be a 26-year-old founder in Silicon Valley. What was far more surprising to people in 2017 when I joined the S17 Y Combinator cohort is that I already had a family of my own.",
  "commentCount": 17,
  "likeCount": 210,
  "datePublished": "2020-06-21T14:35:59.000+00:00",
  "description": "It's not all that unique to be a 26-year-old founder in Silicon Valley. What was far more surprising to people in 2017 when I joined the S17 Y Combinator cohort is that I already had a family of my own. ....",
  "author": {
    "name": "Austen Allred",
    "url": "https://www.linkedin.com/in/austenallred",
    "followers": 30863
  },
  "comments": [
    {
      "author": "Jeremy M.",
      "text": "Austen, thanks for sharing!",
      "linkedinUrl": "https://uk.linkedin.com/in/jeremymurray"
    }
  ],
  "moreArticles": [
    {
      "link": "https://www.linkedin.com/pulse/note-outcomes-data-lambda-school-austen-allred",
      "title": "A Note About Outcomes Data at Lambda School",
      "datePublished": "Feb 24, 2020",
      "description": "Due to some recent online media, there’s been some confusion recently about student outcomes at Lambda School - which…",
      "reactionCount": 168,
      "commentCount": 15
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 1000,
  "request_id": "00000000-0000-4000-8000-000000000000"
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "activityUrn": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "contentUrn": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "url": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "headline": {
      "type": "string"
    },
    "commentCount": {
      "type": "integer"
    },
    "likeCount": {
      "type": "integer"
    },
    "datePublished": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "author": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "followers": {
          "type": "integer"
        }
      }
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "author": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "linkedinUrl": {
            "type": "string"
          }
        }
      }
    },
    "moreArticles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "link": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "datePublished": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "reactionCount": {
            "type": "integer"
          },
          "commentCount": {
            "type": "integer"
          }
        }
      }
    },
    "credits_charged": {
      "type": "integer",
      "minimum": 0,
      "description": "FetchGoblin credits charged for this request."
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Your FetchGoblin credit balance after this request."
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "FetchGoblin request identifier."
    }
  }
}