83trust / 100

Posts Search

by SocialFetch in Company & people data

x402 APIPassing, checked 2 h ago

Search public LinkedIn posts site-wide by keyword (not scoped to one profile or company — use linkedin.profiles.posts.list or linkedin.company.posts.list for that).

GET https://api.socialfetch.dev/v1/linkedin/posts/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
288 ms typical, 288 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.socialfetch.dev/v1/linkedin/posts/search?query=ai+agents"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.socialfetch.dev%2Fv1%2Flinkedin%2Fposts%2Fsearch
const res = await pay("https://api.socialfetch.dev/v1/linkedin/posts/search?query=ai+agents");
console.log(await res.json());

Example input

{
  "query": "ai agents"
}

Example output

{
  "data": {
    "page": {
      "hasMore": true,
      "nextCursor": "eyJjIjoiMiJ9"
    },
    "posts": [
      {
        "author": {
          "avatarUrl": null,
          "followers": null,
          "name": null,
          "profileUrl": null
        },
        "imageUrl": "https://media.licdn.com/dms/image/v2/D4E1FAQHAzpgC7eaKgw/feedshare-document-images_160/B4EZhDHPPEGoAs-/1/1753472629037",
        "imageUrls": [
          null
        ],
        "mediaUrl": "https://media.licdn.com/dms/image/v2/D4E1FAQHAzpgC7eaKgw/feedshare-document-images_160/B4EZhDHPPEGoAs-/1/1753472629037",
        "metrics": {
          "comments": null,
          "reactions": null
        },
        "publishedAt": "2025-07-25T19:56:02.566Z",
        "text": "There's way too much hype about AI agents.\n\nHere's your simple guide.",
        "url": "https://www.linkedin.com/posts/aagupta_what-you-need-to-know-ai-agents-activity-7354600338621906944-RvXR"
      }
    ],
    "query": "ai agents"
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_01example",
    "version": "v1"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402288 ms$0.014