Skip to main content

Get Your API Key

1

Sign up for an account

Visit Fetchin Dashboard and create a free account. You’ll get 1,000 credits per month on the trial plan.
2

Get your API key

Once logged in, your API key will be displayed on the dashboard. Click the eye icon to reveal it and copy it to your clipboard.
Keep your API key secure! Never commit it to version control or share it publicly.

Make Your First Request

Fetch LinkedIn Posts

curl -X GET "https://api.fetchin.io/api/v1/posts?profileUrlOrUrn=https://www.linkedin.com/in/username&count=10" \
  -H "X-API-Key: your-api-key-here"

Fetch LinkedIn Profile

curl -X GET "https://api.fetchin.io/api/v1/profile?profileUrlOrUrn=https://www.linkedin.com/in/username" \
  -H "X-API-Key: your-api-key-here"

Response Examples

Posts Response

[
  {
    "urn": "urn:li:activity:1234567890",
    "text": "This is a LinkedIn post content...",
    "publishedAt": "2023-01-01T00:00:00Z",
    "numberOfLikes": 42,
    "numberOfComments": 5,
    "numberOfReposts": 2,
    "imageUrl": "https://...",
    "videoUrl": null,
    "carouselPdfUrl": null,
    "profile": {
      "urn": "urn:li:fsd_profile:123456789",
      "name": "John Doe",
      "headline": "Software Engineer at Tech Company",
      "url": "https://www.linkedin.com/in/johndoe",
      "imageUrl": "https://..."
    }
  }
]

Profile Response

{
  "urn": "urn:li:member:123456789",
  "firstName": "John",
  "lastName": "Doe",
  "headline": "Software Engineer at Tech Company",
  "location": "San Francisco, CA",
  "profilePictureUrl": "https://...",
  "about": "Experienced software engineer...",
  "experiences": [
    {
      "title": "Software Engineer",
      "company": "Tech Company",
      "startDate": "2020-01",
      "endDate": null
    }
  ],
  "education": [
    {
      "school": "University Name",
      "degree": "Bachelor of Science",
      "startDate": "2016",
      "endDate": "2020"
    }
  ]
}

Next Steps

API Reference

Explore all available endpoints and parameters

Error Handling

Learn how to handle API errors gracefully

Rate Limits

Understand quota management and limits

Dashboard

Monitor your API usage in real-time