Bluesky URL Parser API: Links to Request Fields

Parse a Bluesky link

What a bsky.app link or at:// address points to (a profile or one of its tabs, a post, a feed, a list, a starter pack, a hashtag, a search, trending or home), with the canonical link, the parts it carries and the tool and arguments that read it. Short links (go.bsky.app) are not accepted: open them and pass the address they lead to. Fetches nothing and costs no credit.

POST /resolve-url Utilities
https://api.fetchlayer.dev/bluesky/resolve-url
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

url string required

Any bsky.app link or at:// address.

format string optional

json or markdown. (default: json)

Response Fields

resolve-url

Parse a Bluesky link

transport string

The data source: always the platform id, "bluesky".

notes string[]

What to do with a link that is not one of the above.

kind string

post, feed, list, starter_pack, profile, profile_tab, hashtag, search, trending or home.

url string

The canonical address.

account string | null

The account the link names.

rkey string | null

The record key, for a post, feed, list or starter pack.

tag string | null

The hashtag, for a hashtag link.

query string | null

The search words, for a search link.

tool string | null

The tool that reads this link, such as bluesky_post_detail.

arguments object | null

The arguments to give that tool.

Request

curl -X POST "https://api.fetchlayer.dev/bluesky/resolve-url" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"}'

Response

{
  "transport": "bluesky",
  "notes": [],
  "kind": "post",
  "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
  "account": "bsky.app",
  "rkey": "3l6oveex3ii2l",
  "tool": "bluesky_post_detail",
  "arguments": {
    "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
  }
}
Product overview Bluesky API: what it returns, pricing and use cases