Skip to content

Bluesky Posts API

GET https://api.fetchproof.com/v1/bluesky/user/posts

Provide one of: handle, user_id. Get Bluesky user posts. Use user_id for faster response times.

Default cost: 1 credit per call 0 credits on error
Code & Payload

Quick start

Open interactive playground in Docs ↗

cURL

curl --request GET 'https://api.fetchproof.com/v1/bluesky/user/posts?handle=bsky.app' \
  --header 'x-api-key: YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.fetchproof.com/v1/bluesky/user/posts?handle=bsky.app", {
  method: 'GET',
  headers: {
    'x-api-key': process.env.FETCHPROOF_API_KEY,
  },
});
const data = await response.json();
console.log(data);

Python

import os
import requests

response = requests.get(
    "https://api.fetchproof.com/v1/bluesky/user/posts?handle=bsky.app",
    headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json())

Go

package main

import (
  "fmt"
  "io"
  "net/http"
  "os"
)

func main() {
  req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v1/bluesky/user/posts?handle=bsky.app", nil)
  req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := io.ReadAll(res.Body)
  fmt.Println(string(body))
}

PHP

<?php
$ch = curl_init("https://api.fetchproof.com/v1/bluesky/user/posts?handle=bsky.app");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
  ],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
  "success": true,
  "credits_remaining": 100,
  "credits_charged": 1,
  "feed": [
    {
      "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n27yge3hys24",
      "cid": "bafyreien3mpjguvh7yrpcsopqnjusaqfz5urlpl5rad2iaxa55zaa4e6dm",
      "author": {
        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
        "handle": "bsky.app",
        "displayName": "Bluesky",
        "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
        "labels": [],
        "createdAt": "2023-04-12T04:53:57.057Z",
        "verification": {
          "verifications": [],
          "verifiedStatus": "none",
          "trustedVerifierStatus": "valid"
        },
        "associated": {
          "chat": {
            "allowIncoming": "none"
          },
          "activitySubscription": {
            "allowSubscriptions": "followers"
          }
        },
        "status": {
          "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.actor.status/self",
          "cid": "bafyreihkojqw7p22odgjcbzjh5sh4vrntow24sd4nvntpqnddrd5pqma44",
          "record": {
            "$type": "app.bsky.actor.status",
            "createdAt": "2026-10-20T16:00:37.680Z",
            "durationMinutes": 60,
            "embed": {
              "$type": "app.bsky.embed.external",
              "external": {
                "$type": "app.bsky.embed.external#external",
                "description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
                "thumb": {
                  "$type": "blob",
                  "ref": {
                    "$link": "bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
                  },
                  "mimeType": "image/jpeg",
                  "size": 195438
                },
                "title": "e.w. niedermeyer is live on Streamplace",
                "uri": "https://stream.place/niedermeyer.online"
              }
            },
            "status": "app.bsky.actor.status#live"
          },
          "status": "app.bsky.actor.status#live",
          "embed": {
            "external": {
              "uri": "https://stream.place/niedermeyer.online",
              "title": "e.w. niedermeyer is live on Streamplace",
              "description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
              "thumb": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
            },
            "$type": "app.bsky.embed.external#view"
          },
          "labels": [],
          "expiresAt": "2026-10-20T17:00:37.680Z",
          "isActive": false
        }
      },
      "record": {
        "$type": "app.bsky.feed.post",
        "createdAt": "2026-11-13T22:03:20.663Z",
        "embed": {
          "$type": "app.bsky.embed.record"
        },
        "text": "I heard Bluesky gets all its breaking news from Flavor Flav",
        "langs": [
          "en"
        ]
      },
      "embed": {
        "$type": "app.bsky.embed.record#view"
      },
      "replyCount": 179,
      "repostCount": 666,
      "likeCount": 7465,
      "quoteCount": 47,
      "indexedAt": "2026-11-13T22:03:20.886Z",
      "labels": [],
      "bookmarkCount": 67
    },
    {
      "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n27xkiekss24",
      "cid": "bafyreibgowepldtasito5purpr54fvivdiaifmvph24v7fukbwdavy34im",
      "author": {
        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
        "handle": "bsky.app",
        "displayName": "Bluesky",
        "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
        "labels": [],
        "createdAt": "2023-04-12T04:53:57.057Z",
        "verification": {
          "verifications": [],
          "verifiedStatus": "none",
          "trustedVerifierStatus": "valid"
        },
        "associated": {
          "chat": {
            "allowIncoming": "none"
          },
          "activitySubscription": {
            "allowSubscriptions": "followers"
          }
        },
        "status": {
          "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.actor.status/self",
          "cid": "bafyreihkojqw7p22odgjcbzjh5sh4vrntow24sd4nvntpqnddrd5pqma44",
          "record": {
            "$type": "app.bsky.actor.status",
            "createdAt": "2026-10-20T16:00:37.680Z",
            "durationMinutes": 60,
            "embed": {
              "$type": "app.bsky.embed.external",
              "external": {
                "$type": "app.bsky.embed.external#external",
                "description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
                "thumb": {
                  "$type": "blob",
                  "ref": {
                    "$link": "bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
                  },
                  "mimeType": "image/jpeg",
                  "size": 195438
                },
                "title": "e.w. niedermeyer is live on Streamplace",
                "uri": "https://stream.place/niedermeyer.online"
              }
            },
            "status": "app.bsky.actor.status#live"
          },
          "status": "app.bsky.actor.status#live",
          "embed": {
            "external": {
              "uri": "https://stream.place/niedermeyer.online",
              "title": "e.w. niedermeyer is live on Streamplace",
              "description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
              "thumb": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
            },
            "$type": "app.bsky.embed.external#view"
          },
          "labels": [],
          "expiresAt": "2026-10-20T17:00:37.680Z",
          "isActive": false
        }
      },
      "record": {
        "$type": "app.bsky.feed.post",
        "createdAt": "2026-11-13T21:47:45.632Z",
        "text": "thank you for your on-the-ground reporting, Flavor Flav",
        "langs": [
          "en"
        ]
      },
      "replyCount": 4,
      "repostCount": 38,
      "likeCount": 1606,
      "quoteCount": 6,
      "indexedAt": "2026-11-13T21:47:46.080Z",
      "labels": [],
      "bookmarkCount": 2
    },
    {
      "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n25midjy722x",
      "cid": "bafyreicfd43rkyg4r6bunaxzhoma22nxjrcb2rar2ymskgkzk4jnwu45oq",
      "author": {
        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
        "handle": "bsky.app",
        "displayName": "Bluesky",
        "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
        "labels": [],
        "createdAt": "2023-04-12T04:53:57.057Z",
        "verification": {
          "verifications": [],
          "verifiedStatus": "none",
          "trustedVerifierStatus": "valid"
        },
        "associated": {
          "chat": {
            "allowIncoming": "none"
          },
          "activitySubscription": {
            "allowSubscriptions": "followers"
          }
        },
        "status": {
          "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.actor.status/self",
          "cid": "bafyreihkojqw7p22odgjcbzjh5sh4vrntow24sd4nvntpqnddrd5pqma44",
          "record": {
            "$type": "app.bsky.actor.status",
            "createdAt": "2026-10-20T16:00:37.680Z",
            "durationMinutes": 60,
            "embed": {
              "$type": "app.bsky.embed.external",
              "external": {
                "$type": "app.bsky.embed.external#external",
                "description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
                "thumb": {
                  "$type": "blob",
                  "ref": {
                    "$link": "bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
                  },
                  "mimeType": "image/jpeg",
                  "size": 195438
                },
                "title": "e.w. niedermeyer is live on Streamplace",
                "uri": "https://stream.place/niedermeyer.online"
              }
            },
            "status": "app.bsky.actor.status#live"
          },
          "status": "app.bsky.actor.status#live",
          "embed": {
            "external": {
              "uri": "https://stream.place/niedermeyer.online",
              "title": "e.w. niedermeyer is live on Streamplace",
              "description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
              "thumb": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
            },
            "$type": "app.bsky.embed.external#view"
          },
          "labels": [],
          "expiresAt": "2026-10-20T17:00:37.680Z",
          "isActive": false
        }
      },
      "record": {
        "$type": "app.bsky.feed.post",
        "createdAt": "2026-11-12T23:24:22.820Z",
        "embed": {
          "$type": "app.bsky.embed.record"
        },
        "text": "The moderation inbox is now available to all users! Read this thread to learn more:",
        "langs": [
          "en"
        ]
      },
      "embed": {
        "$type": "app.bsky.embed.record#view"
      },
      "replyCount": 72,
      "repostCount": 256,
      "likeCount": 1889,
      "quoteCount": 29,
      "indexedAt": "2026-11-12T23:24:23.272Z",
      "labels": [],
      "bookmarkCount": 155
    }
  ],
  "cursor": "2026-10-28T17:33:15.791Z"
}
Response JSON · /v1/bluesky/user/posts

What it returns

success boolean
credits_remaining integer
credits_charged integer
feed array
cursor string

Parameters

handle string query optional

Bluesky handle

user_id string query optional

Bluesky user DID.

Use cases

Billing

Errors cost zero credits. Empty results follow this operation’s rules.

Default: 1 credit

An empty result costs 0 credits.

How charges are determined

Cost is decided per call, not per endpoint: the same operation can cost different amounts depending on what it returns.

A call that fails costs 0 credits. A result served from cache costs 0 credits.

`default` is the cost when no rule matches. Rules are evaluated in order and the first whose conditions all hold wins.

A `when` condition is one of: `param` (the request parameter is true), `outcome` (the classifier's outcome), `empty` / `nonEmpty` (a response field is empty and absent, or a non-empty array or string), `flag` (a response field is exactly true).

A cost of `{ perStartedMinute: n, of: [fields] }` is n x max(1, ceil(seconds / 60)), so even a short result bills at least one minute.

FAQ

How much does the Bluesky Posts API cost?

A call costs 1 credit by default. Errors cost 0 credits. New accounts get 100 free credits with no card. After that, credits come in one-time packs that never expire: 25,000 for $27 and 500,000 for $297 (plus any tax). There is no subscription.

What do I need to call it?

An API key in the x-api-key header, and one of handle or user_id. You don't need a Bluesky account or developer app.

What does it return?

Typed JSON. Top-level fields include feed and cursor. The full schema and a real sample response are on this page and in the API reference.

Is this an official Bluesky API?

No. Fetchproof is an unofficial API that returns public Bluesky data only.