Skip to content

Bluesky Profile API

GET https://api.fetchproof.com/v1/bluesky/profile

Provide one of: handle, user_id. Get Bluesky profile info

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/profile?handle=bsky.app' \
  --header 'x-api-key: YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.fetchproof.com/v1/bluesky/profile?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/profile?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/profile?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/profile?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,
  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "handle": "bsky.app",
  "displayName": "Bluesky",
  "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
  "associated": {
    "lists": 26,
    "feedgens": 7,
    "starterPacks": 23,
    "labeler": false,
    "chat": {
      "allowIncoming": "none"
    },
    "activitySubscription": {
      "allowSubscriptions": "followers"
    }
  },
  "labels": [],
  "createdAt": "2023-04-12T04:53:57.057Z",
  "verification": {
    "verifications": [],
    "verifiedStatus": "none",
    "trustedVerifierStatus": "valid"
  },
  "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: ",
  "indexedAt": "2026-11-04T15:41:10.973Z",
  "followersCount": 35697060,
  "followsCount": 43,
  "postsCount": 923,
  "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
  },
  "banner": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna",
  "pinnedPost": {
    "cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
    "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
  }
}
Response JSON · /v1/bluesky/profile

What it returns

success boolean
credits_remaining integer
credits_charged integer
did string
handle string
displayName string
avatar string
associated object
labels array
createdAt string

Parameters

handle string query required

Bluesky handle

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 Profile 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, plus handle, 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 did, handle, displayName, avatar, associated and labels. 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.