social

Post lookup

Public engagement fields for a post URL (social adapter).

Try in Quick LookupRead the API
5 credits
Billing
Only when something is found
Implementation
Provider adapter — needs a vendor key
GDPR
Ordinary data
Request fields
url
POST /api/v1/social-post-lookup
curl
curl -X POST "$KLARIS_URL/api/v1/social-post-lookup" \
  -H "Authorization: Bearer $KLARIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com"
}'
JavaScript
const payload = {
  url: "https://example.com",
};

const res = await fetch(`${process.env.KLARIS_URL}/api/v1/social-post-lookup`, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KLARIS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(payload),
});
Python
import os
import requests

payload = {
    "url": "https://example.com"
}

requests.post(
    f"{os.environ['KLARIS_URL']}/api/v1/social-post-lookup",
    headers={"Authorization": f"Bearer {os.environ['KLARIS_API_KEY']}"},
    json=payload,
)

Set KLARIS_URL to your Klaris origin and KLARIS_API_KEY to a live key.

All products →