Sources › Social media › Bluesky Profile › Search Posts

Bluesky Profile Search Posts API

Cari postingan Bluesky. Tidak bisa dipaginasi.

Bluesky ProfileGET /search-postsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/social-media:bluesky/search-posts

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.

Parameters

NameTypeInRequiredDescription
qstringqueryYesSearch query Example: rust programming
limitnumberqueryNoResults to return. Default 25, max 100 Example: 25
sortenum: top | latestqueryNoResult ordering. Default top Example: latest
langstringqueryNoFilter by post language (ISO code) Example: id
authorstringqueryNoRestrict to one author's handle or DID Example: jay.bsky.team
sincestringqueryNoOnly posts on/after this date (YYYY-MM-DD) Example: 2026-08-01
untilstringqueryNoOnly posts before this date (YYYY-MM-DD) Example: 2026-08-06

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:bluesky/search-posts?q=rust+programming&limit=25&sort=latest&lang=id&author=jay.bsky.team&since=2026-08-01&until=2026-08-06" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:bluesky/search-posts?q=rust+programming&limit=25&sort=latest&lang=id&author=jay.bsky.team&since=2026-08-01&until=2026-08-06", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:bluesky/search-posts",
    params={"q":"rust programming","limit":"25","sort":"latest","lang":"id","author":"jay.bsky.team","since":"2026-08-01","until":"2026-08-06"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "social-media:bluesky",
  "data": {
    "ok": true,
    "sort": "top",
    "count": 25,
    "posts": [
      {
        "cid": "bafyreifjjuhrtmuzv73ifn7mbkanffue5qjwsywyuk7cihellay4zvga7e",
        "uri": "at://did:plc:sfvpv6dfrug3rnjewn7gyx62/app.bsky.feed.post/3mbfzft2rp22c",
        "lang": "en",
        "text": "the kids, they know how to name libraries. \n\nwww.reddit.com/r/rust/comme...",
        "author": {
          "did": "did:plc:sfvpv6dfrug3rnjewn7gyx62",
          "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:sfvpv6dfrug3rnjewn7gyx62/bafkreibcxpht7zihliq7kgu3fnlfqlqdpievvljttuvulcsjxar6csnqxy",
          "handle": "buttplug.engineer",
          "displayName": "qdot"
        },
        "createdAt": "2026-01-02T04:07:04.291Z",
        "indexedAt": "2026-01-02T04:07:05.733Z",
        "likeCount": 1182,
        "quoteCount": 24,
        "replyCount": 26,
        "repostCount": 317
      },
      {
        "cid": "bafyreihufjznst6mu5udqlwidqotvqrdnekpxddngsnif5cna477l4ylsm",
        "uri": "at://did:plc:7tiia5rclvwibxngh7mvrlsw/app.bsky.feed.post/3lvjofku3e22n",
        "lang": "en",
        "text": "trying to shake off the rust",
        "author": {
          "did": "did:plc:7tiia5rclvwibxngh7mvrlsw",
          "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:7tiia5rclvwibxngh7mvrlsw/bafkreig5qbte6ktepgmoftxy2xt5r62jz3gda4vn6pxfp2s2ppuz6ooct4",
          "handle": "angusburgers.bsky.social",
          "displayName": "Dani(They/Them)- Comms reopening AUGUST 10"
        },
        "createdAt": "2025-08-03T21:58:23.921Z",
        "indexedAt": "2025-08-03T21:58:25.707Z",
        "likeCount": 1250,
        "quoteCount": 0,
        "replyCount": 11,
        "repostCount": 209
      },
      {
        "cid": "bafyreiahiqzcsmifttgwfon3rvto6xp7qgzv5fpllzj5zxqqpg2o7bajwy",
        "uri": "at://did:plc:wamidydbgu3u6fk3yckaglnz/app.bsky.feed.post/3mscxgjywgk2i",
        "lang": "en",
        "text": "fair enough. can't personally argue with this as a dividing line blog.rust-lang.org/inside-rust/...",
        "author": {
          "did": "did:plc:wamidydbgu3u6fk3yckaglnz",
          "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:wamidydbgu3u6fk3yckaglnz/bafkreibmakekm64poceaubjq7uvvafbyqgp5wjllpg3ijvhhohl22nmi3m",
          "handle": "philpax.me",
          "displayName": "philpax"
        },
        "createdAt": "2026-08-05T07:01:59.323Z",
        "indexedAt": "2026-08-05T07:02:01.065Z",
        "likeCount": 61,
        "quoteCount": 2,
        "replyCount": 3,
        "repostCount": 2
      }
    ],
    "query": "rust",
    "total": 10000,
    "totalIsCapped": true
  },
  "timestamp": "2026-06-07T13:48:43Z"
}

Frequently asked questions

How do I call the Bluesky Profile Search Posts API?

Send a GET request to https://api.zapi.ink/v1/social-media:bluesky/search-posts?q=rust+programming with your Zapi key in the x-api-key header. Parameters — required: q; optional: limit, sort, lang, author, since, until. The response is JSON in the { project, data, timestamp } envelope.

What does the Bluesky Profile Search Posts API return?

Cari postingan Bluesky. The example response has the fields ok, sort, count, posts, query, total, totalIsCapped. Each item in posts has fields such as cid, uri, lang, text, author, createdAt, indexedAt, likeCount.

Is the Bluesky Profile Search Posts API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Bluesky Profile Search Posts API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "bluesky" and endpoint "search-posts".

What other Bluesky Profile API endpoints are there?

It has 4 endpoints. Besides Search Posts: Profile, Get Trending Topics, Search Users.