Aller au contenu
GET /v1/posts

An account recent publications

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/lensprotocol-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/lensprotocol-api/v1/posts" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lensprotocol-api/v1/posts", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lensprotocol-api/v1/posts");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/lensprotocol-api/v1/posts",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 6,
        "posts": [
            {
                "id": "29950997887843140573021045301319055276593649424928219241369640520524533185092",
                "slug": "2tzzmjkdb1bc7s3ejjb",
                "stats": {
                    "quotes": 0,
                    "reposts": 0,
                    "collects": 0,
                    "comments": 1,
                    "bookmarks": 0,
                    "reactions": 52
                },
                "author": "stani",
                "content": "This.",
                "timestamp": "2026-03-08T13:58:30+00:00"
            },
            {
                "id": "71153967134142495887013702481720695612124184760692583486582587835708945860998",
                "slug": "1ednargze2rr7a3ba9q",
                "stats": {
                    "quotes": 0,
                    "reposts": 51,
                    "collects": 0,
                    "comments": 2,
                    "bookmarks": 0,
                    "reactions": 84
                },
                "author": "stani",
                "content": "Great read <https://thedailyeconomy.org/article/worries-spread-in-private-credit-markets/>",
                "timestamp": "2026-03-08T13:55:39+00:00"
            },
            {
                "id": "47496854049018462343258314737062822125159621937272688213846688339180614893587",
                "slug": "3bvg6gnpq1c1mgbkhhq",
                "stats": {
                    "quotes": 0,
                    "reposts": 25,
                    "collects": 0,
                    "comments": 1,
                    "bookmarks": 0,
                    "reactions": 55
                },
                "author": "stani",
                "content": "Interesting",
                "timestamp": "2026-02-21T17:40:28+00:00"
            },
            {
                "id": "1150202324733808577168516841126871610511678429125533229118553087262612173040",
                "slug": "xk20zene7ycbdy0jnv",
                "stats": {
                    "quotes": 0,
                    "reposts": 0,
                    "collects": 0,
                    "comments": 0,
                    "bookmarks": 0,
                    "reactions": 0
                },
                "author": "stani",
                "content": "Yum",
                "timestamp": "2026-02-21T17:39:53+00:00"
            },
            {
                "id": "48969079710916654757057767863140472526111426433840022638626373823844469418835",
                "slug": "2h01zexw0z2bwfv6yzf",
                "stats": {
                    "quotes": 0,
                    "reposts": 0,
                    "collects": 0,
                    "comments": 0,
                    "bookmarks": 0,
                    "reactions": 0
                },
                "author": "stani",
                "content": "I’m slowly moving to Signal too, too many DeFinthings still there, mainly groups",
                "timestamp": "2026-02-08T20:2
…